Pass-the-Hash, Pass-the-Ticket and Overpass-the-Hash sound like three names for the same thing. They aren't, and mixing them up is one of the most common interview mistakes. All three let you authenticate without knowing a plaintext password, but each uses a different secret and a different protocol, and each leaves different traces. Here's the difference, with lab commands and detection for each.
Lab only. Use these techniques only on systems you're authorized to test.
The one-line version
- Pass-the-Hash (PtH): use an NT hash to authenticate over NTLM.
- Pass-the-Ticket (PtT): use an existing Kerberos ticket (TGT or service ticket).
- Overpass-the-Hash (OPtH): use an NT hash or AES key to request a new Kerberos TGT, then use Kerberos.
Pass-the-Hash
NTLM authentication never sends the password. The client proves it knows the NT hash by answering a challenge with it. So if you have the hash, you can answer the challenge. No cracking needed.
netexec smb 10.10.10.0/24 -u administrator -H <NT_HASH> --local-auth
psexec.py -hashes :<NT_HASH> corp.local/administrator@10.10.10.20
evil-winrm -i 10.10.10.20 -u administrator -H <NT_HASH>
Where hashes come from: SAM dumps on hosts where you're local admin, LSASS memory, DCSync, or UnPAC-the-hash after certificate abuse.
Limits: it only works where NTLM is accepted. Local accounts other than the built-in RID 500 administrator are blocked from remote admin by UAC remote restrictions (LocalAccountTokenFilterPolicy) by default. Members of Protected Users can't use NTLM at all.
Pass-the-Ticket
Kerberos tickets are bearer tokens. Whoever holds a valid TGT or service ticket can use it until it expires (TGTs usually last 10 hours). Steal one and you are that user for Kerberos.
On Windows, export and import with Rubeus:
Rubeus.exe dump /luid:0x3e4 /nowrap
Rubeus.exe ptt /ticket:<base64_ticket>
Or Mimikatz: sekurlsa::tickets /export and kerberos::ptt ticket.kirbi.
On Linux, convert to a ccache and point Impacket at it:
ticketConverter.py ticket.kirbi ticket.ccache
export KRB5CCNAME=ticket.ccache
psexec.py -k -no-pass corp.local/administrator@dc01.corp.local
Use hostnames, not IPs, with Kerberos. The ticket is for a service name, and the KDC needs to resolve it.
Golden and Silver Tickets are forged tickets you then pass. The passing part is the same; the difference is that you made the ticket instead of stealing it.
Overpass-the-Hash (Pass-the-Key)
The user's NT hash is also their RC4 Kerberos key. So you can take a hash and ask the KDC for a fresh TGT, then use Kerberos everywhere. This helps when NTLM is blocked or monitored, or when you need Kerberos-only services.
Rubeus.exe asktgt /user:administrator /rc4:<NT_HASH> /ptt
getTGT.py -hashes :<NT_HASH> corp.local/administrator
If you have the AES256 key (from DCSync or LSASS), use it instead. Requests with RC4 when the account supports AES are a well-known detection, so /aes256: blends in better:
Rubeus.exe asktgt /user:administrator /aes256:<AES_KEY> /opsec /ptt
When the key is AES, people call it Pass-the-Key. Same idea.
Side by side
- Secret used: PtH uses the NT hash. PtT uses a ticket. OPtH uses the NT hash or AES key.
- Protocol: PtH is NTLM. PtT and OPtH are Kerberos.
- Talks to the KDC? PtH no. PtT no (already has the ticket). OPtH yes (requests a TGT).
- Survives a password change? PtH and OPtH no, the hash changes. A stolen ticket keeps working until it expires.
Detection
-
PtH: event 4624, logon type 3, authentication package NTLM, from hosts where that account doesn't normally log on. Mimikatz
sekurlsa::pthcreates a local logon type 9 with logon processseclogo. - PtT: a ticket used from a host other than the one it was issued to. Tools correlate 4768/4769 client addresses with later logons. Tickets with unusual lifetimes hint at forgery.
- OPtH: event 4768 with ticket encryption type 0x17 (RC4) for an account that supports AES.
Mitigation
- Unique local admin passwords with Windows LAPS, so one hash doesn't open every machine.
- Put privileged users in Protected Users: no NTLM, no RC4, no delegation, short TGT lifetime.
- Credential Guard to protect LSASS secrets, and admin tiering so Domain Admins never log on to workstations.
- Reduce NTLM over time with NTLM auditing, then restrictions.
FAQ
What is the difference between Pass-the-Hash and Overpass-the-Hash?
Pass-the-Hash uses the NT hash for NTLM authentication. Overpass-the-Hash uses the same hash as a Kerberos key to request a TGT, and then authenticates with Kerberos.
Can you pass the hash with Kerberos?
Not directly. Kerberos doesn't accept a hash as proof. You first use the hash to request a TGT, which is Overpass-the-Hash.
Does Protected Users stop Pass-the-Hash?
For members of the group, yes for NTLM, because they can't authenticate with NTLM. It also blocks RC4 Kerberos, which stops Overpass-the-Hash with an NT hash.