Home > Security Tips > Security Buyer's Guide > Hacker tool helps identify network weaknesses
Security Tips:
EMAIL THIS
 TIPS & NEWSLETTERS TOPICS 

SECURITY BUYER'S GUIDE

Hacker tool helps identify network weaknesses


David Strom
04.03.2002
Rating: -4.38- (out of 5)


Digg This!    StumbleUpon Toolbar StumbleUpon    Bookmark with Delicious Del.icio.us   




Category: Port Scanner and network analysis tool
Name of tool: Nmap/NmapNT
Company name: Insecure.org
Price: Free for the downloading
URL: Unix: www.insecure.org/nmap; Windows: www.eeye.com/html/Research/Tools/nmapnt.html
Platforms supported: Various Unix (Nmap), various Windows operating systems (NmapNT)

Strom-meter:
*** = Hey, not bad -- one notch below very cool.

Key features:
Scan for security weaknesses on your network by using the same tool many hackers use.

Pros:
Simple and easy to use
Powerful and versatile

Cons:
NmapNT requires separate WinPcap driver installation
Terse command line arguments will take some study to tune and use

Description:

I have written about jack-of-all-trades security tools in the past, but one very worthwhile tool that I haven't covered is called Nmap, developed by Fyodor and long a favorite of hackers. This tool was strictly for Unix until a few years ago, when eEye Security ported it to the Windows platform. Lately, eEye has improved the Windows version and it is close to the abilities of its Unix cousin.

Nmap is a lot like those vegematic (or at the risk of dating myself, Bass-o-matic from the old Saturday Night Live TV shows) commercials. It slices, it dices, and it probes your network in so many different ways that it really should have its own late-night infomercial. It belongs in your toolkit, and once you learn how to use it, you will come back to it for many different circumstances.

I tried out the NmapNT Version 2.53 SP1 on a Windows 2000 Server PC, probing machines both on my internal test networks, as well as out over the Internet. It took a few minutes to install, given one issue I had with the program. To run Nmap on Windows, you'll need to install the WinPcap packet driver. While eEye includes these drivers as part of its distrib



ution of the software, it is a lot easier to just load them with the Windows-based installer from http://netgroup-serv.polito.it/winpcap/.

I also had a PC with several Ethernet interfaces configured, so Nmap needed to be told which one was the correct one to do its work on. That was easily solved by adding an "-e2" switch to my command line string.

Give Nmap an IP address or a range of addresses, and not only will it probe the open ports but it provides all sorts of other useful information, such as figuring out the underlying operating system and the NetBIOS name of the computer running at a particular IP address -- it correctly figured out my Windows 2000 Professional PC version and name, for example.

There is one major drawback to Nmap and that is, given its Unix heritage, the command-line syntax is extremely terse and, of course, case-sensitive. You will drive yourself crazy figuring out whether one command uses an upper case letter "O" or the numeral "0" and if you forget to type in one letter, your commands won't work.

What are some typical commands? Here is one to scan all well-known ports of a particular IP address:

NmapNT -sT 192.168.1.0

This makes use of the TCP connect command to open a connection to every port on that particular IP address. If you want to scan an entire subnet, append a /24 or /16 for the entire class C or B subnet, respectively. (You can also use asterisks in the IP address, such as 192.168.1.*)

Other scanning options include a TCP SYN stealth scan where you send a SYN packet and wait for a response but don't really open the connection (-sS), stealth FIN scan (-sF), UDP port scans (-sU), ftp proxies, ping sweeps and many, many more. If you are trying to probe a network and want to do so without being detected, this tool is for you. If you are trying to probe your own corporate network from the outside to ensure that your own defenses are working, then you should definitely get acquainted with Nmap because this is what many hackers start out with to rattle your own virtual doorknobs. I tested my own firewall in this fashion, to make sure that it would send me alerts when it was being scanned, and it delivered various alerts to me.

Nmap is a terrific tool, and one that anyone concerned with network security should learn and use regularly.

