6 Nmap Scans I Actually Use
One of the things I find particularly interesting about cybersecurity is how quickly a seemingly simple question can lead to a much deeper investigation. What devices are connected to my network? What services are they running? Why is that particular port open? Is it supposed to be? These are straightforward questions, but answering them properly requires more than simply opening your router's…
1. Identifying Network Assets Host scan nmap -sn 192.168.1.0/24
Before investigating individual devices, it's important to know which assets exist on the network. Cybersecurity cannot effectively protect unknown assets. Modern networks may contain various connected devices like computers, mobile phones, televisions, printers, and security cameras. The -sn option performs host discovery without port scanning, determining which hosts are reachable on the network.
2. Rapid Device Identification Fast port scan nmap -F 192.168.1.10
Once a device is identified, the next step is to determine what services are running on it. Computers and network devices communicate through ports that allow applications and services to listen for incoming connections. The -F option performs a fast port scan, targeting only the most commonly used ports to quickly discover what services are running on a specific device.
3. Service Identification and Version Scanning Service and version detection nmap -sV 192.168.1.10
After identifying open ports, it's crucial to determine the specific service and its version running on that port. Knowing the exact service helps understand potential vulnerabilities and risks. Nmap's -sV option performs a detailed scan to identify the service name and version, providing valuable insights into the device's configuration and security posture.
Rewritten by urgent.news; may contain errors — check the original.
Source: dev.to