Module 5 · Scanning and enumeration with Nmap · Lesson 14 of 16

What a scan really does

Watch the packets of host discovery and of open, closed and filtered ports, and learn why a SYN scan needs sudo.

In this lesson · about 20 minutes

  • Explain host discovery with ARP
  • Describe what open, closed and filtered look like on the wire
  • Say why -sS needs root and what -sT does instead

Tana Roasters has given you one lab subnet, 192.168.56.0/24. Your job in this module is to find out what lives there and what it is running, and to keep a record you could hand to a teammate.

A port scan is a polite knock on many doors. For each port, Nmap sends a packet and reads the reply. The most common technique, the SYN scan, starts the TCP handshake and then walks away.

Whiteboard · watch and try

Watch the packets, one step at a time

Press Play. Four situations: finding a host, then an open, a closed and a filtered port.

6 steps
Press Play and the tutor will talk you through it while writing on the board. Pause any time to write on the board yourself.

Tip: press Pause, then use the pen to work along on the board. Space plays and pauses; Ctrl+Z undoes your last mark.

Key terms

Say the meaning to yourself, then tap a card to check.

Check your understanding0 of 2 correct

Question 1

1.Why does a SYN scan (-sS) need sudo?

Question 2

2.A port shows as "filtered". What is the most likely reason?

Quiz score: 0 of 2

Tip: answer every quiz question correctly first.

For authorized, lab-based learning only. Tana Roasters and every person, address and password in this course are fictional. Every terminal is simulated. "Kali Linux" is a trademark of OffSec; this course is not affiliated with or endorsed by OffSec.