Nmap - Network Administrator Tool
Overview
Nmap does many different types of scans; however the most popular are a ping sweep or TCP port scan. The type of scan being performed is often the first parameter. Other scans include SYN, Stealth FIN, Xmas Tree and NULL scans. Window, RPC and ACK scans are also useful for testing firewall rule-sets. These are highly specialized and beyond the scope of this HOW-TO. We will explore the Operating System (OS) fingerprinting and the Listing scan which are simple and somewhat useful on a large scale.
The first parameter is the type of scan and is denotes with -sX where X is the type of scanning. For our purposes we will explore the Ping scan (nmap -sP) and the TCP scan (nmap -sT).
Selecting a Target
The next most important parameter is the TARGET or what you will be scanning. This can be any number of IP addresses or networks. You can specify these any number of ways, but nmap is picky and can be dangerous. Please be certain you know what you are scanning.
You can simply specify a target via DNS lookup:
nmap -sP target-host.com
This will simply ping the host and you will get output similar to:
Starting nmap V. 3.00 ( www.insecure.org/nmap/ )
Host xx.xx.xxx.xxx.xxxxx.xxx (x.x.x.x) appears to be up.
Nmap run completed -- 1 IP address (1 host up) scanned in 1 second
You can also scan an entire network by adding a CIDR block prefix, a number between 0 and 32. /24 indicates a 24 bit mask in relation to the IP address.
nmap -sP target-host.com/24
Would be valid although ugly. This would simply lookup the IP address for target-host.com and scan that 24 bit subnet mask's hosts.
Nmap - Network Administrator Tool
You may also like...
- MySpace Quick Edits: Modifying Your "Extended Network" Banner
- Configuring Your Peer-to-Peer (P2P) Network Security
- Cookbooks for Food Network Fans
- Network Marketing - Understanding the Importance of Networking, Value Add and Communication
- Learn how to map a network drive in Microsoft Windows
- U.S. Climate Action Network Non-Profit Organization
- Rape, Abuse & Incest National Network Non-Profit Network
- Dish Network Tacks $3.00 Onto Basic Programming Packages
- Dog the Bounty Hunter's Racial Slurs Result in Pulled TV Ads on A&E Network
- Chef Robert Irvine Fired from Food Network's Dinner: Impossible
Takeaways
- nmap tool and how to use it to ping sweep a network
Did You Know?
nmap is often considered a hacking tool, but can be used by network administrators for auditing purposes.
Resources
Most Commented On




LMJ
Add a Comment
Posted on 09/19/2007 at 12:09:00 PM
Lori Wheat
Add a Comment
Posted on 09/19/2007 at 12:09:00 PM