SNMP Enumeration (Simple Network Management Protocol)
Fix SNMP output values so they are human readable
apt-get install snmp-mibs-downloader download-mibs
echo "" > /etc/snmp/snmp.conf
root@kali:~ # nmap -sU -v --open -p 161 192.168.1.12
Note: SNMP is using UDP not TCP
root@kali:~ # echo public > /tmp/community.txt
root@kali:~ # echo private >> /tmp/community.txt
root@kali:~ # echo manager >> /tmp/community.txt
root@kali:~ # echo 192.168.1.12 > /tmp/ip.txt
root@kali:~ # onesixtyone -c /tmp/community.txt -i /tmp/ip.txt
Windows SNMP Enumeration Example
root@kali:~ # snmpwalk -c puplic -v1 192.168.1.12
SNMP Enumeration Commands
snmpcheck -t $ip -c public
snmpwalk -c public -v1 $ip 1|
grep hrSWRunName|cut -d\* \* -f
snmpenum -t $ip
onesixtyone -c names -i hosts
nmap -sV -p 161 --script=snmp-info $ip/24
Automate the username enumeration process for SNMPv3:
apt-get install snmp snmp-mibs-downloader
wget https://raw.githubusercontent.com/raesene/TestingScripts/master/snmpv3enum.rb
/usr/share/metasploit-framework/data/wordlists/snmp\_default\_pass.tx