CEH Enumeration and System Hacking Practice Question
A security analyst captures the following SMTP conversation: 220 mail.example.com ESMTP; HELO client; 250 Hello; VRFY root; 250 Super-User; VRFY admin; 252 Cannot VRFY user; VRFY user1; 550 User unknown. Which attack is the analyst performing?
⚠ Common exam trap
Many candidates confuse VRFY enumeration with SMTP open relay testing, but open relay checks the server's willingness to forward mail for arbitrary domains, not the validity of local user accounts.
Answer choices
Why each option matters
Answer the question above first, then reveal the full breakdown to understand why each option is right or wrong.
Correct answer & explanation
✓
SMTP user enumeration via VRFY
The analyst is using the SMTP VRFY command to check if specific usernames (root, admin, user1) exist on the mail server. The responses '250 Super-User' and '252 Cannot VRFY user' confirm valid usernames, while '550 User unknown' indicates an invalid one. This is a classic SMTP user enumeration technique, often used in the reconnaissance phase to gather valid account names for further attacks like password guessing or phishing.
Answer analysis
Option-by-option breakdown
For each option: why learners choose it and why it is or isn't the right answer here.
- ✗
SMTP header injection
Why it's wrong here
SMTP header injection exploits vulnerabilities in web applications or mail servers that fail to properly sanitize user input, allowing an attacker to insert arbitrary header fields (e.g., "Bcc:", "Subject:", "From:") into an email. This can lead to email spoofing, spamming, or bypassing security filters. The provided scenario, however, describes the use of the VRFY command, which is a direct query for user existence, not an attempt to manipulate email headers.
- ✗
SMTP open relay testing
Why it's wrong here
SMTP open relay testing determines if a mail server allows unauthenticated users to send emails to external domains, effectively acting as a relay for spam or malicious content. Attackers typically attempt to send a test email from an arbitrary external address to another external address through the target server without providing credentials. The VRFY command, used to verify user existence, is distinct from the process of attempting to send mail through an unauthenticated relay.
- ✓
SMTP user enumeration via VRFY
Why this is correct
SMTP user enumeration via VRFY is a technique where an attacker uses the VRFY (verify) command to query the mail server for the existence of specific usernames. A successful VRFY command typically elicits a "250 OK" response along with the full name or email address of the user if the account exists, whereas an invalid user often results in a "550 No such user" or similar error. This differential response allows an attacker to systematically build a list of valid user accounts on the system, which can then be used for further attacks like brute-forcing or phishing.
- ✗
SMTP DDoS attack
Why it's wrong here
An SMTP Distributed Denial of Service (DDoS) attack aims to overwhelm a mail server with a massive volume of connection requests, legitimate-looking email traffic, or malformed packets from multiple compromised sources, rendering it unavailable to legitimate users. This typically involves a flood of HELO, MAIL FROM, RCPT TO, or even VRFY commands, but at an extremely high rate and scale designed to exhaust server resources. A few VRFY commands, as implied by an "SMTP conversation" snippet, are diagnostic or enumerative, not indicative of a resource-exhausting DDoS attempt.
Go deeper
Related to this question
About these practice questions
Courseiva writes every CEH question from scratch — 870 in total, each with an explanation and a wrong-answer breakdown. None are copied from real exams or dumps. Learn why practice questions differ from exam dumps →
JA
Written by Johnson Ajibi, MSc IT Security
Senior Network & Security Engineer · founder of Courseiva
This CEH practice question is part of Courseiva's free EC-Council certification practice question bank. Courseiva provides original exam-style practice questions with explanations, topic-based practice, mock exams, readiness tracking, and study analytics to help learners prepare for the CEH exam.