Bitzu

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

Single choice

Which community string is the common default for read-only access?

  1. public
  2. manager
  3. secret
  4. 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.

Select all that apply

Which statements about SNMPv3 are true?

  1. It supports message authentication
  2. It can encrypt message contents
  3. It relies only on cleartext community strings
  4. It runs only over TCP 22
  5. 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.

True or false

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.

Download on the App StoreGet it on Google Play

More 312-50 topics in this module