WAF bypass methodology — payload mutation/encoding, parser differentials, request-shape tricks and direct origin discovery to reach the app behind the edge. Tier 1. Use when a WAF blocks otherwise-valid test payloads.
Installs into .claude/skills of the current project.
Sponsors
SSkills DirectorySkills Directory
Know which skills are safe — weekly.
SSkills DirectorySkills Directory
Is that skill safe to install?
Are you the author of Waf Bypass?
Add the live security badge to your README. It updates with every re-scan.
[](https://www.skillsdirectory.com/skills/anandjogawade-waf-bypass)
---
name: waf-bypass
description: WAF bypass methodology — payload mutation/encoding, parser differentials, request-shape tricks and direct origin discovery to reach the app behind the edge. Tier 1. Use when a WAF blocks otherwise-valid test payloads.
---
# WAF Bypass
A WAF block is not the end of a finding — it's an obstacle. Bypass the filter or reach the origin directly, then confirm the underlying vuln still exists.
## Trigger phrases
`waf bypass, bypass firewall, evade waf, origin ip, filter bypass, payload mutation, encoding bypass`
## Method
1. Confirm the WAF (`waf-detect`) and which payload classes trip it.
2. **Payload-level evasion** (see ${CLAUDE_PLUGIN_ROOT}/payloads/waf-bypass.md for the full catalog): case variation, inline comments (`/*!50000*/`, `uni/**/on`), encoding (URL, double-URL, unicode, HTML-entity, hex/octal IP for SSRF), whitespace alternatives (`%09 %0a %0c /**/`), keyword splitting/concatenation, equivalent functions, and polyglots.
3. **Request-shape tricks**:
- **HPP**: duplicate params (`?id=1&id=2`) parsed differently by WAF vs app.
- **Parser differentials**: duplicate JSON keys, trailing data, alternate `Content-Type` (`application/json` vs form), charset tricks, multipart boundary games.
- **Method/verb switch**, `Content-Type` swap, param in body vs query, chunked encoding, `X-Original-URL`/`X-Rewrite-URL` to smuggle the path past the WAF.
- Oversized junk before the payload to exceed the WAF inspection buffer.
4. **Origin discovery** (bypass the edge entirely): historical DNS (`securitytrails`, `crt.sh`, `gau`), `shodan`/`censys` favicon-hash + JARM match to find the real origin IP, SPF/MX records, dev/staging subdomains, then connect with `Host:` set to the real site. Verify the origin serves the app (not the edge).
5. Re-send the original payload via the working bypass to confirm the vuln.
## Modern / rare techniques
- **Parser differentials (2025)** and **Unicode normalization (NFKC best-fit)** to slip values past validation that the app later canonicalizes to the dangerous form.
- **HTTP/2 / TE.0 desync** to deliver a request the front-end WAF never inspects → `web-request-smuggling`.
- **Origin-IP leak** via `server-leaks` (redirect/error revealing backend IP).
## Escalation / chaining
Working bypass → re-run `web-xss`/`web-sqli`/`web-ssrf`/`code-injection` etc. Origin found → `content-discovery`/`exposed-tools` directly. Chains `waf-detect`, `http-parameter-pollution`, `web-request-smuggling`, `server-leaks`.
## Backend & tooling
Kali/HexStrike + Burp Repeater/Intruder (iterate mutations); `shodan`/`censys` for origin. Route via Burp proxy if present.
## Verification (background, before reporting)
Prove the bypass reaches the app AND the underlying vuln fires (OAST for blind). A bypass that only returns 200 without triggering the bug is not a finding — confirm impact independently.
## Evidence
The blocked payload, the working bypass/origin path, proof the vuln fires through it, impact + remediation (fix root vuln; WAF tuning is secondary, restrict origin to edge).