Digital Forensic Tools

Windows event logs

Short answer

Windows event logs are files where the system and programs record events such as logons, errors and service changes. They help build a timeline of what happened on a machine.

What they are

Windows records important software and hardware events in a central place called the event log. Since Windows Vista the logs are saved as .evtx files, usually in C:\Windows\System32\winevt\Logs. Windows Event Viewer is the built-in program to read them.

The main logs

Three classic logs exist on every system. Many extra logs sit under Applications and Services Logs, for example PowerShell, Task Scheduler and Remote Desktop logs.

  • Security: audit events such as logons and policy changes.
  • System: events from Windows parts, drivers and services.
  • Application: events from installed programs.
  • Operational logs: extra logs for single features.

Events examiners often look for

Each event has an ID number. Common examples are 4624 for a successful logon, 4625 for a failed logon, 7045 for a new service installed, 1102 for the Security log cleared and 104 for another log cleared. Event 4688 records a new process, but only if that auditing is switched on.

Not every system logs the same things. Audit settings and log size limits decide what is kept. Old events are overwritten when a log is full, so the time range in a log can be short.

Example

An examiner suspects someone logged in at night. She exports Security.evtx from the image, filters event 4624 for that time range and notes the account name and logon type. She then checks the System log for any new service installed around the same time.

Common mistakes

  • Assuming every action is logged. Audit policy decides this.
  • Reading events in the local timezone without checking, since the stored times are UTC.
  • Ignoring signs that a log was cleared, such as event 1102.
  • Opening the live log of the original computer instead of a copy.

Key terms

EVTX
The binary file format of Windows event log files.
Event ID
A number that tells what kind of event happened.
Audit policy
Windows settings that decide which actions are written to the Security log.
Log clearing
Deleting the events in a log, which itself can be recorded.

Questions you may be asked

Why can a Security log be missing events?

The audit policy may not enable them, or the log filled up and older events were overwritten.

What does event 4624 mean?

A successful logon. The details show the account and the logon type.

Free tools to practise with

Learn more

Written in our own words from public forensic training material and standards. Last reviewed 24 Nov 2026. Procedures and laws differ by country and agency. Follow your own lab's procedure.