If you are going to make the best use of Nmap, I suggest you buy one of the following books. While you can read the supplied documentation that comes with the program, the books go into more details about the various uses and provide many more examples of command-line arguments to create the exact testing and probes that you desire. The books are:

  • Hacking Exposed, by Scambray et al. (Osborne, $40)
  • Hack I.T., by Klevinsky et al. (Addison Wesley, $43)

    Strom-meter key:
    **** = Very cool, very useful
    *** = Hey, not bad -- one notch below very cool.
    ** = A tad shaky to install and use but has some value.
    * = Don't waste your time. Minimal real value.

    About the author
    David Strom is president of his own consulting firm in Port Washington, NY. He has tested hundreds of computer products over the past two decades working as a computer journalist, consultant, and corporate IT manager. Since 1995 he has written a weekly series of essays on Web technologies and marketing called Web Informant. You can send him e-mail at david@strom.com.

    Rate this Tip
    To rate tips, you must be a member of SearchSecurity.com.
    Register now to start rating these tips. Log in if you are already a member.




    BROWSE BY TAG
    Security Buyer's Guide,   Network Intrusion Detection (IDS),   Network Intrusion Detection and Analysis,   Enterprise Network Security,   VIEW ALL TAGS

    Digg This!    StumbleUpon Toolbar StumbleUpon    Bookmark with Delicious Del.icio.us   


    RELATED CONTENT
    Security Buyer's Guide
    Keystroke dynamics makes BioPassword Internet Edition a viable authentication option
    Access security with KoolSpan's SecurEdge
    NetChk Protect 5.5
    Biometrics: Best practices, future trends
    2006 Products of the Year: Emerging Technologies
    Secure Sphere 2.0
    Scan & Deliver: SLAs force service providers and outsources to hit the mark ... or hit the road
    Secure remote access: SSH Tectia Manager
    Spycatcher Enterprise 3.2
    Configuresoft's Enterprise Configuration Manager v4.7

    Network Intrusion Detection (IDS)
    SIMs tools and tactics for business intelligence
    IPS and IDS deployment strategies
    Know when you need IDS, IPS or both
    Trend Micro to acquire Third Brigade for virtualization, cloud security
    New product aims to control rogue applications that avoid firewalls
    How to perform a network forensic analysis and investigation
    What is the cause of an 'intrusion attempt' message?
    Host-based intrusion prevention addresses server, desktop security
    Intrusion detection vs. intrusion prevention
    Product review: AirDefense Enterprise 7.3
    Network Intrusion Detection (IDS) Research

    RELATED GLOSSARY TERMS
    Terms from Whatis.com − the technology online dictionary
    computer forensics  (SearchSecurity.com)
    Diffie-Hellman key exchange  (SearchSecurity.com)
    Einstein  (SearchSecurity.com)
    HIDS/NIDS  (SearchSecurity.com)
    network behavior analysis  (SearchSecurity.com)
    ultrasound  (SearchSecurity.com)

    RELATED RESOURCES
    2020software.com, trial software downloads for accounting software, ERP software, CRM software and business software systems
    Search Bitpipe.com for the latest white papers and business webcasts
    Whatis.com, the online computer dictionary

    DISCLAIMER: Our Tips Exchange is a forum for you to share technical advice and expertise with your peers and to learn from other enterprise IT professionals. TechTarget provides the infrastructure to facilitate this sharing of information. However, we cannot guarantee the accuracy or validity of the material submitted. You agree that your use of the Ask The Expert services and your reliance on any questions, answers, information or other materials received through this Web site is at your own risk.



  • Research Solutions for Network Security, Access Control and Security Threats
    More Security Resources for Resellers, VARs and OEMs
    TechTarget Security Media
    Information Security View this month\\'s issue and subscribe today.
    Information Security Decisions Apply online for free conference admission.
    SearchSecurity.com
    HomeNewsMagazineMultimediaWhite PapersLearningAdviceTopicsEventsAbout Us

    About Us  |  Contact Us  |  For Advertisers  |  For Business Partners  |  Site Index  |  RSS
    TechTarget provides technology professionals with the information they need to perform their jobs - from developing strategy, to making cost-effective purchase decisions and managing their organizations' technology projects - with its network of technology-specific websites, events and online magazines.

    TechTarget Corporate Web Site  |  Media Kits  |  Site Map




    All Rights Reserved, Copyright 2003 - 2009, TechTarget | Read our Privacy Policy
      TechTarget - The IT Media ROI Experts