main logo icon

Published on

December 1, 2026

|

21 min read

Pass the Hash Attack Explained: How It Works, Detection and Fixes (2026)

What a pass the hash attack is and why it still works in 2026: how NTLM accepts a stolen hash, how it differs from pass the ticket and NTLM relay, the events and Defender for Identity alerts that detect it, and the fixes that stop it.

Arafat Afzalzada

Arafat Afzalzada

Founder

Network Security

Summarize with AI

ChatGPTPerplexityGeminiGrokClaude

TL;DR

A pass the hash attack signs in to Windows systems with a stolen NTLM password hash instead of the password. NTLM proves identity with a calculation made from that hash, so whoever holds the hash can sign in as the account until the password changes. MITRE ATT&CK tracks it as T1550.002. It needs a foothold first: administrator or SYSTEM rights on one machine, where hashes can be read from memory, the local SAM database or, on a domain controller, the NTDS database. It then reuses the hash over the network to reach other machines. It still works in 2026. The FBI and CISA list it in their Akira advisory (revised 13 November 2025) and in their Gunra advisory of 10 August 2026, and on 30 October 2026 Google and Mandiant reported an AI agent framework attempting it against domain controllers. Microsoft's January 2026 NTLM roadmap names pass the hash as a risk of NTLM and plans to disable network NTLM by default only in the next major Windows Server release. Detection starts with event 4624: Logon Type 9 with logon process seclogo where the hash is used, and NTLM network logons (Logon Type 3, NtLmSsp, Key Length 0) where it lands, plus 4776 on domain controllers for domain accounts. Microsoft announced in October 2026 that the Defender for Identity "Suspected identity theft (pass-the-hash)" alert would be retired at the end of November 2026, and points that monitoring to Defender for Endpoint. The fixes remove reusable hashes and the places they can be used: Windows LAPS, denying network logon to local administrator accounts, Credential Guard, Protected Users, administrative tiering and restricting NTLM. An internal penetration test or purple team exercise shows which of them actually hold. Stingrai scopes that work per engagement, as one-time tests or continuous programs.

A pass the hash attack is one in which an attacker signs in to other Windows machines with an account's stolen NTLM password hash instead of its password. It works because NTLM proves identity with a calculation made from the hash; MITRE ATT&CK calls it "a method of authenticating as a user without having access to the user's cleartext password".

The technique is decades old and still in current use. On 10 August 2026 the FBI, CISA and partner agencies reported that Gunra ransomware actors dumped password hashes from victims' domain controllers, which "enabled pass-the-hash or pass-the-ticket attacks for lateral movement into other privileged systems". Microsoft's own January 2026 NTLM roadmap lists "Vulnerability to replay, relay, and pass-the-hash attacks" among the risks of keeping NTLM.

This guide explains how the attack works, how it differs from pass the ticket, overpass the hash and NTLM relay, what it looks like in Windows logs and Microsoft Defender for Identity, and which controls stop it. It stays at the level a defender needs and includes no attack commands.

Quick answer. Pass the hash reuses a stolen NTLM password hash to sign in to other machines without knowing the password. The attacker first needs administrator rights on one machine, where hashes can be read, and then needs other machines that accept the same hash over NTLM. Detect it with event 4624 (Logon Type 9 with logon process seclogo on the source, NTLM network logons on the destination) and event 4776 on domain controllers. Stop it with Windows LAPS, by denying network logon to local administrator accounts, with Credential Guard, Protected Users and administrative tiering, and by restricting NTLM. Stingrai's internal penetration tests and purple team exercises check which of those controls hold.

Pass the hash at a glance

Question

Short answer

What is it?

Signing in with an account's NTLM password hash instead of its password. MITRE ATT&CK tracks it as T1550.002, under Lateral Movement.

What does the attacker need first?

Administrator or SYSTEM rights on one machine, where hashes can be read, and a network path to other machines that accept NTLM.

Does a strong password help?

No. The hash is used as it is, so a long random password is passed exactly as well as a weak one. Only a different password on each machine helps.

How long does a stolen hash work?

Until the account's password changes, because the hash is calculated from the password.

What does it leave behind?

Event 4624 on the source machine (Logon Type 9) and on the destination (an NTLM network logon), and event 4776 where the account is validated.

What stops it?

Unique local passwords (Windows LAPS), no network logon for local administrators, Credential Guard, Protected Users, administrative tiering and less NTLM.

What is a pass the hash attack?

