Detection of Event Log Disabling via WevtUtil
Adversaries, particularly ransomware operators, use the Windows built-in tool wevtutil.exe to disable security event logs, effectively blinding detection systems and hindering forensic investigation.
The utility wevtutil.exe is a legitimate Windows command-line tool used to manage event logs. Attackers, including those deploying ransomware like Ransom-X and Rhysida, frequently leverage this binary to disable logging channels during the post-exploitation phase. By disabling audit event logs, threat actors can mask their presence, prevent security products from generating telemetry, and impede post-incident forensic analysis. This TTP is a critical indicator of malicious activity, as legitimate administrative tasks rarely require disabling event log channels in this manner. Defenders must monitor process creation events to identify command-line arguments that explicitly set log channels to a disabled state.
Attack Chain
- Attacker gains initial access or achieves sufficient privileges (e.g., local administrator or SYSTEM).
- Attacker prepares for lateral movement or data exfiltration.
- Attacker identifies the need to suppress security alerts to remain undetected.
- Attacker executes
wevtutil.exevia command prompt or PowerShell. - Attacker provides arguments to target specific event log channels (e.g., 'sl' or 'set-log').
- Attacker provides the flag to disable the target log (e.g., '/e:false' or '/enabled:false').
- The operating system disables the specified log channel, stopping further log generation.
- Attacker proceeds with further malicious objectives while forensic auditing is silenced.
Impact
Successful execution of this tactic prevents the creation of security logs, rendering existing SIEM/EDR detection rules ineffective for the duration of the compromise. This creates a significant blind spot that allows adversaries to persist, exfiltrate data, or deploy ransomware without triggering automated response actions.
Recommendation
- Deploy the Sigma rule provided below to monitor for suspicious command-line execution of
wevtutil.exe. - Ensure endpoint logs (Sysmon Event ID 1 or Security Event ID 4688) are ingesting full command-line arguments and parent process information.
- Review alerts generated by this rule for potential false positives from legitimate network administration or debugging activity.
- Integrate the identified telemetry into the EDR/SIEM
Endpointdata model using CIM normalization to facilitate consistent alerting.
Immediate actions
Deploy Sigma rule for wevtutil log disabling
Threat Hunt
Search for historical execution of wevtutil with set-log arguments
Data: Process command-line logs
Detection coverage 1
Detect Event Log Disabling via WevtUtil
highDetects the execution of wevtutil.exe with arguments intended to disable event logging channels.
Detection queries are available on the platform. Get full rules →