1. Resources
  2. Detection sources
  3. Event ID 1102

Event ID 1102: The audit log was cleared

Written by the Event Log service each time the Security log is cleared, with the account and logon session that cleared it. Always logged, whatever the audit policy, and rarely needed in normal operation.

Log source
Windows Security log
Detection value
Supporting
Volume
Low (estimate)
Last updated
Audit subcategory
Other Events (always logged)
Logged on
All Windows computers
Event versions
0, 1
Detects
1 attack (1 rule)
MITRE ATT&CK
1 technique in 1 tactic
Threat groups
14 groups that MITRE ATT&CK records using these techniques
Fields the rules read
The event ID and the provider only

When it is written

Windows writes 1102 to the Security log every time that log is cleared. It comes from the Event Log service (provider Microsoft-Windows-Eventlog), not from the security auditing provider that writes most Security events, and it needs no audit policy: Microsoft lists it under Other Events, which are generated automatically and enabled by default.

The event data sits under UserData, in an element named LogFileCleared, not under EventData. That matters for parsers and XPath filters written for EventData/Data fields. Only the Security log is covered: 1102 says nothing about other logs.

How to turn it on

Nothing to turn on: Windows writes this event whatever the audit policy, and it cannot be switched off. Microsoft

Fields

In Event Viewer order. The field names are those of the event XML, from the event template that ships with Windows.

FieldWhat it holdsSince
Security IDSubjectUserSidSubjectSID of the account that cleared the log. Event Viewer shows it resolved to an account name when it can.v0
Account NameSubjectUserNameSubjectName of that account. For a process running as Local System it is the computer account, a name that ends with $.v0
Domain NameSubjectDomainNameSubjectDomain of the account (shown as Domain Name), usually as a NetBIOS name, the computer name for a local account, or NT AUTHORITY for well-known principals.v0
Logon IDSubjectLogonIdSubjectHexadecimal ID of the logon session that cleared the log. It matches the Logon ID of that session's 4624 event on the same computer.v0
ClientProcessIdID of a client process, in decimal; the name points to the process that asked for the clear. Not documented by Microsoft and not shown in Event Viewer's message. Version 1.v1
ClientProcessStartKeyStart key of that process. A start key identifies one run of a process and is not reused (Microsoft describes start keys as unique across boot sessions). Not documented for this event and not shown in Event Viewer's message. Version 1.v1

Event versions

The Windows template has two versions. Version 0, the one Microsoft's event page documents, has the four subject fields. Version 1 adds ClientProcessId and ClientProcessStartKey; their names point to the process that asked for the clear, but Microsoft does not document them, and Event Viewer's message does not show them.

  • Version 0: 4 fields
  • Version 1: 6 fields, adds ClientProcessId, ClientProcessStartKey

Values to know

Security ID SubjectUserSid

ValueMeaningSignal
A user account's SIDA named account cleared the logReported by the rule. Without a change record, treat it as an attempt to hide earlier activity on the computer.Attack signal
S-1-5-18A process running as Local System cleared the logThe account does not tell who was behind it. Look at the process (ClientProcessId in version 1) and at what else ran on the computer at that time.Worth knowing

Logon ID SubjectLogonId

ValueMeaningSignal
Any valueThe logon session that cleared the logMatch it with the Logon ID of the 4624 event on the same computer to see how the account logged on (for example type 10 for Remote Desktop, type 3 for network) and from which address. Note that 4624 events from before the clear may exist only in your collector.Worth knowing

Volume and noise

Very rare. Microsoft says you should typically not see this event, since there is no need to clear the Security log by hand in most cases. The occurrences you can expect are planned ones, such as preparing a computer image or a lab machine, and each should be traceable to a change.

Keeping it manageable

  • Collect and alert on every 1102: there is no volume to reduce, and the rule needs only the event ID.
  • Forward the Security log continuously (Windows Event Forwarding or an agent): once the log is cleared, the events before the clear exist only where they were already collected.
  • Check that the parser reads UserData: one that reads only EventData leaves the account fields of this event empty, and the alert then names no one.
  • Do not allow-list accounts for this event. Close expected clears against a change record instead, so a misused administrator account still raises an alert.

Sample event

Version 1, with made-up values.

<Event xmlns="http://schemas.microsoft.com/win/2004/08/events/event">
  <System>
    <Provider Name="Microsoft-Windows-Eventlog" Guid="{fc65ddd8-d6ef-4962-83d5-6e5cfe9ce148}" />
    <EventID>1102</EventID>
    <Version>1</Version>
    <Level>4</Level>
    <Task>104</Task>
    <Opcode>0</Opcode>
    <Keywords>0x4020000000000000</Keywords>
    <TimeCreated SystemTime="2026-11-18T09:30:12.4567890Z" />
    <EventRecordID>1048576</EventRecordID>
    <Correlation />
    <Execution ProcessID="712" ThreadID="2408" />
    <Channel>Security</Channel>
    <Computer>DC01.corp.example.com</Computer>
    <Security />
  </System>
  <UserData>
    <LogFileCleared xmlns="http://manifests.microsoft.com/win/2004/08/windows/eventlog">
      <SubjectUserSid>S-1-5-21-1004336348-1177238915-682003330-1104</SubjectUserSid>
      <SubjectUserName>alice</SubjectUserName>
      <SubjectDomainName>CORP</SubjectDomainName>
      <SubjectLogonId>0x5d3a41</SubjectLogonId>
      <ClientProcessId>4512</ClientProcessId>
      <ClientProcessStartKey>3659174697238543</ClientProcessStartKey>
    </LogFileCleared>
  </UserData>
</Event>

Attacks this event reveals

Detection rules that read this event:

Frequently asked questions

Do I need to turn on an audit policy for event 1102?

No. Microsoft lists 1102 under Other Events, which are generated automatically and enabled by default. The event is written whatever the advanced audit policy says.

Why are the account fields of 1102 empty in my SIEM?

Because the event keeps its data under UserData, in a LogFileCleared element, not under EventData like most Security events. A parser or an XPath filter that reads only EventData fields finds nothing. Adjust the parser to read UserData for this event.

How do I find out who cleared the Security log?

SubjectUserName and SubjectDomainName name the account, and SubjectLogonId links to the 4624 event of the same session on the same computer, which shows the logon type and the source address. Since the clear removed the local copy of earlier events, look for that 4624 in your collector.

Is clearing the System or Application log recorded as 1102?

No. Microsoft describes 1102 as written when the Security log is cleared; other logs are outside this event.

References