Explore our new Cybersecurity Terms Glossary, explained by our experts.

View the Glossary View the Glossary
PRIVIA

Cybersecurity Terms Glossary

What Is a Pass-the-Hash Attack?

A pass-the-hash attack lets an attacker authenticate to Windows systems with a stolen password hash instead of the password itself, enabling rapid lateral movement across a network.

Illustration for the cybersecurity term Pass-the-Hash
Home / Blog / Cybersecurity Terms / What Is a Pass-the-Hash Attack?
17 November 2026

What Is a Pass-the-Hash Attack?

What Is a Pass-the-Hash Attack?

A pass-the-hash (PtH) attack is a technique in which an attacker uses a stolen password hash, rather than the plain-text password, to authenticate to other systems. It works against the Windows NTLM authentication protocol, which accepts the hash itself as proof of identity. If an attacker can lift the hash from one machine, they can log in as that user anywhere the account is valid, without ever cracking it.

That makes PtH one of the most common ways attackers move laterally inside Windows environments. A single compromised workstation where an administrator has recently logged in can become the key to the entire domain.

How the Attack Works

Windows stores credential material in memory so that users do not have to retype their password every time they access a network resource. The Local Security Authority Subsystem Service (LSASS) holds NTLM hashes for logged-on users, and the local Security Account Manager (SAM) database stores hashes for local accounts.

A typical attack follows four steps:

  1. Initial access: the attacker compromises a workstation, often through phishing.
  2. Privilege escalation: they gain local administrator or SYSTEM rights on that machine (privilege escalation).
  3. Credential dumping: using tools such as Mimikatz, or by dumping LSASS memory, they extract NTLM hashes of every account that has logged on.
  4. Lateral movement: they pass those hashes to other systems through SMB, WMI, or remote service creation, using tools such as Impacket, and repeat the cycle until they reach a domain administrator.

Because the hash is never cracked, password complexity offers no protection. A 30-character password produces a hash that is just as reusable as a weak one.

Why It Is So Effective

PtH thrives on a few very common weaknesses. Shared local administrator passwords across many machines mean one hash unlocks them all. Help desk and server administrators often log in to ordinary workstations with privileged accounts, leaving their hashes behind in memory. And NTLM is still enabled in most networks for compatibility with older systems.

Related techniques extend the same idea. Overpass-the-hash uses an NTLM hash to request Kerberos tickets, and pass-the-ticket reuses stolen Kerberos tickets directly. Attacks such as Kerberoasting target service account credentials from a different angle.

Detecting Pass-the-Hash

Detection is challenging because the logins look technically valid, but several signals help:

Identity threat detection products, successors to Microsoft ATA such as Microsoft Defender for Identity, specialise in spotting these patterns from domain controller traffic.

Preventing It

No single setting eliminates PtH, but layered controls make it far harder:

Testing Your Exposure

PtH is a staple of internal penetration tests and Red Team engagements because it reveals how quickly one compromised endpoint can lead to domain compromise. Mapping the attack paths with tools such as BloodHound often shows surprising routes created by forgotten group memberships and old administrator sessions.

At Privia Security, our Penetration Test Services include internal Active Directory testing that shows exactly how far an attacker could get with credential reuse, and how to close those paths.

FAQ – Frequently Asked Questions

Does a Strong Password Prevent Pass-the-Hash?

No. In a pass-the-hash attack, the hash is reused directly and never needs to be cracked, so the length and complexity of the original password make no difference. Strong passwords still matter against other attacks, but PtH has to be addressed through credential hygiene, unique local passwords, Credential Guard, and restrictions on where privileged accounts log in.

Does Pass-the-Hash Work Against Kerberos?

Classic pass-the-hash targets NTLM authentication. However, a related technique called overpass-the-hash uses the NTLM hash to request Kerberos tickets, and pass-the-ticket reuses stolen Kerberos tickets directly. Disabling NTLM therefore reduces risk, but it does not remove the need to protect credentials stored in memory on Windows systems.

What Is Windows LAPS?

Windows Local Administrator Password Solution automatically sets a unique, random password for the local administrator account on each domain-joined or Entra-joined device and rotates it regularly. The password is stored securely in Active Directory or Microsoft Entra ID. This stops attackers from reusing a single local administrator hash to move between machines.

How Can I Tell If Pass-the-Hash Has Been Used in My Network?

Look for NTLM logons between workstations, logon type 9 events with the seclogo process, unusual access to LSASS memory, and single accounts authenticating to many hosts in a short time. Identity threat detection tools and a well-tuned SIEM can correlate these signals, and a forensic investigation can confirm suspected activity.

Related Terms

You May Be Interested In These

How Do You Audit OAuth App Consents?

Cybersecurity Terms

17 November 2026

How Do You Audit OAuth App Consents?

Read More
What Is PKCE?

Cybersecurity Terms

17 November 2026

What Is PKCE?

Read More
What Is Software Composition Analysis?

Cybersecurity Terms

17 November 2026

What Is Software Composition Analysis?

Read More