<?xml version="1.0" encoding="utf-8" standalone="yes"?><rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom" xmlns:content="http://purl.org/rss/1.0/modules/content/"><channel><title>Dcom — CraftedSignal Threat Feed</title><link>https://feed.craftedsignal.io/tags/dcom/</link><description>Trending threats, MITRE ATT&amp;CK coverage, and detection metadata — refreshed continuously.</description><generator>Hugo</generator><language>en</language><managingEditor>hello@craftedsignal.io</managingEditor><webMaster>hello@craftedsignal.io</webMaster><lastBuildDate>Thu, 04 Jan 2024 12:00:00 +0000</lastBuildDate><atom:link href="https://feed.craftedsignal.io/tags/dcom/feed.xml" rel="self" type="application/rss+xml"/><item><title>DCOM Lateral Movement via ShellWindows/ShellBrowserWindow</title><link>https://feed.craftedsignal.io/briefs/2024-01-dcom-lateral-movement/</link><pubDate>Thu, 04 Jan 2024 12:00:00 +0000</pubDate><author>hello@craftedsignal.io</author><guid isPermaLink="true">https://feed.craftedsignal.io/briefs/2024-01-dcom-lateral-movement/</guid><description>This analytic identifies the use of Distributed Component Object Model (DCOM) to execute commands on a remote host, specifically when launched via ShellBrowserWindow or ShellWindows Application COM objects, indicating potential lateral movement by an attacker.</description><content:encoded><![CDATA[<p>This detection identifies the abuse of Distributed Component Object Model (DCOM) for lateral movement within a Windows environment. DCOM allows software components to communicate across a network, and attackers may leverage it to execute commands remotely. This rule specifically focuses on the use of ShellBrowserWindow or ShellWindows Application COM objects as the launching point for these remote commands. The technique enables stealthy lateral movement, as it leverages legitimate Windows functionality. This activity is detected by identifying incoming TCP connections on high ports associated with <code>explorer.exe</code> spawning child processes, which are indicative of DCOM abuse. The rule is designed to detect this behavior and alert security teams to potential unauthorized lateral movement attempts.</p>
<h2 id="attack-chain">Attack Chain</h2>
<ol>
<li>An attacker gains initial access to a compromised host within the network.</li>
<li>The attacker uses DCOM to initiate a connection to a target host.</li>
<li>The DCOM connection is established to the target host via high TCP ports (above 49151).</li>
<li>The <code>explorer.exe</code> process on the target host receives the DCOM connection.</li>
<li>The attacker uses ShellBrowserWindow or ShellWindows COM objects to execute commands.</li>
<li><code>explorer.exe</code> spawns a child process to execute the attacker-supplied command.</li>
<li>The spawned process performs malicious actions, such as reconnaissance or further lateral movement.</li>
</ol>
<h2 id="impact">Impact</h2>
<p>Successful exploitation allows attackers to execute arbitrary commands on the target system, leading to potential data exfiltration, system compromise, and further lateral movement within the network. This can result in significant damage, including data breaches, financial losses, and reputational harm. The DCOM protocol is commonly used in many Windows environments, so this technique could be broadly applicable across many victim organizations.</p>
<h2 id="recommendation">Recommendation</h2>
<ul>
<li>Deploy the Sigma rule &ldquo;DCOM Lateral Movement with Explorer.exe&rdquo; to your SIEM and tune for your environment to detect suspicious process creations spawned by explorer.exe.</li>
<li>Enable Sysmon Event ID 3 (Network Connection) and Event ID 1 (Process Creation) logging to ensure the required data is available for the Sigma rule to function correctly.</li>
<li>Review network activity for incoming TCP connections to high ports (49151+) associated with <code>explorer.exe</code>, as highlighted in the &ldquo;Incoming DCOM Lateral Movement with ShellBrowserWindow or ShellWindows&rdquo; detection.</li>
<li>Investigate any unusual or unexpected child processes spawned by <code>explorer.exe</code>, as detected by the Sigma rule.</li>
</ul>
]]></content:encoded><category domain="severity">medium</category><category domain="type">advisory</category><category>lateral-movement</category><category>dcom</category><category>windows</category></item><item><title>Suspicious Explorer Child Process via DCOM</title><link>https://feed.craftedsignal.io/briefs/2024-01-suspicious-explorer-child-process/</link><pubDate>Tue, 02 Jan 2024 12:00:00 +0000</pubDate><author>hello@craftedsignal.io</author><guid isPermaLink="true">https://feed.craftedsignal.io/briefs/2024-01-suspicious-explorer-child-process/</guid><description>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.</description><content:encoded><![CDATA[<p>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.</p>
<h2 id="attack-chain">Attack Chain</h2>
<ol>
<li>The attack begins with an initial access vector such as spearphishing (T1566).</li>
<li>A user clicks a malicious link or opens an attachment, leading to code execution.</li>
<li>The initial payload exploits explorer.exe through DCOM using the -Embedding argument.</li>
<li>Explorer.exe spawns a child process such as powershell.exe, cmd.exe, or mshta.exe (T1059, T1218).</li>
<li>The spawned process executes malicious commands or scripts.</li>
<li>These commands might download or execute additional payloads.</li>
<li>The attacker achieves code execution, potentially gaining persistence on the system.</li>
<li>The ultimate objective is often lateral movement, data exfiltration, or deploying ransomware.</li>
</ol>
<h2 id="impact">Impact</h2>
<p>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.</p>
<h2 id="recommendation">Recommendation</h2>
<ul>
<li>Enable process creation logging with command line details to detect suspicious explorer.exe child processes.</li>
<li>Deploy the Sigma rule &ldquo;Suspicious Explorer Child Process - PowerShell&rdquo; to identify instances of PowerShell spawned by explorer.exe with suspicious arguments.</li>
<li>Deploy the Sigma rule &ldquo;Suspicious Explorer Child Process - Scripting Engines&rdquo; to detect other scripting engines launched by explorer.exe.</li>
<li>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 &ldquo;-Embedding&rdquo; via process creation logs.</li>
<li>Implement application control policies to restrict execution of unsigned or untrusted scripts and executables.</li>
</ul>
]]></content:encoded><category domain="severity">medium</category><category domain="type">advisory</category><category>initial-access</category><category>defense-evasion</category><category>execution</category><category>explorer.exe</category><category>dcom</category></item></channel></rss>