Subscribe to the Non-Human & AI Identity Journal

Pass-the-hash attack

A pass-the-hash attack uses a captured password hash or similar authentication artefact to gain access without recovering the original password. It is dangerous because the attacker can reuse the artefact for lateral movement, turning one compromised identity into access across multiple systems.

Expanded Definition

A pass-the-hash attack is a credential reuse technique in which an attacker authenticates with a captured password hash or equivalent authentication artefact instead of cracking it into cleartext. In NHI environments, the concern extends beyond human logons because service accounts, machine accounts, and automation workflows can expose reusable secrets that behave like hashes in practice.

Definitions vary across vendors when the term is applied to token-based or cloud-native environments, but the core idea stays consistent: possession of an artefact becomes enough to impersonate the identity. That makes the attack especially relevant in Windows-based lateral movement, where an attacker can pivot from one compromised endpoint to another without ever learning the original password. For adjacent identity risks, compare the patterns discussed in the Ultimate Guide to NHIs — Key Challenges and Risks and the attack-chain framing in CISA cyber threat advisories.

The most common misapplication is treating hash reuse as a purely endpoint issue, which occurs when teams overlook how stolen artefacts can authenticate across services, sessions, and machine-to-machine trust paths.

Examples and Use Cases

Implementing protections against pass-the-hash rigorously often introduces operational friction, requiring organisations to weigh stronger authentication boundaries against the cost of tighter privilege design and more frequent credential resets.

  • An attacker extracts a Windows NTLM hash from a compromised workstation and uses it to authenticate to a file server, then pivots deeper through shared admin rights.
  • A compromised service account token or hashed credential is reused against a management plane because the same identity has broad trust across multiple hosts.
  • A breach investigation finds long-lived secrets embedded in scripts and config files, echoing the exposure patterns described in the Ultimate Guide to NHIs.
  • Security teams simulate lateral movement using techniques catalogued in the MITRE ATLAS adversarial AI threat matrix to validate whether compromised identities can be reused operationally.
  • Post-incident hardening replaces reusable credentials with short-lived alternatives after review of the 52 NHI Breaches Analysis.

These examples show the same pattern in different forms: if an identity artefact can be replayed, the attacker can move from theft to access without needing password recovery.

Why It Matters in NHI Security

Pass-the-hash matters because it turns one stolen credential artefact into a scalable access path. In NHI environments, that is especially damaging when service accounts, CI/CD identities, or administrative automation are overprivileged and poorly rotated. NHI Management Group reports that 79% of organisations have experienced secrets leaks, with 77% of these incidents resulting in tangible damage, which is exactly the kind of condition attackers exploit when they can replay an artefact instead of cracking it.

What makes this risk operationally hard is that the first failure is often not authentication itself but weak segmentation, excessive privilege, and poor offboarding of machine identities. The Top 10 NHI Issues and the OWASP NHI Top 10 both reinforce the governance point: if identities are not tightly scoped, monitored, and rotated, a single compromise can become enterprise-wide movement. Practitioners should treat pass-the-hash as a sign that secret handling, not just endpoint defense, has failed.

Organisations typically encounter the true impact only after lateral movement is discovered in incident response, at which point pass-the-hash becomes operationally unavoidable to address.

Standards & Framework Alignment

This section maps relevant standards and security frameworks to the operational risks and controls described in this guidance.

OWASP Non-Human Identity Top 10 address the attack and risk surface, while NIST CSF 2.0 and NIST Zero Trust (SP 800-207) set the governance and control requirements practitioners need to meet.

Framework Control / Reference Relevance
OWASP Non-Human Identity Top 10 NHI-02 Covers improper secret handling that enables credential replay and lateral movement.
NIST CSF 2.0 PR.AC-4 Least privilege and access management reduce reuse of compromised identity artefacts.
NIST Zero Trust (SP 800-207) SC_L4 Zero Trust assumes compromised credentials are possible and verifies each access attempt.

Eliminate reusable secrets, rotate credentials, and monitor for replayable authentication artefacts.