Windows never needs to send a password across the network to prove who you are. Microsoft's description of NTLM sets out the exchange: when a user signs in, "The client computes a cryptographic hash of the password and discards the actual password." When the user later reaches a file share or another server, that server sends a random challenge, and "The client encrypts this challenge with the hash of the user's password and returns the result to the server." The domain controller looks up the same stored hash and repeats the calculation. If the two results match, the user is in.

Read that again from an attacker's side. Nothing in the exchange uses the password itself. The hash is what proves identity, so the hash is as good as the password for NTLM. Microsoft's protocol specification, MS-NLMP, defines that value, the NT hash, as MD4(UNICODE(Passwd)): one unsalted MD4 hash of the password, the same on every machine for the same password. The NTLMv2 calculation starts from the same value. MITRE puts the consequence plainly: pass the hash "bypasses standard authentication steps that require a cleartext password, moving directly into the portion of the authentication that uses the password hash".

Two properties follow, and they explain most of what defenders need to do.

  • Password strength does not matter here. Cracking is not involved. A 30-character random password and Summer2019! are passed in exactly the same way. Password length protects against offline guessing, the problem in Kerberoasting; it does nothing against reuse of the hash.

  • The same password means the same hash everywhere. If a local administrator account has the same password on every workstation, one hash taken from any of them opens all of them. That is why unique local passwords are the first fix.

How does a pass the hash attack work?

Pass the hash is a lateral movement step. It sits between credential theft, which comes before it, and whatever the attacker does with the new access. A typical sequence has four stages.

Stage

What happens

Privilege needed

What a defender can see

1. Foothold with admin rights

The attacker gains administrator or SYSTEM rights on one machine, for example through phishing and a privilege escalation, or a reused administrator password.

Local administrator

Whatever the initial compromise produced

2. Harvest hashes

They read NTLM hashes from the machine: from the memory of the Local Security Authority process (LSASS) for accounts signed in recently, or from the local SAM database for local accounts. On a domain controller, the NTDS database holds every domain account's hash.

Local administrator or SYSTEM

Reads of LSASS memory, the SAM or the NTDS database on that machine

3. Pass the hash

They present a stolen hash to another machine over NTLM, through file sharing, remote administration or a remote service, and are accepted as that account.

None beyond the hash

Event 4624 on the source (Logon Type 9) and an NTLM network logon on the destination

4. Repeat

On each new machine they harvest again. Sooner or later an administrator who signed in to one of those machines leaves a more privileged hash behind.

Rises with each hop

The same events, one machine further along

ATT&CK's page on LSASS memory describes stage 2 in one line: those credential materials "can be harvested by an administrative user or SYSTEM and used to conduct Lateral Movement". The FBI and CISA describe both of the other sources in current advisories. Akira actors "dump the Windows security account manager (SAM) database to extract local account password hashes for offline cracking or pass-the-hash techniques" (AA24-109A, revised 13 November 2025), and Gunra actors took hashes from domain controllers "from the NT Directory Services (NTDS) file" before using pass the hash to move "to privileged systems" (AA26-222A).

The loop in stage 4 is why pass the hash turns one compromised workstation into a domain compromise. Stingrai's guide to lateral movement covers the wider intrusion this sits inside. This post goes deeper on the single technique.

Pass the hash vs pass the ticket vs overpass the hash vs NTLM relay

Four techniques get confused because all four involve stolen or borrowed authentication. They need different things and are stopped by different controls.

Point of comparison

Pass the hash

Overpass the hash

Pass the ticket

NTLM relay

ATT&CK ID

T1550.002

Described under T1550.002 and T1550.003

T1550.003

T1557.001, with T1187

What the attacker holds

An account's stored NTLM hash

The same NTLM hash

A stolen Kerberos ticket

Nothing stored: a victim's live NTLM exchange

Protocol used to sign in

NTLM

Kerberos

Kerberos

NTLM

How long it works

Until the password changes

Until the password changes

Until the ticket expires

Only while the victim is authenticating

Needs admin rights first?

Yes, to read the hash

Yes, to read the hash

Usually, to read tickets from memory

No

Main fixes

Windows LAPS, deny network logon to local admins, Credential Guard, tiering, less NTLM

Protected Users (no RC4 in Kerberos pre-authentication), Credential Guard, tiering

Credential Guard, tiering, Protected Users (four-hour ticket lifetime)

SMB signing, LDAP signing and channel binding, Extended Protection

