SNMP
— Simple Network Management ProtocolSNMP is used by network administrators to monitor routers, switches, firewalls, and servers. An SNMP Manager queries SNMP Agents using Management Information Bases (MIBs) and receives unsolicited alerts called SNMP Traps.
Interactive Session: How SNMP Works
Step through the packet exchange sequence between nodes.
Interactive Execution Sandbox
Interact with a live or clearly-labelled simulated instance of SNMP.
Threat Model & Attack Simulation
How this protocol is attacked in practice, what defenders can see, and which control stops it.
Threat model & attack simulation
SimulatedDefensive education. Every step runs in this page; no traffic is generated or sent.
Community string guessing
Credential attackDevices left on the default public or private community expose configuration and statistics.
Probe the agent
The attacker tries common community strings against UDP 161.
Repeated SNMP requests with failed community values.
Device reconfiguration and network reconnaissance.
Defences that matter
- SNMPv3 with authentication and privacy
- Remove default communities
- ACLs limiting management sources
This is a conceptual model for defenders, not an exploit toolkit. It contains no payloads, tooling or instructions for attacking systems you do not own.
Protocol Specification & Architecture
Key characteristics, real-world deployment patterns, and trade-offs.
Core Technical Features
- Manager/Agent architecture with hierarchical MIB tree
- Operations: GET, GET-NEXT, GET-BULK, SET, and TRAP alerts
- Runs over UDP port 161 (polling) and port 162 (traps)
- SNMPv3 adds cryptographic authentication (SHA/MD5) and privacy (AES/DES)
Real-World Use Cases
- Monitoring switch interface bandwidth and packet drop rates
- Server CPU, RAM, and disk utilization alerts
- Printer ink and error tracking
Advantages & Strengths
- Supported by virtually every enterprise network switch, router, and UPS device in the world
Limitations & Vulnerabilities
- SNMPv1 and v2c send community strings in cleartext (insecure without SNMPv3)