Use it to investigate authentication/authorization activity and security-relevant Windows actions while keeping deeper attack/detection interpretation in the Security Domain.
Security Log
The Security log is evidence of audited security-relevant activity. Its usefulness depends on audit policy, event scope, retention and access permissions.
1. Logons: 4624 success, 4625 failure (status codes), 4634 logoff.
2. Account changes: 4720 created, 4722 enabled, 4740 locked out.
3. Privilege: 4672 special privileges.
4. Audit policy: auditpol /get /category:*.
5. Forward to SIEM; size the log.
audit policy → events generated by LSA → Security log → forwarded
Correlate with effective audit policy and independent identity/process/network evidence.
Continue only after interpreting the current observation.Context & applicabilityCommon mistakes · platform/version boundaries
Do not equate audit Success with legitimate behavior or audit Failure with an attack. Authentication failures can be benign, and successful actions can be malicious when credentials are compromised.
Operational reference
Fast context before you go deeper.
Verification & Troubleshooting
Start with the observed symptom, prove the nearest boundary, and move outward only when the current state is understood.
Use the operational verification above to establish the expected state.
Capture the concrete output, symptom, packet, log or counter before changing anything.
Step 1 Verification path Verify boundary
Before asserting that an event is “missing,” show the applicable audit subcategory was enabled and the log retained the time window. For remote or forwarded investigations, also show collection scope.
Evidence · 1 on this Topic
Expected observations and documentation recipes are reference material. Record actual output, device identity, scope and time before claiming a verified result.
- Security events exist only for activity that Windows audits under the effective policy.
- Audit success/failure means an audited operation outcome, not system health.
- Event IDs are provider/context dependent even when common Windows Security IDs are well known.
- Access to the Security log is restricted and remote collection has additional permission/transport boundaries.
- Absence of a Security event is not proof an action did not occur unless audit coverage is proven.
Get-WinEvent -LogName System -MaxEvents 50— recent System eventsGet-WinEvent -FilterHashtable @{LogName='Application';Level=2;StartTime=(Get-Date).AddHours(-1)}— errors last hourGet-WinEvent -ListLog * | ? RecordCount— logs with entrieswevtutil gl <log>— log size and retention
ReferenceWhat it is1 section · depth on demand
Core model
The Security log stores Windows auditing output rather than every security-relevant action automatically. Advanced Audit Policy determines much of what is emitted, and some objects require SACL configuration for detailed access auditing.
ReferenceImportant terms & boundaries2 sections · depth on demand
What the evidence shows
Interpret Security events as structured audit records. Use SIDs, logon IDs, process IDs, source network fields and object names to correlate related activity, while accounting for PID reuse and session boundaries.
In depth
Key Security log event IDs:
| ID | Meaning |
|---|---|
| 4624 / 4625 | Logon success / failure (logon type 2 interactive, 3 network, 10 RDP) |
| 4634 / 4647 | Logoff |
| 4648 | Logon with explicit credentials (runas) |
| 4672 | Special privileges assigned (admin logon) |
| 4688 | Process created (enable command-line logging) |
| 4720 / 4726 | User created / deleted |
| 4728 / 4732 / 4756 | Member added to global / local / universal group |
| 4740 | Account locked out |
| 4768 / 4769 / 4771 | Kerberos TGT / service ticket / pre-auth failure |
| 1102 | Security log cleared |
Which events appear depends on Advanced Audit Policy (auditpol /get /category:*).
Additional reference context Scope · expected state · examples · history · terminology Open only when you need the supporting context
Verification history & basis
When and against what this Topic was checked. Later text edits do not count as a new check.
Authoritative/upstream documentation reviewed for bounded claims in Event Logging → Security Log. Documentation verification only; this is not observed lab or production Evidence.
Basis: https://learn.microsoft.com/en-us/windows/win32/wes/windows-event-log · confidence 94%Terms & aliases
Hover a linked term for a quick definition; click it to open its glossary entry. Aliases are other names that find this Topic in search.
Quick lookup tables
Event Logging → Security Log reference map
Fast lookup boundaries for Event Logging → Security Log.
| Boundary | Meaning | Evidence limit |
|---|---|---|
| Audit policy | Controls event generation | must be proven for absence claims |
| Subject/Target | Actor/object context | names/SIDs require scope interpretation |
| Logon ID | Correlates session activity | local correlation scope matters |
| Process ID | Correlates process context | PID is time-local and reusable |
| Success/Failure | Audit outcome | not equivalent to secure/insecure state |