Skip to main content
Mallory
Malware

SleepyDuck

Tracked since Nov 25, 2025 · Updated 8 days ago
Trending this weekNot trendingOutside this week’s top 100
Mention activity · 30 days11 mentions · peak 5 in a dayToday
Vulns0Associated
Actors0Associated
ATT&CK17Techniques
IOCs44Tracked
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.

Is this in your environment?See whether this family's indicators match your telemetry and which of your assets are exposed to the CVEs associated with it.
Check your exposure
MITRE ATT&CK

Techniques & procedures

17 distinct techniques documented for this family, organized by ATT&CK tactic.

Initial Access

2 techniques
T1195Supply Chain CompromiseEvidence1

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.

T1195.002Compromise Software Supply ChainEvidence1

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
T1059.007JavaScriptEvidence1

Whatever the server returns is compiled with new Function and called with the real require, console and process.

Persistence

4 techniques
T1176Software ExtensionsEvidence1

"Fake Chrome Extension 'Safery' Steals Ethereum Wallet Seed Phrases"; "131 Chrome Extensions... Hijacking WhatsApp Web"; "Malicious VS Code extension... ransomware capabilities"

T1543.001Launch AgentEvidence1

It persists ... as LaunchAgent com.solidity.langsupport.runner.

T1543.002Systemd ServiceEvidence1

It persists as systemd user unit solidity-langsupport-runner.service, which it repairs on every run if the unit was changed.

T1546Event Triggered ExecutionEvidence1

the malware is triggered when a new code editor window is opened or a .sol file is selected.

Privilege Escalation

3 techniques
T1543.001Launch AgentEvidence1

It persists ... as LaunchAgent com.solidity.langsupport.runner.

T1543.002Systemd ServiceEvidence1

It persists as systemd user unit solidity-langsupport-runner.service, which it repairs on every run if the unit was changed.

T1546Event Triggered ExecutionEvidence1

the malware is triggered when a new code editor window is opened or a .sol file is selected.

Stealth

2 techniques
T1036MasqueradingEvidence1

The surrounding comments frame the hook as code generation and the request as an 'analytics ping'.

T1497Virtualization/Sandbox EvasionEvidence1

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
T1082System Information DiscoveryEvidence1

It's also capable of gathering system information, such as hostname, username, MAC address, and timezone, and exfiltrating the details to the server.

T1497Virtualization/Sandbox EvasionEvidence1

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
T1008Fallback ChannelsEvidence1

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.

T1071Application Layer ProtocolEvidence1

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.

T1071.001Web ProtocolsEvidence1

Both artifacts carry a small loader that fetches JavaScript from api[.]frameworkmetrics[.]xyz.

T1102.001Dead Drop ResolverEvidence1

The loaders' later stages read their command-and-control (C2) address from Ethereum contract 0xf8a900Db50b3331be6B768bA460BB59f3E40C344.

T1105Ingress Tool TransferEvidence1

The payload then downloads the stage 3 for the host's operating system and architecture from the /v1/assets/ path on the same server.

T1568Dynamic ResolutionEvidence1

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
T1041Exfiltration Over C2 ChannelEvidence1

It's also capable of gathering system information, such as hostname, username, MAC address, and timezone, and exfiltrating the details to the server.

Indicators of compromise

Observables

44 indicators attributed across vendor reports, sandbox runs, and researcher write-ups. Values are masked here and available in full in Mallory.

View all in app →
Indicator values are available in Mallory. Pivot on every hash, domain, URL, and IP, or pipe them straight into your SIEM.View all in Mallory
Activity feed

Recent activity

18 sources tracked across advisories, community write-ups, and news. New activity surfaces here as Mallory finds it.

View more in app →
scworldNews · Nov 10, 2026Ethersphere project targeted in supply chain attack | brief | SC MediaNamed malware whose infrastructure overlaps with the payload distributed through the compromised Ethersphere releases. The content does not establish that the delivered payload is SleepyDuck or describe SleepyDuck's capabilities.Read more ↗the hacker newsNews · Nov 9, 2026Hackers Compromise Ethersphere's bee-js and Swarm Desktop to Deliver Wallet-Stealing MalwareEarlier malicious extension that retrieved its server address from an Ethereum smart contract. It is mentioned as historical context connecting the operators of earlier extension attacks with the activity associated with the compromised releases.Read more ↗socket blogNews · Nov 9, 2026Malicious bee-js npm Release and Swarm Desktop Releases Deliver SleepyDuck Ethereum C2 Backdoor | SocketBackdoor operation linked to the malicious bee-js and Swarm Desktop releases through an identical Ethereum configuration contract, controlling wallet, payload hashes, and persistence artifacts. Previously distributed through malicious Solidity extensions, its reused payloads provide persistent shells on macOS and Linux and unattended ScreenConnect access on Windows. Ethereum contract updates let the operator redirect existing implants to new C2 infrastructure.Read more ↗secure annex blogNews · Nov 30, 2025Glassworm's resurgenceSleepyDuck is a remote access trojan (RAT) distributed via IDE extensions, which uses Ethereum smart contracts for persistence and command and control.Read more ↗
+6 more in the timeline. Sign up to see them
Is this in your environment?See whether this family's indicators match your telemetry and which of your assets are exposed to the CVEs associated with it.
Check your exposure
Mallory platform

The version that knows your environment.

This page is what’s public. Mallory adds the parts that aren’t: which of your assets match these IOCs, which detections are missing, which campaigns to expect next, and what to do in the next 30 minutes.
IOC matching44Match every observed IP, domain, and hash against your live telemetry.
Associated threat actorsGroups linked to this family, with evidence pinned to each claim.
Associated vulnerabilitiesCVEs linked to this family, with the reporting behind each link.
Detection signaturesYARA, Sigma, Snort, and vendor rules, auto-deployed to your SIEM.
MITRE ATT&CK mapping17Every documented technique, ranked by evidence weight.
Researcher chatterReddit, Mastodon, and CTI community discussion around this family.