You are tasked with identifying live hosts on a network protected by an aggressive IDS. Which TWO of the following Nmap techniques are considered the most effective for evading detection while performing host discovery?
Trap 1: Increase the packet rate using --max-rate 5000.
Increasing the packet rate to 5000 packets per second creates a massive amount of network traffic. This will almost certainly trigger an IDS, as it creates a distinct and loud traffic spike that is easily detectable by any modern network monitoring solution or basic security appliance.
Trap 2: Use the -T5 (insane) timing template for speed.
The -T5 template is the fastest Nmap setting and is intended for high-speed networks where the attacker does not care about detection. It sends packets as quickly as possible, creating a very obvious traffic pattern that any IDS will flag as an active, aggressive scan immediately.
Trap 3: Scan all 65,535 ports on every host.
Scanning every port is highly conspicuous and significantly increases the probability of detection. A professional penetration test should focus on relevant ports to limit the traffic footprint. The sheer volume of connections required to probe every port creates a large footprint that security systems are tuned to notice.
- A
Use the -T0 timing template.
The -T0 (paranoid) timing template sends packets with very long delays between them, often seconds apart. This extreme slowness is designed specifically to evade IDS signatures that trigger based on high-frequency packet spikes, though it makes the overall scan process take a significantly longer amount of time.
- B
Increase the packet rate using --max-rate 5000.
Why it fails: Increasing the packet rate to 5000 packets per second creates a massive amount of network traffic. This will almost certainly trigger an IDS, as it creates a distinct and loud traffic spike that is easily detectable by any modern network monitoring solution or basic security appliance.
- C
Enable packet fragmentation using -f.
Fragmentation splits the IP header across multiple smaller packets. This is a classic evasion technique that can confuse simple signature-based IDS that are not configured to reassemble fragmented packets before inspection. It effectively bypasses basic filters that only look at the initial packet header for malicious patterns.
- D
Use the -T5 (insane) timing template for speed.
Why it fails: The -T5 template is the fastest Nmap setting and is intended for high-speed networks where the attacker does not care about detection. It sends packets as quickly as possible, creating a very obvious traffic pattern that any IDS will flag as an active, aggressive scan immediately.
- E
Scan all 65,535 ports on every host.
Why it fails: Scanning every port is highly conspicuous and significantly increases the probability of detection. A professional penetration test should focus on relevant ports to limit the traffic footprint. The sheer volume of connections required to probe every port creates a large footprint that security systems are tuned to notice.