<?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>Eventlog — CraftedSignal Threat Feed</title><link>https://feed.craftedsignal.io/tags/eventlog/</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 10:00:00 +0000</lastBuildDate><atom:link href="https://feed.craftedsignal.io/tags/eventlog/feed.xml" rel="self" type="application/rss+xml"/><item><title>Disable Windows Event and Security Logs Using Built-in Tools</title><link>https://feed.craftedsignal.io/briefs/2024-01-disable-windows-logs/</link><pubDate>Thu, 04 Jan 2024 10:00:00 +0000</pubDate><author>hello@craftedsignal.io</author><guid isPermaLink="true">https://feed.craftedsignal.io/briefs/2024-01-disable-windows-logs/</guid><description>Attackers attempt to disable Windows Event and Security Logs using logman, PowerShell, or auditpol to evade detection and cover their tracks.</description><content:encoded><![CDATA[<p>Attackers often disable Windows Event and Security Logs to evade detection on compromised systems. This activity involves tampering with, clearing, and deleting event log data to break SIEM detections, cover their tracks, and slow down incident response. The methods employed include using the <code>logman</code> utility, PowerShell commands to disable the EventLog service, or <code>auditpol</code> to disable auditing. These actions are typically performed after initial access and privilege escalation to hinder forensic investigations and maintain persistence within the environment. Defenders should monitor for these specific tools and command-line arguments to identify potential attempts to disable logging.</p>
<h2 id="attack-chain">Attack Chain</h2>
<ol>
<li>The attacker gains initial access to the system, possibly through phishing or exploiting a vulnerability.</li>
<li>The attacker escalates privileges to administrator level to gain the necessary permissions to modify event logging settings.</li>
<li>The attacker uses <code>logman.exe</code> with arguments to stop or delete EventLog traces (e.g., <code>logman.exe stop EventLog-*</code>, <code>logman.exe delete EventLog-*</code>).</li>
<li>Alternatively, the attacker uses PowerShell with <code>Set-Service</code> cmdlet to disable the EventLog service (e.g., <code>powershell.exe Set-Service EventLog -StartupType Disabled</code>).</li>
<li>The attacker can also use <code>auditpol.exe</code> to disable auditing policies, preventing future events from being logged (e.g., <code>auditpol.exe /success:disable</code>).</li>
<li>After disabling logging, the attacker performs malicious activities such as lateral movement, data exfiltration, or malware deployment, with a reduced risk of detection.</li>
<li>The attacker removes traces of their activity from other logs if possible.</li>
<li>The attacker maintains persistence and continues to exploit the compromised environment.</li>
</ol>
<h2 id="impact">Impact</h2>
<p>Successful disabling of Windows Event and Security Logs can severely hinder incident response and forensic investigations. The absence of log data makes it difficult to detect ongoing malicious activity, understand the scope of the compromise, and attribute the attack. This can lead to prolonged dwell time for attackers, increased data exfiltration, and greater overall damage to the organization.</p>
<h2 id="recommendation">Recommendation</h2>
<ul>
<li>Deploy the Sigma rule &ldquo;Disable Windows Event and Security Logs Using Built-in Tools&rdquo; to your SIEM to detect the execution of <code>logman.exe</code>, PowerShell, and <code>auditpol.exe</code> with specific arguments related to disabling event logs.</li>
<li>Monitor process creation events for <code>logman.exe</code>, <code>powershell.exe</code>, <code>pwsh.exe</code>, <code>powershell_ise.exe</code>, and <code>auditpol.exe</code> with command-line arguments that indicate an attempt to disable event logging.</li>
<li>Enable Sysmon process creation logging to capture detailed command-line arguments for process monitoring.</li>
<li>Regularly review and audit Group Policy settings related to event logging to prevent unauthorized modifications.</li>
<li>Monitor for changes to the EventLog service configuration, including startup type and status, using system monitoring tools.</li>
</ul>
]]></content:encoded><category domain="severity">medium</category><category domain="type">advisory</category><category>defense-evasion</category><category>windows</category><category>eventlog</category></item></channel></rss>