Re: Questions: nmap, nessus unreliability, setting up a packet capture box, using Impacket

From: Renaud Deraison (deraison_at_nessus.org)
Date: 04/27/04

  • Next message: James Davis: "Re: Questions: nmap, nessus unreliability, setting up a packet capture box, using Impacket"
    Date: Tue, 27 Apr 2004 13:22:38 -0400
    To: pen-test@securityfocus.com
    
    

    On Tue, Apr 27, 2004 at 08:49:09AM +0200, Anders Thulin wrote:
    > nessus -- I don't trust it. It may provide leads, but each needs to be
    > verified
    > independently. Haven't checked it recently, but I remember that I found
    > that testing
    > vulnerabilities in ONC RPC services trusted the portmapper data entirely,
    > and
    > didn't even check that the identified ports did in fact run the announced
    > services,
    > and that was below the reporting quality I want. (That can be useful for
    > assessing
    > a vulnerability assesment, by the way ... let portmapper announce rex on
    > some port,
    > but run a web server on it instead.)

    In that particular case, Nessus would identify that a web service is
    running on the port _and_ would tell you that the portmapper announced rex.

    The problem with enumeration plugins like the ONC RPC or DCE RPC ones,
    is the question of what people really want to see : some will say that
    what they are interested in is to know which RPC service is running on
    which port - and that it does not matter if you can actually reach the
    port or not (and for UDP services it would actually be quite easy to
    reach the port, as many firewalls are configured to let in incoming UDP
    traffic with a source port set to 53). Of course, if port 135/111 is
    reachable from the network, you have issues.

    Other people are asking to see only the services which are really
    reachable, which is not necessarily true from the point of view of
    the scanner.

    In the end, it's very difficult to make both groups happy, and adding an
    option in the config would probably solve the issue on a rethorical point
    of view, but in practice would add more complexity.

    So in our case, we take the (ONC|DCE) RPC outputs, and we just tell the
    user that this is the service advertised.

    That being said, I will probably add some code to "double check"
    advertised services, though, as it should not be too intrusive, and I
    think you for your input.

    If you or any other person on this list have any gripe with Nessus, once
    again feel free to let me know and I'll try to fix it. Nessus is not
    written in stone and can evolve quite rapidly.

                                    -- Renaud

    --
    Renaud Deraison
    http://www.nessus.org
    ------------------------------------------------------------------------------
    Ethical Hacking at the InfoSec Institute. Mention this ad and get $545 off
    any course! All of our class sizes are guaranteed to be 10 students or less
    to facilitate one-on-one interaction with one of our expert instructors.
    Attend a course taught by an expert instructor with years of in-the-field
    pen testing experience in our state of the art hacking lab. Master the skills
    of an Ethical Hacker to better assess the security of your organization.
    Visit us at:
    http://www.infosecinstitute.com/courses/ethical_hacking_training.html
    -------------------------------------------------------------------------------
    

  • Next message: James Davis: "Re: Questions: nmap, nessus unreliability, setting up a packet capture box, using Impacket"

    Relevant Pages

    • Re: Python-Bittorrent und NFS
      ... Ich merke gerade jetzt erst bei meinen Recherchen, daß ich da mit Locking ... Der Portmapper muss auch laufen. ... Also kommst du nicht umhin, den RPC Portmapper zu starten, damit sich ... zugriff auf UDP Port 111 und den Port des NLM lockd ...
      (de.comp.os.unix.networking.misc)
    • Re: Port 785 = Network Terrorist?
      ... With Sun's original setup of the protocol, the "portmapper" runs ... on a well-known port, but other RPC programs are assigned variable ... When a program wants to contact an RPC service, ... actively using something else that uses RPC, I'd uninstall NFS services, ...
      (comp.os.linux.security)
    • Re: Was an hosts.allow habe ich nicht verstanden?
      ... Entweder auf ihn selbst, oder auf irgendeinen RPC-Dienst, dessen Mapping ... Ja, aber anderes RPC, und Ja, aber nicht nur. ... Allerdings ist der Portmapper vollkommen Ueberfluessig, ... Port 111 waehrend DCE RPC auf Port 135 lauscht. ...
      (de.comp.security.misc)
    • Re: SBS 2003 and Outlook RPC over HTTP issues
      ... Look in IIS at your Exchweb, Exadmin, exchange-oma, and RPC sites' directory ... Why is it called RPC over HTTP if HTTP is not really needed to be ... As pointed out by others, port 80 does NOT need to be open, and yes, it ... I have about 20 of these SBS machines at other locations and have ...
      (microsoft.public.windows.server.sbs)
    • Re: SBS 2003 and Outlook RPC over HTTP issues
      ... , but some of my clients do not want users to ... definitely closed now cause when I open it up http: ... the article is incorrect in stating that port 80 is needed. ... that port 443 and port 80 must be open to use RPC over HTTP. ...
      (microsoft.public.windows.server.sbs)