161/162 UDP SNMP

  • nmap -n -vv -sV -sU -Pn -p 161,162 –script=snmp-processes,snmp-netstat IP
  • onesixtyone -c communities.txt IP
  • snmp-check -t IP -c public
  • snmpwalk -c public -v 1 IP [MIB_TREE_VALUE]
  • hydra -P passwords.txt -v 192.168.1.10 snmp
  • public
  • private
  • community
  • SNMP MIB Trees
    • 1.3.6.1.2.1.25.1.6.0 System Processes
    • 1.3.6.1.2.1.25.4.2.1.2 Running Programs
    • 1.3.6.1.2.1.25.4.2.1.4 Processes Path
    • 1.3.6.1.2.1.25.2.3.1.4 Storage Units
    • 1.3.6.1.2.1.25.6.3.1.2 Software Name
    • 1.3.6.1.4.1.77.1.2.25 User Accounts
    • 1.3.6.1.2.1.6.13.1.3 TCP Local Ports
  • Metasploit
    • auxiliary/scanner/snmp/snmp_enum
    • auxiliary/scanner/snmp/snmp_enum_hp_laserjet
    • auxiliary/scanner/snmp/snmp_enumshares
    • auxiliary/scanner/snmp/snmp_enumusers
    • auxiliary/scanner/snmp/snmp_login