Overpass the hash uses the NTLM hash to get a Kerberos ticket rather than to sign in over NTLM. MITRE describes it as "using a password hash to authenticate as a user but also uses the password hash to create a valid Kerberos ticket". It works because the older Kerberos encryption type, RC4, derives its key the same way as the NT hash: RFC 8429 describes it as "a single iteration of the MD4 hash function applied to the UTF-16 encoded password, with no salt at all". An attacker who moves to Kerberos this way avoids NTLM-based detections, which is why the detection section below covers Kerberos alerts too.

Pass the ticket skips the hash entirely and replays a Kerberos ticket taken from one machine on another. MITRE's page describes adversaries who "may 'pass the ticket' using stolen Kerberos tickets to move laterally within an environment".

NTLM relay is a different attack. It forwards a victim's live NTLM exchange to another server and never touches a stored hash, so a relay is stopped by signing and channel binding, not by LAPS or Credential Guard. Stingrai's NTLM relay guide covers it in full.

Why does pass the hash still work in 2026?

Microsoft still offers its guidance paper, Mitigating Pass-the-Hash (PtH) Attacks and Other Credential Theft, in two versions on its download center. The advice in it has been public for years, and five things keep the technique alive anyway.

NTLM is still on, and local accounts depend on it. Microsoft's January 2026 roadmap moves in three phases and says network NTLM "will be disabled by default" only "In the next major Windows Server release and associated Windows client releases". Even then, "Disabling NTLM by default does not mean completely removing NTLM from Windows yet." Local accounts are the stubborn case. A Microsoft engineer's January 2026 hardening guide says "Local account authentications have been limited to using NTLM", and the roadmap describes the planned fix, Local KDC, as "pre-release".

Local administrator passwords are still shared. Microsoft's Windows LAPS documentation opens with the problem: "Local administrator accounts often share the same password across many devices, which bad actors can exploit to move laterally across your environment." Machines built from one image carry the same local password until something changes it.

Privileged accounts sign in to ordinary machines. Every interactive sign-in leaves credential material in that machine's memory. When a domain administrator signs in to a workstation or a shared jump host, the next attacker with administrator rights on that machine can take the hash. CISA's red team assessment of a federal civilian agency (11 July 2024) found that "server and domain administrators occasionally shared the same jump hosts", and the team used exactly that.

Domain accounts with admin rights on many machines. MITRE's mitigation M1018 for pass the hash is direct: "Do not allow a domain user to be in the local administrator group on multiple systems." A help desk group with local administrator rights on every workstation is the domain-account version of a shared local password.

Detection is hard, because the logon is real. The attacker uses a supported protocol and a valid account. What separates a pass the hash logon from an administrator's normal work is context, which is the subject of the detection sections below.

Evidence from 2024 to 2026

Every row links to the primary source.

Date

Source

What it reported

11 July 2024

CISA red team assessment, AA24-193A

At one agency the identity management system "blocked common credential manipulation techniques like pass-the-hash", which "hampered the red team's ability to pivot". The team found other routes.

13 November 2025

FBI, CISA and partners, Akira ransomware advisory AA24-109A

The update added pass the hash (T1550.002) to Akira's techniques, with SAM dumping "for offline cracking or pass-the-hash techniques".

29 January 2026

Microsoft, disabling NTLM by default

Lists "Vulnerability to replay, relay, and pass-the-hash attacks" among NTLM's risks and sets out a three-phase plan to disable network NTLM by default.

12 May 2026

MITRE ATT&CK, T1550.002 (last modified date)

22 procedure examples: 11 groups, including APT28, Kimsuky and Wizard Spider, 8 software entries and 3 campaigns. In the 2025 Poland wiper attacks, "the adversaries attempted to reuse password hash values to gain access to other systems."

10 August 2026

FBI, CISA, NSA and partners, Gunra ransomware advisory AA26-222A

Hashes dumped from domain controllers "enabled pass-the-hash or pass-the-ticket attacks"; "Gunra actors used pass-the-hash methods to move laterally to privileged systems."

October 2026

Microsoft Defender for Identity

Microsoft announced that the "Suspected identity theft (pass-the-hash)" alert "will be retired at the end of November 2026", and says to continue monitoring the activity "on onboarded devices with Microsoft Defender for Endpoint".

30 October 2026

Google Threat Intelligence Group and Mandiant on ARTEX

An AI agent framework "Attempted Lateral Movement onto domain controllers using Pass-the-Ticket, WinRM, Kerberos relay, and Pass-the-Hash scripts, hitting local Windows service token privilege restrictions right before endpoint protection blocked execution and defenders severed access to the server."

