Glossary
Windows event ID
The number identifying an event type within a given provider; it only has meaning when paired with its provider and log channel.
An event ID is the number that identifies a type of event within a Windows event provider. It is the first thing analysts filter on in Windows event logs, but it is only unique per provider: the same number can mean completely different things in two different logs. Always read an event ID together with its provider and channel.
Some IDs every Windows investigator should recognise:
- Security log (
Microsoft-Windows-Security-Auditing): 4624 successful logon, 4625 failed logon, 4688 process creation, 4698 scheduled task created, 1102 audit log cleared. - System log: 7045 new service installed (Service Control Manager, see Services) and 104 log cleared.
Microsoft-Windows-TaskScheduler/Operational: 106 task registered (see Scheduled tasks).
Three pitfalls come up constantly. First, many useful events only exist if auditing is enabled: 4688 requires process-creation auditing, and its command line needs an extra policy setting. Second, events evolve across Windows versions, adding fields, so parsers must handle several event versions. Third, the absence of an event proves little on its own — the log may have rolled over, been cleared, or never been configured.
For logon events, the event ID only tells half the story; the logon type field distinguishes a console logon from a network or RDP one. Events themselves are produced by ETW providers.
Related artifacts
- BITS jobs (qmgr database)BITS jobs cheat sheet: qmgr0.dat/qmgr1.dat vs qmgr.db (ESE), Bits-Client events 3, 4, 59, 60, SetNotifyCmdLine persistence and BitsParser carving.
- Crash dumps (MEMORY.DMP, minidumps)Crash dump cheat sheet: MEMORY.DMP and minidump locations, CrashControl dump types, user-mode dumps, LSASS dumping traces and tools to analyse them.
- Event Trace Logs (ETL files)ETL files cheat sheet: what ETW trace logs are, forensically useful .etl files (WDI boot traces, Wifi.etl, DiagTrack), collection, tracerpt and etl-parser.
- Group Policy artifactsGroup Policy cheat sheet: SYSVOL policies, Registry.pol, GPP passwords, client-side history and event logs, and how attackers abuse GPO for mass deployment.
- Installed Programs (Uninstall Keys, MSI, AppX)Installed programs cheat sheet: Uninstall keys, MsiInstaller events 1033/11707, cached MSIs, AppX packages, winget logs and Amcache to date software installs.
- Kernel Drivers (.sys, Driver Services, BYOVD)Kernel drivers cheat sheet: driver services (Type 1/2), event 7045, DriverStore, setupapi.dev.log, Amcache and CodeIntegrity logs to hunt BYOVD and rootkits.
- Microsoft Defender logs and quarantineMicrosoft Defender forensics: Operational events 1116/1117/5001/5007, MPLog files, DetectionHistory, encrypted quarantine, exclusion keys and tampering traces.
- Mounted Disk Images (ISO, IMG, VHD, VHDX)Mounted disk images cheat sheet: ISO/IMG/VHD/VHDX mounts, VHDMP events, MountedDevices, LNK and Jump List traces, Mark-of-the-Web gaps and a detection workflow.
- NTDS.dit and domain controllersNTDS.dit cheat sheet: the Active Directory database, what it proves, theft traces on a DC, and the Kerberos, NTLM and DCSync event IDs investigators need.
- OpenSSH Server and ClientOpenSSH on Windows cheat sheet: sshd event log, sshd_config and host keys, authorized_keys persistence, known_hosts, client traces and reverse tunnels.
- PowerShell logs and historyPowerShell forensics: 4103/4104 script block logs, 400/403/800 engine events, PSReadLine ConsoleHost_history.txt, transcripts and logging policy keys.
- Print spooler files (.SPL and .SHD)Print spool cheat sheet: .SPL and .SHD files in spool\PRINTERS, EMF content recovery, PrintService event 307, printer drivers and PrintNightmare traces.
- RDP connection artifactsRDP forensics cheat sheet: target-side event IDs (4624 type 10, 1149, 21–25, 131) and source-side traces (Terminal Server Client keys, Default.rdp, 1024).
- Remote access tools (RMM)RMM and remote access tool cheat sheet: AnyDesk, TeamViewer, ScreenConnect and more, their log files, connection IDs, IPs and timestamps, and how to hunt abuse.
- Scheduled TasksScheduled tasks cheat sheet: task XML and .job files, TaskCache registry keys, DynamicInfo times, hidden tasks, TaskScheduler and 4698 events.
- Sysmon Event LogSysmon cheat sheet: Operational log location, key event IDs, ProcessGuid and hash correlation, config in the registry, tampering signs and parsing tools.
- Windows Error Reporting (WER)Windows Error Reporting cheat sheet: Report.wer folders, AppPath and SHA-1 fields, Application events 1000/1001/1002, LocalDumps crash dumps and retention.
- Windows event logs (EVTX)Windows event log cheat sheet: EVTX locations, must-know event IDs for logons, processes, services and log clearing, retention, audit policy and parsing tools.
- Windows Firewall LogsWindows Firewall cheat sheet: pfirewall.log format and defaults, rule change events 2004-2006, WFP audit 5156/5157, rules in the registry and netsh abuse.
- Windows ServicesWindows services cheat sheet: Services key values (ImagePath, Start, Type, ServiceDll), 7045 and 4697 install events, PsExec traces and pitfalls.
- WMI repository and SCCM RecentlyUsedAppsWMI repository cheat sheet: OBJECTS.DATA, event filters, consumers and bindings, WMI-Activity 5857–5861, MOF files and SCCM CCM_RecentlyUsedApps.