Short answer
Windows records the clearing of the Security log as event 1102 in the Security log, and the clearing of any other log as event 104 in the System log. Both carry the account name and the time. EventAnalyzer in Investigation mode finds them on its own and reports a critical finding, "The Security log was cleared" or "An event log was cleared", with the account that did it.
Step by step
-
Run EventAnalyzer as administrator
Event 1102 is in the Security log, which cannot be read without administrator rights. Event 104 in the System log is read without them.
-
Mode → Investigation, period 30 days
The clear tends to come at the end of an attack, but what came before it is worth seeing too.
-
Look for "cleared" on the Findings tab
The finding shows the time in UTC, the account and, for event 104, the name of the log that was cleared.
-
See what survived
The Evidence and limits tab shows for every log where it starts and ends. A log that starts in the same minute as the finding was cleared completely.
What is left when the Security log is gone
- Remote Desktop — logons and their source addresses are also in the TerminalServices and RdpCoreTS logs.
- Services — the installation of a new service is in the System log (event 7045).
- Scheduled tasks — the registration of a task is in the TaskScheduler log.
- Anti-virus — detections, protection switched off and added exclusions are in the Windows Defender log.
- PowerShell — scripts Windows judged suspicious are in the PowerShell log.
EventAnalyzer reads all of these and puts them on one timeline, so a cleared Security log does not mean an empty result.
Things to keep in mind
- A log can also be cleared so that not even event 1102 or 104 is left and it is completely empty. The program recognises that too: an empty Security, System or Application log is reported as "Event logs are empty – they were cleared" with the time the file was last written. Who did it can then no longer be told from the log.
- A log that is merely full is not overwritten at once: the oldest records go gradually and no event 1102 is written. A sharp start with event 1102 is a clear.
- The program also checks the record numbers of the Security and System logs. Where some are missing in the middle it reports "Records are missing": records were removed, or the file is damaged.
- The account named in the event is the one the clear ran under. If the attacker controlled an administrator account, it will be the administrator's name.