CEH Footprinting, Reconnaissance and Scanning Practice Question
A penetration tester wants to evade an IDS while scanning a target network. The tester uses the Nmap command: nmap -sS -f 10.10.10.1. What does the -f flag accomplish?
⚠ Common exam trap
Many exam-takers confuse the -f flag with other Nmap options like -T (timing), -sI (idle scan), or -S (spoofing), because they all start with a single dash and are used for evasion or stealth, but each has a distinct function.
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
✓
It fragments the IP packets into 8-byte fragments
The -f flag in Nmap instructs the tool to fragment the IP packets into 8-byte fragments (or smaller, depending on the MTU). This is a common evasion technique used to bypass Intrusion Detection Systems (IDS) and firewalls by splitting the TCP header across multiple packets, making it harder for signature-based detection to reassemble and match the scan pattern.
Answer analysis
Option-by-option breakdown
For each option: why learners choose it and why it is or isn't the right answer here.
- ✗
It increases the timing template to T5 (insane)
Why it's wrong here
Increasing the timing template to T5 (insane) in tools like Nmap prioritizes scan speed over stealth and reliability. While it makes the scan very fast, it also generates a high volume of traffic in a short period, making it significantly easier for an Intrusion Detection System (IDS) to detect. IDSs are specifically designed to flag such aggressive and rapid network activity as suspicious, thus T5 is counterproductive for evasion.
- ✗
It uses an idle scan by bouncing off a zombie host
Why it's wrong here
An idle scan (-sI) operates by bouncing off a "zombie" host, inferring open ports on a target by observing changes in the zombie's IP ID sequence. While this technique provides excellent source IP anonymity by never sending packets directly from the attacker's machine to the target, it does not inherently make the scan pattern itself less detectable by an IDS monitoring the target network. The target still receives the scan packets, which an IDS can analyze for signatures or anomalies.
- ✗
It sends packets with a spoofed source IP address
Why it's wrong here
Sending packets with a spoofed source IP address, often using options like -D (decoy) or -S (source IP) in Nmap, aims to obscure the true origin of the scan or make it appear as if multiple hosts are scanning. Although this complicates traceback and attribution for network defenders, it does not directly alter the characteristics or signatures of the scan packets themselves. An IDS primarily analyzes the content and behavior of the packets arriving at the target, regardless of whether the source IP is legitimate or spoofed, making it ineffective for evading signature-based detection of the scan type.
- ✓
It fragments the IP packets into 8-byte fragments
Why this is correct
Fragmenting IP packets into small segments, such as 8-byte fragments using the -f flag, is a classic IDS evasion technique. Many Intrusion Detection Systems struggle with the efficient and accurate reassembly of highly fragmented packets, especially if they arrive out of order or are unusually small. This difficulty can cause the IDS to miss the complete signature of a malicious payload or scan, allowing the fragmented traffic to bypass detection and reach the target.
Go deeper
Related to this question
About these practice questions
This CEH question is part of Courseiva's 870-question bank — original exam-style content with full explanations and wrong-answer analysis, never real exam questions or exam 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.