OSEC

Neohapsis is currently accepting applications for employment. For more information, please visit our website www.neohapsis.com or email hr@neohapsis.com
 
From: Fredrich P. Maney (Fredrich.Maney_at_maney.org)
Date: Wed Jul 24 2002 - 09:22:13 CDT

  • Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]

    Hello all,

    I was just recently handed a project of having to document all of the
    open ports on an internal network of servers and provide a definition
    and justification for all of the open ports. My first thought was to
    use nmap to scan all of the machines and then simply go through and
    write a short justification for each open port.

    Unfortunately the management types want this done in a nice pretty
    (useless) spreadsheet for each machine. Since the output of nmap
    only lists the number, status, name and owner of the open ports
    it finds, I have go through each report individually to add the
    definition and justification.

    What I would like to have (and it may be available and I'm just missing
    it) is a way to get the output to list all of the information found
    in the nmap-services line plus the status of the port.

    For example, currently nmap returns the following line when finding
    port 22 open:

    22/tcp open ssh

    However, this is what is in the distributed nmap-services file for
    that port:

    ssh 22/tcp # Secure Shell Login
    ssh 22/udp # Secure Shell Login

    I'd like to see all of the fields in the nmap-services file be present
    in the output (even if only as an option, perhaps as part of the -v?).
    Then the output would be similar to the following:

    open ssh 22/tcp # Secure Shell Login
    open ssh 22/udp # Secure Shell Login

    This way sites could customize the last field in the nmap-services
    file to provide things like definitions/descriptions/justifications
    for the ports that are open.

    FWIW, I'm using the nmap V. 2.54BETA28 package from www.sunfreeware.com.

    fpsm
    .

    --------------------------------------------------
    For help using this (nmap-hackers) mailing list, send a blank email to
    nmap-hackers-helpinsecure.org . List run by ezmlm-idx (www.ezmlm.org).