A highly sophisticated and evasive Windows backdoor, named "SLEEPWALKER", has been discovered and analyzed by security researchers. This malware represents a significant threat due to its extremely stealthy design. Unlike traditional backdoors, SLEEPWALKER does not initiate any outbound connections to a command-and-control (C2) server, allowing it to evade detection by network security monitoring tools that look for beaconing activity. It operates as a passive implant, lying dormant in memory while sniffing network traffic. It only activates upon receiving a specific, encrypted "magic packet," at which point it executes a payload written in its own custom bytecode language. This level of sophistication suggests it is a tool used in targeted attacks by a well-resourced threat actor.
SLEEPWALKER is a post-compromise implant, meaning attackers must have already gained administrative access to a system to install it. Its primary persistence mechanism is DLL side-loading. The analyzed sample impersonates Microsoft's legitimate dpapi.dll and is designed to be loaded by the ESET Management Agent executable, ERAAgent.exe. The malware checks if its host process is ERAAgent.exe before it begins its main function; otherwise, it remains completely inactive.
Its core feature is its passive, network-triggered activation. It uses a raw socket to sniff all network traffic on all interfaces, searching for a specific trigger packet. This makes it invisible to firewalls and network monitoring solutions focused on outgoing connections.
T1574.002 - DLL Side-Loading. The malicious dpapi.dll (59,904 bytes, 64-bit) is placed in the ESET Management Agent directory to be loaded by ERAAgent.exe on service start.ERAAgent.exe.This architecture allows the attacker to maintain long-term, stealthy access without the risks associated with a persistent C2 connection.
A successful SLEEPWALKER implantation provides an attacker with a powerful and difficult-to-detect foothold in a target network. The impact includes:
Because it requires administrator rights to install, its presence indicates a prior, successful compromise of the network.
dpapi.dll59,904 bytesERAAgent.exeThe following patterns could indicate related activity:
C:\Program Files\ESET\RemoteAdministrator\Agent\dpapi.dll. Hunt for a dpapi.dll in this location.ERAAgent.exePromiscuous mode enabledDetecting SLEEPWALKER requires advanced endpoint and memory analysis.
Detection Methods:
dpapi.dll file within the ESET Management Agent's installation directory. This is highly anomalous, as that DLL belongs in the Windows System32 directory.ERAAgent.exe loads dpapi.dll from its own application directory instead of the system directory.ERAAgent.exe process to identify injected code, hooked functions, or the presence of the dormant SLEEPWALKER implant.Mitigation focuses on preventing the initial installation and detecting the side-loading behavior.
System32), which can help thwart side-loading attacks.Configure operating systems to only load libraries from trusted locations, which can mitigate many DLL side-loading attacks.
Use application allowlisting to prevent the execution of the malicious DLL, even if it is placed in the correct path.
Mapped D3FEND Techniques:
Detecting SLEEPWALKER requires moving beyond static signatures and network logs. Security teams should leverage EDR tools capable of dynamic analysis and behavioral monitoring. Specifically, a rule should be created to detect when the ERAAgent.exe process loads a DLL named dpapi.dll from its own application directory (C:\Program Files\ESET\...) instead of the legitimate C:\Windows\System32 path. This is a high-fidelity indicator of this specific DLL side-loading attack. Furthermore, monitoring for the ERAAgent.exe process initiating raw socket creation or attempting to put a network adapter into promiscuous mode would be a strong signal of a passive network sniffer, which is the core of SLEEPWALKER's stealth.
Implement file integrity monitoring (FIM) or regular endpoint scans focused on detecting misplaced system files. A specific hunt query or FIM rule should be created to search all endpoints for the existence of dpapi.dll outside of its legitimate System32 and SysWOW64 locations. A discovery of dpapi.dll within the ESET agent's program files directory should be treated as a critical alert and an immediate indicator of compromise. This technique is effective because the attacker must place the malicious file on disk for the side-loading to work, creating a detectable artifact.

Cybersecurity professional with over 10 years of specialized experience in security operations, threat intelligence, incident response, and security automation. Expertise spans SOAR/XSOAR orchestration, threat intelligence platforms, SIEM/UEBA analytics, and building cyber fusion centers. Background includes technical enablement, solution architecture for enterprise and government clients, and implementing security automation workflows across IR, TIP, and SOC use cases.
CyberNetSec.io uses automation to assist source monitoring, deduplication, observable extraction, and structured intelligence generation. Published analysis follows human-defined editorial standards and adds defensive context including MITRE ATT&CK, D3FEND, STIX, and Sigma where applicable. Read our editorial policy.
Help others stay informed about cybersecurity threats
Every tactic, technique, and sub-technique used in this threat has been identified and mapped to the MITRE ATT&CK framework for consistent, actionable threat language.
Observables and indicators of compromise (IOCs) have been extracted and cataloged. Risk has been assessed and correlated with known threat actors and historical campaigns.
Detection rules, incident response steps, and D3FEND-aligned mitigation strategies are included so your team can act on this intelligence immediately.
Structured threat data is packaged as a STIX 2.1 bundle and can be visualized as an interactive graph — relationships between actors, malware, techniques, and indicators.
Sigma detection rules are derived from the threat techniques in this article and can be converted for deployment across any major SIEM or EDR platform.