Skip to main content

Wolfcore Cyber Security

Pass-the-Hash Explained: How It Works and How to Stop It

Written by Ruben Selby, founder and penetration tester at Wolfcore. Last reviewed 21 November 2026.

In one sentence: Pass-the-hash lets an intruder sign in as a user by presenting a stolen scrambled copy of their password, so they never need to know the password itself.

What it is

When you sign in to Windows, the system keeps a scrambled version of your password called a hash. MITRE ATT&CK describes pass-the-hash (T1550.002, tactic Lateral Movement, platform Windows) as authenticating as a user without access to their cleartext password. It skips the step that needs the password and goes straight to the step that uses the hash.

The practical meaning: a long, strong password does not help once the hash has been taken, because the hash is what gets used. That is why this technique matters for businesses that already follow good password advice.

How it works

  1. The attacker first gets a foothold on one computer, often through phishing or an unpatched service.
  2. They capture password hashes from that machine using a separate credential theft technique. MITRE is clear that PtH depends on hashes already being captured this way.
  3. They present a captured hash to other computers on the network to sign in as that user.
  4. If the user is a local administrator on several machines, the attacker hops from one to the next. Each hop can expose more hashes, including those of more powerful accounts.
  5. They keep going until they reach what they want: a file server, a database, or the domain controller.

MITRE also describes “overpass the hash”, where a stolen hash is used to create a valid Kerberos ticket, which then enables pass-the-ticket attacks.

Laptop Afoothold, hash taken PC Bsame local admin Server Cmore hashes Domaincontroller The hash is used as if it were the password. No password is ever typed. Break the chain: unique local admin passwords, no shared admin rights, tiered admin accounts

Who it affects and how badly

It needs a Windows network where accounts and local admin passwords are reused. That describes a lot of small and mid-sized estates.

  • Sole trader to 10 staff: usually a handful of PCs. If they share one local admin password, one infected laptop can mean every PC is reachable.
  • 10 to 50 staff (accountancy, legal, recruitment, estate agents): shared admin passwords between PCs and a server are common. A realistic worst case is an attacker reaching the file server, with downtime and client data exposed.
  • 50 to 250 and regulated businesses (healthcare, fintech, telecoms, local councils): more hops and more privileged accounts. Impact grows to widespread outage, data loss, regulator involvement and lost clients.

Real examples

What we check on a test

Our method, not a finding from any client.

  • Whether the same local administrator password or account exists on more than one machine.
  • Which domain users are local administrators on multiple systems. MITRE lists this as something not to allow.
  • Whether NTLM authentication is still allowed where Kerberos would do.
  • Whether a normal user’s access to a workstation lets them reach a server or the domain controller.
  • Whether your monitoring would notice an NTLM network logon from an unexpected machine.

How to detect it

  • Event ID 4624 with logon type 3 (network logon) that uses NTLM and has no matching domain logon pattern. MITRE’s detection strategy describes anomalous NTLM type 3 logons without accompanying domain logon events, especially from unexpected systems or built-in admin tools.
  • Look for a user signing in to many machines in a short time.
  • Pair with Event ID 4672 (special privileges) on the same logon.
  • Related reading: Windows Event ID 4624.

How to fix or prevent it

  1. Give every computer a unique local administrator password.
  2. Do not let a domain user be in the local administrator group on multiple systems, as MITRE advises.
  3. Use separate admin accounts for admin work, and never sign in to ordinary PCs with them. This limits what a captured hash is worth.
  4. Apply the pass-the-hash mitigation MITRE lists: restrict UAC on local accounts at network logon (the registry value LocalAccountTokenFilterPolicy, or the matching Group Policy setting). Test before rolling out.
  5. Reduce NTLM where Kerberos can be used.
  6. Keep systems patched and remove admin rights people do not need.

Related terms

ntlm authentication, smb signing, port 445 smb, how privilege escalation works, windows event id 4624 successful logon, windows event id 4672 special privileges assigned

Back to the hacking techniques hub.

Rules and regulators

The UK NCSC, together with the cyber security authorities of Australia, Canada, New Zealand and the USA, published a joint report on publicly available hacking tools. It gives advice on limiting the effectiveness of tools commonly used by attackers and on detecting their use on a network. MITRE cites this report for the pass-the-hash module in the Mimikatz tool. Because the US is a co-author, the advice applies equally to US readers. Source: https://www.ncsc.gov.uk/report/joint-report-on-publicly-available-hacking-tools

FAQ

Does a strong password stop pass-the-hash? No. MITRE describes the technique as skipping the cleartext password, so the strength of the password does not matter once the hash is captured.

What does the attacker need first? Valid hashes, captured through another credential access technique, according to MITRE.

What is the first thing to fix? Unique local admin passwords on every machine and no domain user with local admin rights on many systems.

See also: Lateral Movement: How Attackers Spread and How to Stop It, Windows LAPS: Unique Local Admin Passwords Explained, Windows Event ID 4776: NTLM Credential Validation Explained, Mimikatz: What It Is, How It Works and How to Defend, DCSync Attack Explained: How It Works and How to Detect It.

How Wolfcore helps

A Wolfcore penetration test finds this the way an attacker would, by hand, not with a scanner. See penetration testing and start with the free web vulnerability scan.

Wolfcore

Would your staff click a phishing email?

Run a real, safe phishing test on your team with Phishy. Free for 14 days, up to 10 staff, no card. We help you set it up.

Start a free phishing testFree website security scanor book a 30 minute call