Skip to content

161 - Pentesting snmp

SNMP stands for "Simple Network Management Protocol". It is a standard protocol used to monitor and manage network devices, such as routers, switches, and servers. SNMP allows network administrators to monitor the performance and status of network devices, receive notifications of network events and failures, and configure and control network devices remotely.


sudo nmap -sU --open -p 161 $(target)


git clone
cd snmpcheck/
gem install snmp
chmod +x snmpcheck-1.9.rb
snmpcheck.rb -c COMMUNITY_STRING


sudo apt install snmp-mibs-downloader
sudo vim /etc/snmp/snmp.conf
# <- commanet mibs
snmpwalk -c public -v2c $IP


snmpbulkwalk -c public -v2c $IP . > snmpbulkwalk.out
cat snmpbulkwalk.out| grep -oP '::.*?\.' | sort | uniq -c | sort -n