Pcornel
Browse topics
Options
Recent
Favorites
Windows · Technical reference

Security Log

Direct answer

The Security log is evidence of audited security-relevant activity. Its usefulness depends on audit policy, event scope, retention and access permissions.

When to use this

Use it to investigate authentication/authorization activity and security-relevant Windows actions while keeping deeper attack/detection interpretation in the Security Domain.

First 30 seconds

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.

Operational verification

audit policy → events generated by LSA → Security log → forwarded

Evidence · next step

Correlate with effective audit policy and independent identity/process/network evidence.

Continue only after interpreting the current observation.
Context & applicabilityCommon mistakes · platform/version boundaries
Common mistakes
Common traps

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.

Platform / version applicability
Windows execution, automation and observability
applies
Structured applicability is explicit Topic metadata; it does not infer compatibility beyond the stored rows.
At a glance

Operational reference

Fast context before you go deeper.

PlatformWindows execution, automation and observability
Scope / prerequisiteUse it to investigate authentication/authorization activity and security-relevant Windows actions while keeping deeper …
What next?3 suggested next steps
Evidence1
On this pageJump to a specific section
Operational workflow

Verification & Troubleshooting

Start with the observed symptom, prove the nearest boundary, and move outward only when the current state is understood.

1 steps Observe → verify → isolate → change minimally → repeat the original test.
ObservedRecord what the original test actually shows

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 references

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.

observation · 1
Key points
  • 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.
Key checks
  • Get-WinEvent -LogName System -MaxEvents 50 — recent System events
  • Get-WinEvent -FilterHashtable @{LogName='Application';Level=2;StartTime=(Get-Date).AddHours(-1)} — errors last hour
  • Get-WinEvent -ListLog * | ? RecordCount — logs with entries
  • wevtutil 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:

IDMeaning
4624 / 4625Logon success / failure (logon type 2 interactive, 3 network, 10 RDP)
4634 / 4647Logoff
4648Logon with explicit credentials (runas)
4672Special privileges assigned (admin logon)
4688Process created (enable command-line logging)
4720 / 4726User created / deleted
4728 / 4732 / 4756Member added to global / local / universal group
4740Account locked out
4768 / 4769 / 4771Kerberos TGT / service ticket / pre-auth failure
1102Security log cleared

Which events appear depends on Advanced Audit Policy (auditpol /get /category:*).

Source basisSource attribution states what this section is based on; it is not independent proof that the current environment matches it.
Additional reference context Scope · expected state · examples · history · terminology Open only when you need the supporting context
Technical verification history

Verification history & basis

When and against what this Topic was checked. Later text edits do not count as a new check.

2026-09-14 · vendor docWindows execution, automation and observability current

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%
Terminology layer

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.

Aliases that resolve here
windows security logwindows audit eventssecurity event logwindows logon events
Embedded reference data

Quick lookup tables

Event Logging → Security Log reference map

Fast lookup boundaries for Event Logging → Security Log.

BoundaryMeaningEvidence limit
Audit policyControls event generationmust be proven for absence claims
Subject/TargetActor/object contextnames/SIDs require scope interpretation
Logon IDCorrelates session activitylocal correlation scope matters
Process IDCorrelates process contextPID is time-local and reusable
Success/FailureAudit outcomenot equivalent to secure/insecure state
Confirmation

Confirm action

Continue?