Re: help interpreting the nmap output

miguel.dilaj_at_pharma.novartis.com
Date: 12/17/04

  • Next message: Michael Pace: "RE: Vpn concentrator - health care client"
    To: security-basics@securityfocus.com
    Date: Fri, 17 Dec 2004 09:37:57 +0100
    
    

    Hi Ivan,

    Good! Yes, you guess correctly, it seems that Apache was setup to show
    only its name.
    For other ports, like services that don't have a text banner, you've 2
    very nice options:

    a) use the -sV option in nmap. Read The Fine Manual, and also the article
    at http://www.insecure.org/nmap/versionscan.html
    Take into account that this is not stealth (like -sS), it establishes the
    full TCP connection.
    Be sure to use latest nmap, this option is quite new (>=3.45).
    There's also a good article by Brian Hatch at InfoSec News:
    http://lists.virus.org/isn-0310/msg00030.html

    b) use amap (http://www.thc.org/releases.php)
    Amap is a next-generation scanning tool, which identifies applications and
    services even if they are not listening on the default port by creating a
    bogus-communication and analyzing the responses. Changes: more
    identifications, SSL bugix. Voted into the top-50 security tool list!

    There're other tools out there to do the identification, Nessus for
    example can do some detection, but the 2 tools above are the preferred
    ones by most people (in my case: plain nmap, but I recognize the merits of
    amap as well).

    Cheers,

    Miguel Dilaj (Nekromancer)
    Vice-President of IT Security Research, OISSG

    "Ivan Fratric" <hacky_2001@hotmail.com>
    16/12/2004 19:57

     
            To: Miguel Dilaj/PH/Novartis@PH, security-basics@securityfocus.com
            cc:
            Subject: Re: help interpreting the nmap output

    Thanks for the reply. I tried using netcat, and I get the following

    nc -vv xxx.xxx.xxx.xxx 80
    xxxxxxxxxxxx.com [xxx.xxx.xxx.xxx] 80 (http) open
    HEAD / HTTP/1.1
    Host: www.xxxxxxxxxxx.com

    HTTP/1.1 200 OK
    Date: Thu, 16 Dec 2004 19:41:45 GMT
    Server: Apache
    Content-Type: text/html; charset=iso-8859-1

    So I guess the apache is configured not to show its version? When I try
    using netcat on the other mentioned ports I get something like

    nc -vv xxx.xxx.xxx.xxx 23
    xxxxxxxxxxxx.com [xxx.xxx.xxx.xxx] 23 (telnet) open
    sent 0, rcvd 0: NOTSOCK

    Is there anything else that can be done regarding the ports giving output
    like this?


  • Next message: Michael Pace: "RE: Vpn concentrator - health care client"

    Relevant Pages

    • Re: Interesting webserver intrusion (apache 1.3.31, mod_ssl 2.8.18, php 4.3.7)
      ... one thing that would definitely help are tighter firewall rules ... Since then, I have blocked the common IRC ports, and the firewall was ... >to the attacker or some IRC channel ... Apache needs to open the outbound to ...
      (Incidents)
    • Re: pkg_list & applications from source
      ... I installed apache, php and a few other applications from source. ... package or ports. ... because it tries to install my already installed applications. ... So if you don't like the config and want to start over it's as easy as "make ...
      (comp.unix.bsd.freebsd.misc)
    • Build Frustrations
      ... I'm of the realization that FreeBSD is a volunteer project, but there's a recent issue I've hit, and I've contacted nearly EVERYONE I can think of about it to try and fix, and the response I've gotten has been a deafening silence. ... I've emailed ports maintainers, APR developers, the general apache mailing list, and gotten nothing. ... That said, I believe there's either a bug in the core operating system here, or a bug in the way some of the critical ports are built, and I cannot figure it out alone. ...
      (freebsd-questions)
    • RE: Build Frustrations
      ... I'm of the realization that FreeBSD is a volunteer project, ... Here's what I sent to the maintainers of the above two ports: ... I believe there's either a bug in the core operating system ... confused at least one apache committer. ...
      (freebsd-questions)
    • Re: Upgrade PHP
      ... > server in which i have to upgrade PHP from 4 to 5. ... > I've read about the ports, ... Now go ahead and replace all of the php4 modules with their php5 ... You should stop apache before starting on this whole exercise, ...
      (freebsd-questions)

  • Quantcast