Two rows deserve a closer look. The 2024 CISA case shows that controls aimed at hash reuse work: the red team was forced onto other techniques. The ARTEX row shows the layering that stopped an automated attempt: Windows token restrictions first, then endpoint protection, then people. Google's report does not say which restriction it hit.

What pass the hash looks like in Windows security logs

There is no single "pass the hash" event. The evidence is spread across three kinds of machine, and which of them see it depends on whether the stolen hash belongs to a local or a domain account.

Table of where a pass the hash logon leaves evidence on the source machine, the destination machine and the domain controller

Figure 1: Where a pass the hash logon leaves evidence, by machine. Sources: Microsoft, event 4624, event 4776, Protected Users, Defender for Identity and the SigmaHQ rule repository.

On the source machine

When the hash is used from a Windows machine by starting a new logon session that keeps the local identity but uses the stolen credentials for outbound connections, Windows records that as event 4624 with Logon Type 9, NewCredentials, which Microsoft defines as: "A caller cloned its current token and specified new credentials for outbound connections." The field that sharpens it is Logon Process. The Sigma project's community rule Successful Overpass the Hash Attempt matches 4624 with Logon Type 9, logon process seclogo and authentication package Negotiate, and rates it high. Its listed false positive is an administrator using the built-in run-as feature with network-only credentials, which produces the same event for a legitimate reason. Tooling that builds the NTLM exchange itself, or runs from a machine you do not collect logs from, leaves no Logon Type 9 event, so the destination and domain controller evidence below has to stand on its own.

On the destination machine

The logon lands as event 4624 with Logon Type 3 (Network), which "generates on the computer that was accessed". The Sigma rule Pass the Hash Activity 2, status stable, matches a network logon with logon process NtLmSsp, Key Length 0 and a null Subject SID (S-1-0-0), excluding anonymous logons. Microsoft's own monitoring advice for the same event points the same way: where NTLM should not be used, "monitor for all events where Authentication Package is NTLM", and for NTLM logons "monitor for Key Length not equal to 128, because all Windows operating systems starting with Windows 2000 support 128-bit Key Length."

When the stolen hash belongs to a local account, the destination is also where the account is checked. Microsoft says event 4776 "occurs only on the computer that is authoritative for the provided credentials", and "For local accounts, the local computer is authoritative." A domain controller never sees a local administrator hash being reused between two workstations. That is the single most important reason to collect logs from workstations and servers, not only from domain controllers.

On the domain controller

For a domain account, the domain controller validates the NTLM response and writes event 4776. Microsoft calls this the event's main advantage: "on domain controllers you can see all authentication attempts for domain accounts when NTLM authentication was used". Its Source Workstation field names the machine the attempt came from. Two optional logs add detail:

  • NTLM auditing. With the "Restrict NTLM" audit policies enabled, domain controllers write NTLM events to the NTLM Operational log. Microsoft's Defender for Identity setup guide asks for event 8004 because it "enriches Defender for Identity NTLM authentication activities with the server-accessed data", in other words which server the account was used against.

  • Protected Users failures. The ProtectedUserFailures-DomainController log records event 100 when "An NTLM sign-in failure occurs for an account in the Protected Users security group". If your administrators are in Protected Users, a hash-based NTLM attempt with one of their accounts fails and leaves this event. Microsoft notes these logs "are disabled by default", so turn them on.

Microsoft Defender for Identity and pass the hash detection

Defender for Identity reads domain controller traffic and events and raises named alerts for this family of techniques. The classic alerts list, updated in November 2026, gives the current state:

Alert

External ID

Severity

Status in Microsoft's list (updated 18 November 2026)

Suspected identity theft (pass-the-hash)

2017

High

"will be retired at the end of November 2026". Microsoft says to continue monitoring "on onboarded devices with Microsoft Defender for Endpoint".

Suspected overpass-the-hash attack (Kerberos)

2002

Medium

Listed. Covers Kerberos implemented "in non-standard ways".

Suspected over-pass-the-hash attack (forced encryption type)

2008

Medium

Listed, with a one-month learning period.

Suspected identity theft (pass-the-ticket)

2018

High or Medium

Listed. Fires when "a Kerberos ticket is seen used on two (or more) different computers".

The planned retirement of alert 2017 matters for anyone whose detection plan for pass the hash relies on Defender for Identity alone. Microsoft's stated replacement is monitoring on devices onboarded to Defender for Endpoint, so that coverage comes from the endpoint sensor on the machines involved and only exists where Defender for Endpoint is deployed and onboarded. Workstations or servers without it, and machines running other endpoint products, need their own rule. Check where your coverage now comes from before you assume it.

