1348 words
7 minutes
Windows Event IDs You Should Know - What They Mean and Why SOC Teams Care

This is a post I’m writing as a reference for myself going forward — a roundup of the most important Event IDs for SOC work/threat hunting on Windows, grouped by category, along with why each event matters and which attack patterns it typically shows up in. It covers both the Windows Security Event Log (Windows’ own native log) and Sysmon (Microsoft Sysinternals’ free tool, which is practically a mandatory standard for any SOC since it logs far more detail than the default logs — this is also the tool I set up in the Wazuh 101 series).

NOTE

If you want to see all the important events (especially 4688, 4663, 4104), you need to manually enable the corresponding Audit Policy first — Windows doesn’t log all of these by default. This is a mandatory setup step before expecting your SIEM to receive this data.

Logon / Logoff (4624, 4625, 4634, 4647, 4648, 4672)#

The group of events looked at first in almost every investigation — because every attacker action starts with logging into something.

Event IDMeaning
4624Successful logon
4625Failed logon
4634Logoff
4647User-initiated logoff
4648Logon using explicit credentials — e.g. runas
4672A privileged (admin) account just logged on

The most important thing about 4624 is the Logon Type field — it tells you how the logon happened, which determines how suspicious it is:

Logon TypeMeaningNote
2InteractiveDirect logon at the machine (physical keyboard)
3NetworkAccess over the network (e.g. opening an SMB share) — very common in lateral movement
4BatchA scheduled task running
5ServiceA service started under a specific account
7UnlockScreen unlock
8NetworkCleartextNetwork logon with the password sent in cleartext (suspicious unless it’s legitimate basic auth)
9NewCredentialsUsing runas /netonly
10RemoteInteractiveRDP — extremely important to monitor, since RDP is a top lateral movement vector
11CachedInteractiveLogon using cached credentials (no contact with the DC)

The classic suspicious pattern: a burst of 4625 events from the same source in a short window (brute-force), followed by a successful 4624 (a successful logon after guessing the right password) — one of the most basic correlation rules every SIEM should already have.

4648 is worth watching because it logs the use of a credential different from the one currently logged in — meaning the attacker already has another set of (stolen) credentials and is trying to use them, often seen right before a lateral movement step.

Account Management (4720, 4722, 4724, 4728/4732/4756, 4738)#

The group of events that tracks account/group changes — persistence or privilege escalation usually leaves traces here.

Event IDMeaning
4720A new user account was created
4722An account was enabled
4724Someone attempted to reset another account’s password
4728A member was added to a global group
4732A member was added to a local group (e.g. Local Administrators)
4756A member was added to a universal group
4738An account’s properties were changed

Suspicious pattern: 4720 (new account created) immediately followed by 4732 adding that account to the Administrators group — a classic sign of an attacker creating their own backdoor account to maintain access, even if the original credentials are discovered and revoked.

Kerberos (4768, 4769, 4770, 4771)#

An extremely important group of events in Active Directory environments — tied to several well-known AD attack techniques.

Event IDMeaningRelated to
4768TGT (Ticket Granting Ticket) requestThe first step of any Kerberos authentication
4769Service Ticket (TGS) requestKerberoasting — the attacker requests a batch of TGS tickets for service accounts to crack offline
4770Service ticket renewed
4771Pre-authentication failedCould indicate brute-force, or AS-REP Roasting if the account has pre-auth disabled

Suspicious pattern: a single account sending a large number of 4769 events in a short time, with a weak encryption type (RC4 instead of AES) — a classic sign of Kerberoasting. Similarly, a 4624 with an unusual Logon Type 9 combined with an abnormally long ticket lifetime can be related to a Golden Ticket attack (a forged TGT built using the stolen krbtgt account hash).

Process Creation (4688, 4689)#

Event IDMeaning
4688A new process was created
4689A process exited

4688 is one of the most valuable events — but Windows doesn’t log the command-line arguments by default; you have to enable it separately via Group Policy (Include command line in process creation events). Without this step, a SOC only knows “process X ran” without knowing what arguments it ran with — nearly useless for detecting living-off-the-land activity (for example, knowing powershell.exe ran isn’t enough; you need to see the accompanying -enc <base64> to know an obfuscated script is being executed).

Because of this limitation in native Windows logging, most SOCs switch to using Sysmon Event ID 1 (covered below) to fully replace 4688, since Sysmon logs much more out of the box (file hash, publisher, parent process, etc.) without any extra configuration.

