hackthebox legacy walkthrough

Spread the love

Starting with nmap

smb port 445 is open and the machine is XP….legacy

Searching on the internet, xp is affected by ms08-067, CVE-2008-4250

Further python exploit is available for this. We can download it from here.

First of all we need to change the shellcode in the script. For this we are going to generate our own shellcode.

We will listen on port 62000 for shell.

then lets run following

Replace shellcode in the script with above. Make sure to remove ‘;’

Then run the python script

We will get the shell


Spread the love

Leave a Reply

Your email address will not be published. Required fields are marked *