Tools / Event IDs

Windows security event IDs: the cheat sheet

The 60 Windows, Sysmon, PowerShell and Defender event IDs that matter for security monitoring, what each one means and how worried to be. Linked IDs have a full page with fields, false positives and queries.

Updated 2026-11-03

Logon and accounts (Security log)

IDLogEventSeverityWhy it matters
4624SecuritySuccessful logonInformationalBaseline of who logged on, from where and how. Logon type tells the story: 2 interactive, 3 network, 10 RDP, 9 new credentials (runas /netonly, also seen with pass-the-hash).
4625SecurityFailed logonLowMany failures for one account means brute force; one source failing against many accounts means password spraying.
4634SecurityLogoffInformationalPairs with 4624 via Logon ID to measure session length.
4647SecurityUser-initiated logoffInformationalInteractive user logged off.
4648SecurityLogon with explicit credentialsLowrunas, scheduled tasks or lateral-movement tools using another account's credentials.
4672SecuritySpecial privileges assigned to new logonInformationalAn admin-equivalent logon. Useful to spot admin accounts used from unusual hosts.
4720SecurityUser account createdMediumAttackers create accounts for persistence.
4722SecurityUser account enabledLowRe-enabled dormant accounts are a persistence trick.
4723SecurityPassword change attemptInformationalUser changed their own password.
4724SecurityPassword reset by another accountMediumAn admin (or attacker) reset someone else's password, a common takeover step.
4725SecurityUser account disabledLowMass disabling can be sabotage or ransomware prep.
4726SecurityUser account deletedMediumCovering tracks or sabotage.
4728SecurityMember added to global security groupMediumPrivilege escalation when the group is Domain Admins or another admin group.
4732SecurityMember added to local security groupMediumAdding to local Administrators or Remote Desktop Users gives persistence.
4756SecurityMember added to universal security groupMediumEnterprise Admins / Schema Admins are universal groups.
4738SecurityUser account changedLowLook for "Don't require preauth" (AS-REP roasting) or password-never-expires being set.
4740SecurityAccount locked outLowBrute force, or an old password cached on a phone or mapped drive.
4767SecurityAccount unlockedInformationalHelpdesk or self-service unlock.
4765SecuritySID History added to an accountHighSID History injection gives hidden admin rights.
4766SecuritySID History add attempt failedHighSomeone tried SID History injection.
4794SecurityDSRM administrator password setHighThe DSRM account can be used as a domain controller backdoor.

Kerberos / NTLM

IDLogEventSeverityWhy it matters
4768SecurityKerberos TGT requestedInformationalPre-auth type 0 means no pre-authentication (AS-REP roastable account).
4769SecurityKerberos service ticket requestedInformationalBursts of requests with encryption 0x17 (RC4) for service accounts are Kerberoasting.
4771SecurityKerberos pre-authentication failedLowThe Kerberos version of a failed logon: brute force or spraying against a DC.
4776SecurityNTLM credential validationInformationalError 0xC000006A in bulk is NTLM brute force; NTLM where Kerberos is expected can mean pass-the-hash.

Policy, logs and tampering

IDLogEventSeverityWhy it matters
1102SecuritySecurity audit log clearedCriticalAttackers clear the Security log to hide what they did. Almost never legitimate on servers.
104SystemEvent log clearedHighA System or application log was cleared.
4719SecuritySystem audit policy changedHighTurning off auditing blinds the SOC before an attack.
4739SecurityDomain policy changedMediumPassword or lockout policy weakened.
4662SecurityOperation performed on an AD objectInformationalWith the replication GUIDs (1131f6aa / 1131f6ad / 89e95b76) from a non-DC account, this is DCSync.
5136SecurityDirectory object modifiedLowGPO and AdminSDHolder changes show up here.

Processes, services, tasks

IDLogEventSeverityWhy it matters
4688SecurityNew process createdInformationalWith command-line auditing on, this shows encoded PowerShell, LOLBins and ransomware commands.
4697SecurityService installedMediumPsExec, Cobalt Strike and many RATs install a service.
7045SystemNew service installedMediumThe System-log version of a new service, often PsExec (PSEXESVC) or malware.
7040SystemService start type changedLowDisabling security services (Defender, backup agents) before ransomware.
7036SystemService state changedInformationalService started or stopped. Look for security or backup services stopping.
4698SecurityScheduled task createdMediumClassic persistence.
4699SecurityScheduled task deletedLowCleanup after a one-time task.
4702SecurityScheduled task updatedLowExisting task hijacked to run a new command.

Network and shares

IDLogEventSeverityWhy it matters
5140SecurityNetwork share accessedInformationalAccess to ADMIN$ or C$ from a workstation is lateral movement.
5145SecurityShare object access checkInformationalDetailed share access; PsExec writes to ADMIN$.
5156SecurityWindows Filtering Platform allowed a connectionInformationalNetwork connection log; noisy but useful for C2 hunting.

PowerShell

IDLogEventSeverityWhy it matters
4103PowerShellPowerShell module loggingInformationalPipeline execution details.
4104PowerShellPowerShell script block loggedLowThe decoded script that actually ran. Best single source for malicious PowerShell.
400PowerShellPowerShell engine startedInformationalHostApplication shows the full command line, including -EncodedCommand.

RDP

IDLogEventSeverityWhy it matters
1149RDPRDP authentication succeededInformationalTerminalServices-RemoteConnectionManager: who connected over RDP and from where.
21RDPRDP session logon succeededInformationalTerminalServices-LocalSessionManager session logon.

Defender

IDLogEventSeverityWhy it matters
1116DefenderDefender detected malwareHighMicrosoft Defender found a threat.
1117DefenderDefender took action on malwareMediumRemediation result for a detection.
5001DefenderDefender real-time protection disabledHighAttackers turn off Defender before running tools.
5007DefenderDefender configuration changedMediumExclusions added for a folder or process are a common bypass.

Sysmon

IDLogEventSeverityWhy it matters
1Sysmonprocess creationInformationalFull command line, hashes and parent process.
3Sysmonnetwork connectionInformationalWhich process talked to which IP and port.
7Sysmonimage loadedInformationalDLL side-loading hunts.
8SysmonCreateRemoteThreadMediumProcess injection.
10Sysmonprocess accessInformationalAccess to lsass.exe is credential dumping (Mimikatz, procdump).
11Sysmonfile createdInformationalDropped payloads and ransom notes.
12Sysmonregistry object added or deletedInformationalRun-key persistence.
13Sysmonregistry value setInformationalRun keys, services, Defender settings.
22SysmonDNS queryInformationalDomains each process resolved.