Windows Event Logs

Windows Event Logs are the primary diary of everything that happens on a Windows machine. From user authentication and service starts to application crashes and security policy changes, the event logging subsystem captures it all across hundreds of dedicated EVTX channel files. For an incident responder, mastering event logs is non-negotiable. They are the primary source for establishing who did what and when.

Every building has a security guard at the front desk who writes down every single person who enters, when they badge in and where they go. Windows Event Logs are that security guard's ledger. Every time you log in, open a program or change a setting, Windows writes an entry into its ledger with the exact time and details. If an attacker breaks in, their footsteps should appear in this ledger.

General

The Windows Event Log service manages hundreds of binary EVTX channel files stored under C:\Windows\System32\winevt\Logs\. Each file follows the EVTX binary format, which uses a chunked structure for efficient storage and indexing. The three most critical channels are Security.evtx, System.evtx and Application.evtx. Modern Windows systems extend this significantly with operational logs for PowerShell, Task Scheduler, WMI and driver activity. Each event record contains a unique Event ID that maps to a documented system action, along with a UTC timestamp, the generating process and rich XML-formatted event-specific data.

Traces

When we parse event logs during an investigation, we work with structured XML fields and focus on specific key Event IDs. The most critical data points include:

Forensic Use Cases

We rely on event logs to reconstruct attacker activity from initial access through lateral movement: