Background
- SNMP runs on port 161 by default.
- SNMP protocol versions 1, 2, and 2c have no traffic encryption. Only version 3 has proper encryption and authentication.
- Traditional SNMP protocols have weak authentication schemes. Some servers are left with default public and private community strings.
Device Discovery
With nmap
See Options
With onesixtyone
-c
takes a file with Community Strings-i
takes a file with target IP addresses
MIB Enumeration
See MIB for a table of useful MIB values.
snmpwalk
-c
to specify community string-v
to specify SNMP protocol version-t
to specify timeout period (e.g.,10
)- If
mib-value
is not given, the whole MIB tree is dumped.- Example:
1.3.6.1.2.1.25.4.2.1.2
for running Windows processes
- Example:
snmp-check
-c
to specify community string (default: public)-v
to specify SNMP protocol version-t
to specify timeout period (e.g.,10
)