Nmap basics: ports, services, versions and safe targets

10 steps · about 4 h 40 min · Beginner

  1. 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.

  2. 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.

  3. 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.

  4. 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.

  5. Port Scanning Basics (doc, Nmap Project, 15 min)

    Defines the port states (open, closed, filtered) that every scan result depends on.

  6. Specifying Target Hosts and Networks (doc, Nmap Project, 10 min)

    Teaches hostnames, CIDR ranges and exclusions so you can scope a scan precisely.

  7. 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.

  8. Nmap Reference Guide: Examples (doc, Nmap Project, 15 min)

    Official usage examples against scanme.nmap.org, with its usage policy, to run as practice.

  9. Nmap Documentation (reference, Nmap Project, 30 min)

    Leads to the official Reference Guide, which you can read through to go deeper on every option.

  10. 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.