UDP 161: SNMP

Simple Network Management Protocol is an Internet Standard protocol for collecting and organizing information about managed devices on IP networks and for modifying that information to change device behavior. Typically, SNMP agents listen on UDP port 161, asynchronous traps are received on port 162.

--Wikipedia

Nmap

nmap -sU --open -p 161 <ip>

Management information Base (MiB)

IBM Knowledge Center

Community strings fuzzdb/wordlist-common-snmp-community-strings.txt at master · fuzzdb-project/fuzzdb · GitHub

GitHub - trailofbits/onesixtyone: Fast SNMP Scanner

onesixtyone -c <community-strings-file> -i <ips>

SNMPWalk

snmpwalk -c public -v1 <ip>

Using mib-values

snmpwalk -c public -v1 <ip> 1.3.6.1.2.1.25.4.2.1.2

Make MiBs readable

apt install snmp-mibs-downloader

Comment out mibs: line in /etc/snmp/snmp.conf

snmpwalk -c public -v2c <ip>

snmp-check

snmp-check <ip>

Other tools

  • snmpenum

Last updated