pentesting, updated

Scan evasion against firewalls and IDS

Adjust scan technique and timing to reduce detection by firewalls, IDS and rate-based alerting.

Goal

Complete discovery and port scanning on a monitored or filtered network without triggering blocking or alerting thresholds.

How to test

nmap -T1 -Pn 10.10.10.5                    # paranoid timing, no host discovery probe
nmap -f 10.10.10.5                          # fragment packets to slip past simple packet filters
nmap -D RND:10 10.10.10.5                   # decoy scan — hide the real source among 10 random IPs
nmap --source-port 53 10.10.10.5             # spoof a trusted source port some stateless filters allow
nmap -sS --scan-delay 500ms 10.10.10.5        # explicit delay between probes

What to look for

A sudden drop in scan results (everything filtered) after a few fast probes signals you tripped a rate-based block — slow down rather than retry harder.

Notes

Decoys and spoofed source ports do not hide you from a defender reading full packet captures, only from naive log review — never rely on evasion as a substitute for an agreed testing window.

§ home
~/knubertus/home/
1,1 Top