Skip to content

Beginner 20 minUpdated 2026-11-06

Network recon from zero

You have been given a network range and permission to test it. This walkthrough takes you from nothing to a clear picture of what is alive and what it is running, in the order an experienced tester would work. Only scan networks you own or are explicitly authorised to assess.

  1. Find the live hosts

    Before port scanning, work out which addresses respond. A quick ARP sweep on a local segment, or an nmap ping sweep across a routed range, saves you from scanning dead space.

    • nmap -sn 10.10.10.0/24 -oA hosts

      Ping sweep; no port scan. Writes results in all formats.

    • arp-scan -l

      Layer-2 discovery on the local segment — finds hosts that ignore ping.

    All 85 Nmap commands
  2. Fast sweep for open ports

    Scan the live hosts quickly to see which ports are open before spending time on detailed probes. A fast scanner like RustScan or masscan finds the ports; nmap then investigates them.

    • rustscan -a 10.10.10.5 --range 1-65535 -- -sV

      RustScan finds open ports, then hands them to nmap for service detection.

    • masscan 10.10.10.0/24 -p1-65535 --rate 1000 -oL masscan.txt

      Sweep a whole range fast; tune the rate to the network.

    All 45 RustScan commands
  3. Fingerprint the services

    For each open port, identify the service, version and — where useful — the operating system. Version detail drives everything that follows, from exploit search to default-credential checks.

    • nmap -sV -sC -p 22,80,443,445 10.10.10.5 -oA services

      Version detection plus the default safe scripts on the ports you found.

    • nmap -sV -p- --min-rate 1000 10.10.10.5

      A thorough all-ports version scan when time allows.

    All 85 Nmap commands
  4. Enumerate the interesting services

    Turn versions into findings. Web servers, SMB and SNMP each have dedicated enumeration tools that pull out far more than a port scan.

    • whatweb http://10.10.10.5

      Identify the web stack and versions.

    • enum4linux -a 10.10.10.5

      Users, shares and policy from SMB.

    All 70 WhatWeb commands
  5. Record and prioritise

    Keep your output in a consistent format so nothing is lost and you can diff later. Prioritise by exposure and known vulnerabilities, not by port number.

    • nmap --script vuln -p 80,443 10.10.10.5

      Check for widely known issues on the web ports.

    All 85 Nmap commands

From here, each live service becomes its own thread: web apps lead into the web-app enumeration guide, SMB and LDAP into enumeration tooling, and version numbers into searchsploit and nuclei. Keep everything scoped and logged.