Skip to content

Investigate a Cleared Windows Security Log

Admin
November 20, 2026
5 min read
Advanced
💻 Target OS: Windows 11 / Windows Server 2025

Before you begin

  • Applies to:Authorized review of a Windows Security log that may have been cleared.
  • Where to start:Start on the affected host with approved log access and compare with a healthy peer and upstream collector. Use elevated PowerShell 7 or later when required.
  • What you need:Have collector read access. Record the last good event and first missing event in UTC.
Guide tools
Guide tools
0/0 Steps (0%)

Before You Start

Use an affected host with approved Security log read access, typically an elevated PowerShell 7+ session, and read access to the upstream collector. Start with the affected host and a healthy peer. Record the last good and first missing event in UTC.

Investigation Steps

01

Bracket the gap

Start here

Record the host’s canonical name, alert timestamp, collector, channel, and the first and last records you can find. Check whether the apparent gap is confined to particular event IDs or affects every Security event. Verify the SIEM time picker and search window.

02

Read local retention and oldest record

Compare the current log mode, size, and record count to the configured maximum. If rollover is allowed, an old query window can fall outside local retention even when collection worked correctly. An empty log requires checking access errors and policy before drawing conclusions.

Terminal window
Get-WinEvent -ListLog Security -ErrorAction Stop |
Select-Object LogMode, RecordCount, FileSize, MaximumSizeInBytes
Get-WinEvent -LogName Security -Oldest -MaxEvents 1 -ErrorAction Stop |
Select-Object TimeCreated, Id, RecordId
03

Look for direct clearing evidence

Search around the gap, adjusting the example lookback to include it. Event 1102 indicates the audit log was cleared. Event 1104 indicates it filled, and 1100 records the event logging service shutting down. No matching events can be a genuine result. Access denied or an unavailable channel means the query is inconclusive.

Terminal window
Get-WinEvent -FilterHashtable @{
LogName = 'Security'
Id = 1100, 1102, 1104
StartTime = (Get-Date).AddDays(-3)
} -ErrorAction Stop | Select-Object TimeCreated, Id, RecordId, Message
04

Identify the clearing subject and corroborate it

For 1102, preserve the event XML and review the subject SID, account, and logon ID. Correlate with a retained sign-in on the same host and check the change record. A subject account identifies the security context. Establish which person or process used it before attributing intent.

05

Compare the collector’s view

Search the same host and UTC interval in the collector. A forwarded 1102 can survive even when its local copy has rolled out. If local Security events exist during the collector gap, check subscription filters, source connectivity, and collector or ingestion health.

06

Verify coverage and document any loss

Verify

After an approved repair, follow an ordinary authorized sign-in through the local log and collector. Record both timestamps and the actual gap. Note any missing interval that remains unrecoverable and preserve the records from other sources that cover it.

Interpret the Results

FindingNext action
1102 and an approved change matchRecord the scope and verify forwarding returned.
1102 with unexplained subjectEscalate as a potential incident and retain the event and adjacent records.
Local events exist during the SIEM gapInvestigate collection before changing local retention.

References

Comments