Pcornel
Security · Active Directory Security

Pass-the-Hash

Cheat sheet · https://pcornel.dk/topic.php?topic=4523

Back to the Topic

Answer

Pass-the-hash uses a stolen NTLM password hash to authenticate without knowing the password. Mitigate with LAPS, Credential Guard, tiered admin, Protected Users and restricting local admin logons over the network.

Remember

  • The attacker reuses an NTLM hash without the password.
  • Shared local admin passwords make it easy.
  • Credential Guard and LAPS reduce it.

First checks

  • Get-WinEvent -FilterHashtable @{LogName='Security';Id=4624} | ? {$_.Properties[8].Value -eq 9} — logon type 9 (NewCredentials)
  • Get-LapsADPassword (coverage) — unique local admin passwords
  • Credential Guard status — protection

Verify in this order

stolen hash → NTLM auth → lateral movement

Where it usually breaks

First mismatch in identity lifecycle → authenticator/credential → IdP/federation/session → authorization policy → target resource → audit trail; preserve identity/policy/pre-state before mutation.

Read-only verification commands unless stated otherwise. Confirm syntax for your platform and release. Full reference: https://pcornel.dk/topic.php?topic=4523

Confirmation

Confirm action

Continue?