312-50 ยท Enumeration
How does SNMP enumeration work?
SNMP versions and community strings, MIB and OIDs, snmpwalk and snmp-check, and v3 protections.
Key points
- SNMP agents listen on UDP 161.
- In v1 and v2c the community string is the only credential and travels in cleartext, with public and private as common defaults.
- Data lives in a MIB tree addressed by OIDs, so a walk of the tree can reveal interfaces, routes, processes and system details.
- SNMPv3 adds authentication and encryption.
Source: https://www.rfc-editor.org/rfc/rfc3414
Practice questions
Which community string is the common default for read-only access?
- public
- manager
- secret
- monitor
Show answer
Answer: A. public
public is the widely used read-only default, with private commonly used for read-write. Others are not standard defaults.
Which statements about SNMPv3 are true?
- It supports message authentication
- It can encrypt message contents
- It relies only on cleartext community strings
- It runs only over TCP 22
- It removes the need for any access control
Show answer
Answer: A. It supports message authentication, B. It can encrypt message contents
SNMPv3's user-based security model adds authentication and privacy. Community strings are the v1/v2c model, and access control is still needed.
SNMP traps are sent from the manager to the agent on UDP 161.
Show answer
Answer: False
Traps flow from agent to manager, normally to UDP 162. Port 161 is where agents receive manager requests.
Practice 8 questions on this topic in Bitzu
Short lessons, instant explanations and spaced review of what you get wrong. Free on iOS and Android.
