Object Enumeration
AD object enumeration maps users, computers, groups, OUs, and DNS records in the domain. Run this immediately after obtaining any valid domain credentials. The output feeds every subsequent attack decision: who to target, what Kerberos abuse is viable, and where high-value systems sit in the network.
Authentication formats
BloodyAD and most AD tools accept multiple authentication methods. From a compromised Windows host, PowerView uses the current user token automatically on domain-joined machines.
Domain structure: users, computers, groups
Start with broad enumeration to map the domain before running targeted queries. net.exe built-ins work on any domain-joined Windows host without loading tools.
distinguishedName: CN=jsmith,CN=Users,DC=corp,DC=local distinguishedName: CN=svc-backup,CN=Users,DC=corp,DC=local distinguishedName: CN=Administrator,CN=Users,DC=corp,DC=local
Object details: specific attributes
get object / Get-DomainUser -Properties * pulls all attributes for a specific object. Use this to investigate accounts returned from broad queries.
Targeted queries
These queries find actionable targets: AS-REP roastable accounts, Kerberoastable SPNs, delegation misconfigurations, and passwords in descriptions. PowerView's -UACFilter and -SPN flags handle the LDAP bit math internally.
DNS enumeration
AD-integrated DNS records reveal internal hostnames and services not visible from an external scan. From Windows without DNS admin rights, pull hostnames from computer objects and resolve them with Resolve-DnsName.
Name: dc01, Type: A, Data: 10.10.10.10 Name: web01, Type: A, Data: 10.10.10.20 Name: sql01, Type: A, Data: 10.10.10.30 Name: backup, Type: A, Data: 10.10.10.40
DNS records from AD reveal internal systems not exposed externally. Hostnames containing backup, sql, exchange, or admin are high-value lateral movement targets. Cross-reference with computer objects to get OS versions and last logon times.
Bulk queries: nxc, ldapsearch, AD module
These tools cover the same ground as bloodyAD and PowerView but in a single pass. The AD module requires RSAT or a domain-joined host with the ActiveDirectory module installed.
After object enumeration, feed what you find into the right attack path: AS-REP Roastable accounts to AS-REP Roasting, Kerberoastable SPNs to Kerberoasting, unconstrained delegation targets to Unconstrained Delegation Abuse and Constrained Delegation Abuse, domain trusts to Domain Trust Abuse, and writable objects to ACL Enumeration.
References
-
BloodyAD (GitHub)github.com/CravateRouge/bloodyAD (opens in new tab)
Full command reference for get children, get object, get search, get dnsDump
-
NetExec / nxc (GitHub)github.com/Pennyw0rth/NetExec (opens in new tab)
LDAP enumeration modules for users, groups, SPNs, Kerberoasting, AS-REP roasting
-
PowerSploit / PowerView (GitHub)github.com/PowerShellMafia/PowerSploit (opens in new tab)
Get-DomainUser, Get-DomainComputer, Get-DomainGroup, Get-DomainUser -UACFilter, -SPN, -TrustedToAuth
-
ActiveDirectory PowerShell module (Microsoft Docs)learn.microsoft.com/en-us/powershell/module/activedirectory (opens in new tab)
Get-ADUser, Get-ADComputer (requires RSAT or domain-joined host with AD module)
Was this helpful?
Your feedback helps improve this page.