ChainShell is a previously undocumented JavaScript implant built to run under Node.js and used in operations attributed to the Iranian state-linked threat actor MuddyWater, which has been assessed as a customer of the Russian-speaking TAG-150 malware-as-a-service ecosystem. It has been observed in campaigns targeting defense, energy, government, and telecommunications organizations, with notable focus on Israeli entities as well as victims in the Middle East, the United States, and Europe.
The malware is deployed by a PowerShell-based loader that installs the Node.js runtime, decrypts and stages the implant, and launches its JavaScript components on the compromised host. ChainShell’s command-and-control design is notable for using an Ethereum smart contract to dynamically resolve its active C2 endpoint through multiple RPC providers, increasing resilience and complicating infrastructure disruption. After resolving its controller, the implant communicates over WebSocket channels protected with AES encryption.
Functionally, ChainShell is a remote implant oriented toward post-compromise operations. It can execute JavaScript code received from its server and return execution results to the operator, enabling flexible remote tasking. Reporting also describes it as supporting stealthy remote operations and command execution. The malware contains Russian-language strings and a CIS locale exclusion that avoids execution on systems in several former Soviet states, consistent with tradecraft commonly seen in Russian-speaking criminal tooling. Analysis has assessed that MuddyWater did not develop the platform itself but instead leveraged TAG-150 tooling as part of a shared multi-tenant criminal ecosystem, illustrating convergence between state espionage activity and commercial malware services.
3 CVEs Mallory has correlated with this family across public research and vendor advisories. Each card links to the full Mallory page for that vulnerability.
2 distinct threat actors Mallory has associated with this family across public reporting. Open in Mallory to see the full evidence chain and overlapping campaigns.
Researchers uncovered a previously undocumented Node.js-based implant, deployed via a PowerShell script (reset.ps1), enabling flexible command execution and stealthy remote operations. ChainShell uses Ethereum-based smart contracts to dynamically resolve its command-and-control (C2) infrastructure.
The key artifact found was `reset.ps1`, a PowerShell deployer for a new JavaScript-based malware we have named “ChainShell”.
14 distinct techniques documented for this family, organized by ATT&CK tactic.
MITRE ATT&CK ID Technique T1190 CVE-2024-55591, CVE-2024-23113, CVE-2026-1281
Despite public exposure, MuddyWater continued operations in March 2026, deploying updated malware and phishing lures days after initial detection.
MITRE ATT&CK ID Technique T1566.002 Phishing: ClickFix/BatClickFix social engineering
Researchers uncovered a previously undocumented Node.js-based implant, deployed via a PowerShell script (reset.ps1), enabling flexible command execution and stealthy remote operations.
Researchers uncovered a previously undocumented Node.js-based implant... Analysis of an exposed C2 server revealed 15 malware samples... and additional JavaScript-based RAT variants.
MITRE ATT&CK ID Technique T1562.001 Defender evasion via WMI exclusions
By adopting CastleRAT and ChainShell, MuddyWater gains access to advanced capabilities including: Hidden Virtual Network Computing (HVNC) for stealth system control Credential theft and Chrome cookie decryption
By adopting CastleRAT and ChainShell, MuddyWater gains access to advanced capabilities including: Hidden Virtual Network Computing (HVNC) for stealth system control Credential theft and Chrome cookie decryption
By adopting CastleRAT and ChainShell, MuddyWater gains access to advanced capabilities including: Hidden Virtual Network Computing (HVNC) for stealth system control
Blockchain-Enabled Command and Control : ChainShell uses Ethereum-based smart contracts to dynamically resolve its command-and-control (C2) infrastructure, significantly increasing resilience against disruption.
...communicates via AES-encrypted WebSocket channels.
MITRE ATT&CK ID Technique T1102.001 Ethereum smart contract dead drop resolver
Central to the operations is a PowerShell deployer ("reset.ps1") that deploys a previously undocumented JavaScript-based malware called ChainShell, which then contacts a smart contract on the Ethereum blockchain to retrieve a C2 address and use it to fetch next-stage JavaScript code for execution on compromised hosts.
The novel ChainShell payload, a JavaScript and Node.js implant, retrieves its C2 address from an Ethereum smart contract...
4 indicators attributed across vendor reports, sandbox runs, and researcher write-ups. Values are masked here and available in full in Mallory.
6 sources tracked across advisories, community write-ups, and news. New activity surfaces here as Mallory finds it.