Skip to content

Response, New York. Noah Park: Check Point Patches Actively Exploited Management Server Path Traversal. Detection, Dallas. Ava Okello: Report Finds Nearly Half of Deployed Detections Need Attention Before SOCs Can Trust Them.

SOCtember

Always First. Fast SOC News.

Microsoft Learn page for Event 1102, The audit log was cleared, with the event properties dialog.
Screenshot: Microsoft Learn, 1102(S): The audit log was cleared, Microsoft (fair use).

Detection

Did You Know: Windows Event 1102 Says the Security Log Was Cleared, but It Speaks Only for That Log, and Attackers Wipe the System and PowerShell Logs Too

Microsoft documents Event 1102 as the record that the Windows Security audit log was cleared, and says you typically should not see it. MITRE ATT&CK lists intruders clearing the System, Application and PowerShell logs as well, or deleting the .evtx files outright, so a rule that watches only 1102 watches one log.

Ava Okello, DetectionLondon3 min read

LONDON - Few Windows events read as plainly as 1102. Microsoft's description is one line: "This event generates every time Windows Security audit log was cleared." The event is written by the Microsoft-Windows-Eventlog provider into the Security channel, and it names who did it. Its Subject fields carry the Security ID, account name, account domain and a Logon ID that Microsoft says can be used to correlate with recent events such as 4624, a successful logon.

Microsoft Learn, Event 1102 Logon ID field and Security Monitoring Recommendations.
Screenshot: Microsoft Learn, 1102(S): The audit log was cleared, Security Monitoring Recommendations, Microsoft (fair use).

Microsoft's monitoring advice is short as well: "Typically you should not see this event. There is no need to manually clear the Security event log in most cases." It recommends monitoring the event and investigating why the action was performed. That makes 1102 one of the easier alerts to justify.

The catch is in the description itself. Event 1102 is about the Security audit log. Windows keeps other logs, and intruders clear those too.

MITRE ATT&CK, Clear Windows Event Logs, listing wevtutil commands for the system, application and security logs.
Screenshot: MITRE ATT&CK, Disable or Modify Tools: Clear Windows Event Logs (T1685.005), The MITRE Corporation (fair use).

MITRE ATT&CK now files the technique as T1685.005, Clear Windows Event Logs; the old T1070.001 address redirects there. It lists three wevtutil commands, wevtutil cl system, wevtutil cl application and wevtutil cl security, and says the logs can also be cleared through the Event Viewer GUI or PowerShell. Its procedure examples include APT28 running wevtutil cl System and wevtutil cl Security, and ShrinkLocker clearing the Windows PowerShell and Microsoft-Windows-Powershell/Operational logs. Only one of those targets is the Security log.

ATT&CK describes two quieter routes. Remove-EventLog -LogName Security deletes the Security event log and, after a reboot, disables future logging, though ATT&CK notes events may still be logged between the command and the reboot. And adversaries may delete the stored log files in C:\Windows\System32\winevt\logs\ directly.

MITRE ATT&CK detection strategy DET0532, analytic AN1472 log sources: Security EventCode 1102, Sysmon EventCode 1 and EventCode 23.
Screenshot: MITRE ATT&CK, DET0532 Detection of Event Log Clearing on Windows via Behavioral Chain, The MITRE Corporation (fair use).

ATT&CK's own detection strategy, DET0532, does not lean on 1102 alone. Its analytic, AN1472, pairs Security EventCode 1102 with Sysmon EventCode 1, process creation, and Sysmon EventCode 23, file deletion. Its tunable elements include a time window between the clearing command and the 1102 event, a command line pattern for variations such as Remove-EventLog and wevtutil cl, and a target log name scoped to Security, System, Application or custom logs. Sysmon's documentation says Event ID 23 logs a deleted file and saves a copy in its archive directory, C:\Sysmon by default, while Event ID 26 logs the deletion without saving the file. Both are Sysmon events, so they exist only where Sysmon is deployed.

Microsoft Learn page for Event 1100, The event logging service has shut down.
Screenshot: Microsoft Learn, 1100(S): The event logging service has shut down, Microsoft (fair use).

One neighbour is worth adding. Event 1100 records that the event logging service has shut down. Microsoft says it also fires during normal shutdown and does not fire during an emergency system reset, but adds that it "can be a sign of malicious action when someone tried to shut down the Log Service to cover his or her activity."

For a detection team, the checks are short. Keep the 1102 alert, and use its Logon ID to find the session behind it. Alert on wevtutil cl and Remove-EventLog command lines for any log, not just Security. Watch for deletion of .evtx files under winevt\logs. Treat a 1100 outside a planned restart as a question. And forward events off the host quickly, as ATT&CK's Remote Data Storage mitigation advises, so a cleared log is a gap on the endpoint, not in the SIEM.

About the Author

Ava Okello

Ava Okello covers detection engineering, EDR telemetry, and SOC hunting for SOCtember from London.

Related stories

Detection desk