Hacking Tools

nmap

Network mapper: discovers live hosts, open ports, service versions and operating systems, and runs Lua NSE scripts for enumeration and vulnerability checks

Author
Gordon "Fyodor" Lyon
Organisation
Nmap Project (Insecure.Com LLC); key maintainers include Daniel Miller, David Fifield, Patrick Donnelly, Ron Bowes
Year
1997
Language
C, C++ (core), Lua 5.4 (NSE scripts), Python (Zenmap, Ndiff)
Phase
Phase 2 — Scanning & Enumeration

Why it matters

Gordon 'Fyodor' Lyon published Nmap on 1 September 1997 in Phrack #51 ('The Art of Port Scanning') to unify the one-trick scanners of the day (strobe, SATAN modules) into a single tool that exploits RFC 793 TCP behaviour with SYN, FIN, Xmas, NULL, ACK, UDP, idle (antirez's 1998 technique) and decoy scans. It added remote OS fingerprinting (Phrack #54, 1998; second generation 2006), regex-based service/version detection (2003) and, in 4.50 (2007), the Nmap Scripting Engine: Lua coroutines on the non-blocking Nsock library, with prerule/hostrule/portrule/postrule triggers and categories (safe, default, discovery, vuln, brute, intrusive, exploit, dos...), now about 600+ scripts backed by protocol libraries for HTTP, SMB, LDAP, SNMP and TLS. The suite grew Zenmap, Ncat, Nping and Ndiff, full IPv6 in Nmap 6 (2012), TLS vulnerability checks in Nmap 7 (2015), and the Npcap Windows driver; 7.90 (2020) moved to the Nmap Public Source License, which is why Fedora/RHEL and SUSE still ship 7.92 while upstream reached 7.99 in March 2026. It uses raw packets via libpcap/Npcap with a TCP-like congestion controller, and its OS, service and MAC databases are crowd-sourced. Its stable XML output feeds Metasploit, Faraday, Dradis and SIEMs. Pentesters use it as the recon backbone, network engineers use it to verify ACLs (filtered vs closed, TTLs in --reason), SOC analysts learn its probe signatures, vulnerability-management teams schedule scans and diff baselines with ndiff, sysadmins catch rogue listeners, NSE developers write Lua checks, auditors use the XML as segmentation evidence, and researchers treat it as the stateful reference that stateless ZMap and masscan (2013) were built to outrun at internet scale.

People

Links