killchain-compendium/Enumeration/SNMP.md

636 B

SNMP Enumeration

snmpcheck

cd snmpcheck
gem install snmp
chmod 775 snmpcheck-<version>.rb
./snmpcheck-<version>.rb $TARGET_IP -c <community-string>

Onesixtyone

  • Find community strings
onesixtyone $TARGET_IP -c /usr/share/seclists/Discovery/SNMP/snmp-onesixtyone.txt

snmpwalk

  • Query users
snmpwalk -v2c -c <community_string, e.g. internal or public> $TARGET_IP 1.3.6.1.4.1.77.1.2.25

snmpbulkwalk

  • Query for login data
snmpbulkwalk -v2c -c internal $TARGET_IP | grep login