How to detect pass the hash: detection logic

ATT&CK's detection strategy for the technique, DET0409, summarizes the goal: detect "anomalous NTLM LogonType 3 authentications that occur without accompanying domain logon events", and correlate "LogonSession creation, NTLM authentications, and process/service initiation". In Stingrai's practice that becomes five rules, described here in prose rather than in any one query language. The rules are our guidance, not a vendor's.

Rule

Logic

Where

Expected noise

New-credentials logon

4624 with Logon Type 9 and logon process seclogo

Every workstation and server

Low. Administrators using run-as with network-only credentials. Keep an allow list of who does that.

Suspicious NTLM network logon

4624 with Logon Type 3, logon process NtLmSsp, Key Length 0, not ANONYMOUS LOGON

Every workstation and server

Medium. Baseline by account and source before alerting.

Local account used across the network

4624 Logon Type 3 or 4776 where the account is local and the source is another machine

Workstations and servers

Should be near zero once local administrators are denied network logon. Any hit after that is worth an incident.

NTLM for accounts that should use Kerberos

4776 or 4624 with package NTLM for administrators, service accounts and other accounts you have moved to Kerberos

Domain controllers and member servers

Low for privileged accounts; Microsoft says to "monitor for that account" when NTLM should not be used.

Remote logon followed by execution

An NTLM network logon followed within minutes by a new service, scheduled task or remote process on the same host

Workstations and servers

Medium. Software deployment and management tools do this legitimately.

Four practical notes:

  • Collect from workstations. The local account case never reaches a domain controller, and both Sigma rules above match events written on the source and destination machines.

  • Do not key on tool names. The behavior is in the logon events. Renamed or custom tooling produces the same 4624 fields.

  • Use your own controls as tripwires. Once local administrators are denied network logon and administrators are in Protected Users, an attempt to use those accounts over NTLM fails and logs it. A failure you designed for is a high-quality alert.

  • Watch the Kerberos side. An attacker who switches to overpass the hash produces Kerberos activity instead of NTLM. That is what Defender for Identity alerts 2002 and 2008 look for.

How to prevent pass the hash attacks

The fixes work on two levers: leave fewer reusable hashes on machines an attacker can reach, and make each hash work in fewer places. This table is ordered by how much exposure each control removes for the effort, and is Stingrai's guidance; it quotes Microsoft and MITRE for what each control does, not for the order.

Control

What it removes

From the vendor's own documentation

Windows LAPS on every workstation and server

One local administrator hash opening every machine

Microsoft lists "Protection against pass-the-hash and lateral-traversal attacks" as the first benefit. Built in since the April 11, 2023 updates; the legacy Microsoft LAPS product "is deprecated as of Windows 11 23H2 and later".

Deny network and Remote Desktop logon to local administrators

Remote use of any local administrator hash that remains

Microsoft's local accounts guidance: assign "Deny access to this computer from the network" and "Deny log on through Remote Desktop Services" to "Local account and member of Administrators group", which "can help prevent a malicious attacker from reusing a local account password hash".

Keep UAC remote restrictions for local accounts

Administrative rights for local accounts that sign in over the network

Microsoft: a local account using network logon is "issued a standard user token with no administrative rights", so it "can't access administrative shares such as C$, or ADMIN$, or perform any remote administration". The settings Microsoft lists: both Admin Approval Mode policies Enabled and LocalAccountTokenFilterPolicy at 0.

Administrative tiering and the enterprise access model

Privileged hashes left on lower-trust machines

Microsoft's model exists "to prevent control of higher planes from lower planes". In practice: domain administrators sign in only to domain controllers and dedicated administration hosts.

No domain group with local admin rights everywhere

Domain-account hashes that work on every workstation

MITRE M1018: "Do not allow a domain user to be in the local administrator group on multiple systems."

Credential Guard

Hashes and tickets read from memory

It protects "NTLM password hashes, Kerberos Ticket Granting Tickets (TGTs), and credentials stored by applications as domain credentials". On by default on eligible domain-joined, non-DC systems from Windows 11 22H2 and Windows Server 2025.

LSA protection

Easy reads of LSASS memory

Microsoft's local accounts guidance: "configure LSASS to be a protected processes light (PPL) process" on all computer roles.

Protected Users for human administrators

NTLM, cached NT hashes and RC4 for those accounts

