Andres Diaz

andres@diaz:~$ whoami

Andres Diaz

Defect Reproduction Engineer at Filevine

andresdiaztech@gmail.com

LinkedIn GitHub Blog



andres@diaz:~/blog$ cat day-05.md

cd ..

Day 05: Reading Nmap output and fixing my lab network

Day 05 ยท Oct 21, 2026

Today in one line

I learned how to read an Nmap (Network Mapper) scan from top to bottom, ran a UDP (User Datagram Protocol) scan, and rebuilt my lab network so I get the internet and my practice targets at the same time.

My notes from today

NoteWhat it covers
Nmap FlagsThe Nmap (Network Mapper) flags I use, the scan types, the port states and the scans I actually ran

What I learned

1. How to read a scan top to bottom.
First the header: is the host up, and what did I actually scan. Then the port table, which is the part that matters: port, then service, then version. Then the script lines under each port for extra detail. The open ports plus the closed ports add up to the total I scanned, so nothing is missing.

2. UDP (User Datagram Protocol) scans are slow and have a "maybe" state.
I ran sudo nmap -sU -T4 <target>. UDP has no handshake, so a port that stays silent gets labelled open|filtered, which means Nmap can't tell if it's open or being blocked by a firewall. That unsure state is special to UDP.

3. Why the old HTTPS (HTTP Secure) site wouldn't load.
Firefox gave SSL_ERROR_NO_CYPHER_OVERLAP. The box only speaks really old encryption (SSLv2) that modern browsers removed, so they share nothing in common and can't connect. The fix is to use plain HTTP (Hypertext Transfer Protocol) instead, or command-line tools. The weak encryption is itself a finding worth writing down.

Things that tripped me up

  • I got "trapped" inside the VM (Virtual Machine) window when it grabbed my mouse and keyboard. The fix is the Host key, Right Ctrl on my setup, which the window shows in its bottom-right corner.
  • arp-scan printed "(Unknown)" for the vendors. That wasn't the devices being unknown, it just couldn't read its vendor name file.

The lab network rebuild

  • My Kali box could reach my practice target or the internet, but not both, because it had one network card sitting on the lab network. I wanted to try some Hack The Box (HTB), which needs the internet.
  • Fixed it by giving Kali two network cards: one on NAT (Network Address Translation) for the internet, and one on an isolated internal network for my practice targets. Now both work at the same time.
  • Moving the target to the new network changed its address, so I just re-ran host discovery to find it again. Good practice anyway.

Next up

  • Enumerate the SMB (Server Message Block) version on 139
  • Dig into the websites on 80 (HTTP) and 443 (HTTPS)
  • Try some Hack The Box (HTB) now that the internet works