Skip to main content

Overview

impacket-getTGT requests a Ticket Granting Ticket (TGT) from a domain controller’s KDC. The TGT is saved as a .ccache file that can be used with other Kerberos-aware tools for pass-the-ticket attacks.

Authentication Methods

With Password

With NTLM Hash (Overpass-the-Hash)

Full LM:NT format also works:

With AES Key

AES256:
AES128:
An AES256 key is 64 hex chars (32 bytes); an AES128 key is 32 hex chars (16 bytes). Impacket picks the enctype from the key length.

Using the .ccache File

getTGT outputs a file named jdoe.ccache in the current directory. Set it as the active Kerberos credential cache:
Verify the ticket:

Using the TGT with Other Impacket Tools

Once KRB5CCNAME is set, use -k -no-pass to authenticate via Kerberos:
The target must be a hostname (FQDN), not an IP, when using Kerberos authentication.

Renewing Tickets

getTGT cannot renew an existing ticket — it has no -renew option and always performs a fresh AS-REQ using the supplied password/hash/AES key. To get a new TGT, just re-run it with credentials. Actual ticket renewal in Impacket is done with getST -renew.

Common Errors


Quick Reference