HTB: "Legacy" Tutorial
Tools and Resources:
nmap
metaploit
Step 1.
Scan for open ports.
We can see that Ports 139 and 445 are open.
We also find out that the user is using Microsoft Windows XP with Service Pack 3 (sp3)
With research, we find that Windows XP has netapi vulnerabilities: https://null-byte.wonderhowto.com/forum/exploit-windows-xp-with-netapi-vulnerability-0154447/
Step 2.
Search Metasploit for a vulnerability to run.
#3 . . . Rank: great
Let's try that one first. Set the rhost and run it!
So far so good.
Let's orient ourselves.
Ok, we're in!
Step 3.
Hey machine, who am I?
“Any man who must say, I am the king, is no true king.” - Tywin Lannister