Nmap (Network Mapper) is a powerful open-source tool used for network discovery and security auditing. Created by Gordon Lyon (also known as Fyodor Vaskovich), Nmap has become an essential utility for network administrators, security professionals, and ethical hackers worldwide.
Features
- Host Discovery: Nmap can quickly identify live hosts on a network.
- Port Scanning: It determines which ports are open, closed, or filtered on target systems.
- Service/Version Detection: Nmap can identify services running on open ports and their versions.
- OS Detection: The tool can guess the operating system of target hosts.
- Scriptable Interaction: Nmap’s Scripting Engine (NSE) allows users to write and share scripts to automate various network tasks.
Usage Examples
To scan a single host:
nmap 192.168.1.1
To scan a range of IP addresses:
nmap 192.168.1.1-254
Scan Specific Ports
nmap -p 80,443,8080 192.168.1.1
Scan 100 most common ports:
nmap -F 192.168.1.1
Scan All Ports
nmap -p- 192.168.1.1
To perform a more aggressive scan with OS and version detection:
nmap -A 192.168.1.1
TCP SYN Scan
nmap -sS 192.168.1.1
UDP Scan
nmap -sU 192.168.1.1
Version Scanning
nmap -sV 192.168.1.1
OS Detection
nmap -O 192.168.1.1
Enables OS detection, version scanning, script scanning, and traceroute:
nmap -A 192.168.1.1
Save results in all major formats:
nmap -oA output_file 192.168.1.1
Conclusion
Nmap continues to evolve, remaining an indispensable tool in the field of network security. Its versatility and effectiveness make it a must-have for anyone working with networks and cybersecurity.
>> Home