Active Directory Enumeration
Active Directory enumeration maps the domain structure, trust relationships, and delegation configurations that make up the attack surface of a Windows domain environment. The goal is identifying objects that can be abused for privilege escalation or lateral movement:
Domain admins and high-privilege group memberships
Kerberoastable and ASREPRoastable accounts
Unconstrained and constrained delegation configurations
Trust relationships between domains and forests
All techniques here run from a domain-joined foothold with a regular domain user account.
Domain basics
LDAP queries with ADSI
ADSI searcher runs LDAP queries without any additional tools. It works on any domain-joined host with a standard user account.
PowerView enumeration
PowerView provides a comprehensive set of AD enumeration functions. It runs entirely in memory and does not require RSAT or domain admin rights.
Kerberoasting candidates
Any domain account with a Service Principal Name set can have its Kerberos TGS requested by any authenticated user and cracked offline. Identify them here, then request tickets.
ASREPRoasting candidates
References
-
PowerView: PowerSploit GitHubREPO: PowerView: PowerSploit GitHub, github.com/PowerShellMafia/PowerSploit/tree/master/Recon (opens in new tab)
Full function reference for AD enumeration
-
Impacket GetUserSPNs and GetNPUsers: GitHubREPO: Impacket GetUserSPNs and GetNPUsers: GitHub, github.com/fortra/impacket (opens in new tab)
Kerberoasting and ASREPRoasting from Linux