Suspicious Explorer Child Process via DCOM
Adversaries abuse the trusted status of explorer.exe to launch malicious scripts or executables, often using DCOM to start processes like PowerShell or cmd.exe, achieving initial access, defense evasion, and execution.
Attackers frequently exploit Windows Explorer (explorer.exe) to execute malicious code due to its inherent trust within the operating system. This involves spawning child processes such as PowerShell, cmd.exe, or other scripting engines via Component Object Model (COM) and Distributed Component Object Model (DCOM). This technique enables attackers to bypass security controls, blending malicious activity with legitimate system processes. The detection rule identifies such anomalies by monitoring child processes of Explorer with specific characteristics, excluding known benign activities, to flag potential threats. This activity is frequently associated with initial access and execution of follow-on malware.
Attack Chain
- The attack begins with an initial access vector such as spearphishing (T1566).
- A user clicks a malicious link or opens an attachment, leading to code execution.
- The initial payload exploits explorer.exe through DCOM using the -Embedding argument.
- Explorer.exe spawns a child process such as powershell.exe, cmd.exe, or mshta.exe (T1059, T1218).
- The spawned process executes malicious commands or scripts.
- These commands might download or execute additional payloads.
- The attacker achieves code execution, potentially gaining persistence on the system.
- The ultimate objective is often lateral movement, data exfiltration, or deploying ransomware.
Impact
Successful exploitation allows attackers to execute arbitrary code within a trusted process context, bypassing application whitelisting and other security controls. This can lead to initial access, privilege escalation, and persistence within the compromised system. The compromise can remain undetected for extended periods due to the trusted nature of the parent process (explorer.exe), enabling attackers to perform reconnaissance, deploy malware, exfiltrate data, or disrupt services.
Recommendation
- Enable process creation logging with command line details to detect suspicious explorer.exe child processes.
- Deploy the Sigma rule “Suspicious Explorer Child Process - PowerShell” to identify instances of PowerShell spawned by explorer.exe with suspicious arguments.
- Deploy the Sigma rule “Suspicious Explorer Child Process - Scripting Engines” to detect other scripting engines launched by explorer.exe.
- Monitor process execution events for processes like powershell.exe, cmd.exe, cscript.exe, wscript.exe, mshta.exe, regsvr32.exe, and rundll32.exe with a parent process of explorer.exe and the argument “-Embedding” via process creation logs.
- Implement application control policies to restrict execution of unsigned or untrusted scripts and executables.
Detection coverage 2
Suspicious Explorer Child Process - PowerShell
mediumDetects PowerShell processes spawned by explorer.exe with the '-Embedding' argument, indicating potential exploitation via DCOM.
Suspicious Explorer Child Process - Scripting Engines
mediumDetects scripting engines like cmd.exe, cscript.exe, wscript.exe, mshta.exe, regsvr32.exe, or rundll32.exe spawned by explorer.exe with the '-Embedding' argument, indicating potential exploitation via DCOM.
Detection queries are kept inside the platform. Get full rules →