The System event log was cleared. Equivalent of Security 1102 but for the System log.
Same defense evasion context as 1102. Attackers clear System log to remove service installation (7045) and other persistence evidence.
Alert on every occurrence. Correlate with Security 1102 — attackers often clear multiple logs simultaneously.
SubjectUserNameChannel | Tactic | Technique |
|---|---|
| Defense Evasion | Indicator Removal: Clear Windows Event Logs (T1070.001) |
Starting points — adapt the log source, projected fields and thresholds for your environment.
title: System Event Log Cleared
status: stable
description: System event log cleared
author: theadminstack.com
date: 2026/05/16
logsource:
product: windows
service: system
detection:
selection:
EventID: 104
condition: selection
falsepositives:
- Documented administrative log rotation
level: high
tags:
- attack.defense_evasion
- attack.t1070.001
Event
| where EventLog == "System" and EventID == 104 // The System event log was cleared
// EventData holds: SubjectUserName, Channel
| project TimeGenerated, Computer, RenderedDescription
| sort by TimeGenerated desc
index=* sourcetype="WinEventLog:System" EventCode=104
| stats count earliest(_time) as first_seen latest(_time) as last_seen by ComputerName
| sort - count `# The System event log was cleared — add EventData fields: SubjectUserName, Channel`
The System event log was cleared. The System event log was cleared. Equivalent of Security 1102 but for the System log.
Event 104 is written to the System channel by Service Control Manager / Kernel. Logged by default in the System channel; no audit policy required.
Event 104 is associated with: Indicator Removal: Clear Windows Event Logs (T1070.001).
Alert on every occurrence. Correlate with Security 1102 — attackers often clear multiple logs simultaneously.