159 words
1 minutes
Blue

Blue#

window- easy machine

Enumeration#

Nmap#

alt text

the nmap scan shows up couple number of ports.

let’s try to see the vulnerabilities in port 445 as it is open for a Windows 7 version.

nmap -p 445 10.10.10.40 --script=smb-vuln-ms17-010.nse

alt text

There is a code execution vulnerability in here and also provided a CVE for this version

let’s try to find that one CVE using metasploit

I search for the CVE and the target that is window7

alt text

searched for the eternalblue

alt text

Then i found this sl.no 24 that is a smb vulnerability.

Use that no.24

alt text

Then set the rhosts target machine ip 10.10.10.40.

Then hit exploit

alt text

Here i found that Host is likely VULNERABLE to MS17-010! - Windows 7 Professional 7601 Service Pack 1 x64 (64-bit)

Then i search for that exploit.

alt text

Then hit use 0

again set the rhosts and lhost which is my localhosts ip.

alt text

Then hits exploit again

alt text

Now i was able to enter inside the target machine’s computer

User Flag#

alt text

Root Flag#

alt text

Machine completed#

alt text

Learning#

  • improved on using metasploit
  • exploit outdated versions.

Reference#

https://www.youtube.com/watch?v=50ecL80v2LY

Blue
https://fuwari.vercel.app/posts/blue/
Author
Yonten
Published at
2025-04-08