Object & Share Access (4663, 5140, 5145)#

Event IDMeaning
4663A specific audited action was taken on an object (reading/writing/deleting a file, registry key, etc.)
5140A network share was accessed
5145A detailed access check against a file on a network share

This group is commonly used to detect lateral movement over SMB (e.g. an attacker copying a tool via the ADMIN$ or C$ share) or unauthorized access to sensitive folders.

Audit Policy & Log Tampering (4719, 1102)#

This is the group of events that should trigger an immediate, highest-priority alert — because they’re not a sign that the attacker is doing something, but a sign the attacker is covering their tracks:

  • 4719 — the audit policy was changed (e.g. disabling logging for a certain event type before taking action)
  • 1102 — the audit log was cleared. This is almost always a serious red flag — a legitimate admin has almost no valid reason to wipe the entire security log, whereas this is the classic final cleanup step for an attacker after achieving their objective.

Service Installation (7045, 4697)#

Event IDMeaning
7045A new service was installed (System log)
4697A new service was installed (Security log, requires separate audit setting)

Creating a Windows Service is a very common persistence technique (the service auto-starts with the system) and is also how PsExec works when moving laterally — so an unusual 7045 (an unfamiliar service name, a binary path pointing to a temp folder like %TEMP%) is one of the most reliable signals of lateral movement/persistence.

PowerShell Logging (4103, 4104)#

Event IDMeaning
4103Module logging — records executed PowerShell commands (pipeline execution)
4104Script Block Logging — records the full script content, even after deobfuscation

4104 is extremely valuable because PowerShell is often obfuscated by attackers (base64-encoded, strings split and concatenated, etc.) to evade simple pattern-matching detection — but Script Block Logging captures the content after PowerShell has decoded it for execution, so no matter how it’s obfuscated, the log still reveals the real script. This is why enabling Script Block Logging is considered one of the most important “must-have” configurations for SOCs in modern Windows environments.

Sysmon Event IDs#

Sysmon isn’t part of Windows by default, but it’s practically a mandatory standard for any serious SOC — because it fills in all the gaps left by the Windows Security Log.

Event IDMeaningWhy it matters
1Process CreateReplaces 4688, comes with file hash, command line, parent process built in — no extra configuration needed
3Network ConnectTracks outbound network connections — the foundation for detecting C2 beaconing
5Process Terminate
6Driver LoadDetects malicious drivers/rootkits being loaded
7Image LoadA DLL loaded into a process — a sign of DLL injection/sideloading
8CreateRemoteThreadA process creates a thread inside another process — a classic injection technique
10Process AccessA process opens access rights to another process — if the target is lsass.exe, it’s almost certainly credential dumping
11File Create
12/13/14Registry Event (create/modify/rename)Tracks persistence keys (Run, Services, etc.)
15FileCreateStreamHashDetects Alternate Data Streams (ADS) — a file-hiding technique
22DNS QueryDetects DNS tunneling, malicious domain lookups
23File Delete

The two most memorable events in this group for threat hunting: Event ID 10 targeting lsass.exe (credential dumping, Mimikatz-style) and Event ID 8 (process injection) — both are extremely common techniques across most of the APT groups I’ve covered in the “Already Seen” series.

Quick Reference Table — Priority Monitoring#

If I could only pick a handful of events to set up alerts for when first standing up a SOC, here’s my priority list:

  1. 1102 — audit log cleared (always urgent)
  2. A burst of 4625 followed by a successful 4624 — a successful brute-force
  3. 4688 / Sysmon 1 with suspicious command-line patterns (-enc, IEX, DownloadString, etc.)
  4. Sysmon 10 targeting lsass.exe — credential dumping
  5. A large volume of 4769 with weak encryption type — Kerberoasting
  6. 7045 with an unfamiliar binary path — persistence/lateral movement
  7. 4104 — PowerShell script content after deobfuscation

I’ll keep updating this post whenever I run into other noteworthy Event IDs during labs/CTFs — think of it as a living cheat sheet for myself.

Windows Event IDs You Should Know - What They Mean and Why SOC Teams Care
https://stewmalwarehunter.id.vn/posts/windows-event-id-can-biet-en/
Author
Stew
Published at
2026-09-08
License
CC BY-NC-SA 4.0