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.
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 hostsPing sweep; no port scan. Writes results in all formats.
arp-scan -lLayer-2 discovery on the local segment — finds hosts that ignore ping.
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 -- -sVRustScan finds open ports, then hands them to nmap for service detection.
masscan 10.10.10.0/24 -p1-65535 --rate 1000 -oL masscan.txtSweep a whole range fast; tune the rate to the network.
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 servicesVersion detection plus the default safe scripts on the ports you found.
nmap -sV -p- --min-rate 1000 10.10.10.5A thorough all-ports version scan when time allows.
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.5Identify the web stack and versions.
enum4linux -a 10.10.10.5Users, shares and policy from SMB.
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.5Check for widely known issues on the web ports.
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.
More guides
Web application enumeration
Map a web application’s surface: technologies, hidden content, parameters and obvious vulnerability classes.
Linux privilege-escalation checklist
A methodical local enumeration pass to find the path from a low-privilege shell to root.
Active Directory enumeration
From valid domain credentials to a map of users, groups and attack paths toward Domain Admin.