SleepyDuck
- Type
- RAT
- Capabilities
- ReconnaissanceExfiltrationDefense evasion
- Delivery
- Lure
- Platforms
- WindowsmacOSLinux
SleepyDuck is a remote access trojan distributed through malicious code-editor extensions impersonating legitimate Solidity development tooling on the Open VSX registry. It targets developers using Visual Studio Code-compatible editors. An observed extension was initially published without malicious functionality in October 2025, then updated to deliver the malware after accumulating downloads.
The malware activates through editor events, including opening a new window or selecting a Solidity source file. It conceals its loading logic behind an apparently legitimate initialization routine and incorporates sandbox-evasion techniques. SleepyDuck collects and exfiltrates host information, including the hostname, username, MAC address, and timezone, and provides a command-execution environment. It polls its command-and-control infrastructure approximately every 30 seconds and supports an emergency command mechanism affecting infected endpoints.
SleepyDuck uses an Ethereum smart contract to retrieve updated command-and-control configuration. Its fallback logic queries Ethereum RPC providers when the primary server becomes unavailable, allowing operators to redirect infected systems without distributing another extension update. This blockchain-based configuration mechanism makes disruption of its control infrastructure more difficult.
Researchers have linked its operators to the later EtherDuck malicious-extension campaign and an Ethersphere software-release compromise through shared blockchain configuration infrastructure and matching implants. These associations do not establish a publicly identified threat actor or national affiliation.
Techniques & procedures
17 distinct techniques documented for this family, organized by ATT&CK tactic.
Initial Access
2 techniques
Initial Access
the extension in question, juan-bianco.solidity-vlang (version 0.0.7), was first published on October 31, 2025, as a completely benign library that was subsequently updated to version 0.0.8 on November 1 to include new malicious capabilities after reaching 14,000 downloads.
The threat actor used the project's own GitHub automation to publish a malicious @ethersphere/bee-js 13.3.0 to npm and a trojanized Swarm Desktop 0.56.2 release on GitHub.
Execution
1 technique
Execution
Whatever the server returns is compiled with new Function and called with the real require, console and process.
Persistence
4 techniques
Persistence
"Fake Chrome Extension 'Safery' Steals Ethereum Wallet Seed Phrases"; "131 Chrome Extensions... Hijacking WhatsApp Web"; "Malicious VS Code extension... ransomware capabilities"
It persists ... as LaunchAgent com.solidity.langsupport.runner.
It persists as systemd user unit solidity-langsupport-runner.service, which it repairs on every run if the unit was changed.
the malware is triggered when a new code editor window is opened or a .sol file is selected.
Privilege Escalation
3 techniques
Privilege Escalation
It persists ... as LaunchAgent com.solidity.langsupport.runner.
It persists as systemd user unit solidity-langsupport-runner.service, which it repairs on every run if the unit was changed.
the malware is triggered when a new code editor window is opened or a .sol file is selected.
Stealth
2 techniques
Stealth
The surrounding comments frame the hook as code generation and the request as an 'analytics ping'.
The malware includes sandbox evasion techniques and utilizes an Ethereum contract to update its command and control address in case the original address is taken down
Discovery
2 techniques
Discovery
It's also capable of gathering system information, such as hostname, username, MAC address, and timezone, and exfiltrating the details to the server.
The malware includes sandbox evasion techniques and utilizes an Ethereum contract to update its command and control address in case the original address is taken down
Command and Control
6 techniques
Command and Control
In the event the domain is seized or taken down, the malware has built-in fallback controls to reach out to a predefined list of Ethereum RPC addresses to extract the contract information that can hold the server details.
initialize contact with a remote server at "sleepyduck[.]xyz" ... and kicks off a polling loop that checks for new commands to be executed on the host every 30 seconds.
Both artifacts carry a small loader that fetches JavaScript from api[.]frameworkmetrics[.]xyz.
The loaders' later stages read their command-and-control (C2) address from Ethereum contract 0xf8a900Db50b3331be6B768bA460BB59f3E40C344.
The payload then downloads the stage 3 for the host's operating system and architecture from the /v1/assets/ path on the same server.
the malware has built-in fallback controls to reach out to a predefined list of Ethereum RPC addresses to extract the contract information that can hold the server details. What's more, the extension is equipped to reach a new configuration from the contract address to set a new server
Exfiltration
1 technique
Exfiltration
It's also capable of gathering system information, such as hostname, username, MAC address, and timezone, and exfiltrating the details to the server.
Observables
44 indicators attributed across vendor reports, sandbox runs, and researcher write-ups. Values are masked here and available in full in Mallory.
Recent activity
18 sources tracked across advisories, community write-ups, and news. New activity surfaces here as Mallory finds it.