On the device, "NTLM stops caching the user's plaintext credentials or NT one-way function (NTOWF)". At the domain controller, members cannot "Authenticate with NTLM authentication" or use RC4 in Kerberos pre-authentication. Because the RC4 key is the NT hash (RFC 8429), that rule should also stop overpass the hash with an NT hash for those accounts; Microsoft does not state this itself.

Audit, then restrict NTLM

Places a hash can be used at all

The audit policy "functions in the same way as" the blocking policy, "but it doesn't actually block any traffic", so you can see what would break before you deny it (Microsoft).

Reset passwords after a compromise

Hashes already stolen

A hash stays valid until its password changes. After an incident, reset the affected accounts, and for a domain compromise follow a full credential reset plan.

What each control does not cover

  • Windows LAPS covers one local account per machine. It does nothing for domain accounts, for other local accounts you created, or for hashes already taken.

  • Credential Guard protects memory, not databases. Microsoft is explicit: it "doesn't provide protections for the Active Directory database or the Security Accounts Manager (SAM)". It is also not for domain controllers: "Enabling Credential Guard on domain controllers isn't recommended." An attacker with administrator rights can still read local account hashes from the SAM, which is why LAPS and the deny rules still matter.

  • Protected Users is for people, not services. Microsoft: "Never add accounts for services and computers to the Protected Users group." Members also lose NTLM entirely, so test before adding privileged accounts; Microsoft warns that adding all members of highly privileged groups at once can lock those accounts out.

  • Restricting NTLM takes time. Local accounts still rely on NTLM until Local KDC ships, and Microsoft's own hardening guide suggests you "break up the effort into small projects rather than taking a big bang approach".

  • Tiering only works if it is enforced. A policy that says administrators sign in only to Tier 0 systems is worth what the sign-in restrictions behind it enforce. CISA's 2024 finding of shared jump hosts is the usual gap.

Where pass the hash meets Microsoft's NTLM retirement

Microsoft's plan will eventually remove the conditions this technique relies on, but not soon enough to wait for. The January 2026 roadmap has three phases: enhanced NTLM auditing, available now on Windows Server 2025 and Windows 11 24H2 and later; fixes for the main reasons NTLM is still used, such as Local KDC and IAKerb, which the roadmap scheduled for the second half of 2026 and labelled pre-release; and network NTLM disabled by default in the next major Windows Server release. Microsoft is clear that disabling NTLM by default "does not mean completely removing NTLM from Windows yet", and that it can be turned back on through policy.

The practical reading for 2026 and 2027 is that every estate will run NTLM for some time, and the estates that finish the work early will be the ones that measured their NTLM use first. The audit policies and events above are the same data you need for both jobs: detecting pass the hash today and retiring NTLM later. The NTLM relay guide covers the signing changes Microsoft is making at the same time.

How a penetration test or purple team exercise validates the controls

Most of the fixes above are settings that are easy to believe are in place and hard to confirm on every machine. A test answers the question directly, from the position an attacker would hold. The method below is what to expect from a competent provider; it leaves out the commands on purpose.

In an internal penetration test

An internal penetration test treats pass the hash as a question about reuse: from one compromised machine, how many others does a harvested hash open, and what do they lead to?

  • Start from one workstation with local administrator rights, the position a phished user plus one privilege escalation gives away. Agree it in the rules of engagement as an assumed-breach starting point if you do not want the test to spend days getting there.

  • Check local administrator reuse. The tester checks whether the local administrator hash from that machine works on others. With Windows LAPS deployed everywhere and the deny rules in place, it should work nowhere. In practice the exceptions are machines outside the LAPS policy, older server builds and appliances.

  • Check where privileged hashes are exposed. Which administrator accounts have signed in to ordinary workstations and shared servers, and could their hashes be read there? This is the test of tiering, and it usually produces the most serious findings.

  • Check each control on a sample of machines. Credential Guard running, LSA protection on, UAC remote restrictions as Microsoft lists them, Protected Users membership for human administrators.

  • Prove the shortest path and stop. A reused hash with no rights is a hygiene finding. A reused hash that reaches a server where a domain administrator is signed in is a path to the domain. The tester proves it within agreed limits.

The output should be a table your team can act on: each machine or account where a hash was reused, how it was obtained, where it worked, what it reached and the fix. Stingrai's Active Directory security checklist lists the first checks penetration testers run alongside these, and the StingAD walkthrough shows a full chain from one ordinary account to Domain Admin in a lab domain.

In a purple team exercise

A purple team exercise runs the same technique with your security operations team watching, one step at a time, to answer a different question: when it happens, do you see it, and how fast do you act?

