Nmap (“Network Mapper”) is an open source tool for network exploration and security auditing. Nmap uses raw IP packets to determine hosts available on a network, host services (applications) and host OS. type of packet filters/firewalls are in use and other characteristics.
Nmap is useful for routine tasks such as network inventory, managing service upgrade schedules, and monitoring host or service uptime.
What computers are running on the local network? What IP addresses are on the local network? What operating system used by a target machine? What ports are open on target machine? Find out if the system is infected with malware? Search for unauthorized services on your network. Find and remove computers from the network.
| server1 |----------- | swtich |---------|server2 | | | +---------+----------+ | wks01 Linux | +--------------------+
wks01 - Your computer running Linux and nmap.
server1 any operating system. Unpatched server runs a web-server, file server etc.
server2 any operating system. Fully patched server wruns a web-server, file server etc.
All three systems are connected via switch.
# Ubuntu/Debian based sudo apt-get install nmap # RHEL/Fedora based distributions sudo dnf instll nmap