PORT 161/udp - SNMP
The Simple Network Management Protocol (SNMP) talks to your network to find out information related to this network device activity: for example, bytes, packets, and errors transmitted and received.
Introduction
SNMP is not well-understood by many network administrators. This often results in SNMP misconfigurations, which can result in significant information leakage.
Scanning the network
To scan for open SNMP ports we can use nmap:
sudo nmap -sU --open -P 161 <ip-addr>/<mask> -oG open-snmp.nmapBruteforce attack
We can use tools such as onesixtyone, which will attempt to brute force attack against a list of IP addresses. First we need to create a file containing community strings:
echo public > community.txt
echo private >> community.txt
echo manager >> community.txt
for ip in $(seq 1 254); do echo 10.0.0.$ip; done > ips.txtAnd run the tool:
onesixtyone -c community.txt -i ips.txtEnumeration
Entire MIB Tree
Windows Users
Running Windows Processes
Open TCP Ports
Installed Software
Last updated
Was this helpful?