Pcornel
Security

Active Directory Security

Cheat sheet · https://pcornel.dk/topic.php?topic=4504

Back to the Topic

Answer

Active Directory security protects the domain that controls every account and computer: tiered admin access, few privileged accounts, LAPS, gMSAs, Credential Guard, LDAP signing and monitoring for attacks like Kerberoasting and DCSync.

Remember

  • Whoever controls AD controls every domain-joined system.
  • Most AD compromises start with one stolen privileged credential.
  • Tier 0 (DCs, AD, PKI, identity sync) must only be administered from tier 0 systems.

First checks

  • Get-ADGroupMember 'Domain Admins' — privileged members
  • Get-ADDomainController -Filter * | ft Name,OperatingSystem — DC inventory
  • PingCastle/Purple Knight report — AD risk assessment

Verify in this order

attacker → credentials → privilege escalation → DC/tier 0

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=4504

Confirmation

Confirm action

Continue?