[161] SNMP

Default configuration file: /etc/snmp/snmpd.conf

The best way to enumerate the snmp is installing the next package and modifying the /etc/snmp/snmp.conf and comment the mibs line (monitored machine) and filter by hrSWRunParameters

sudo apt-get install snmp-mibs-downloader snmp -y
#Filter only by process
snmpbulkwalk -v2c -c public 10.10.11.248 HOST-RESOURCES-MIB::hrSWRunParameters

hrSWRunParameters Show the parameters utilized when a program or process has been ran on the system.

# Enumerate the SNMP Service
Intrusionz3r0X@htb[/htb]$ snmpwalk -v2c -c public 10.129.14.128
onesixtyone -c /opt/useful/SecLists/Discovery/SNMP/snmp.txt 10.129.14.128

#Bruteforce to UID (Execute several times to make sure you can get as much information as possible)
Intrusionz3r0X@htb[/htb]$ braa <community string>@<IP>:.1.3.6.*

Last updated