RE: How to exploit snmp

From: Clement Dupuis (cdupuis_at_cccure.org)
Date: 07/22/05

  • Next message: Mark Lewis: "Re: IPX over IPSec VPNs or SSL VPNs"
    To: "'Kevin Wood'" <kwood@exchangesolutions.com>, "'Juan B'" <juanbabi@yahoo.com>, <security-basics@securityfocus.com>
    Date: Thu, 21 Jul 2005 18:48:39 -0400
    
    

    Good day Kevin,

    The great thing about SNMP is the fact that it allow you to query the remote
    host and get tons of information about that host. If it is a windows host
    for example, you could see what patches have been applied, when the computer
    was last rebooted, how many interface there is on the box, what are the
    routing in place, etc... etc... etc...

    What you wish to do now is to use a tool such as SNMPwalk or solarwinds SNMP
    walk (commercial but there is a 30 demo available) or the freeware from the
    supplemental tools for windows. Any of these tools can help you milk the
    information from the remote host.

    If a host has not been rebooted for months, you know that no patch has been
    applied for months as well.

    Other issues are that it uses UDP which can be spoofed. It is a nice way to
    create havoc within a network. It also sends the community string in clear
    text if you have the ability to sniff, so even if you change them for a hard
    to guess string, it could still be gathered. If you use SNMP V3, then you
    have more security features that you could use to better protect, however
    very few people are using V3 across the board.

    Take care

    Clement
     

    Clément Dupuis, CD
    President/Security Evangelist/Chief Learning Officer (CLO)
    CCCure Enterprise Security & Training Inc.
    CISSP, GCFW, GCIA, Security+, CEH, CCSA, MBNS, MBIS, MBHS, CCSE, ACE
    Tel: 954 364 8410 (Florida)
    Tel: 514 907 1671 (Montreal)
    Tel: 418 907 0263 (Quebec)
    Fax: 636 773 6328

    Maintainer of :

    The CISSP and SSCP Open Study Guides Web Site
    http://www.cccure.org

    The Professional Security Testers Warehouse
    http://www.professionalsecuritytesters.org
      

    > -----Original Message-----
    > From: Kevin Wood [mailto:kwood@exchangesolutions.com]
    > Sent: Thursday, July 21, 2005 9:28 AM
    > To: Juan B; security-basics@securityfocus.com
    > Subject: RE: How to exploit snmp
    >
    > By default the community string is set to public..It is generally
    > considered to be a bad idea to leave the community name set to public
    > because it allow people to query using snmp and get information about
    > your server..You should change the name and if possible have a change
    > processes in place that changes the community name once in a while..
    >
    > -----Original Message-----
    > From: Juan B [mailto:juanbabi@yahoo.com]
    > Sent: July 18, 2005 12:15 PM
    > To: security-basics@securityfocus.com
    > Subject: How to exploit snmp
    >
    > HI
    > using nessus I found that one of the machines in the network. maybe an
    > ADSL router has the snmp community private or public. nessus also
    > reffered to CVE:
    > CAN-1991-0517,CAN 1991-0186,CAN 1999-0254,CAN
    > 1999-0516
    > BID 11237,10576,117,2112,6825,7212,7317,9681,986
    > other references: IAVA-2001-B-001
    >
    > How according to nessus output I find an exploit? I want to see for my
    > self why private/public community names are not good.
    >
    > I am using Whoppix how I can find expolits there?
    >
    > thanks very much.
    > Juan
    >
    >
    >
    > I tried to find with the ./find-sploits exploits for snmp but dont know
    > which to use.
    >
    > thanks very much.
    >
    > Juan
    >
    > __________________________________________________
    > Do You Yahoo!?
    > Tired of spam? Yahoo! Mail has the best spam protection around
    > http://mail.yahoo.com
    >
    >


  • Next message: Mark Lewis: "Re: IPX over IPSec VPNs or SSL VPNs"

    Relevant Pages

    • Re: what program to send snmp traps?
      ... Generate a notification (trap) to report an event to the SNMP manager with ... If the -a flag is not specified, the default host is the local host. ... Message specifies the information the trap will hold. ...
      (comp.unix.aix)
    • selective printing of lines
      ... sed script to look at this format, find out if SNMP is open, then ... Host 10.10.11.2 is running ... Solaris 5.8 production ... FreeBSD 6.0 kernel production ...
      (comp.lang.awk)
    • Re: selective printing of lines
      ... JMH wrote: ... sed script to look at this format, find out if SNMP is open, then ... Host 10.10.11.3 is running ...
      (comp.lang.awk)
    • SNMP Trap Destination
      ... I'm a little unsure if this is the best group to ask SNMP questions - if not ... By host names would those be NETBIOS host names or DNS host names or doesn't ... repoint the SNMP trap destination to a new IP by updating one DNS entry. ...
      (microsoft.public.windows.server.general)
    • SNMP Trap Destination
      ... I'm a little unsure if this is the best group to ask SNMP questions - if not suggestions are welcome. ... When I right click on the SNMP Service, and go to the "Traps" tab there is some text which states the trap destinations may be host names, IP addresses or IPX addresses. ... I am trying to use a fully qualified DNS name and it doesn't appear to be working. ... I understand that using a DNS host name does have drawbacks but on the other hand if I want to change the IP address of the trap destination, I don't want to have to go through and update the ip address on all our servers. ...
      (microsoft.public.windows.server.networking)