Step the testers run

What the defenders check

Reuse a local administrator hash from one workstation to another

Did 4624 Logon Type 3 with a local account arrive in the SIEM from both machines? Did the local-account-across-the-network rule fire?

Start a new-credentials session with a stolen domain account hash

Did 4624 Logon Type 9 with logon process seclogo reach the SIEM from the source machine? Did the endpoint product raise an alert?

Use the hash against a server

Did 4776 on the domain controller and the NTLM Operational events show the account and the server?

Try a Protected Users account over NTLM

Did ProtectedUserFailures event 100 appear and alert?

Switch to Kerberos with the same hash

Did Defender for Identity alert 2002 or 2008, or your own Kerberos rule, fire?

Run a remote service on the destination

Did the logon-then-execution sequence rule fire, and how long did isolation take?

Each step ends with a result, detected, logged but not alerted, or not logged, and a fix for the gaps before the next step. The step list is Stingrai's guidance; no standard prescribes it. Stingrai's guide to purple teaming covers how an exercise is scoped and what to demand from it, and a red team engagement tests the same detections without warning.

Questions to ask a provider

  • Will the report list every machine where a reused hash worked, or only the path that was used?

  • Will the test check Windows LAPS coverage, the deny network logon rules and UAC remote restrictions on a sample of machines?

  • Will it identify where privileged accounts sign in outside Tier 0?

  • Is detection in scope, and will the security operations team be told beforehand?

  • How are recovered hashes handled, stored and destroyed?

  • Is a retest of the fixed machines and accounts included?

Where Stingrai fits

Stingrai is a CREST-accredited penetration testing company, founded in Toronto, Canada in 2021, that holds the CREST accreditations Penetration Testing and AI-Enabled Penetration Testing. Its certified penetration testers are also security researchers and bug bounty hunters, and it works with companies from startups to enterprises.

Active Directory and internal network work is human-led. In Active Directory penetration testing, Stingrai's penetration testers start from the position of an ordinary domain user and attempt to reach control of the directory, covering Kerberos attacks, ACL and delegation abuse, coerced authentication, Active Directory Certificate Services, Group Policy, domain and forest trusts, credential exposure and the Tier 0 boundary, with data collected through PingCastle and BloodHound and validated manually. Internal network tests add the workstation and server estate, where hash reuse lives.

  • Who does the work: two named penetration testers from a team holding OSCE³, OSEP, CRTE, CRTO and CREST CRT certifications, with 18 published CVEs across the team.

  • How findings arrive: each confirmed finding is posted to the PTaaS platform as it is confirmed, with remediation guidance, so a shared local administrator password does not wait for the final report.

  • What happens after: a reassessment confirms the fixed machines and closed paths. Every engagement comes with an attestation letter, and the report gives your auditors penetration testing evidence for SOC 2, ISO 27001 and PCI DSS programs.

Engagements run as one-time annual tests or as continuous programs. Active Directory, internal network, purple team and red team work is scoped per engagement through Get a Quote.

Pass the hash defender checklist

This checklist is Stingrai's guidance, built from the Microsoft and MITRE sources above.

  • Deploy Windows LAPS to every workstation and server, and confirm coverage of the machines outside your standard image.

  • Assign "Deny access to this computer from the network" and "Deny log on through Remote Desktop Services" to "Local account and member of Administrators group" on workstations and servers.

  • Keep UAC remote restrictions for local accounts as Microsoft lists them, including LocalAccountTokenFilterPolicy at 0.

  • Remove domain groups that hold local administrator rights on many machines.

  • Keep domain administrators off workstations and shared jump hosts; give them dedicated administration hosts.

  • Confirm Credential Guard is running on eligible devices and LSA protection is on.

  • Add human privileged accounts to Protected Users after testing, and enable the Protected Users event logs.

  • Turn on NTLM auditing, measure where NTLM is still used, and restrict it where nothing depends on it.

  • Collect 4624 and 4776 from workstations and servers as well as domain controllers, and add the five detection rules above.

  • Check where your pass the hash coverage will come from once Defender for Identity alert 2017 is retired, as Microsoft announced for the end of November 2026.

  • After any incident, reset the passwords of every account whose hash could have been read.

  • Have the result checked in your next internal penetration test or purple team exercise, detection included.

Frequently Asked Questions

What is a pass the hash attack?

A pass the hash attack is one in which an attacker uses an account's stolen NTLM password hash to sign in to other Windows machines without knowing the password. It works because NTLM proves identity with a calculation made from the hash, not from the password itself. MITRE ATT&CK tracks it as technique T1550.002, a form of lateral movement, and it usually follows the theft of hashes from a machine where the attacker already has administrator rights.

