ETW Trace Evasion Activity
Adversaries manipulate Event Tracing for Windows (ETW) using built-in administration tools to disable providers and clear logs, effectively blinding security telemetry and evading detection.
Adversaries frequently target Event Tracing for Windows (ETW) to compromise the visibility of security products. By manipulating logging configurations and trace sessions, attackers can suppress the generation of logs that would otherwise capture malicious process activity, network connections, or credential access. This activity leverages legitimate administrative binaries such as wevtutil.exe, logman.exe, and PowerShell cmdlets to modify, disable, or remove ETW providers. Because these are built-in Windows features, this technique provides a stealthy method for adversaries to impair defensive capabilities without needing to drop custom malware. Defending against this activity requires monitoring for specific command-line parameters associated with administrative log management that deviate from standard maintenance cycles.
Attack Chain
- Attacker gains initial access or code execution on the target endpoint.
- Attacker enumerates active trace providers or logs to identify targets for suppression using logman or get-log commands.
- Attacker uses wevtutil.exe to clear event logs containing trace data.
- Attacker uses wevtutil.exe with the /e:false switch to disable targeted event logs.
- Attacker utilizes logman.exe to update existing trace sessions and remove specific providers.
- Attacker leverages PowerShell cmdlets such as Remove-EtwTraceProvider to unregister ETW trace providers.
- Attacker employs Set-EtwTraceProvider to modify provider properties (e.g., setting flags to 0x11 or 17) to disable logging triggers.
- Final objective of blinding security telemetry is achieved, allowing for subsequent lateral movement or data exfiltration without alerting defenders.
Impact
Successful evasion of ETW logging results in significant gaps in defensive visibility. SOC analysts lose the ability to reconstruct malicious activity, as critical telemetry regarding process creation, file modifications, and network connections may be suppressed. This impacts incident response by delaying detection and hindering forensic analysis, potentially allowing persistent threats to operate undetected within the environment for extended periods.
Recommendation
- Deploy the Sigma rules provided below to detect suspicious use of administrative utilities for log manipulation.
- Enable process-creation logging (Sysmon Event ID 1) across all Windows endpoints to capture command-line arguments.
- Baseline administrative usage of wevtutil.exe and logman.exe to identify deviations from standard IT management behavior.
- Restrict non-administrator accounts from executing binaries that manage event logs and tracing sessions.
Immediate actions
Deploy Sigma rule to monitor administrative binary command lines
Threat Hunt
Search logs for command line usage of wevtutil.exe, logman.exe, or Set-EtwTraceProvider
Data: Process creation telemetry
Mitigations
Enforce strict execution policies on administrative binaries
T1070
Detection coverage 1
Detect ETW Trace Evasion Activity
highDetects command line activity that attempts to tamper with Event Tracing for Windows (ETW) by clearing or disabling trace logs or providers.
Detection queries are available on the platform. Get full rules →