EtherHiding
- Type
- Backdoor
- Capabilities
- Credential theftExfiltrationPersistencePost exploitationDefense evasionCrypto theft
- Delivery
- PhishingLanding pageFake updateCracked softwareSeo poisoningClickfix
- Platforms
- WindowsmacOSLinux
EtherHiding is a blockchain-based command-and-control concealment and payload delivery technique in which malware retrieves configuration data, next-stage payloads, or live infrastructure details from public blockchain data rather than relying on fixed traditional servers. Implementations commonly use Ethereum-compatible networks and smart contracts, with malware issuing blockchain read operations to recover encrypted command data, C2 endpoints, or staged JavaScript and loader content at runtime. This design increases resilience against takedown, allows operators to rotate infrastructure without updating deployed malware, and helps malicious traffic blend with legitimate cryptocurrency-related activity.
EtherHiding has been observed across multiple malware delivery chains and software supply-chain compromises, including campaigns targeting developers, cryptocurrency users, and enterprise environments. Reported use cases include npm package compromises, trojanized GitHub repositories, ClickFix-style social engineering chains, fake browser extensions, and cracked-software distribution. Malware families and loaders using EtherHiding have included Node.js backdoors, Python and .NET loaders, infostealers, browser-extension malware, and traffic distribution frameworks. Associated activity has repeatedly overlapped with DPRK-linked operations, including Contagious Interview and UNC5342 tradecraft, though EtherHiding as a technique is not exclusive to a single actor.
Observed capabilities enabled by EtherHiding-backed malware include remote code execution, credential and wallet theft, browser data theft, persistence, staged payload retrieval, and defense evasion through obfuscation and decentralized infrastructure. Variants have used Ethereum, Polygon, BNB Smart Chain, Avalanche, and similar networks to store or resolve attacker-controlled data. Some implementations retrieve encrypted C2 configuration from smart contract storage or contract function outputs, while others use blockchain transactions as a dead-drop mechanism for malicious code or infrastructure pointers. EtherHiding is best understood as a stealth and resilience mechanism embedded within broader malware operations rather than as a standalone payload family.
Associated threat actors
4 distinct threat actors Mallory has associated with this family across public reporting. Open in Mallory to see the full evidence chain and overlapping campaigns.
The first category involves smart contract storage-based hiding, exemplified by Etherhiding. This technique stores malicious payloads directly within Ethereum smart contract storage slots, which are retrieved through contract read operations such as eth_call or eth_getStorageAt.
The malware does not rely on a fixed traditional server for its instructions. Instead, it queries Ethereum smart contracts to retrieve live command-and-control, or C2, details. This approach is called EtherHiding.
The RAT issues an eth_call to read attacker data straight off a smart contract, which is an encrypted next-stage C2 address or config... This is EtherHiding.
The malware abuses Chromium browser trust mechanisms to install the extension without user approval and uses EtherHiding to retrieve its command-and-control infrastructure from the blockchain, making detection and takedown more difficult.
Techniques & procedures
13 distinct techniques documented for this family, organized by ATT&CK tactic.
Initial Access
1 technique
Initial Access
“Several compromised websites are still confirmed injecting visitors” and the traffic-distribution layer “funnels victims from compromised sites into the attack chain.”
Execution
3 techniques
Execution
PowerShell command added to the victim’s clipboard... The pasted command is a downloader that pulls and runs the final payload.
Once the channel opens, the C2 streams its code over it. The stager buffers every message that arrives, then executes the reassembled result... the code is executed by appending it to the head of the DOM.
That script is a ClickFix lure: running it blurs the page behind a fake CAPTCHA overlay that tells the visitor to open a Run dialog and paste a command. The pasted command is a downloader that pulls and runs the final payload.
Stealth
2 techniques
Stealth
A compromised site carries an injected loader... an injected obfuscated inline script... Every value a real answer would negotiate is hardcoded instead: the C2’s IP (built from separate numbers so it never appears as a string).
The loader can either be an inline script or a spoofed package... Site owners should integrity-check their CMS assets, since the loader is appended to a legitimate JavaScript file or placed in a fake plugin directory.
Command and Control
7 techniques
Command and Control
“EtherHiding/NullReceiver [is used] for staged C2 delivery.”
Instead of sending that offer anywhere and waiting for a real reply, it hand-writes the answer itself... a data channel to the cyberattacker still opens... it reached out to the cyberattacker over UDP.
EtherHiding, a technique that uses blockchain smart contracts as takedown-resistant payload storage... Each site carried a small injected script that reads its next payload from a smart contract and executes it in the visitors’ browser.
“Every time an attacker updates their C2 address, that change is recorded forever on a ledger” and defenders are advised to alert on “outbound connections to Polygon RPC endpoints.”
The pasted command is a downloader that pulls and runs the final payload.
If GitHub exfiltration fails, the malware calls an Ethereum smart contract... via eth_call to retrieve active C2 domains. The confirmed fallback domain was npm-cache[.]com.
Since the stager already knows the fingerprint, the encrypted channel opens on the first packet, with no certificate exchange, and no signaling traffic to observe.
Observables
59 indicators attributed across vendor reports, sandbox runs, and researcher write-ups. Values are masked here and available in full in Mallory.
Recent activity
30 sources tracked across advisories, community write-ups, and news. New activity surfaces here as Mallory finds it.