<?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>Attack.t1562.002 — CraftedSignal Threat Feed</title><link>https://feed.craftedsignal.io/tags/attack.t1562.002/</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>Tue, 09 Jan 2024 14:22:00 +0000</lastBuildDate><atom:link href="https://feed.craftedsignal.io/tags/attack.t1562.002/feed.xml" rel="self" type="application/rss+xml"/><item><title>Windows EventLog Autologger Session Disabled via Registry Modification</title><link>https://feed.craftedsignal.io/briefs/2024-01-autologger-disable/</link><pubDate>Tue, 09 Jan 2024 14:22:00 +0000</pubDate><author>hello@craftedsignal.io</author><guid isPermaLink="true">https://feed.craftedsignal.io/briefs/2024-01-autologger-disable/</guid><description>Adversaries may attempt to disable Windows EventLog autologger sessions via registry modification to evade detection and prevent security monitoring of early boot activities and system events.</description><content:encoded><![CDATA[<p>Attackers may disable Windows EventLog autologger sessions by modifying specific registry keys, thus evading detection and preventing security monitoring of early boot activities and system events. The AutoLogger event tracing session records events early in the operating system boot process, allowing applications and device drivers to capture traces before user login. Disabling these sessions can blind security monitoring tools, especially those focused on early boot activity, making it harder to detect malicious activity. This technique allows attackers to operate with less scrutiny during critical phases of system startup, potentially enabling persistence or other malicious objectives.</p>
<h2 id="attack-chain">Attack Chain</h2>
<ol>
<li>The attacker gains initial access to the system, possibly through exploitation of a vulnerability or through stolen credentials.</li>
<li>The attacker uses <code>reg.exe</code> or PowerShell to modify the registry.</li>
<li>The attacker targets registry keys under <code>\Control\WMI\Autologger\</code>.</li>
<li>The attacker modifies the <code>Start</code> value to disable specific autologger sessions like EventLog-Application or EventLog-System.</li>
<li>Alternatively, the attacker modifies the <code>Enabled</code> value to disable specific providers of an autologger session.</li>
<li>The attacker executes the command, changing the registry value to disable the targeted autologger session or provider.</li>
<li>The system no longer records events for the disabled autologger session or provider.</li>
</ol>
<h2 id="impact">Impact</h2>
<p>Disabling the Windows EventLog autologger can severely impact an organization&rsquo;s ability to detect and respond to threats. Security monitoring tools that rely on these logs will be unable to record early boot activities and system events, leading to a gap in visibility. This can allow attackers to establish persistence mechanisms, escalate privileges, or perform other malicious activities without being detected. The impact could range from undetected malware infections to significant data breaches, depending on the attacker&rsquo;s objectives.</p>
<h2 id="recommendation">Recommendation</h2>
<ul>
<li>Deploy the Sigma rule <code>Windows EventLog Autologger Session Registry Modification Via CommandLine</code> to your SIEM and tune for your environment to detect this behavior in your environment.</li>
<li>Monitor process creation events for <code>reg.exe</code>, <code>powershell.exe</code>, or <code>pwsh.exe</code> with command-line arguments that contain <code>\Control\WMI\Autologger\</code> and either <code>Start</code> or <code>Enabled</code> based on the Sigma rule&rsquo;s detections.</li>
<li>Implement Atomic Red Team simulations to validate detections and train security staff.</li>
<li>Investigate any instances of registry modifications related to Autologger sessions to determine if they are legitimate or malicious.</li>
</ul>
]]></content:encoded><category domain="severity">high</category><category domain="type">advisory</category><category>attack.defense-evasion</category><category>attack.t1562.002</category></item><item><title>Windows AutoLogger Session Tampering Detection</title><link>https://feed.craftedsignal.io/briefs/2024-01-autologger-tampering/</link><pubDate>Wed, 03 Jan 2024 15:00:00 +0000</pubDate><author>hello@craftedsignal.io</author><guid isPermaLink="true">https://feed.craftedsignal.io/briefs/2024-01-autologger-tampering/</guid><description>Attackers may disable AutoLogger sessions by modifying specific registry values to evade detection and prevent security monitoring of early boot activities and system events, a technique observed in intrusions involving IcedID and XingLocker ransomware.</description><content:encoded><![CDATA[<p>Attackers are increasingly targeting Windows Event Tracing (ETW) and AutoLogger sessions to evade detection. The AutoLogger session is crucial as it records events early in the operating system boot process, providing security solutions with essential telemetry. This technique involves tampering with registry keys associated with AutoLogger sessions, specifically disabling or stopping them by setting DWORD values to 0. This is done to blind security solutions, preventing them from monitoring early boot activities and critical system events. Disabling these sessions allows adversaries to operate with less scrutiny, making it harder to detect malicious activities during the initial phases of a system compromise. This technique has been observed in attacks involving IcedID and XingLocker ransomware.</p>
<h2 id="attack-chain">Attack Chain</h2>
<ol>
<li>Initial access is achieved through an as-yet-unspecified method (e.g., exploitation, phishing).</li>
<li>The attacker gains administrative privileges on the target system.</li>
<li>The attacker identifies AutoLogger sessions to disable, focusing on those relevant to security monitoring, such as &lsquo;\EventLog-&rsquo; or &lsquo;\Defender&rsquo;.</li>
<li>The attacker modifies the registry to disable the targeted AutoLogger sessions. This involves setting the &lsquo;Enabled&rsquo; or &lsquo;Start&rsquo; DWORD values under the <code>HKLM\System\CurrentControlSet\Control\WMI\Autologger</code> registry key to 0.</li>
<li>The attacker may use tools like <code>wevtutil.exe</code> or directly interact with the registry via PowerShell or <code>cmd.exe</code> to make these changes.</li>
<li>The security monitoring capabilities reliant on the tampered AutoLogger sessions are effectively impaired or disabled.</li>
<li>With logging impaired, the attacker proceeds with the main objectives, such as lateral movement, data exfiltration, or ransomware deployment, with a reduced risk of detection.</li>
<li>The ultimate goal is to compromise the system, steal data, or deploy ransomware, bypassing security measures that rely on early boot and system event logging.</li>
</ol>
<h2 id="impact">Impact</h2>
<p>Successful tampering with AutoLogger sessions can significantly reduce the visibility of security solutions, allowing attackers to operate undetected for extended periods. This can lead to delayed incident response, increased dwell time, and greater potential for damage, including data breaches, financial losses, and reputational damage. The sectors most at risk are those heavily reliant on Windows-based systems and proactive security monitoring. The DFIR Report documented a case where adversaries moved from IcedID infection to XingLocker ransomware deployment within 24 hours, highlighting the speed and potential impact of these attacks.</p>
<h2 id="recommendation">Recommendation</h2>
<ul>
<li>Deploy the Sigma rule <code>Potential AutoLogger Sessions Tampering</code> to your SIEM to detect malicious registry modifications related to AutoLogger sessions.</li>
<li>Investigate any registry modifications under the <code>\Control\WMI\Autologger\</code> path, focusing on changes to <code>Enabled</code> or <code>Start</code> values, as identified in the Sigma rule.</li>
<li>Monitor process creation events for <code>wevtutil.exe</code> modifying registry keys related to AutoLogger, as specified in the <code>filter_main_wevtutil</code> section of the Sigma rule.</li>
<li>Correlate registry modification events with process execution events to identify the source of the tampering, paying close attention to processes originating from the Windows Defender platform, as outlined in the <code>filter_main_defender</code> section of the Sigma rule.</li>
<li>Implement endpoint detection and response (EDR) solutions with robust registry monitoring capabilities to identify and block unauthorized modifications to AutoLogger settings.</li>
</ul>
]]></content:encoded><category domain="severity">high</category><category domain="type">threat</category><category>attack.defense-evasion</category><category>attack.t1562.002</category></item></channel></rss>