161 - SNMP


The SNMP Management Information Base (MIB) is a database that typically contains network management information. The database is organized in a tree-like structure, where branches represent different organizations or network functions. The leaves of the tree (final endpoints) correspond to specific variable values that can be accessed and probed by an external user.

Scan for SNMP:

sudo nmap -sU --open -p 161 -oG open-snmp.txt

We can leverage a tool like onesixtyone to perform a brute force attack against a list of IP addresses.

onesixtyone -c wordlist.txt -i iplist.txt

After identifying SNMP services, we can initiate queries to extract specific MIB data that could be of interest.

Windows SNMP Enumeration Example

MIB Tree:

snmpwalk -c public -v1 -t 10

Windows users:

snmpwalk -c public -v1

Windows processes:

snmpwalk -c public -v1

Open TCP ports:

snmpwalk -c public -v1

Installed software:

snmpwalk -c public -v1

Last updated