Blue

Overview

Initial Foothold : MS17-010 ( EternalBlue)

Privilege Escation : No Need

Enumeration

Start with Full Port scanning

Port 139 and 445 are open.

Lets start smb enumeration

SMB Enumeration

Find the shares of smb and thier permission. Use nmap nse scripts for this

Run all the vulnerability finding nmap nse scripts to find any known vulnerability

This scirpt scan shows that there is potential vulnerablilty of MS17-010 ( Eternal Blue )

Exploitation

Search for MS17-010 using searchsploit

Got many exploit related to this

Lets use 42315.py exploit

Mirror the exploit to our current directory using searchploit

This exploit needed reverse shell payload for getting shell

Generate using msfvenom

Now edit the script to add the location of our reverse shell binary

Now Setup listener and execute the script

Got the revese shell

That's all for this box

Good Bye :)

Last updated