Skip to content
Back to skills

Waf Bypass Methodology

ASecurity

WAF bypass: locate the layer, encoding, HTTP/param tricks

  • 2 stars
  • 0 votes
  • 0 copies
  • 0 views
  • Added November 29, 2026
developmentgobashsqltestinggitapibackendsecurity

Works with

  • cli
  • api
  • mcp

Security analysis

A100/100

Pro scans all 5 files and shows the line behind each finding

Scanned November 29, 2026

npx -y skills add blackfoxxx/kestrel --skill waf-bypass-methodology --agent claude-code

Installs into .claude/skills of the current project.

Are you the author of Waf Bypass Methodology?

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

Security grade badge for Waf Bypass Methodology
[![Security: A — Skills Directory](https://www.skillsdirectory.com/api/skills/blackfoxxx-waf-bypass-methodology/badge)](https://www.skillsdirectory.com/skills/blackfoxxx-waf-bypass-methodology)

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: waf-bypass-methodology
description: "WAF bypass: locate the layer, encoding, HTTP/param tricks"
metadata: 
tags: "waf,bypass,bypass,firewall,cloudflare,modsecurity,safedog,aapanel,WAF bypass,encoding,chunked transfer,parameter pollution,403,forbidden,blocked,rejected,406,intercept,intercepted,request rejected,payload blocked,f5,wangsu,uewaf,captcha,captcha,unlock,sql,injection,injection bypass,proxy pool,free proxy,proxy,ip rotation"
category: "exploit"
mcps: context1337, autopen, pentest mcp
---

# Unified WAF-Bypass Methodology

The core principle of WAF bypass: the WAF and the backend application parse the same HTTP request differently; exploit that difference so the WAF "sees" a legitimate request while the backend "sees" the malicious payload.

## Deep-dive references

- Encoding-bypass payloads (double URL/Unicode/HTML/mixed encoding) → [references/encoding-bypass-payloads.md](references/encoding-bypass-payloads.md)
- HTTP-protocol-layer bypass (chunked transfer/Content-Type/method switch/HTTP2/smuggling) → [references/http-protocol-bypass.md](references/http-protocol-bypass.md)
- Parameter-layer bypass (HPP/array syntax/multipart) → [references/parameter-bypass.md](references/parameter-bypass.md)
- Payload mutation (generic encoding/splitting/format switching) → [references/payload-mutation.md](references/payload-mutation.md)

---

## Phase 0: WAF identification

### 0.1 Detect whether a WAF is present

```bash
# send a clearly malicious request, watch the response
curl -s "http://TARGET/?id=1' OR '1'='1" -D-
curl -s "http://TARGET/?id=<script>alert(1)</script>" -D-
curl -s "http://TARGET/?cmd=;id" -D-

# compare the normal vs malicious responses
# WAF block tells: 403/406 status, a distinct block page, a different Server header
```

### 0.2 WAF fingerprinting

| Signature | WAF product |
|------|----------|
| `Server: cloudflare` / `cf-ray` header | Cloudflare |
| `X-Sucuri-ID` header | Sucuri |
| Response contains `ModSecurity` | ModSecurity |
| Response contains `safedog` string | SafeDog |
| Response contains `bt.cn` / BaoTa header | aaPanel (BaoTa) WAF |
| `X-Powered-By-Anquanbao` | Anquanbao WAF |
| Response contains `yunsuo` | Yunsuo |
| Alibaba Cloud 403 page | Alibaba Cloud Shield |
| Tencent Cloud-specific 403 | Tencent Cloud WAF |

---

## General bypass-check flow

```
payload blocked → 403/block page
├── 1. encoding bypasses
│   ├── double URL encoding
│   ├── Unicode encoding
│   └── mixed case + NULL bytes
├── 2. HTTP layer
│   ├── chunked transfer
│   ├── Content-Type switching
│   ├── HTTP method switching
│   └── HTTP/2
├── 3. parameter layer
│   ├── parameter pollution (HPP)
│   ├── array/JSON nesting
│   └── multipart wrapping
├── 4. payload mutation
│   ├── space substitution (comments/Tab/newlines)
│   ├── function-name substitution
│   ├── concatenation/encoding functions
│   └── wildcards/variables
└── 5. logic layer
    ├── split across requests (probe first, then exploit)
    └── abuse whitelisted paths (/api/health + path traversal)
```

> See the matching reference file for the detailed payloads of each branch

## Phase 5: Domestic/commercial WAF fingerprints and bypasses

| WAF | Fingerprint | Bypass approach |
|-----|---------|---------|
| F5 BIG-IP ASM | `X-Content-Type-Options`, ASM block page | encoding obfuscation, chunking, method switching |
| ChinaNetCenter (Wangsu) | `X-Cache: NS`, Wangsu block page | parameter pollution, case variation, Unicode encoding |
| UEWAF | specific block page / JS challenge | request the backend IP/domain directly, bypass the JS check |
| Cloudflare | `cf-ray`, `server: cloudflare` | direct origin-IP connection, encoding bypass |
| SafeDog/aaPanel | page signatures | comment characters, equivalent functions, encoding |

## Phase 6: Captcha unlocking (captcha bypass)

When a WAF / risk-control system blocks high-frequency attacks with a captcha:

1. **Logic bypass**: reuse a captcha, blank out the code, delete the parameter, universal captcha
2. **Recognition**: OCR / captcha-solving services for image captchas; simulate clicks by coordinate for click-based captchas
3. **Switch trigger point**: change the endpoint/parameter to bypass the captcha-trigger logic
4. For detailed methods, see captcha-bypass-methodology

## Phase 7: Proxy-pool / free-proxy IP rotation

When the WAF rate-limits/blocks by IP:

1. Use a free proxy / proxy pool to switch the exit IP and evade IP blocking
2. Mind proxy availability and speed; prefer high-anonymity proxies
3. Combine with low-rate (slow) requests to lower the chance of triggering risk control
4. Free-proxy sources change dynamically, so verify proxy availability before testing

## Phase 8: SQL-injection bypass (F5/Wangsu scenarios)

- Comment-character swaps: `-- ` → `#` → `/*!*/` → `;%00`
- Keyword obfuscation: case variation, inline comments `/*!union*/`, equivalent functions
- Encoding: double URL encoding, Unicode, hex
- Combine chunked transfer with parameter pollution

Files in this skill

  • SKILL.md5 KB
  • references/encoding-bypass-payloads.md917 B
  • references/http-protocol-bypass.md1.5 KB
  • references/parameter-bypass.md1 KB
  • references/payload-mutation.md1.6 KB

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 development →

Comments

Loading comments…

Newsletter

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