-
Notifications
You must be signed in to change notification settings - Fork 14
SNMP Enumeration
lethanhtung01011980 edited this page Dec 27, 2019
·
8 revisions
- SNMP protocols 1, 2, and 2c offer no traffic encryption
- Weak authentication schemes
- Commonly left configured with default public and private community strings
nmap -sU --open -p 161 x.x.x.1-254 -oG mega-snmp.txt
echo public > community
echo private >> community
echo manager >> community
for ip in $(seq 1 254);do echo x.x.x.$ip;done > ips
onesixtyone -c community -i ips
- Entire MIB Tree:
snmpwalk -c public -v1 x.x.x.x
- Windows Users:
snmpwalk -c public -v1 x.x.x.x 1.3.6.1.4.1.77.1.2.25
- Running Windows Processes:
snmpwalk -c public -v1 x.x.x.x 1.3.6.1.2.1.25.4.2.1.2
- Open TCP Ports:
snmpwalk -c public -v1 x.x.x.x 1.3.6.1.2.1.6.13.1.3
- Installed Software:
snmpwalk -c public -v1 x.x.x.x 1.3.6.1.2.1.25.6.3.1.2
Need to wait a while for information
snmp-check -c public -v1 x.x.x.x
snmp-check -c public -v2c x.x.x.x