Nmap

From Wikipedia, the free encyclopedia

This is an old revision of this page, as edited by 128.232.228.174 (talk) at 19:14, 22 May 2008. The present address (URL) is a permanent link to this revision, which may differ significantly from the current revision.

Nmap Security Scanner
Original author(s)Gordon Lyon (Fyodor)
Initial releaseSeptember, 1997
Stable release
4.62 / May 9, 2008; 16 years ago (2008-05-09)
Repository
Written inC, C++, Python
Operating systemCross-platform
Available inEnglish
Typecomputer security, network management
LicenseGNU General Public License
Websitenmap.org

Nmap is a security scanner originally written by Gordon Lyon (Fyodor). It may be used to discover computers and services on a computer network, thus creating a "map" of the network. Just like many simple port scanners, Nmap is capable of discovering passive services on a network despite the fact that such services aren't advertising themselves with a service discovery protocol. In addition Nmap may be able to determine various details about the remote computers. These include operating system, device type, uptime, software product used to run a service, exact version number of that product, presence of some firewall techniques and, on a local area network, even vendor of the remote network card.

Nmap runs on Linux, Microsoft Windows, Solaris, and BSD (including Mac OS X), and also on AmigaOS.[1] Linux is the most popular nmap platform and Windows the second most popular.[2]

Features

Nmap features include:

  • Host Discovery - Identifying computers on a network, for example listing the computers which respond to pings, or which have a particular port open
  • Port Scanning - Enumerating the open ports on one or more target computers
  • Version Detection - Interrogating listening network services listening on remote computers to determine the application name and version number[3]
  • OS Detection - Remotely determining the operating system and some hardware characteristics of network devices.

Typical uses of Nmap:

  • Auditing the security of a computer, by identifying the network connections which can be made to it[citation needed]
  • Identifying open ports on a target computer in preparation for auditing[4]
  • Network inventory, maintenance, and asset management
  • Auditing the security of a network, by identifying unexpected new servers.[5]

Graphical Interfaces

Zenmap, showing results for a port scan against Wikipedia
NmapFE, showing results for a port scan against Wikipedia
XNmap, a Mac OS X GUI.

NmapFE, originally written by Zach Smith, was Nmap's official GUI for Nmap versions 2.2 to 4.22.[6] For Nmap 4.50 (originally in the 4.22SOC development series) NmapFE was replaced with Zenmap, a new graphical user interface based on UMIT, developed by Adriano Monteiro Marques.

Various web-based interfaces have also been available for controlling Nmap remotely from a web browser. These include LOCALSCAN,[7] nmap-web,[8] and Nmap-CGI.[9]

Also some Microsoft Windows specific GUIs exist. These include NMapWin,[10] which has not been updated since v1.4.0 was released in June 2003, and NMapW[11] by Syhunt.

Modules and libraries utilizing Nmap

Nmap's preferred output format is XML, which comes in handy for interpreted languages because they can parse and present this information for use by users' scripts.

History

Nmap was first published in September 1997, as an article in Phrack Magazine with source-code included[12] Further development included better algorithms for determining which services were running,[13] code rewrites (C to C++), additional scan types and protocol support (e.g. IPv6) Nmap reached version 4.0 in January 2006 and version 4.5 in December 2007. Changes in each release are recorded in the Nmap Changelog.[14]

Controversy

Like most tools used in computer security, Nmap can be used for black hat hacking,[15] or attempting to gain unauthorized access to computer systems. It would typically be used to discover open ports which are likely to be running vulnerable services, in preparation for attacking those services with another program.[16]

System administrators often use Nmap to search for unauthorized servers on their network, or for computers which don't meet the organization's minimum level of security.[17]

Nmap is often confused with host vulnerability assessment tools such as Nessus, which go further in their exploration of a target by testing for common vulnerabilities in the open ports found.

Nmap in popular culture

In The Matrix Reloaded, Trinity is seen using Nmap to access a power plant's computer system [1], allowing Neo to physically break-in to the building.

The appearance of Nmap in the film was widely discussed on internet forums [2], and hailed as an unusually realistic example of hacking compared to other movies [3]. It is thought that Trinity used the CRC32 compensation attack detector exploit [4] (discovered in 2001) to gain entry, once Nmap revealed the existence of a SSH service [5].

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.

Some Nmap source code can be seen in the movie Battle Royale [6].

References

  1. ^ Download the Free Nmap Security Scanner for Linux/MAC/UNIX or Windows
  2. ^ "Nmap Installation for Windows". nmap.org. Retrieved 2008-05-14.
  3. ^ Service and Application Version Detection
  4. ^ http://nmap.org/press/computerworld_when_good_scanners_go_bad.txt
  5. ^ nmap-audit - Network auditing with nmap
  6. ^ Nmap Change Log
  7. ^ http://staff.washington.edu/dgreene/localscan/
  8. ^ nmap-web: quick-n-dirty web interface to nmap
  9. ^ nmap-cgi homepage
  10. ^ NMapWin v1.2.3
  11. ^ Syhunt Technology: Web Application Security and Testing Tools
  12. ^ Nmap Introduction - Phrack 51, Article 11
  13. ^ Service and Application Version Detection
  14. ^ Nmap Changelog
  15. ^ Hacking tool reportedly draws FBI subpoenas
  16. ^ SANS Institute - Intrusion Detection FAQ: What is AMap and how does it fingerprint applications?
  17. ^ http://www.techsupportalert.com/search/t04123.pdf

External links

Official documentation and papers