Nmap
network analysis
Network Mapper - A powerful open-source tool for network discovery and security auditing. It can rapidly scan large networks and identify hosts, services, operating systems, and vulnerabilities.
port scanningnetwork discoveryservice detection
Legal & Ethical Use
- Network inventory and asset discovery
- Security monitoring of your own networks
- Authorized penetration testing
- Troubleshooting network issues
Installation
bash
$
sudo apt install nmapBasic Commands
bash
$
nmap localhostScan localhost for open ports
bash
$
nmap -sV 192.168.1.1Service version detection
bash
$
nmap -O 192.168.1.1OS detection scan
bash
$
nmap -sn 192.168.1.0/24Ping sweep network discovery
bash
$
nmap -A 192.168.1.1Aggressive scan with OS and version detection
Advantages
- Fast scanning
- Open-source
- Highly customizable
- Large community support
Limitations
- Requires root for some scans
- Can be detected by IDS
- Large scans consume bandwidth