Nmap for an Authorized Inventory
Nmap can help you understand which ports and services are reachable inside an authorized perimeter. It should not be treated as a button for scanning the public Internet or another person's network. Every scan should be authorized, documented, and proportionate.
Set the perimeter
Before running any command:
- Obtain written authorization.
- Define IP ranges, time windows, and permitted techniques.
- Agree on scan rates and maintenance windows.
- Establish who should be notified if a service becomes unstable.
The address below uses reserved documentation ranges and is not an invitation to scan third-party systems.
Run a conservative inventory
Limit the number of requests:
nmap -sT -sV --top-ports 100 --max-rate 20 192.0.2.0/24
This uses TCP connect scans, service identification, and the 100 most common ports. The --max-rate value should be adapted to the actual network.
For hosts already identified:
nmap -Pn -p 22,80,443 --reason 192.0.2.10
Record useful data
- Whether the host is reachable
- Ports with responses
- TCP state and reason
- Service banner only when necessary
- Scan timestamp and parameters
- Where and how results are stored
Do not assume that a banner identifies the real software version. Treat it as an indicator to verify through asset records and internal controls.
Correlate defensively
Compare your inventory with:
- CMDB and asset records
- Firewall rules
- Deployment logs
- Vulnerability reports
- Baselines and internal policies
An open port is not automatically a vulnerability, but an unknown or unauthorized service is a useful risk signal.
Avoid invasive techniques
Do not use the following without explicit authorization:
- Aggressive NSE scripts
- High-volume enumeration
- Scans of entire public address ranges
- Evasion techniques
- Exploitation of discovered services
A useful scan produces a verifiable inventory, not noise or service disruption.
Checklist
- [ ] Written permission
- [ ] Authorized targets
- [ ] Controlled scan rate
- [ ] Escalation contacts
- [ ] Protected results
- [ ] Unexpected assets verified manually
Nmap is most effective as part of a measured, authorized process—not as indiscriminate reconnaissance.
Top comments (0)