getuserspns.py
Retrieve Service Principal Names (SPNs) associated with Active Directory user accounts. tldr-pages
On several platforms
Several platforms
Retrieve Service Principal Names (SPNs) associated with Active Directory user accounts. Part of the Impacket suite.
Enumerate user accounts with an SPN and request their Kerberos TGS tickets
GetUserSPNs.py domain/username:password -dc-ip domain_controller_ipIdentifyUse pass-the-hash authentication
GetUserSPNs.py domain/username -hashes LM_Hash:NT_Hash -dc-ip domain_controller_ipIdentifySave the output to a file
GetUserSPNs.py domain/username:password -dc-ip domain_controller_ip -outputfile path/to/output_fileIdentifyRequest only TGS tickets
GetUserSPNs.py domain/username:password -dc-ip domain_controller_ip -requestIdentifyRequest only TGS tickets using pass-the-hash authentication
GetUserSPNs.py domain/username -dc-ip domain_controller_ip -hashes LM_Hash:NT_Hash -requestIdentify