Nmap
Also known as: Network Mapper
Free and open-source network scanner used by administrators and authorized security testers to discover hosts, services and exposures on networks.
Nmap, short for Network Mapper, is a tool for discovering which devices are present on a network, which services they expose and what software those services run. Administrators use it for asset inventory and to confirm that firewalls and configurations behave as intended, and security teams use it during authorized assessments to map an organization's attack surface. It includes host discovery, port scanning, service and version detection and operating system fingerprinting, and it runs on Linux, Windows, macOS and BSD.
Gordon Lyon, known by the handle Fyodor, first published Nmap in 1997 in the hacker magazine Phrack and has led its development since. The project added the Nmap Scripting Engine, which lets users write checks in Lua for tasks such as detecting misconfigurations, and companion tools including the Zenmap graphical interface and the Ncat networking utility. Nmap is distributed under the Nmap Public Source License, a custom license based on the GPL with additional terms, and it has appeared in films including "The Matrix Reloaded".
Like many security tools, Nmap is dual-use: the information that helps defenders find forgotten servers can also help attackers choose targets. Scanning networks without permission can violate laws and acceptable-use policies, so professionals work under written authorization, as in penetration testing. For defenders, regular scans compared over time reveal unexpected services and changes, supporting patch management and network hygiene. Nmap is included in security distributions such as Kali Linux.
Key points
- Nmap discovers hosts, open ports, running services and operating systems on networks.
- Gordon Lyon first published Nmap in Phrack magazine in 1997.
- The Nmap Scripting Engine lets users write Lua scripts for specialized checks.
- Scanning networks without authorization can break laws and acceptable-use policies.
Related entries
Gordon Lyon
American network security expert, known by the pseudonym Fyodor, who created the Nmap network scanner and maintains several security resource sites.
Penetration Testing
An authorized, simulated attack on a system, network or application, performed to find and fix security weaknesses before real attackers do.
Attack Surface
The total set of points where an unauthorized party could try to enter, extract data from or otherwise attack a system, network or organization.
Kali Linux
Debian-based Linux distribution maintained by OffSec that bundles hundreds of tools for authorized penetration testing, security research and forensics.
Firewall
Security control that monitors network traffic and allows or blocks connections according to a set of rules, separating trusted and untrusted networks.
Vulnerability
A weakness in software, hardware, configuration or process that an attacker could exploit to compromise confidentiality, integrity or availability.
Dual-Use Technology
Technology, knowledge or goods that can serve both civilian and military purposes, or both beneficial and harmful ends.
Wireshark
Free and open-source network protocol analyzer that captures traffic and decodes thousands of protocols for troubleshooting, security and education.
Referenced by
Other entries that discuss or point to Nmap.