Image
 
linkedin_logo.png rss_logo.jpg
twitter_logo.png youtube_logo.jpg
Latest Additions
 
EH-Net Login
Welcome Guest.






Lost Password?
No account yet? Register
Who's Online
We have 42 guests online
 
Advertisement

You are here: Home arrow Ethical Hacking Discussions and Related Certificationsarrow Network Pen Testingarrow Question with SNMP Enumeration
EH-Net
May 22, 2013, 12:02:50 AM *
Welcome, Guest. Please login or register.
Did you miss your activation email?

Login with username, password and session length
News: Go back to The Ethical Hacker Network Online Magazine Home Page
 
   Home   Help Calendar Login Register  
Pages: [1]   Go Down
  Print  
Author Topic: Question with SNMP Enumeration  (Read 2843 times)
0 Members and 1 Guest are viewing this topic.
blueaxis
Newbie
*
Offline Offline

Posts: 44


View Profile
« on: October 18, 2011, 06:21:18 PM »

I am trying to understand why running both these tools is giving me different results or information. I am referring to "snmpwalk" and "snmpenum".

I ran both these against a linux host. Primarily snmpenum outputs the running tcp/udp services while snmpwalk is showing nothing.

Just wanted to understand if this is (or not) related to command switches.

Here is my input:

snmpwalk -c public -v1 ip-address 1

Thanks in advance
Logged
lorddicranius
Sr. Member
****
Offline Offline

Posts: 447



View Profile WWW
« Reply #1 on: October 18, 2011, 11:29:33 PM »

I'm interested in learning how these work as well, so I've been doing a little searching to see if I can lend a hand.  SNMP is something I need to learn more about...

The "1" after the IP address, what's that for?  And have you tried specifying different SNMP versions with the "-v" option, or do you know it's v1 running on your target machine?
Logged

GSEC, eCPPT, Sec+
Agoonie
Full Member
***
Offline Offline

Posts: 176



View Profile WWW
« Reply #2 on: October 19, 2011, 08:34:30 AM »

I would agree with lorddicranius.  Ensure that the snmp version is 1 and not 2c or 3. You could use nmap (NSE) scripts to help.   They have snmp scripts that might help you out.  I think they even use some form of snmpwalk in the scripts anyway.  Hopefully that helps.


http://nmap.org/nsedoc/scripts/snmp-brute.html
Logged

OSCE, OSCP, OSWP, CISSP, GPEN

www.agoonie.com
blueaxis
Newbie
*
Offline Offline

Posts: 44


View Profile
« Reply #3 on: October 19, 2011, 09:33:42 AM »

I tried v2c but again the result was same as v1. It was inconsistent with the other tool I mentioned. I haven't tried version 3 so that's something I should poke around.
Logged
mambru
Jr. Member
**
Offline Offline

Posts: 98


View Profile
« Reply #4 on: October 19, 2011, 10:24:01 AM »

You should start learning how SNMP works and what MIBs and OIDs are
Logged
rance
Full Member
***
Offline Offline

Posts: 212


<censored>


View Profile
« Reply #5 on: October 19, 2011, 11:07:54 AM »

Been a while since i messed with SNMP, but try replacing your 1 at the end of your command with a .
Logged

Poking at security since 1986.  +++ATH
Pages: [1]   Go Up
  Print  
 
Jump to:  

Powered by MySQL Powered by PHP Powered by SMF 1.1.18 | SMF © 2013, Simple Machines
Joomla Bridge by JoomlaHacks.com
Valid XHTML 1.0! Valid CSS!
Page created in 0.567 seconds with 23 queries.
 
Exclusive Deal

sansfire13_245x90_cw90.jpg
SANSFIRE 2013
June 15 - 22

5% Off w/ Code: EHN_5

SANS Deals 4 EH-Netters
5% OFF Any SANS Course in Any Format!
Coupon Code: EHN_5 Including SANS Rocky Mountain 2013 & SANS Boston 2013
Polls
Compared to this year, 2013 will be:
 
Recent Forum Topics
EH-Net News Feeds
Latest Additions
 
         
Advertisement

© 2013 The Ethical Hacker Network
Joomla! is Free Software released under the GNU/GPL License.