Description:Wevtutil.exe is a built-in Windows utility for managing event logs. It allows querying, exporting, clearing, and configuring event logs, making it a versatile tool for system administrators. However, its capabilities can be abused by attackers to evade detection by selectively clearing or manipulating logs.
Author:Tonmoy Jitu
Created:2024-11-25
Commands:
- Command:wevtutil cl Application
Description:Used to erase evidence of malicious activity or cleanup post-exploitation traces in application logs.
Usecase:Clears all entries from the Application event log.
Category:Dump
Privileges:Administrator
MitreID:T1070
OperatingSystem:Windows Vista and later
- Command:wevtutil qe Security /q:"*[System[EventID=4624]]" /f:text
Description:Queries the Security log for specific events (e.g., Event ID 4624) and outputs results in text format.
Usecase:Used to extract relevant log details to analyze or selectively target events before log clearing.
Category:Reconnaissance
Privileges:User (Event Log Reader)
MitreID:T1218
OperatingSystem:Windows Vista and later
- Command:wevtutil qe Security /f:xml > exported_logs.xml
Description:Queries the Security event log and exports its contents in XML format to a file.
Usecase:Used to exfiltrate Security log data for analysis. The XML format allows attackers to parse and extract detailed information about audit events, user activity, or security configurations.