Course contentsShow
← Security
Lesson 347 of 3,0528. Network Security - ReconnaissanceFree lesson

Firewall and IDS Evasion

Fragmentation, decoys, source port manipulation, and timing tricks to bypass detection systems.

Firewall and IDS Evasion

What you'll learn: How attackers use fragmentation, decoys, source port manipulation, and timing tricks to slip past firewalls and intrusion detection systems during reconnaissance.

Why Evasion Matters

When scanning networks (as you learned in previous port scanning lessons), your activity can trigger alarms in firewalls and Intrusion Detection Systems (IDS). These security devices look for suspicious patterns—like rapid port scans or unusual traffic. Evasion techniques help legitimate security testers complete assessments without being blocked, while understanding them helps defenders configure better detection.

Core Evasion Techniques

Fragmentation splits packets into smaller pieces. Think of mailing a puzzle one piece at a time—each piece looks innocent, but assembled they reveal your scan. Firewalls inspecting individual fragments may miss the complete pattern.

Decoy Scanning sends packets from fake IP addresses alongside your real one. Imagine ten people knocking on doors simultaneously—the target can't easily identify which visitor is actually interested. Your real scan hides in the noise.

Source Port Manipulation makes your traffic appear to come from trusted ports (like port 53 for DNS or 80 for HTTP). It's like wearing a delivery uniform—guards assume you belong there and wave you through.

Timing Tricks slow down scans to avoid rate-based detection. Instead of hammering 1000 ports per second (obvious!), you probe one port every few seconds over hours or days. Patient attackers evade systems that only flag rapid bursts.

The Cat-and-Mouse Game

Modern IDS systems are sophisticated—they reassemble fragments, track scan patterns over time, and correlate decoy activity. Evasion is an ongoing arms race between attackers and defenders.

Key Takeaway: Firewall and IDS evasion uses fragmentation, decoys, port tricks, and slow timing to disguise reconnaissance activity, though modern security systems continuously improve detection capabilities.