Join our Newsletter — 33% off our NHI Course
Home› Glossary› Cyber Security› SAM Credential Dumping
Cyber Security

SAM Credential Dumping

← Back to Glossary
By NHI Mgmt Group Updated October 30, 2026 Domain: Cyber Security

SAM credential dumping is the extraction of account data or password hashes from the Windows Security Accounts Manager database. It is dangerous because the harvested material can support privilege escalation, lateral movement, and reuse of local credentials beyond the original host.

What SAM credential dumping is

SAM credential dumping is a Windows credential theft technique that targets the Security Accounts Manager database to extract account material such as password hashes. It matters because those hashes can be reused for access, combined with other stolen credentials, or used to move from one system to another after an initial foothold.

On its own, the term describes both the target and the action: the SAM database stores local account information, and dumping it turns stored trust material into something an attacker can test offline or replay in later stages of an intrusion. That makes it a classic example of why local account data must be treated as sensitive security material, not just internal operating system metadata.

Why SAM dumping is dangerous

The main danger is that the extracted hashes can enable privilege escalation and lateral movement without requiring the attacker to keep interacting with the original host. If local administrator material is recovered, the compromise can widen quickly, especially where the same password is reused across multiple systems or where local administrative access is common.

It is also dangerous because the technique often sits inside a broader credential access chain. An adversary may use one host as a stepping stone, harvest reusable material, and then pivot toward other endpoints, management tools, or remote administration paths. That is why SAM dumping is not just a host compromise issue, it is also an access-control and containment issue.

For a broader view of how this technique fits into adversary behaviour, the ATT&CK Credential Access Tactic Guide is a useful companion because it groups credential theft methods by what attackers are trying to obtain and how defenders detect them.

How organisations check exposure

Exposure assessment starts with knowing where Windows systems exist, which of them hold locally privileged accounts, and whether any high-value endpoints are reachable from places an attacker could get to. The question is not only whether a host is patched or hardened, but whether it contains reusable account material that would make compromise more damaging.

Teams should also look for where local administrator passwords, cached credentials, admin tools, and remote management paths overlap. A system that looks isolated on paper may still become valuable once an attacker has a hash that works elsewhere, especially if local accounts are shared or poorly governed.

Because SAM dumping is part of a larger credential-harvesting pattern, the Credential Dumping Guide is the most direct internal reference for understanding where SAM fits alongside LSASS, NTDS.dit, LSA secrets, and related dump techniques.

Remediation, detection, and credential impact

Remediation is not only about removing malware or closing the access path used for dumping. It also includes assuming that any recovered local account material may now be exposed, then reviewing which accounts, systems, and privileges could be affected by reuse. If the dumped hashes came from administrative accounts, the identity impact can extend beyond a single machine.

Detection should focus on signs of host-based dumping activity, unusual access to the SAM hive or related system areas, and subsequent authentication attempts that suggest reused local credentials. After containment, teams should review whether the compromised host exposed other secrets, whether the same password existed elsewhere, and whether attack activity progressed into remote access or lateral movement.

When local or application secrets are part of the same incident picture, the Secrets Management Guide helps frame why rotation, centralisation, and reduced secret exposure matter after credential theft.

Operational context for defenders

Practitioners should treat SAM dumping as a signal that local credential hygiene is too permissive for the environment’s threat level. Shared local passwords, stale administrator accounts, and weak segmentation all increase the value of a SAM dump and make post-compromise spread easier.

It is also useful to remember that the damage often comes from what happens next, not from the dump alone. Once an attacker has reusable hashes, the real problem becomes where those credentials can work, how far they can travel, and whether monitoring is strong enough to catch the pivot before it spreads.

The OWASP Non-Human Identity Top 10 is relevant here because it reinforces the broader principle that any long-lived credential material, whether human or machine-used, must be governed as a security asset with explicit lifecycle and exposure controls.

Risk and Threat Considerations

SAM credential dumping is risky because it converts local account data into portable access material. Once hashes are extracted, an attacker may be able to crack, replay, or reuse them to expand access, especially in environments where local credentials are shared or where administrator rights are overextended.

Failure mechanism: The attacker gains readable access to the SAM database or a copy of it, then uses the recovered hashes to authenticate elsewhere, escalate privileges, or support lateral movement.

Impact: A single host compromise can become multi-host compromise, with added risk to admin accounts, remote management channels, and any downstream systems that trust the same credentials.

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.

FrameworkControl / ReferenceRelevance
MITRE ATT&CKTA0006 — Credential AccessSAM dumping is a credential theft technique within credential access.
Recommendation — Map SAM dump activity to TA0006 and hunt for hash theft and reuse paths.
NIST SP 800-53 Rev 5IA-5 — Authenticator ManagementRecovered hashes and reused local credentials make credential lifecycle controls central.
AC-6 — Least PrivilegeThe attack becomes more damaging when local accounts have excessive privileges.
Recommendation — Rotate and revoke exposed authenticators and limit credential reuse across hosts. Reduce local administrative privilege to limit the blast radius of dumped credentials.
CIS Controls v85 — Account ManagementLocal account governance and reuse are core to limiting credential replay after SAM dumping.
Recommendation — Inventory and govern local accounts so dumped hashes cannot be broadly reused.

Practitioner Guidance

Why practitioners should care: Treat SAM dumping as a credential governance problem as much as an endpoint problem. If local admin material can be harvested and reused, then account design, password reuse, and endpoint segmentation are part of the defense surface, not just the response playbook.

Practitioner takeaway: The safest posture is the one that makes dumped local material least useful, least reusable, and fastest to invalidate after detection.

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.

NHIMG Editorial Note
Reviewed and updated by the NHIMG editorial team on October 30, 2026.
NHI Mgmt Group — the #1 independent authority on Non-Human Identity, IAM, and Agentic AI security. nhimg.org