Disable or Modify Tools: Clear Windows Event Logs T1685.005

Tactic: Defense Impairment

Adversaries may clear Windows Event Logs to hide the activity of an intrusion. Windows Event Logs are a record of a computer's alerts and notifications. There are three system-defined sources of events: System, Application, and Security, with five event types: Error, Warning, Information, Success Audit, and Failure Audit.

Events covered

6 catalog events are tagged with this technique by at least one rule.

Authoring guide

Patterns shared across the 12 rules above: which fields they filter on, what specific values they look for, and what they exclude. The catalog normalizes field names across vendors so Sigma's Image, Elastic's process.name, and Splunk's process_name collapse into one row. Each rule contributes at most once per row.

Fields filtered most (10 distinct)

The fields most rules look at when detecting this technique. The How column shows the operators authors use (eq, wildcard, regex_match, match) and how often each appears. Sample values are concrete examples to start from, not an exhaustive list.

FieldRulesHowSample values
CommandLine6contains 4, in 3, ends_with 1* cl *, cl , sl , */e:false*, */enabled:false*
Channel4eq 4, in 2
Image3ends_with 3\logman.exe, \powershell.exe, \powershell_ise.exe, \pwsh.exe, \rundll32.exe
Provider_Name3eq 3Microsoft-Windows-Eventlog, Security
process_name3eq 3wevtutil.exe
EventID2eq 2104, 1100, 1102
OriginalFileName2eq 2logman.exe, wevtutil.exe
eventtype2eq 2
ParentImage1eq 1c:\windows\system32\msiexec.exe, c:\windows\syswow64\msiexec.exe
ScriptBlockText1contains 1clear, clear-eventlog , clear-winevent

Top indicator values (63 distinct)

Specific (field, operator, value) combinations the rules check for, ranked by how many rules under this technique use each one. The Corpus reach column counts how many rules across the entire catalog (any technique) check the same combination. High numbers point to widely-used indicators that are likely noisy on their own; combine them with another condition for useful signal. Blank means the combination is specific to rules under this technique. Click a value to expand the rules under this technique that use it.

FieldKindValueRules (here)Corpus reach
Provider_Nameeq
Microsoft-Windows-Eventlog
33
process_nameeq
wevtutil.exe
38
CommandLinein
* cl *
22
CommandLinein
*clear-log*
22
CommandLinecontains
cl
1
CommandLinecontains
sl
1
CommandLinecontains
circular kernel context logger
1
CommandLinecontains
clear
14
CommandLinecontains
clear-eventlog
1
CommandLinecontains
clear-log
1
CommandLinecontains
clear-winevent
1
CommandLinecontains
cleareventlog
12
CommandLinecontains
clearlog
1
CommandLinecontains
delete
14
CommandLinecontains
diagnostics.eventlog
1
CommandLinecontains
dllhost.dat %windir%\ransoms
1
CommandLinecontains
eventing.reader.eventlogsession
1
CommandLinecontains
eventlog-
1
CommandLinecontains
lfn:
1
CommandLinecontains
limit-eventlog
1
CommandLinecontains
remove-eventlog
1
CommandLinecontains
set-log
12
CommandLinecontains
set-log
1
CommandLinecontains
sl
12
CommandLinecontains
stop
1
CommandLinecontains
sysmon trace
1
CommandLinecontains
sysmondnsetwsession
1
CommandLinecontains
wevtutil cl application & fsutil usn deletejournal /d c:
1
CommandLineends_with
.dat #1
1
CommandLineends_with
.dat,#1
1

Exclusions (3 distinct)

Field/operator/value combinations excluded by rules under this technique (top-level not() clauses), sorted by how many rules exclude each. These are the false-positive paths the community has learned to filter out. A new rule that ignores the high-count entries here will likely fire on the same noisy paths. Click a value to expand the rules under this technique that exclude it.

FieldKindValueRules excluding
CommandLinecontains
sl
1
ParentImageeq
c:\windows\system32\msiexec.exe
1
ParentImageeq
c:\windows\syswow64\msiexec.exe
1

Rules under this technique

Every rule in the catalog tagged with this technique, grouped by vendor. Click a rule title for its full predicates, exclusions, and indicators.

Platform (all)
Domain (all)

Sigma 7 rules

Splunk 5 rules