Module 1 · Scope, Recon and HTTP · Lesson 2 of 9

Lab enumeration: what's really running

Inventory an authorised lab host's addresses, open ports and services, and learn why a banner is a clue, not proof.

In this lesson · about 22 minutes

  • Run a basic port and service scan against an authorised lab host
  • Record where every observation came from
  • Treat banners and version guesses as clues to verify

Enumeration means building an accurate picture of the target: addresses, open ports, services, versions and how they're used. Good testers write down the source of every fact ("nmap -sV, 14:02") so they can tell observation from assumption.

nmap basics

CommandDoes
nmap 10.10.30.10Checks the 1,000 most common TCP ports
nmap -p- 10.10.30.10All 65,535 TCP ports (slower)
nmap -sV -p 22,80,3306 10.10.30.10Probes those ports to guess service and version
nmap -oN scan.txt ...Saves normal output as evidence

Port states: open (something answered), closed (host answered, nothing listening), filtered (no answer; probably a firewall).

A banner is a clue

Services often announce themselves: "OpenSSH 8.2p1" or "Apache 2.4.41". But banners can be changed, hidden or shared by patched builds (Linux distributions back-port security fixes without changing the version number). A banner tells you where to look, not that a vulnerability exists.

Hands-on lab (simulated terminal)

Practice challenge 01: enumerate the lab host

You're on your Kali VM. The only authorised target is the training VM 10.10.30.10 on an isolated host-only network.

Step 1 of 3. Type each command and press Enter. Nothing runs on your computer.

kali@kali: ~

1. Confirm your own address first, so you know which network you're on.

┌──(kali㉿kali)-[~]
└─$

Performance-based question (PBQ)

Observation or assumption?

A classmate's notes on the scan above. Good notes separate what was observed from what is guessed.

Classify each note.

  • TCP 22, 80 and 3000 answered as open (nmap default scan, 14:02)
  • 3306 shows as filtered, so MySQL is running
  • Port 3000 might be the training app; confirm by browsing it
  • OpenSSH 8.9p1 is vulnerable to CVE-XXXX, so the host is compromised-able
  • The host is Linux (nmap service info)
0 of 5 answered

Check your understanding0 of 3 correct

Question 1

1.nmap shows a port as filtered. What does that mean?

Question 2

2.Is a service banner proof of a vulnerable version?

Question 3

3.Why save scan output with -oN?

Quiz score: 0 of 3

Tip: answer every quiz question correctly first.

Noviq Academy is free and for learning. Only test systems you own or have explicit written permission to test; unauthorised testing is illegal. Every lab here is simulated or runs locally on your own machine. OWASP, Juice Shop, Burp Suite and Nmap belong to their owners; this course is independent of them.