techniques/pass-the-hash
TECHNIQUE · lateral movement · ATT&CK T1550.002
Pass the hash
NTLM proves you know a password by proving you hold its hash — so the hash is as good as the password. Recover one and you can authenticate to every service that account can reach, without ever cracking it.
Needs credsAn NTLM hash
Network positionReach SMB/WinRM
NoiseMedium
Fixed byCredential Guard, tiering
01
Requirements
all must hold REQUIRED An NTLM hash
Dumped from SAM, LSASS, or a relayed/roasted credential.
CHECK Somewhere it has rights
The account must be local admin or allowed to log on to the target.
02
Do it
your target is filled in 01
Check where the hash works
Spray it across hosts to find local admin access.
nxc smb $IP/24 -u $USER -H <NTLM_HASH>
02
Get a shell
Execute with the hash — SMB, WinRM or WMI.
evil-winrm -i $IP -u $USER -H <NTLM_HASH>
03
Variants
→ Over-pass-the-hash
Use the NTLM hash to request a Kerberos TGT, then act as that user with tickets.
→ Pass the ticket
Reuse a stolen Kerberos ticket directly instead of a hash.
04
Detect & harden
Detect
- Logons using NTLM where Kerberos is expected
- A local account authenticating across many hosts
Harden
- Credential Guard; unique local admin passwords (LAPS)
- Admin tiering so privileged hashes never land on workstations
Pass-the-hash is the reason a single dumped hash spreads so fast: identical local admin passwords turn one compromised workstation into all of them. LAPS and admin tiering are what break the chain — the hash stops being reusable anywhere that matters.