← Voltar ao feed

npm packages clampony and safeclamp3 stage Windows credential stealer and enterotoxin.exe RAT via preinstall dropper

1 fonte(s) · 1 atualização(ões) · publicado 23/11/2026 21:00 · coletado há 1 semana

Two npm packages, clampony and safeclamp3, copy the hughsk/clamp utility and add a preinstall hook. They were published on 24 November 2026 by two new accounts, tinafo6772 and felisox354, which pushed 12 versions in 73 minutes. In clampony 1.0.9 to 1.0.11, the hook downloads a live Windows stealer from Pastebin and a mirror on calcal[.]ru. The npm code does not run it yet, because run() is empty and the file is never written to disk. The stealer takes cloud, SSH, registry and FTP credentials, shell history and Telegram sessions, and sends them to a Telegram bot. It also drops the enterotoxin.exe RAT. The article is a single researcher report (SafeDep). It does not report any confirmed victims.

Detalhes técnicos

  • setup.js fetches both URLs in parallel and keeps the first good response. It sends the installer's IP address to both hosts.
  • safeclamp3 1.0.11 tests a detached hidden child process, which is the launch step that clampony lacks.
  • The stealer is a 49,280-byte file obfuscated with obfuscator.io (SHA-256 ca2b7eced5937817b2aca2d50542d2e171bc95593be72a94c158616ed17a5334). It runs only on win32.
  • It stages files in files-staging-*, packs them into sysvolume.zip with tar.exe or PowerShell, and uploads archives of up to 50 MB to a Telegram bot through sendDocument. Retries rotate across nine HTTP proxies.
  • It requires undici, which a copy run from the temp directory would not find. This is what currently blocks it. The operator can change the paste without a new npm release.
  • bringBeautifulGift downloads enterotoxin.exe from 195.123.6.29 (Tranquila-Host, AS203826) and starts it hidden. The download works only if the host presents a valid certificate.
  • enterotoxin.exe is a 352,256-byte unsigned 64-bit PE (SHA-256 48cf14560a8c2c5eaa984078cb345a81bc6d49d6695a06851499a3a31260aa91). It poses as a Microsoft Store updater. For persistence it uses four scheduled tasks and a Run key, and it hijacks pinned taskbar shortcuts.
  • The agent exits when process monitors are running. It polls /enterotoxin//control and posts results over WinHTTP. A second channel uses TCP 13599 with a CHK1 handshake. It also contains a keylogger and clipboard capture.

Remediação

  • Check lockfiles and node_modules for either package.
  • If clampony 1.0.9 to 1.0.11 was installed, remove the package and block both URLs. The stealer likely did not run.
  • If a newer version was installed on Windows, treat the machine as compromised. Rotate all credentials, end other Telegram sessions, and look for enterotoxin.exe, its scheduled tasks, the Run key and rewritten shortcuts.
  • Search proxy and DNS logs for 195.123.6.29 (ports 443 and 13599), the nine proxy addresses and api.telegram[.]org traffic from developer machines.

Linha do tempo

  1. safedep.io ↗ · pub. 23/11/2026 21:00 · coletado 24/11 04:01 primeiro registro

    npm packages clampony and safeclamp3 stage Windows credential stealer and enterotoxin.exe RAT via preinstall dropper

    ler a análise desta fonte

    Two npm packages, clampony and safeclamp3, copy the hughsk/clamp utility and add a preinstall hook. They were published on 24 November 2026 by two new accounts, tinafo6772 and felisox354, which pushed 12 versions in 73 minutes. In clampony 1.0.9 to 1.0.11, the hook downloads a live Windows stealer from Pastebin and a mirror on calcal[.]ru. The npm code does not run it yet, because run() is empty and the file is never written to disk. The stealer takes cloud, SSH, registry and FTP credentials, shell history and Telegram sessions, and sends them to a Telegram bot. It also drops the enterotoxin.exe RAT. The article is a single researcher report (SafeDep). It does not report any confirmed victims.

    Technical Details

    • setup.js fetches both URLs in parallel and keeps the first good response. It sends the installer's IP address to both hosts.
    • safeclamp3 1.0.11 tests a detached hidden child process, which is the launch step that clampony lacks.
    • The stealer is a 49,280-byte file obfuscated with obfuscator.io (SHA-256 ca2b7eced5937817b2aca2d50542d2e171bc95593be72a94c158616ed17a5334). It runs only on win32.
    • It stages files in files-staging-*, packs them into sysvolume.zip with tar.exe or PowerShell, and uploads archives of up to 50 MB to a Telegram bot through sendDocument. Retries rotate across nine HTTP proxies.
    • It requires undici, which a copy run from the temp directory would not find. This is what currently blocks it. The operator can change the paste without a new npm release.
    • bringBeautifulGift downloads enterotoxin.exe from 195.123.6.29 (Tranquila-Host, AS203826) and starts it hidden. The download works only if the host presents a valid certificate.
    • enterotoxin.exe is a 352,256-byte unsigned 64-bit PE (SHA-256 48cf14560a8c2c5eaa984078cb345a81bc6d49d6695a06851499a3a31260aa91). It poses as a Microsoft Store updater. For persistence it uses four scheduled tasks and a Run key, and it hijacks pinned taskbar shortcuts.
    • The agent exits when process monitors are running. It polls /enterotoxin//control and posts results over WinHTTP. A second channel uses TCP 13599 with a CHK1 handshake. It also contains a keylogger and clipboard capture.

    Remediation

    • Check lockfiles and node_modules for either package.
    • If clampony 1.0.9 to 1.0.11 was installed, remove the package and block both URLs. The stealer likely did not run.
    • If a newer version was installed on Windows, treat the machine as compromised. Rotate all credentials, end other Telegram sessions, and look for enterotoxin.exe, its scheduled tasks, the Run key and rewritten shortcuts.
    • Search proxy and DNS logs for 195.123.6.29 (ports 443 and 13599), the nine proxy addresses and api.telegram[.]org traffic from developer machines.