Back to services
service161/udp

SNMP

SNMPSimple Network Management ProtocolMIB

SNMP (Simple Network Management Protocol) monitors network devices. Public/private community strings expose system information, running processes, and network configuration.

Ports

PortProtocolDescription
161udpSNMP
162udpSNMP trap

Fingerprints

Banner / ProbeExpected Response
nmap -sV -p <port> <target>Service banner and version info
nc -nv <target> <port>Raw banner grab

Key Files

PathDescription
/etc/passwdList of system users
/etc/shadowPassword hashes for local users
/etc/ssh/sshd_configSSH server configuration
~/.ssh/id_rsaSSH private key

Default Credentials

UsernamePasswordContext
adminadminGeneric admin account
rootrootGeneric root account

Known CVEs

IdentifierTypeDescription
InfoPublic community string default

Exploitation Primitives

TechniqueTool / CommandResult
SNMP Walksnmpwalk -v2c -c public <target>Full SNMP data dump
SNMP Bruteonesixtyone -c community.txt <target>Community string brute force

Notes

Always start with full port scan: `nmap -sV -sC -p- <target>`.

Check for default credentials before brute-forcing.

Use service-specific NSE scripts: `nmap --script <service>-* -p <port> <target>`.

Remember to check both IPv4 and IPv6 if applicable.

Seen on

ShodanCensysFOFAZoomEye

References