MALFEX's imgdecode npm Package Hides Shellcode Loader
Original source
MALFEX npm Package 'imgdecode' Hides Shellcode Loader in Windows Native Addon
The Hacker News →MALFEX represents a sustained supply chain campaign targeting npm developers since August 2023. The attack deploys multiple malicious packages under five different accounts, with several serving as loaders for the Overlord RAT and others forming chains to download and execute a Node.js stealer. The latest variant, imgdecode, uploaded September 30, 2026, bundles a Windows DLL that retrieves encrypted shellcode from GitHub and injects it into dllhost.exe.
The threat actor demonstrates active development and rapid response to platform enforcement. When img-to-native and native-runner were removed on September 28, replacement packages appeared within two days, with imgdecode following on September 30. The current version (1.0.3, released October 11) operates independently without dependencies on other MALFEX packages. The DLL includes checks for developer terminals and validates that decrypted payloads match JPEG or PNG signatures, allowing the operator to disable the loader by serving encrypted image files.
The deployed stealer performs reconnaissance for virtual machines and analysis tools, then harvests credential files (.kdbx, .pem, .ppk, .env) and data from Chromium browsers, Discord, Telegram, cryptocurrency wallets, and gaming applications. Persistence is established through a Registry Run key and scheduled task, while command-and-control communication occurs via WebSocket, accepting commands for shell execution, file transfer, process control, clipboard access, screenshots, and mouse and keyboard input. Developers who installed these packages should isolate Windows systems, check for persistence entries, rotate credentials, and transfer funds to new wallets if seed phrases were stored on them.
Read the full article
Continue reading at The Hacker News →This is an AI-generated summary. Read the original for the full story.