SAMDUMP2(1)
π SAMDUMP2(1) π
okay bestie, welcome to samdump2(1) β it lives in the General Commands Manual section and it is literally the moment your Windows password hashes get exposed. no cap.
β¨ NAME β¨
samdump2 β retrieves syskey and extract hashes from Windows 2k/NT/XP/Vista SAM.
likeβ¦ it grabs the syskey and pulls the hashes out of a Windows SAM file. that's the whole vibe. π¦
πΈ SYNOPSIS πΈ
samdump2 [OPTIONS] SYSTEM_FILE SAM_FILE
two files, bestie. the SYSTEM one and the SAM one. both. you can't skip either. π
π DESCRIPTION π
so samdump2 is designed to dump Windows 2k/NT/XP password hashes from a SAM file, using the syskey bootkey from the system hive. that's it, that's the whole plot. it's giving forensic icon behavior. π
the options are, and I cannot stress this enough, extremely cute and simple:
-dβ enable debugging. so when things get weird you get to see the weird. π-hβ display this help. the "hello?? help me" button. π«Ά-ofileβ write output to file. so your results go into a file instead of just vibing in your terminal. β¨
π₯ EXAMPLE π₯
here's the whole thing in action, no notes:
samdump2 -o out /mnt/ntfs/WINDOWS/system32/config/system
/mnt/ntfs/WINDOWS/system32/config/sam
see how -o out sends everything into a file called out, and then the two paths are the SYSTEM hive and the SAM hive? iconic. ate. periodt. π
π AUTHOR π
this manual page was written by Adam Cecile <gandalf@le-vert.net> for the Debian system (but may be used by others) and modified by Objectif Securite <info@objectif-securite.ch>.
Permission is granted to copy, distribute and/or modify this document under the terms of the GNU General Public License, Version 2 or any later version published by the Free Software Foundation. On Debian systems, the complete text of the GNU General Public License can be found in /usr/share/common-licenses/GPL-2.
so yeah β GPL-2 or later, copy it, share it, remix it, the license said yes. π
π SEE ALSO π
ophcrack(1)β go look at it, bestie, iykyk πΈ
and that's the whole page!! Version 3.0.0, April 2012, signing off β mwah, go dump responsibly ππ β¨
π¦ where this page comes from
- debian bookworm: samdump2 3.0.0-7+b1 Β· GPL-2.0-only WITH OpenSSL exception
- debian trixie: samdump2 3.0.0-8 Β· GPL-2.0-only WITH OpenSSL exception
- nixos 26.05: samdump2 3.0.0
- nixpkgs unstable: samdump2 3.0.0
- ubuntu jammy: samdump2 3.0.0-7build1 Β· GPL-2.0-only WITH OpenSSL exception
- ubuntu noble: samdump2 3.0.0-7build3 Β· GPL-2.0-only WITH OpenSSL exception
- ubuntu questing: samdump2 3.0.0-8
- ubuntu resolute: samdump2 3.0.0-8build1 Β· GPL-2.0-only WITH OpenSSL exception
- ubuntu stonking: samdump2 3.0.0-8build2 Β· GPL-2.0-only WITH OpenSSL exception
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash on : a language model's rewrite of the original, under its terms