Pass-the-Hash
What is Pass-the-Hash?
Pass-the-HashA credential-reuse attack that authenticates to Windows systems using a stolen NTLM password hash instead of the cleartext password.
Pass-the-Hash (PtH) exploits a fundamental property of NTLM authentication: the protocol never transmits the password, only a cryptographic response derived from its NT hash, so any process holding that hash can authenticate as the user without ever knowing the plaintext. Attackers harvest hashes from LSASS process memory or the local SAM database — commonly with Mimikatz (sekurlsa::logonpasswords) or Impacket's secretsdump — then replay them against SMB, WMI, PsExec, or WinRM to move laterally. MITRE ATT&CK tracks this as T1550.002, Use Alternate Authentication Material.
The attack's reach comes from credential reuse: a single shared local-administrator hash recovered from one workstation often unlocks an entire estate, which is why PtH is a staple of ransomware intrusions. It works for local and domain accounts alike and cannot be stopped by password-complexity policy, since the hash is the credential.
Microsoft's defences evolved from guidance into platform controls: KB2871997 (2014) added protections and Restricted Admin mode for RDP; LAPS randomises every machine's local-admin password to kill lateral reuse; Credential Guard uses virtualization-based security to isolate NTLM secrets from LSASS; and the Protected Users group and tiered administration limit where privileged hashes land. Also disable NTLM where Kerberos suffices, set LocalAccountTokenFilterPolicy correctly, and monitor LSASS access and anomalous logon patterns.
flowchart TB C["Attacker compromises one host<br/>with admin rights"] --> D["Dump NT hashes from<br/>LSASS memory or SAM<br/>(Mimikatz / secretsdump)"] D --> H["NT hash obtained<br/>(no plaintext needed)"] H --> R["Replay hash via NTLM to<br/>SMB / WMI / WinRM on other hosts"] R --> L["Authenticate as the user<br/>without the password"] L --> M["Lateral movement across estate<br/>via reused local-admin hash"]
● Examples
- 01
An operator dumps NTLM hashes with Mimikatz and uses them to authenticate to other servers via SMB.
- 02
Reusing a local administrator hash across an estate to pivot from a workstation to a file server.
● Frequently asked questions
What is Pass-the-Hash?
A credential-reuse attack that authenticates to Windows systems using a stolen NTLM password hash instead of the cleartext password. It belongs to the Attacks & Threats category of cybersecurity.
What does Pass-the-Hash mean?
A credential-reuse attack that authenticates to Windows systems using a stolen NTLM password hash instead of the cleartext password.
How do you defend against Pass-the-Hash?
Defences for Pass-the-Hash typically combine technical controls and operational practices, as detailed in the full definition above.
What are other names for Pass-the-Hash?
Common alternative names include: PtH.