SAMDUMP2(1)

πŸ“¦
version 3.0.0 Β· 2 versions
  • 3.0.0 Β· debian bookworm, debian trixie, nixos 26.05, nixpkgs unstable, ubuntu jammy, ubuntu noble, ubuntu questing, ubuntu resolute, ubuntu stonking (latest)
  • 3.0.0 Β· epel 10, fedora 43, fedora 44
, in debian bookworm, debian trixie, nixos 26.05, nixpkgs unstable, ubuntu jammy, ubuntu noble, ubuntu questing, ubuntu resolute, ubuntu stonking

πŸ’– 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. 🫢
  • -o file β€” 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