r/Hacking_Tutorials • • Sep 14 '26

Question TryHackMe's Metasploit:Introduction Task 4

Post image

I'm doing the Metasploit room in THM, I keep running into issues while following along with the examples given, but I keep running into issues. This was my Nmap scan, Target: 10.66.xxxxxxx

Target responds to host discovery with -Pn, but all expected Windows ports are filtered from the AttackBox:

text

nmap -Pn -sS --reason -p 135,139,445,3389 10.66.xxxxxxx

135/tcp filtered msrpc no-response

139/tcp filtered netbios-ssn no-response

445/tcp filtered microsoft-ds no-response

3389/tcp filtered ms-wbt-server no-response

This was the msfconsole response when I tried the expoit -z command

msf exploit(windows/smb/ms17_010_eternalblue) > exploit -z

[*] Started reverse TCP handler on 10.66.

[*] 10.66.185 - Using auxiliary/scanner/smb/smb_ms17_010 as check

[-] 10.66.185. - Rex::ConnectionTimeout: The connection with (10.66.185.241:445) timed out.

[*] 10.66.185 - Scanned 1 of 1 hosts (100% complete)

[-] 10.66.185.- The target is not vulnerable.

[*] Exploit completed, but no session was created.

I've restarted the machines multiple times, disconnected my VPN, forced a THM restart.
Is there something on my end that I am missing?

44 Upvotes

11 comments sorted by

View all comments

Show parent comment

2

u/Zestyclose_Ear3101 Sep 17 '26

yeah thatd do it. if the room isnt joined the target never gets hooked up to your attackbox network, so from your side its all just filtered and dead, nothing to do with msf. id rejoin, grab the fresh ip off the card (it changes every deploy btw) and run nmap -Pn -p 445 again, should open up for you.