OS Credential Dumping: Security Account Manager
- ID
- T1003.002
- Tactics
- TA0006 Credential Access
- Sub-technique of
- T1003 OS Credential Dumping
- Platforms
- Windows
- Data sources
- Process Creation, Windows Registry Key Modification, File Creation, File Modification
- Source
- attack.mitre.org
- MITRE last modified
- 12 May 2026
Adversaries may attempt to extract credential material from the Security Account Manager (SAM) database either through in-memory techniques or through the Windows Registry where the SAM database is stored. The SAM is a database file that contains local accounts for the host, typically those found with the net user command. Enumerating the SAM database requires SYSTEM level access.
A number of tools can be used to retrieve the SAM file through in-memory techniques:
Alternatively, the SAM can be extracted from the Registry with Reg:
reg save HKLM\sam samreg save HKLM\system system
Creddump7 can then be used to process the SAM database locally to retrieve hashes.[2]
Notes:
- RID 500 account is the local, built-in administrator.
- RID 501 is the guest account.
- User accounts start with a RID of 1,000+.
Detection
- DET0085 Credential Dumping from SAM via Registry Dump and Local File Access
Data components: Process Creation, Windows Registry Key Modification, File Creation, File Modification
Mitigations (4)
- M1017 User Training
Limit credential overlap across accounts and systems by training users and administrators not to use the same password for multiple accounts.
- M1026 Privileged Account Management
Do not put user or admin domain accounts in the local administrator groups across systems unless they are tightly controlled, as this is often equivalent to having a local administrator account with the same password on all systems. Follow best practices for design and administration of an enterprise network to limit privileged account use across administrative tiers.
- M1027 Password Policies
Ensure that local administrator accounts have complex, unique passwords across all systems on the network.
- M1028 Operating System Configuration
Consider disabling or restricting NTLM.[1]
Groups (14)
- G0004 Ke3chang
- G0016 APT29
- G0027 Threat Group-3390
- G0035 Dragonfly
- G0045 menuPass
- G0093 GALLIUM
- G0096 APT41
- G0102 Wizard Spider
- G1003 Ember Bear
- G1016 FIN13
- G1023 APT5
- G1030 Agrius
- G1034 Daggerfly
- G1054 MirrorFace
Software (15)
- S0002 Mimikatz
- S0006 pwdump
- S0008 gsecdump
- S0046 CozyCar
- S0050 CosmicDuke
- S0080 Mivast
- S0120 Fgdump
- S0125 Remsec
- S0154 Cobalt Strike
- S0250 Koadic
- S0357 Impacket
- S0371 POWERTON
- S0376 HOPLIGHT
- S0488 CrackMapExec
- S1022 IceApple
References
- Microsoft Disable NTLM Nov 2012
- GitHub Creddump7
