SAM dumping is the extraction of password hash material from the Windows Security Account Manager database. Attackers typically need local administrative or SYSTEM-level access to read the registry hives and then use the hashes for offline cracking or pass-the-hash attacks.
What SAM Dumping Actually Does
SAM dumping is a credential theft technique, not a vulnerability in the abstract. It targets the Windows Security Account Manager, where local password hash material can be stored in a form attackers can extract once they have sufficient local privilege. The security issue is that the hashes themselves become reusable authentication material outside the host.
That makes the technique valuable even when cleartext passwords are never exposed. The attacker is not trying to “break” Windows authentication at the login screen; they are trying to obtain the stored hash material that represents local accounts and then reuse or crack it later.
Why SAM Hash Extraction Is Dangerous
Once an attacker can read the relevant registry hives, SAM dumping can convert one local compromise into a much broader one. Hashes may enable offline cracking, pass-the-hash style reuse, or follow-on movement if the same password is reused elsewhere. The danger is amplified when local administrator credentials are shared across many endpoints or when privileged accounts are present on the same machine.
The extracted material is also durable. Unlike a live session, a dumped hash can be copied, traded, cracked repeatedly, and used long after the original intrusion point has been remediated. That makes SAM dumping a classic “credential harvesting” step in post-exploitation chains.
How Organisations Check and Limit Exposure
Exposure review starts with basic asset and privilege visibility: which Windows systems are in scope, which users are local administrators, and whether endpoint hardening limits who can read protected registry data. A useful control baseline is NIST SP 800-53 Rev 5 Security and Privacy Controls, especially where access control, identification and authentication, audit, and configuration management intersect.
Practitioners should also verify whether systems are hardened against local privilege abuse and whether detective controls can see suspicious access to SAM-related artefacts. Security teams often map the activity to MITRE ATT&CK Enterprise Matrix because the technique sits in the credential access phase and often appears alongside privilege escalation or lateral movement.
Where organisations use broader hardening baselines, CIS Benchmarks are a practical reference point for reducing the attack surface that makes local hash extraction easier.
Remediation, Detection, and Identity Cleanup
If SAM dumping is suspected or confirmed, the immediate priority is to assume the exposed hashes are compromised. That can mean resetting affected local passwords, replacing shared local administrator credentials, reviewing whether the same secret material is reused on other systems, and checking for additional compromise paths that may have followed the dump.
Detection should look beyond the initial theft. Security teams should review process creation, registry access, suspicious use of administrative tools, and any later authentication that suggests the hashes were reused. A strong detection posture also includes looking for signs that the attacker moved from local access to broader credential abuse.
Because the technique targets stored authentication material, post-incident review should treat the hash as identity-bearing evidence, not just a file-system artefact. If the dump enabled downstream access, the compromise review must extend to sessions, related administrative credentials, and any systems reached with the stolen material.
Risk and Threat Considerations
SAM dumping is dangerous because it turns local administrative access into reusable authentication material, which is exactly what many attackers want before they pivot to persistence or lateral movement. The risk is highest where local admin rights are overused, password reuse is common, or endpoint monitoring is too weak to see registry-hive access and subsequent hash abuse.
Failure mechanism: Once the attacker obtains local SYSTEM or equivalent access, they can read the SAM data, extract password hashes, and then reuse or crack them offline without interacting with the original host again.
Impact: The result can be account reuse across systems, privilege escalation, broader host compromise, and a longer-lived incident because the stolen hashes remain useful until the underlying credentials are changed.
Standards & Framework Alignment
This section maps relevant standards and security frameworks to the operational risks and controls described in this guidance.
MITRE ATT&CK addresses the attack and risk surface, while NIST SP 800-53 Rev 5 and CIS Controls v8 set the governance and control requirements practitioners need to meet.
| Framework | Control / Reference | Relevance |
|---|---|---|
| NIST SP 800-53 Rev 5 | AC-6 — Least Privilege | SAM dumping becomes possible through excessive local privilege and read access to protected hive data. |
| IA-5 — Authenticator Management | Dumped hashes are reusable authenticators and require lifecycle handling after exposure. | |
| AU-6 — Audit Record Review, Analysis, and Reporting | Detection depends on reviewing suspicious access and post-compromise activity around credential theft. | |
| Recommendation — Restrict local administrative rights to reduce opportunities to extract stored hash material. Reset affected credentials and rotate any reused password material after suspected hash theft. Correlate endpoint audit data to identify registry access and follow-on authentication abuse. | ||
| CIS Controls v8 | 5 — Account Management | Shared or excessive local admin use increases the blast radius of harvested hashes. |
| 8 — Audit Log Management | Monitoring is needed to spot the access patterns that precede and follow SAM dumping. | |
| Recommendation — Remove unnecessary local admin accounts and eliminate shared passwords where possible. Collect and review logs that reveal privileged access, registry access, and post-exploitation use. | ||
| MITRE ATT&CK | T1003.002 — Security Account Manager | This technique is the ATT&CK sub-technique for extracting hashes from the Windows SAM database. |
| Recommendation — Map detections and hunt content to Security Account Manager hash extraction activity. | ||
Practitioner Guidance
Why practitioners should care: SAM dumping is usually a post-compromise step, which means the real control question is how quickly you can limit the blast radius after one endpoint is touched. The practical focus is reducing local admin exposure, preventing easy hash reuse, and making sure compromise signals are visible early enough to matter.
What to watch for: Treat unusual administrative access, suspicious registry-hive reads, and repeated authentication anomalies as indicators that credential material may have been harvested. If one workstation or server shows evidence of SAM access, assume the surrounding credential environment may also need review.
Practitioner takeaway: The safest response is to treat dumped hashes as compromised secrets, not as a localised endpoint problem, because the security consequence is usually identity reuse elsewhere.
Related resources from NHI Mgmt Group
Deepen Your Knowledge
Free weekly newsletter
Subscribe to the NHI & AI Identity Journal
The latest on NHI and Agentic AI security – articles, research, breaches, news and events every week.
Bonus 33% off our NHI Course when you subscribe.
Reviewed and updated by the NHIMG editorial team on November 9, 2026.
NHI Mgmt Group — the #1 independent authority on Non-Human Identity, IAM, and Agentic AI security. nhimg.org