pentesting, updated
SNMP enumeration
Pull system, network and process information from SNMP using guessed or default community strings.
Goal
Confirm SNMP is reachable with a usable community string, then extract whatever that access level exposes — system info, interfaces, routes, even running processes.
How to test
onesixtyone -c community-strings.txt 10.10.10.5 # brute-force the community string
snmpwalk -v2c -c public 10.10.10.5 . 2>&1 | head # dump the whole MIB tree: see [snmpwalk](/docs/pentest-cheatsheets/tools/network/snmpwalk)
snmpwalk -v2c -c public 10.10.10.5 1.3.6.1.2.1.25.4.2.1.2 # running processes (Windows: can leak passwords in args)
What to look for
A working community string (public/private first), and under it any user list, routing table, or process list containing credentials passed as command-line arguments.
Notes
SNMPv1/v2c sends the community string in cleartext on the wire as well as guessing it — note that as a finding on its own even where the string itself is non-default.