
Writeup da sala Blue do TryHackMe — exploração do EternalBlue (MS17-010/CVE-2017-0143).
Course: Cyber Security 101 | Room: Blue | Tool: Nmap
The Blue room's main objective is the use of Metasploit. However, the first exercise focuses on reconnaissance — identifying open ports and vulnerabilities on the target before any exploitation.
nmap -sV -vv --script vuln <IP>
| Flag | Function |
|---|---|
-sV | Detects service version on ports |
-vv | Verbose output |
--script vuln | Runs NSE vulnerability detection scripts |


smb-vuln-ms17-010: VULNERABLE
CVE: CVE-2017-0143
Risk factor: HIGH
Disclosure date: 2017-03-14
The NSE script smb-vuln-ms17-010 confirmed that SMBv1 is active and vulnerable to EternalBlue — the same flaw used by the WannaCry ransomware in 2017.
This reconnaissance step is also a valuable exercise for those working in defense. What Nmap reveals about the target is exactly what a Blue Team analyst should proactively identify on their own network.
What this scan indicates for the defensive team:
| Observation | Recommended defensive action |
|---|---|
| SMBv1 active (port 445) | Disable SMBv1 — legacy unsupported protocol |
| MS17-010 unpatched | Apply security update available since March 2017 |
| RDP exposed (port 3389) | Restrict access via firewall or VPN |
| Scan not detected | Implement alerts for port scanning on the network |
Central question: if an attacker can obtain this information in seconds with Nmap, does the defense team already have visibility over this attack surface?
Reconnaissance is not just an offensive step — it is a mirror of what the Blue Team should be seeing first.
Room completed in May 2026 — TryHackMe Cyber Security 101
| Port | Protocol | Service |
|---|
| 135 | TCP | RPC |
| 139 | TCP | NetBIOS |
| 445 | TCP | SMB |
| 3389 | TCP | RDP |
| 49152–49165 | TCP | Windows dynamic ports |