Chapter 8 · Reading 1 of 3
Reading Windows event logs
CHFI domains 3, 4 · GCFE: Windows event, service and application logs
The Ashgrove Community Credit Union’s loan server, ACU-LOAN01, recorded an after-hours sign-in on 18 November. When the examiner opens its Security log, the oldest event is from 21:40 that night, although the server has been running since spring. Before relying on a single event in that log, the examiner has to know what the log should contain and whether it still does.
Where the logs live
Modern Windows stores event logs as binary EVTX files in C:\Windows\System32\winevt\Logs\. Each file is a channel.
| Channel (file) | What it holds |
|---|---|
| Security.evtx | Logons, logoffs, privilege use, account and group changes, process creation and object access, as audit policy allows |
| System.evtx | Services starting, stopping and being installed (7045), time changes, shutdowns, log service events |
| Application.evtx | Events written by applications, including database and antivirus products |
| Microsoft-Windows-TerminalServices-LocalSessionManager%4Operational.evtx | Remote Desktop session logon, logoff, disconnect and reconnect |
| Microsoft-Windows-PowerShell%4Operational.evtx | PowerShell script-block logging (4104) and other engine events |
| Microsoft-Windows-TaskScheduler%4Operational.evtx | Scheduled tasks registered, updated, started and completed |
Every event has a provider, an event ID, a time stored in UTC, a computer name, often a user SID and an EventRecordID that increments within the channel. The same ID number can mean different things from different providers, so always read the ID together with its provider and channel. EvtxECmd converts EVTX files to CSV with normalized fields, and Timeline Explorer filters and sorts the result.
Audit policy decides what exists
The Security log records only what the audit policy tells it to. Logon events are audited by default on most systems. Process creation (event 4688), and especially the command line inside it, is not recorded unless enabled. Object access (4663) requires both a policy and an audit entry on the object itself. Before concluding that something did not happen because no event exists, the examiner checks whether that event could have been recorded at all. The audit configuration can be read from the system with auditpol during live response, or from the policy stored in the registry and Group Policy files in an image.
Judge whether the log is complete
Three findings explain a log that starts too recently.
- The log was cleared. Clearing the Security log writes event 1102 into the new, empty log, naming the account that did it. Clearing the System log writes event 104 in the System log.
- The log rolled over. Each channel has a maximum size, 20 MB by default for Security on many systems. When it fills, the oldest events are overwritten. A busy server can roll over in hours.
- The service was stopped or the clock changed. Event-log service stops (System event 6006, with 6005 at restart) and system time changes (Security event 4616) create gaps or apparent jumps.
EventRecordID : 1 Event ID : 1102 Provider: Microsoft-Windows-Eventlog TimeCreated : 2026-11-18 21:40:17 (server clock) SubjectUserName : svc-backup SubjectDomainName : ACU
- Record numbers restart at 1 when a log is cleared, so this is the start of a new log.
- The audit log was cleared.
- A backup service account has no ordinary reason to clear the Security log. Its use is itself a lead.
The cleared events are not necessarily gone. Copies may exist in a SIEM or log forwarder, in Volume Shadow Copies of the EVTX file, or as recoverable records in unallocated space, which tools can carve by their record signature. Ashgrove forwards Security events to its SIEM, so the examiner requests the forwarded events for the hours before 21:40.
Assess authenticity
An EVTX file is not signed, and an attacker with administrative rights can, with effort, edit or delete individual records. Authenticity is therefore judged by consistency: record numbers that run without gaps, times that move forward except where a time change is logged, chunk checksums that validate, and agreement with copies held elsewhere, such as the SIEM or a domain controller. Where the local log and the forwarded copy disagree, the forwarded copy was outside the attacker’s reach at the time and usually carries more weight.
On the exam, 1102 means the Security log was cleared, 104 means the System log was cleared, and the absence of an event is meaningful only if audit policy would have recorded it. The next reading, Logons, Remote Desktop and PowerShell, reads the events that remain.
Inspect the three records, then use the evidence to answer the question.
1. Event
ID 1102: The audit log was cleared
2. Who
SubjectUserName: svc-backup
3. When
2026-11-18 21:40:17 (server time)
Apply the reading
The Security log’s oldest event is from 21:40 on the night in question, though the server has run for months. What could explain that, and how would you tell the explanations apart?
Compare your reasoning
The log may have been cleared, which records event 1102, or it may have filled and overwritten older events because its maximum size is small. Check for a 1102 event, the configured maximum size and retention setting, and whether record numbers start at 1 or continue from earlier values.