Windows Security ยท 2.6
๐ Audit Logs & Event Viewer
Reading the system's black boxโฑ ~3 min
โ๏ธEvent logs are the plane's black box
Aircraft black boxes record every sensor reading so investigators can reconstruct what happened after a crash. Event Viewer records every login attempt, service start/stop, policy change, and system error โ so you (or a forensic investigator) can reconstruct what happened after a breach.
Opening Event Viewer: eventvwr.msc
Log Types to Know
| Log | What It Records | Competition Use |
|---|---|---|
| Security | Login attempts (success & failure), privilege use, account changes | Most important โ check for unauthorized logins |
| System | OS events, driver failures, service start/stop | Find malicious services that started automatically |
| Application | Events from installed programs | Check for crash logs or unauthorized software activity |
| Setup | Windows Update and installation events | Confirm updates were installed |
Configuring Audit Policy
By default, Windows logs very little. You must enable Audit Policy to capture security events. Go to: secpol.msc โ Local Policies โ Audit Policy
| Audit Setting | Recommend |
|---|---|
| Audit account logon events | Success, Failure |
| Audit account management | Success, Failure |
| Audit logon events | Success, Failure |
| Audit object access | Failure |
| Audit policy change | Success |
| Audit privilege use | Failure |
| Audit system events | Success, Failure |
๐ก TipEnabling audit logging in competition often earns points AND gives you visibility into what's happening on the system โ a double benefit.
Reading Security Logs
- โขEvent ID 4624 โ Successful login; note the account name and logon type
- โขEvent ID 4625 โ Failed login; repeated failures = brute-force attempt
- โขEvent ID 4720 โ User account created
- โขEvent ID 4732 โ User added to Administrators group
- โขEvent ID 4698 โ Scheduled task created (often used by malware for persistence)
๐ง Quick Checkfirst try = +5 XP
Where do you find failed login attempts on Windows?
๐ฎ Practice what you learned
โญ 0 XP๐ฅ 0 days