How does a pass the hash attack work?

The attacker first gains administrator or SYSTEM rights on one machine and reads NTLM hashes from memory, from the local SAM database or, on a domain controller, from the NTDS database. They then present a stolen hash to another machine over NTLM, which accepts it as proof of the account's identity. On each new machine they can harvest more hashes, until they reach an account with the access they want.

How do you detect pass the hash?

Collect event 4624 from workstations and servers as well as domain controllers. On the machine where the hash is used, look for Logon Type 9 with logon process seclogo. On the machine it lands on, look for NTLM network logons with logon process NtLmSsp and Key Length 0, and for local accounts logging on from another machine. On domain controllers, look for event 4776 for accounts that should only use Kerberos. Microsoft announced that Defender for Identity's pass-the-hash alert would be retired at the end of November 2026, and points that monitoring to Defender for Endpoint.

Which event ID shows pass the hash?

Event 4624, "An account was successfully logged on", is the main one. Logon Type 9 (NewCredentials) with logon process seclogo appears on the source machine, and Logon Type 3 (Network) with logon process NtLmSsp appears on the destination. Event 4776 records the NTLM credential check on the machine that holds the account: the domain controller for domain accounts and the destination machine itself for local accounts.

How do you prevent pass the hash attacks?

Give every machine a unique local administrator password with Windows LAPS, deny network and Remote Desktop logon to local administrator accounts, and keep UAC remote restrictions for local accounts. Keep privileged accounts off ordinary workstations through administrative tiering. Enable Credential Guard and LSA protection, put human administrators in Protected Users after testing, and audit and then restrict NTLM.

What is the difference between pass the hash and pass the ticket?

Pass the hash reuses an account's NTLM password hash to sign in over NTLM, and works until the password changes. Pass the ticket reuses a stolen Kerberos ticket, and works until the ticket expires. Overpass the hash sits between them: it uses the NTLM hash to request a new Kerberos ticket. Credential Guard and administrative tiering reduce all three.

Is pass the hash the same as NTLM relay?

No. Pass the hash reuses a stored password hash that was stolen from a machine, and works at any time until the password changes. NTLM relay uses no stored hash: it forwards a victim's live NTLM exchange to another server while the victim is authenticating. Relay is stopped by SMB signing, LDAP signing and channel binding, while pass the hash is stopped by unique passwords, logon restrictions and credential protection.

Does Credential Guard stop pass the hash?

It removes one major source of hashes. Credential Guard protects NTLM password hashes and Kerberos tickets in memory, and Microsoft says it shields systems from pass the hash and pass the ticket. It does not protect the local SAM database or the Active Directory database, and it is not recommended on domain controllers, so Windows LAPS, denying network logon to local administrators and administrative tiering are still needed.

Does a penetration test check for pass the hash?

An internal penetration test checks whether a hash taken from one compromised machine works on others, where privileged accounts leave their hashes, and whether Windows LAPS, the deny network logon rules and Credential Guard are in place. A purple team exercise runs the technique with the security operations team watching, to confirm which events reach the SIEM and which alerts fire.

Talk to Stingrai

Want to know how far one stolen hash would get in your network, and whether your SOC would see it? Stingrai scopes internal network penetration tests, Active Directory assessments and purple team exercises with a reassessment, as a one-time annual engagement or a continuous program. Get a quote or book a free discovery call.

0 views

0

X

Related reading

DCSync Attack Explained: How It Works, Detection and Fixes (2026)
Network Security

DCSync Attack Explained: How It Works, Detection and Fixes (2026)

DCSync attack explained: the replication rights it abuses, why a request from a non-DC is the tell, the events and alerts that catch it and how to fix it.

20 min read

Golden Ticket Attack Explained: Silver Tickets, Detection and Fixes (2026)
Network Security

Golden Ticket Attack Explained: Silver Tickets, Detection and Fixes (2026)

Golden ticket attack explained: forged Kerberos tickets, silver tickets, the Windows events and Defender for Identity alerts that catch them, and fixes.

25 min read

Network Vulnerability Assessment (2026): Process, Audit vs Pentest, When to Buy Each
Network Security

Network Vulnerability Assessment (2026): Process, Audit vs Pentest, When to Buy Each

Network vulnerability assessment explained: internal and external scanning, how it differs from a network security audit and a pentest, when to buy each.

15 min read

Contents

X