![]() Nmap scan results | |
Original author(s) | Gordon Lyon (Fyodor) |
---|---|
Initial release | September 1997 |
Stable release | |
Repository | |
Written in | C, C++, Python, Lua |
Operating system | Cross-platform |
Available in | English |
Type | Network security |
License | NPSL [3] or modified GPLv2 [4] or proprietary |
Website | nmap |
Nmap (Network Mapper) is a network scanner created by Gordon Lyon (also known by his pseudonym Fyodor Vaskovich). [5] Nmap is used to discover hosts and services on a computer network by sending packets and analyzing the responses. [6]
Nmap provides a number of features for probing computer networks, including host discovery and service and operating system detection. These features are extensible by scripts that provide more advanced service detection, [7] vulnerability detection, [7] and other features. Nmap can adapt to network conditions including latency and congestion during a scan.
Nmap started as a Linux utility [8] and was ported to other systems including Windows, macOS, and BSD. [9] It is most popular on Linux, followed by Windows. [10]
Nmap features include:
Nmap can provide further information on targets, including reverse DNS names, device types, and MAC addresses. [13]
Typical uses of Nmap:
NmapFE, originally written by Kanchan, was Nmap's official GUI for Nmap versions 2.2 to 4.22. [20] For Nmap 4.50 (originally in the 4.22SOC development series) NmapFE was replaced with Zenmap, a new official graphical user interface based on UMIT, developed by Adriano Monteiro Marques.
Web-based interfaces exist that allow either controlling Nmap or analysing Nmap results from a web browser, such as IVRE. [21]
Four different output formats are offered by Nmap. Everything is saved to a file except the interactive output. Text processing software can be used to modify Nmap output, allowing the user to customize reports. [22]
Interesting ports
becomes Int3rest1ng p0rtz
. This is known as Leet.Nmap was first published in September 1997, as an article in Phrack Magazine with source-code included. [23] With help and contributions of the computer security community, development continued. Enhancements included operating system fingerprinting, service fingerprinting, [11] code rewrites (C to C++), additional scan types, protocol support (e.g. IPv6, SCTP [24] ) and new programs that complement Nmap's core features.
Major releases include: [20]
Date | Version | Significance |
---|---|---|
December 12, 1998 | Nmap 2.00 | Nmap 2.00 is released, including Operating System fingerprinting [25] |
April 11, 1999 | NmapFE | A GTK+ front end, is bundled with Nmap [25] |
December 7, 2000 | Windows port [20] | |
August 28, 2002 | Rewrite from C to C++ [20] | |
September 16, 2003 | The first public release to include service version detection [20] | |
August 31, 2004 | Nmap 3.70 | Core scan engine rewritten for version 3.70. New engine is called ultra_scan [26] |
Summer 2005 | Nmap selected for participation in Google Summer of Code. [27] Added features included Zenmap, Nmap Scripting Engine (NSE), Ncat, and 2nd-generation OS detection. | |
December 13, 2007 | Nmap 4.50 | Nmap 4.50, the 10th Anniversary Edition, was released. Included Zenmap, 2nd-generation OS detection, and the Nmap Scripting Engine [28] |
March 30, 2009 | Nmap 4.85BETA5 | Emergency release of Nmap 4.85BETA5, leveraging NSE to detect Conficker infections [29] |
July 16, 2009 | Nmap 5.00 | Included netcat-replacement Ncat and Ndiff scan comparison tool [30] |
January 28, 2011 | Nmap 5.50 | Included Nping packet generation response analysis and response time measurement, including TCP, UDP and ICMP probe modes. [31] [32] |
May 21, 2012 | Nmap 6.00 | Released with full IPv6 support.[ citation needed ] |
November 9, 2015 | Nmap 7.00 [33] | |
December 20, 2016 | Nmap 7.40 | |
March 20, 2018 | Nmap 7.70 [34] | |
August 10, 2019 | Nmap 7.80 [35] | |
October 3, 2020 | Nmap 7.90 [36] | The new fingerprints allow better operating system and service/version detection. 3 new NSE scripts, new protocol library and payloads for host discovery, port scanning and version detection. Npcap 1.0.0, the first fully stable version of the Windows raw packet capturing/sending driver. |
Nmap is a tool that can be used to discover services running on Internet connected systems. Like any tool, it could potentially be used for black hat hacking, [37] as a precursor to attempts to gain unauthorized access to computer systems. However, Nmap is also used by security and systems administrators to assess their own networks for vulnerabilities (i.e. white hat hacking).
System administrators can use Nmap to search for unauthorized servers, or for computers that do not conform to security standards. [38]
In 2003 Supreme Court of Finland has ruled that port scanning has amounted to an attempted computer break in, which was illegal under Finnish Penal code at the time: [39]
In its ruling the Supreme Court stated that the defendant had systematically carried out port scanning operations to gather information for the purpose of unauthorised break-in to the bank's computer network. This amounted to an attempted computer break in. [39]
Nmap was originally distributed under the GNU General Public License (GPL). [23] In later releases, Nmap's authors added clarifications and specific interpretations to the license where they felt the GPL was unclear or lacking. [40] For instance, Nmap 3.50 specifically revoked the license of SCO Group to distribute Nmap software because of their views on the SCO-Linux controversies. [41]
Starting with version 7.90, Nmap transitions to a new custom license NPSL, dual-licensing versions 7.90, 7.91, and 7.92 under both old and new licenses. [42] Several Linux distributions consider the new license non-free. [43] [44]
In The Matrix Reloaded , Trinity is seen using Nmap to access a power plant's computer system, [45] allowing Neo to "physically" break into a building. The appearance of Nmap in the film was widely discussed on Internet forums and hailed as an unusually realistic example of hacking. [46]
Nmap and NmapFE were used in The Listening , a 2006 movie about a former NSA officer who defects and mounts a clandestine counter-listening station high in the Italian alps.
Nmap source code can be seen in the movie Battle Royale , as well as brief views of the command line version of Nmap executing in Live Free or Die Hard and Bourne Ultimatum . [45] In 2013, Nmap continued to make appearances in movies including popular sci-fi movie Elysium .
The film Dredd , a film adaptation of the famous Judge Dredd comics, was released in 2012 and also contains multiple Nmap scenes. [45] Nmap is used for network reconnaissance and exploitation of the slum tower network. It is even seen briefly in the movie's trailer.
The command Nmap is widely used in the video game Hacknet , allowing to probe the network ports of a target system to hack it.
In Snowden , Nmap is used in the aptitude test scene about 14 minutes into the movie.
Nmap is an integral part of academic activities. It has been used for research involving the TCP/IP protocol suite and networking in general. [47] Besides being a research tool, Nmap has also become a research topic. [48]
$ nmap-f-v-Ascanme.nmap.org Starting Nmap 6.47 ( https://nmap.org ) at 2014-12-29 20:02 CETNmap scan report for scanme.nmap.org (74.207.244.221)Host is up (0.16s latency).Not shown: 997 filtered portsPORT STATE SERVICE VERSION22/tcp open ssh OpenSSH 5.3p1 Debian 3ubuntu7.1 (Ubuntu Linux; protocol 2.0)| ssh-hostkey:| 1024 8d:60:f1:7c:ca:b7:3d:0a:d6:67:54:9d:69:d9:b9:dd (DSA)|_ 2048 79:f8:09:ac:d4:e2:32:42:10:49:d3:bd:20:82:85:ec (RSA)80/tcp open http Apache httpd 2.2.14 ((Ubuntu))|_http-title: Go ahead and ScanMe!9929/tcp open nping-echo Nping echoWarning: OSScan results may be unreliable because we could not find at least 1 open and 1 closed portDevice type: general purpose|phone|storage-misc|WAPRunning (JUST GUESSING): Linux 2.6.X|3.X|2.4.X (94%), Netgear RAIDiator 4.X (86%)OS CPE: cpe:/o:linux:linux_kernel:2.6.38 cpe:/o:linux:linux_kernel:3 cpe:/o:netgear:raidiator:4 cpe:/o:linux:linux_kernel:2.4Aggressive OS guesses: Linux 2.6.38 (94%), Linux 3.0 (92%), Linux 2.6.32 - 3.0 (91%), Linux 2.6.18 (91%), Linux 2.6.39 (90%), Linux 2.6.32 - 2.6.39 (90%), Linux 2.6.38 - 3.0 (90%), Linux 2.6.38 - 2.6.39 (89%), Linux 2.6.35 (88%), Linux 2.6.37 (88%)No exact OS matches for host (test conditions non-ideal).Network Distance: 13 hopsService Info: OS: Linux; CPE: cpe:/o:linux:linux_kernelTRACEROUTE (using port 80/tcp)HOP RTT ADDRESS1 14.21 ms 151.217.192.12 5.27 ms ae10-0.mx240-iphh.shitty.network (94.45.224.129)3 13.16 ms hmb-s2-rou-1102.DE.eurorings.net (134.222.120.121)4 6.83 ms blnb-s1-rou-1041.DE.eurorings.net (134.222.229.78)5 8.30 ms blnb-s3-rou-1041.DE.eurorings.net (134.222.229.82)6 9.42 ms as6939.bcix.de (193.178.185.34)7 24.56 ms 10ge10-6.core1.ams1.he.net (184.105.213.229)8 30.60 ms 100ge9-1.core1.lon2.he.net (72.52.92.213)9 93.54 ms 100ge1-1.core1.nyc4.he.net (72.52.92.166)10 181.14 ms 10ge9-6.core1.sjc2.he.net (184.105.213.173)11 169.54 ms 10ge3-2.core3.fmt2.he.net (184.105.222.13)12 164.58 ms router4-fmt.linode.com (64.71.132.138)13 164.32 ms scanme.nmap.org (74.207.244.221)OS and Service detection performed. Please report any incorrect results at https://nmap.org/submit/ .Nmap done: 1 IP address (1 host up) scanned in 28.98 seconds
In computing, traceroute
and tracert
are diagnostic command-line interface commands for displaying possible routes (paths) and transit delays of packets across an Internet Protocol (IP) network.
A port scanner is an application designed to probe a server or host for open ports. Such an application may be used by administrators to verify security policies of their networks and by attackers to identify network services running on a host and exploit vulnerabilities.
Network security are security controls, policies, processes and practices adopted to prevent, detect and monitor unauthorized access, misuse, modification, or denial of a computer network and network-accessible resources. Network security involves the authorization of access to data in a network, which is controlled by the network administrator. Users choose or are assigned an ID and password or other authenticating information that allows them access to information and programs within their authority. Network security covers a variety of computer networks, both public and private, that are used in everyday jobs: conducting transactions and communications among businesses, government agencies and individuals. Networks can be private, such as within a company, and others which might be open to public access. Network security is involved in organizations, enterprises, and other types of institutions. It does as its title explains: it secures the network, as well as protecting and overseeing operations being done. The most common and simple way of protecting a network resource is by assigning it a unique name and a corresponding password.
In information technology, a Christmas tree packet is a network message segment or packet with every option enabled for the particular network protocol in use.
The Berkeley r-commands are a suite of computer programs designed to enable users of one Unix system to log in or issue commands to another Unix computer via TCP/IP computer network. The r-commands were developed in 1982 by the Computer Systems Research Group at the University of California, Berkeley, based on an early implementation of TCP/IP.
In computing, netstat
is a command-line network utility that displays open network sockets, routing tables, and a number of network interface and network protocol statistics. It is available on Unix, Plan 9, Inferno, and Unix-like operating systems including macOS, Linux, Solaris and BSD. It is also available on IBM OS/2 and on Microsoft Windows NT-based operating systems including Windows XP, Windows Vista, Windows 7, Windows 8 and Windows 10.
netcat is a computer networking utility for reading from and writing to network connections using TCP or UDP. The command is designed to be a dependable back-end that can be used directly or easily driven by other programs and scripts. At the same time, it is a feature-rich network debugging and investigation tool, since it can produce almost any kind of connection its user could need and has a number of built-in capabilities.
Kismet is a network detector, packet sniffer, and intrusion detection system for 802.11 wireless LANs. Kismet will work with any wireless card which supports raw monitoring mode, and can sniff 802.11a, 802.11b, 802.11g, and 802.11n traffic. The program runs under Linux, FreeBSD, NetBSD, OpenBSD, and macOS. The client can also run on Microsoft Windows, although, aside from external drones, there's only one supported wireless hardware available as packet source.
TCP/IP stack fingerprinting is the remote detection of the characteristics of a TCP/IP stack implementation. The combination of parameters may then be used to infer the remote machine's operating system, or incorporated into a device fingerprint.
Ettercap is a free and open source network security tool for man-in-the-middle attacks on a LAN. It can be used for computer network protocol analysis and security auditing. It runs on various Unix-like operating systems including Linux, Mac OS X, BSD and Solaris, and on Microsoft Windows. It is capable of intercepting traffic on a network segment, capturing passwords, and conducting active eavesdropping against a number of common protocols. Its original developers later founded Hacking Team.
In the field of computer network administration, pcap is an application programming interface (API) for capturing network traffic. While the name is an abbreviation of packet capture, that is not the API's proper name. Unix-like systems implement pcap in the libpcap library; for Windows, there is a port of libpcap named WinPcap that is no longer supported or developed, and a port named Npcap for Windows 7 and later that is still supported.
OpenVAS is the scanner component of Greenbone Vulnerability Management (GVM), a software framework of several services and tools offering vulnerability scanning and vulnerability management.
The Metasploit Project is a computer security project that provides information about security vulnerabilities and aids in penetration testing and IDS signature development. It is owned by Boston, Massachusetts-based security company, Rapid7.
On computer networks, a service scan identifies the available network services by attempting to initiate many sessions to different applications with each device in a target group of devices. This is done by sending session initiation packets for many different applications to open ports on all of the devices specified in the target group of devices. This scan is done across a wide range of TCP, UDP. A service scanner will identify each device it finds along with the services that it finds on the ports that it scans.
An idle scan is a TCP port scan method for determining what services are open on a target computer without leaving traces pointing back at oneself. This is accomplished by using packet spoofing to impersonate another computer so that the target believes it's being accessed by the zombie. The target will respond in different ways depending on whether the port is open, which can in turn be detected by querying the zombie.
In computing, a ping sweep is a method that can establish a range of IP addresses which map to live hosts.
OpenSSH is a suite of secure networking utilities based on the Secure Shell (SSH) protocol, which provides a secure channel over an unsecured network in a client–server architecture.
Paping is a computer network administration utility used to test the reachability of a host on an Internet Protocol (TCP/IP) network and to measure the time it takes to connect to a specified port. The name is a play on the word ping, another computer network administration utility.
Avira Operations GmbH & Co. KG is a German multinational computer security software company mainly known for its Avira Free Security antivirus software. Although founded in 2006, the Avira antivirus application has been under active development since 1986 through its predecessor company H+BEDV Datentechnik GmbH. Since 2021, Avira has been owned by American software company NortonLifeLock, which also operates Norton, Avast and AVG. It was previously owned by investment firm Investcorp.
Kali Linux is a Linux distribution designed for digital forensics and penetration testing. It is maintained and funded by Offensive Security. The software is based on the Debian Testing branch: most packages Kali uses are imported from the Debian repositories. The tagline of Kali Linux and BackTrack is "The quieter you become, the more you are able to hear", which is displayed on some backgrounds, see this example.