312-50 ยท Enumeration
How do SMTP and DNS enumeration work?
SMTP VRFY/EXPN/RCPT, DNS zone transfer enumeration, plus IPsec, VoIP, RPC, Telnet, FTP, TFTP, IPv6 and BGP enumeration at concept level.
Key points
- SMTP servers may confirm valid mailboxes through VRFY, EXPN or the response to RCPT TO.
- DNS servers that allow zone transfers (AXFR) to anyone hand over every record in a zone.
- Other protocols leak too: RPC maps services to ports, Telnet and FTP are cleartext, TFTP has no authentication, and BGP and IPv6 expose routing and neighbor data.
Practice questions
Which SMTP command asks the server to confirm whether a mailbox exists?
- VRFY
- DATA
- QUIT
- HELO
Show answer
Answer: A. VRFY
VRFY verifies a user name. HELO greets, DATA starts the body and QUIT ends the session.
Which techniques can confirm valid mailboxes on an SMTP server?
- VRFY
- EXPN
- RCPT TO response differences
- STARTTLS
- AUTH PLAIN
Show answer
Answer: A. VRFY, B. EXPN, C. RCPT TO response differences
VRFY, EXPN and RCPT TO answers can reveal real accounts. STARTTLS and AUTH are for encryption and login.
Disabling VRFY alone guarantees that valid mailbox names cannot be enumerated.
Show answer
Answer: False
EXPN and the RCPT TO response can still leak valid names, so all three paths need handling.
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.
