Nmap basics: ports, services, versions and safe targets
10 steps · about 4 h 40 min · Beginner
- The Nmap Hub: A Beginner's Reference for Scan Types, Flags, and Legal Limits (reference, hackernoob.tips, 15 min)
Start with the legal boundary and where you may practice, before you send any packets.
- Legal Issues (Nmap Network Scanning) (guide, Nmap Project, 15 min)
The Nmap author's own account of when scanning is and isn't acceptable backs up the ground rules.
- NMap Essentials: A Beginner's Guide to Network Scanning (article, jalblas.com, 15 min)
A short intro to the command syntax (scan type, options, target) and the help output.
- Nmap Tutorial: from the Basics to Advanced Tips (tutorial, HackerTarget, 25 min)
Walks through your first host-discovery and version scans and explains the sudo/privilege difference.
- Port Scanning Basics (doc, Nmap Project, 15 min)
Defines the port states (open, closed, filtered) that every scan result depends on.
- Specifying Target Hosts and Networks (doc, Nmap Project, 10 min)
Teaches hostnames, CIDR ranges and exclusions so you can scope a scan precisely.
- Nmap Tutorial for Beginners: Learn Network Scanning Step by Step (tutorial, Pentesthint, 20 min)
Applies a workflow of list scan, ping scan, chosen ports, then -sV to identify service versions.
- Nmap Reference Guide: Examples (doc, Nmap Project, 15 min)
Official usage examples against scanme.nmap.org, with its usage policy, to run as practice.
- Nmap Documentation (reference, Nmap Project, 30 min)
Leads to the official Reference Guide, which you can read through to go deeper on every option.
- Nmap Network Scanning: The Official Nmap Project Guide (guide, Nmap Project (Gordon Lyon), 2 h)
Finish with the author's book, over half free online, for how scans work on the wire and real tasks.