Sleepwalker
- Type
- Backdoor
- Capabilities
- ExfiltrationPersistenceLateral movementPost exploitationDefense evasionDLL sideloading
- Platforms
- Windows
SLEEPWALKER is a passive, 64-bit Windows backdoor designed for post-compromise access. Distributed as an unsigned DLL, it impersonates a Windows system library, copies ESET Management Agent version metadata, and uses DLL side-loading to execute inside the legitimate management-agent process. It checks its host process name before initializing and can regain execution when the agent service starts. This loading mechanism abuses Windows DLL search order rather than an ESET vulnerability.
The backdoor remains dormant without autonomous command-and-control beaconing or a conventional listening port. Its analyzed startup configuration enables promiscuous network monitoring for specially crafted trigger packets. Candidate packets undergo framing and CRC-32 checks, followed by AES-256-CCM authentication and decryption. Valid tasking is interpreted through a proprietary 23-instruction bytecode language supporting scheduling, repeated execution, staged payload assembly, SHA-256 integrity verification, LZMA decompression, and direct in-memory shellcode execution.
Implemented communications mechanisms include TCP, UDP, ICMP, SMB named pipes, raw packets, and VMware VMCI. A DNS-based tasking mechanism is also implemented but was not enabled in the analyzed startup configuration. Operator-supplied tasks can initiate outbound communications, transfer data, and use supplied credentials to access named pipes on other systems. SLEEPWALKER can weaken Windows anonymous-access settings to permit unauthenticated access to its named-pipe channel; these changes require administrative privileges. The analyzed sample contains no privilege-escalation capability.
No threat actor, victim, targeted industry, country, initial-access vector, or delivery chain has been established. Analysis of the single known sample does not establish successful deployment or operational use of its broader capabilities. SLEEPWALKER is separate from the EggStreme malware framework.
Techniques & procedures
28 distinct techniques documented for this family, organized by ATT&CK tactic.
Initial Access
1 technique
Initial Access
“It can create named pipes and use supplied credentials to communicate with other systems.”
Execution
5 techniques
Execution
“SLEEPWALKER supports 23 bytecode instructions for scheduling [and] repeated tasks.”
“The resulting data consists of a proprietary bytecode format interpreted by the malware.”
“SLEEPWALKER implements 23 instructions supporting ... Direct in-memory shellcode execution.”
“It can create named pipes and use supplied credentials to communicate with other systems, opening a possible path for lateral movement.”
“The malware can also adjust Windows settings to allow anonymous access to its named-pipe channel.”
Persistence
5 techniques
Persistence
“SLEEPWALKER supports 23 bytecode instructions for scheduling [and] repeated tasks.”
“It can create named pipes and use supplied credentials to communicate with other systems.”
“The malware sets EveryoneIncludesAnonymous, adds its pipe name to NullSessionPipes, and creates named pipes with permissions allowing Everyone and Anonymous Logon to connect.”
“Once placed on a compromised device, it can sit inactive for an extended period, only responding when an operator sends a carefully formed network packet.”
The listener captures everything crossing each watched interface, including traffic addressed to other machines. A gateway, VPN server or host bridging two network segments could therefore see a trigger meant for a different machine entirely.
Privilege Escalation
2 techniques
Privilege Escalation
“SLEEPWALKER supports 23 bytecode instructions for scheduling [and] repeated tasks.”
“It can create named pipes and use supplied credentials to communicate with other systems.”
Stealth
10 techniques
Stealth
“SLEEPWALKER supports 23 bytecode instructions for ... compressed payloads.”
The commands are encrypted using AES-256-CCM and are delivered as raw bytes, requiring reverse engineering of the custom language.
“It is an unsigned 64-bit Windows library that imitates a legitimate supporting component” and “dpapi.dll [is an] Unsigned malicious DLL masquerading as a legitimate Microsoft component.”
Sleepwalker представляет собой неподписанную 64-битную DLL ... которая маскируется под системную библиотеку dpapi.dll ... Вредонос также содержит поддельные сведения о версии этого продукта.
“It can create named pipes and use supplied credentials to communicate with other systems.”
“Once placed on a compromised device, it can sit inactive for an extended period, only responding when an operator sends a carefully formed network packet.”
The listener captures everything crossing each watched interface, including traffic addressed to other machines. A gateway, VPN server or host bridging two network segments could therefore see a trigger meant for a different machine entirely.
Before doing anything else, the DLL checks the name of the process that loaded it. If that process is not called ERAAgent.exe, the DLL stays inactive.
If that process is not called ERAAgent.exe, the DLL stays inactive, so it will not run inside a debugger, a sandbox or any other program unless that program happens to carry that exact name.
“SLEEPWALKER supports 23 bytecode instructions for ... direct in-memory shellcode execution.”
Defense Impairment
2 techniques
Defense Impairment
“The malware sets EveryoneIncludesAnonymous, adds its pipe name to NullSessionPipes, and creates named pipes with permissions allowing Everyone and Anonymous Logon to connect.”
“The implant weakens local protections to make anonymous named-pipe access easier.”
Credential Access
1 technique
Credential Access
“It instructs the malware to place available interfaces into promiscuous mode and watch indefinitely for traffic matching a defined encrypted packet format.”
Discovery
2 techniques
Discovery
“It instructs the malware to place available interfaces into promiscuous mode and watch indefinitely for traffic matching a defined encrypted packet format.”
If that process is not called ERAAgent.exe, the DLL stays inactive, so it will not run inside a debugger, a sandbox or any other program unless that program happens to carry that exact name.
Lateral Movement
1 technique
Lateral Movement
They ride on six transports, comprising TCP, UDP, ICMP, SMB named pipes with credentialed lateral movement ...
Command and Control
10 techniques
Command and Control
“It also supports TCP, UDP, ICMP, Windows named pipes, DNS-based tasking, and VMware VMCI communications.” The report states “DNS triggering ... [was] implemented in the code but [was] not shown to have been used.”
“It also supports TCP, UDP, ICMP, Windows named pipes, DNS-based tasking, and VMware VMCI communications.”
“SLEEPWALKER implements 23 instructions supporting ... Network listeners capable of receiving additional task programs [and] staged payload assembly with SHA-256 verification.”
Task programs carried in DNS labels... Base32 over AES-256-CCM. Base32 makes the encrypted envelope suitable for DNS labels.
“Once placed on a compromised device, it can sit inactive for an extended period, only responding when an operator sends a carefully formed network packet.”
The listener captures everything crossing each watched interface, including traffic addressed to other machines. A gateway, VPN server or host bridging two network segments could therefore see a trigger meant for a different machine entirely.
the remote host can be a VMware VMCI target instead of a normal network address... opens a TCP connection to a chosen address and port, and then sends a block of data to a remote host, which can be a VMware VMCI target instead of a normal network address.
“A valid packet clears framing checks and CRC-32 validation before its tasking is decrypted with AES-256-CCM.”
После получения нужного пакета Sleepwalker расшифровывает его содержимое с помощью AES-256-CCM.
Every command sent to the backdoor is encrypted using AES-256-CCM... The encryption key is stored directly inside the DLL.
Exfiltration
1 technique
Exfiltration
This passive backdoor employs its own 23-instruction language for operations ranging from code execution to data exfiltration.
Observables
4 indicators attributed across vendor reports, sandbox runs, and researcher write-ups. Values are masked here and available in full in Mallory.
Recent activity
11 sources tracked across advisories, community write-ups, and news. New activity surfaces here as Mallory finds it.