Windows Event IDs Reference ⚡

⚡ Quick Reference — Critical Windows Event IDs for SOC analysts and forensics


Authentication Events

Event IDDescriptionSignificance
4624Successful logonTrack valid access
4625Failed logonBrute force detection
4634LogoffSession tracking
4647User-initiated logoffNormal logoff
4648Explicit credentials logonRunAs, lateral movement
4672Special privileges assignedAdmin/elevated logon
4740Account lockoutBrute force indicator

Logon Types (used with 4624/4625)

TypeNameMeaning
2InteractiveLocal keyboard login
3NetworkSMB share, remote service
4BatchScheduled task
5ServiceService startup
7UnlockWorkstation unlock
8NetworkCleartextIIS basic auth (cleartext!)
10RemoteInteractiveRDP session
11CachedInteractiveCached domain credentials

Account Management

Event IDDescriptionSignificance
4720User account createdPersistence check
4722User account enabledAccount re-activation
4724Password reset attemptedTakeover attempt
4725User account disabledDefensive action
4726User account deletedEvidence destruction
4732Member added to security groupPrivilege escalation
4733Member removed from security groupAccess change
4738User account changedConfiguration change

System Events

Event IDDescriptionSignificance
7045New service installedMalware persistence
7040Service start type changedConfig change
1102Audit log clearedAnti-forensics! 🚨
4688New process createdTrack execution
4689Process terminatedProcess lifecycle
4697Service installation attemptPersistence

Quick SPL Templates

# Brute force detection
index=main EventCode=4625 | stats count by src_ip | where count > 20
 
# Successful login after failures
index=main (EventCode=4625 OR EventCode=4624) | transaction src_ip maxspan=10m | search EventCode=4625 EventCode=4624
 
# New admin accounts
index=main EventCode=4732 TargetUserName="Administrators"
 
# Service installation
index=main EventCode=7045 | table _time, ServiceName, ImagePath