312-50V13 practice question 6 of 35

Which Nmap switch helps evade IDS or firewalls?

Full set: 573 questions

Domain Reconnaissance Techniques

Answer options
A: -n/-R
B: -0N/-0X/-0G
C: -T Correct answer
D: -D
Correct Answer:
C. -T
Explanation

The Nmap -T (Timing Template) switch is used to control the timing and aggressiveness of a scan. Using a low-numbered template, such as -T0 (paranoid) or -T1 (sneaky), significantly slows down the scan by increasing the delay between sent probes. This technique is specifically designed to evade rate-based Intrusion Detection Systems (IDS) and Intrusion Prevention Systems (IPS). These security systems often trigger alerts based on a high volume of connection attempts from a single source in a short period. By reducing the scan speed, the attacker's activity can blend in with normal network traffic, thereby avoiding detection.

Why Incorrect

A. -n/-R: These switches control DNS resolution. -n disables it to speed up scans, and -R forces it. They are not primary mechanisms for evading firewalls or IDS.
B. -0N/-0X/-0G: This represents invalid Nmap syntax. The likely intended options are -sN (NULL), -sX (Xmas), and -sF (FIN) scans, which are used to bypass specific stateless firewalls, not modern IDS in general.
D. -D: This switch initiates a decoy scan, which obfuscates the true source of the scan by including spoofed IP addresses. While this is an evasion technique, it aims to confuse attribution rather than prevent the scan's detection. An IDS will likely still detect the scanning activity.

References

1. Nmap Official Documentation: In the Nmap Reference Guide

the section on "Timing Templates (-T)" explicitly states: "The paranoid (0) and sneaky (1) modes are for IDS evasion." This confirms that the primary purpose of these specific timing templates is to bypass detection systems.

Source: Nmap Reference Guide

Chapter 15. Performance

Section: Timing Templates (-T). Retrieved from https://nmap.org/book/man-performance.html

2. University Courseware: Lecture materials from reputable computer science programs cover Nmap's evasion capabilities. For instance

course notes on network security often detail how timing manipulation is a key strategy for stealth scanning.

Source: University of Colorado

Boulder. CSCI 4273/5273 - Network and Distributed Systems Security. Lecture notes on "Network Reconnaissance" describe Nmap evasion techniques

including the use of -T0 (paranoid) for timing-based evasion.

3. Academic Publication: Research on IDS evasion techniques frequently cites Nmap's capabilities. Studies analyze how modifying scan timing parameters

as done with the -T switch

effectively reduces the likelihood of detection by common IDS platforms.

Source: Al-Harbi

A.

& Al-Aqrabi

H. (2021). A Comprehensive Review of Network Intrusion Detection Systems Evasion and Countermeasure Techniques. In Proceedings of the 3rd International Conference on Computer and Information Sciences (ICCIS). (DOI: https://doi.org/10.1109/ICCIS52649.2021.9633901). The paper discusses various evasion methods

including "Slow Scans" (Section III-A)

which corresponds to Nmap's -T functionality.

Scroll to Top