Skip to content
Back to skills

Nmap Firewall Ids Evasion

ASecurity

Nmap firewall and IDS/IPS evasion — fragmentation, decoys, source-port spoofing, idle/zombie scan, MAC spoof, bad checksums, timing control, and egress filtering tests to scan mature, monitored targets. Tier 1. Use when direct scans are blocked, filtered, or likely to trigger alerts.

  • 16 stars
  • 0 votes
  • 0 copies
  • 1 view
  • Added November 17, 2026
securityrustgotestingbackend

Security analysis

A100/100

Scanned November 17, 2026

npx -y skills add AnandJogawade/Zazy-Pentest-Plugin-for-Claude --skill nmap-firewall-ids-evasion --agent claude-code

Installs into .claude/skills of the current project.

Are you the author of Nmap Firewall Ids Evasion?

Add the live security badge to your README. It updates with every re-scan.

Security grade badge for Nmap Firewall Ids Evasion
[![Security: A — Skills Directory](https://www.skillsdirectory.com/api/skills/anandjogawade-nmap-firewall-ids-evasion/badge)](https://www.skillsdirectory.com/skills/anandjogawade-nmap-firewall-ids-evasion)

More formats (shields.io, HTML) on the badges page. Keep it an A: scan every change in CI with Pro.

Download with Pro
SKILL.md
---
name: nmap-firewall-ids-evasion
description: Nmap firewall and IDS/IPS evasion — fragmentation, decoys, source-port spoofing, idle/zombie scan, MAC spoof, bad checksums, timing control, and egress filtering tests to scan mature, monitored targets. Tier 1. Use when direct scans are blocked, filtered, or likely to trigger alerts.
---

# Nmap Firewall / IDS Evasion

Mature targets drop or alert on naive scans. These techniques map filtering rules, slip probes past simple packet filters/IDS, and hide your source — all paraphrased from nmap's own evasion chapter. Evasion makes scans slower and less reliable; confirm findings with a normal scan where RoE allows.

## Trigger phrases
`nmap evasion, firewall bypass, ids evasion, fragmentation, decoy scan, idle scan, source port, spoof mac, egress testing, filtered ports`

## Method
1. **Fragmentation:** `-f` splits probes into tiny IP fragments; `--mtu <mult-of-8>` sets a custom fragment size (don't combine with `-f`). Defeats simple stateless filters/IDS.
2. **Decoys:** `-D decoy1,decoy2,ME,RND:5` hides your real IP among decoys (`ME` = your position, `RND` = random). Use live decoys so they aren't trivially filtered.
3. **Source-port spoof:** `-g 53` (or 20/88) sends from a trusted source port to pass loose ACLs that allow DNS/FTP-DATA/Kerberos.
4. **Packet padding / signature change:** `--data-length 25` pads probes with random bytes.
5. **MAC spoof (L2):** `--spoof-mac <mac|vendor|0>` (implies `--send-eth`) — impersonate a vendor OUI (e.g., a printer/VoIP) on-segment.
6. **Bad checksums:** `--badsum` — only firewalls/IDS reply, real hosts drop; maps the inspection layer.
7. **Timing / rate control:** `-T1`/`-T2`, `--scan-delay <t>`, `--max-rate`, `--randomize-hosts` to stay under rate-based detection.

## Modern / rare techniques
- **[idle/zombie scan] `-sI <zombie> <target>`** — fully blind scan using a third host's IP ID sequence; your IP never touches the target. Pick a truly idle zombie (`--script ipidseq`).
- **Spoofed source `-S <IP>`** when you can sniff replies or combine with idle scan (replies won't return to you otherwise).
- **Egress testing [NEW/important]:** from inside the segment, test which outbound ports escape by connecting to a controlled listener across a port range (cloud box `ncat -lvp <p>` sweep, or an allports service). Critical for choosing a C2/pivot channel — pairs with pivoting skills.
- **FW-rule mapping:** compare `-sS` vs `-sA` (ACK) results to distinguish stateful filtering from simple filters.

## Bypass / evasion
This skill *is* the evasion layer; for app-layer WAF bypass see ${CLAUDE_PLUGIN_ROOT}/payloads/waf-bypass.md.

## Escalation / chaining
Discovered reachable services → service-enumeration skills; egress-test results → pivoting-chisel/ligolo channel selection; idle-scan zombie → stealthy full sweep.

## Backend & tooling
Operator Kali/WSL/HexStrike — raw-packet crafting (frag, spoof, idle, badsum) needs root and is unavailable from the agent container.

## Verification (background, before reporting)
Evasion scans produce false negatives/positives: re-confirm each reported open/filtered port with a second technique (e.g., plain `-sV` where allowed, or `-sT` through a pivot) before concluding. Note which results came from evasive scans.

## Evidence
Exact nmap command(s), the filtering behaviour observed (dropped vs rejected, which evasion worked), confirmed port/service state, and egress-test matrix. Remediation: stateful inspection, egress filtering, IDS tuning for fragmented/decoy/idle patterns, drop spoofed/bad-checksum packets.

Attribution

Is this your skill, or is something wrong with this listing? Request removal or report an issue. Author removals are honored within 72 hours.

View all in security →

Comments

Loading comments…

Newsletter

Get the weekly list of safe new skills, and the ones we pulled.