Lesson 1 of 6 · 25 min read

Native Windows Event Log — Channels, Audit Policy, Critical IDs

Native Windows Event Logs are the baseline telemetry for Windows endpoint detection. Before adding Sysmon or EDR, you should understand what the OS already provides and how to extract maximum signal from it.


Audit Policy: The Gate to Security Events

Windows Security events only appear if the relevant audit policy is enabled. There are two configuration layers:

Basic Audit Policy (9 categories, binary on/off per category):

Computer Configuration → Windows Settings → Security Settings → Local Policies → Audit Policy

Advanced Audit Policy (58 sub-categories, configurable per sub-category, Success/Failure independently):

Computer Configuration → Windows Settings → Security Settings → Advanced Audit Policy Configuration

Always use Advanced Audit Policy. It lets you, for example:

Account Logon:
  ✓ Audit Credential Validation — Success, Failure
  ✓ Audit Kerberos Authentication Service — Success, Failure

Logon/Logoff:
  ✓ Audit Logon — Success, Failure
  ✓ Audit Special Logon — Success
  ✓ Audit Account Lockout — Failure

Detailed Tracking:
  ✓ Audit Process Creation — Success (+ enable command line)
  ✓ Audit Process Termination — Success

Object Access:
  ✓ Audit File System — Failure (on sensitive paths via SACL)
  ✓ Audit Removable Storage — Success, Failure

Account Management:
  ✓ Audit Security Group Management — Success
  ✓ Audit User Account Management — Success, Failure

Policy Change:
  ✓ Audit Audit Policy Change — Success

System:
  ✓ Audit Security System Extension — Success

The Logon Type Taxonomy

Event 4624 (Successful Logon) includes a LogonType field that tells you how the user authenticated. This is critical for lateral movement detection:

LogonTypeValueWhat it meansDetection significance
Interactive2Physical console or Fast User SwitchNormal user activity
Network3Net use, SMB, WinRM (non-interactive)Lateral movement via SMB; PsExec prep
Batch4Scheduled task ranTask scheduler persistence (T1053.005)
Service5Service account startupService installation persistence (T1543.003)
Unlock7Screen unlockNormal
NetworkCleartext8Network logon with plaintext passwordLegacy auth, credential exposure
CachedInteractive11Offline cached credentialsNormal on laptops
RemoteInteractive10RDPLateral movement via RDP
CachedRemoteInteractive12RDP with cached credsSame

The Critical Event ID Reference

These are the events every detection engineer must know by ID, not just by description:

Authentication

EventIDDescriptionDetection use
4624Successful logonLateral movement (Type 3/10), new accounts
4625Failed logonBrute force, password spray (many failures, many accounts)
4627Group membership at logonAdmin group membership at logon time
4648Logon using explicit credentialsRunAs, PsExec, Mimikatz pass-the-hash
4672Special privileges assignedAdmin logon
4776DC validated credentialsKerberoasting patterns at DC

Process Execution

EventIDDescriptionDetection use
4688Process createdCommand line analysis (with auditing on)
4689Process exitedShort-lived process detection

Object Access

EventIDDescriptionDetection use
4663Attempt to access objectFile/registry access on sensitive paths
4670Permissions on object changedACL modification (persistence)

Account Management

EventIDDescriptionDetection use
4720User account createdBackdoor account creation
4722User account enabledEnabling dormant account
4732Member added to security groupPrivilege escalation
4756Member added to universal groupDomain admin group additions

Scheduled Tasks & Services

EventIDDescriptionDetection use
4698Scheduled task createdPersistence (T1053.005)
4702Scheduled task updatedPersistence modification
7045New service installedService-based persistence (T1543.003)
7036Service changed stateUnusual service starts

Log Integrity

EventIDDescriptionDetection use
1102Security audit log clearedAnti-forensics (T1070.001)
4719System audit policy changedAudit policy disabled
Ultimate Windows Security Event Encyclopedia— Ultimate Windows Security Advanced Security Audit Policy Settings— Microsoft Docs