AD Security Troubleshooting
Cheat sheet · https://pcornel.dk/topic.php?topic=4528
Answer
Troubleshoot AD security issues by reviewing Security logs on DCs (4624, 4625, 4768, 4769, 4662), privileged group membership changes, GPO application, LDAP signing and channel binding settings, and tools like PingCastle or BloodHound findings.
Remember
- DC Security logs only help if auditing is configured.
- Group membership changes are high-value events.
- Tools like PingCastle or BloodHound show attack paths.
First checks
- PingCastle/Purple Knight report — findings
Get-WinEvent -LogName Security -MaxEvents 100— DC security eventsdcdiag /v— DC health
Commands
whoami /groups- Inspect effective Windows group token. Focus fields: user SID, group SIDs, attributes and enabled/deny-only token membe…
Verify in this order
finding/alert → evidence → fix → reassess
Where it usually breaks
First mismatch in identity lifecycle → authenticator/credential → IdP/federation/session → authorization policy → target resource → audit trail; preserve identity/policy/pre-state before mutation.
Read-only verification commands unless stated otherwise. Confirm syntax for your platform and release. Full reference: https://pcornel.dk/topic.php?topic=4528