CADRE Attack Type Modules (100+)
100+ attack type modules with 10,000+ pre-configured rules - SQLi, XSS, LFI, RFI, SSRF, XXE, Log4Shell, Slowloris, GraphQL, NoSQLi, CMDi, LDAPi, SSTI, and 90+ more. Context-aware dynamic rules that score and stop multi-vector attacks in memory.
Overview
📁 Rule File Formats:
Feature details
header/
HTTP Header attacks: SQLi, XSS, Command Injection, User-Agent spoofing, Cookie poisoning
body/
HTTP Body attacks: POST payloads, XXE, JSON/XML injection
url/
URL/Path attacks: Path traversal, LFI, RFI, Directory indexing
cookie/
Cookie-based attacks: Session fixation, Cookie tampering, Manipulation
parameter/
Parameter attacks: Parameter pollution, Blind SQLi, Tampering, Type juggling
json/
JSON attacks: JSON injection, XSS in JSON, NoSQL injection, JWT attacks
xml/
XML attacks: XXE, XPath injection, XML bombs, DTD injection
multipart/
Multipart attacks: File upload bypass, MIME spoofing, Boundary injection
sqli/
SQL Injection: UNION-based, OR injection, Time-blind, Error-based, Stacked queries
nosqli/
NoSQL Injection: Operator injection ($ne, $gt, $regex, $where), Array injection
ldapi/
LDAP Injection: LDAP injection, Auth bypass patterns
cmdi/
Command Injection: rm -rf, curl/wget, Reverse shells
xpathi/
XPath Injection: OR injection patterns
code_injection/
Code Injection: eval(), assert() injection
ssti/
SSTI: Jinja2, Freemarker template injection
el_injection/
EL Injection: Expression Language injection, ClassLoader access
xss_reflected/
Reflected XSS: Script tags, Event handlers, JavaScript protocol
xss_stored/
Stored XSS: IMG onerror, SVG onload, IFRAME injection
xss_dom/
DOM-based XSS: DOM manipulation, Cookie/location access
xss_blind/
Blind XSS: Image src callbacks, Fetch API
html_injection/
HTML Injection: IFRAME, OBJECT, EMBED injection
js_injection/
JavaScript Injection: Alert functions, setTimeout/setInterval abuse
lfi/
Local File Inclusion: /etc/passwd, PHP wrappers, Null byte injection
rfi/
Remote File Inclusion: HTTP/HTTPS/FTP includes, Data wrappers
path_traversal/
Path Traversal: Encoded traversal, Double encoding
file_upload/
File Upload: Dangerous extensions, Double extensions
webshell/
WebShell: PHP webshells, Common shells (c99, r57, b374k)
ssrf/
SSRF: Localhost, Metadata endpoints, Internal IPs
xxe/
XXE: DOCTYPE entity, Parameter entity, XXE with SSRF
ssi/
SSI: Server-side includes directives
java_deserialization/
Java Deserialization: Magic bytes detection
php_deserialization/
PHP Deserialization: Object injection patterns
python_deserialization/
Python Deserialization: Pickle/YAML injection
session_fixation/
Session Fixation: Session cookie patterns
csrf/
CSRF: Missing headers detection
jwt_attack/
JWT Attack: None algorithm, Signature bypass
cookie_tampering/
Cookie Tampering: Admin cookie patterns
oauth_attack/
OAuth Attack: Redirect URI manipulation
graphql_introspection/
GraphQL Introspection: __schema, __type queries
graphql_depth/
GraphQL Depth: Deep nested queries
graphql_batching/
GraphQL Batching: Alias bombing, Batch attacks
api_auth_bypass/
API Auth Bypass: URL override, Method override
api_mass_assignment/
API Mass Assignment: Admin field injection
api_rate_limit_bypass/
API Rate Limit Bypass: IP spoofing detection
slowloris/
Slowloris: Incomplete headers, Slow read attacks
redos/
ReDoS: Nested quantifiers, Evil regex patterns
xml_bomb/
XML Bomb: Billion laughs, Entity expansion
json_bomb/
JSON Bomb: Deep nesting attacks
http_smuggling/
HTTP Smuggling: CL.TE, TE.CL, Duplicate headers
host_header_injection/
Host Header Injection: Duplicate host, CRLF injection
sqlmap/
SQLMap detection
nmap/
Nmap detection
nikto/
Nikto detection
burp_suite/
Burp Suite detection
dirbuster/
DirBuster detection
wpscan/
WPScan detection
log4shell/
Log4Shell: JNDI injection patterns, Obfuscated bypasses
spring4shell/
Spring4Shell: ClassLoader access patterns
shellshock/
ShellShock: Function definition patterns
struts2/
Struts2: OGNL injection patterns
aws_metadata/
AWS Metadata: 169.254.169.254 access
gcp_metadata/
GCP Metadata: metadata.google.internal access
azure_metadata/
Azure Metadata: 169.254.169.254/metadata access
s3_bucket/
S3 Bucket Attacks: Bucket enumeration, Access patterns
go_block/
Go: go-http-client, os.Exec, exec.Command, net.Dial, Reverse shells
python_block/
Python: python-requests, python -c, exec(), eval(), subprocess, os.system, pickle, cpickle, __import__, reverse shells
node_block/
Node.js: node-fetch, axios, superagent, child_process.exec, require('net'), vm.runInNewContext, reverse shells
php_block/
PHP: system(), exec(), shell_exec(), passthru(), popen(), proc_open(), eval(), assert(), create_function(), webshells (c99, r57, b374k)
ruby_block/
Ruby: system(), exec(), IO.popen, TCPSocket, UNIXSocket, Kernel.exec, reverse shells
perl_block/
Perl: system(), exec(), backticks (`), qx//, open(), IO::Socket, reverse shells
bash_block/
Bash/Shell: bash -c, sh -c, zsh -c, dash -c, reverse shells (bash -i, nc -e), command substitution ($(), ``), pipe to sh
powershell_block/
PowerShell: Invoke-Expression, IEX, -EncodedCommand, -e, DownloadFile, Invoke-WebRequest, wget, Net.WebClient, AMSI bypass patterns
java_block/
Java: Runtime.exec(), ProcessBuilder, JNDI injection (Log4Shell), Java deserialization, JDBC connection strings
javascript_block/
JavaScript (Browser): eval(), Function(), setTimeout(), setInterval(), document.write(), location.replace(), fetch()
lua_block/
Lua: os.execute(), io.popen(), loadfile(), dofile(), require() with dangerous modules
rust_block/
Rust: std::process::Command, std::net::TcpStream, reverse shell patterns, unsafe code execution
csharp_block/
C#/.NET: Process.Start(), WebClient.DownloadString(), Assembly.Load(), reflection invocation, PowerShell assembly loading
r_block/
R: system(), shell(), source(), eval(), parse(), unserialize()
julia_block/
Julia: run(), eval(), include(), exec()
swift_block/
Swift: Process(), shell() from Foundation, NSTask
kotlin_block/
Kotlin: Runtime.exec(), ProcessBuilder, eval() in scripting mode
scala_block/
Scala: scala.sys.process, Runtime.exec(), ProcessBuilder
groovy_block/
Groovy: execute(), Runtime.exec(), GroovyShell.evaluate()
tcl_block/
Tcl: exec(), open |, source, eval
elixir_block/
Elixir: System.cmd(), :os.cmd(), eval()
erlang_block/
Erlang: os:cmd(), rpc:call()
haskell_block/
Haskell: System.Process.callCommand, System.Cmd.system, unsafePerformIO
clojure_block/
Clojure: (clojure.java.shell/sh), (eval), (load-string), Runtime.exec() interop
dart_block/
Dart: Process.run(), Process.start(), Isolate.spawnUri()
objectivec_block/
Objective-C: system(), popen(), NSTask
vbscript_block/
VBScript: CreateObject("WScript.Shell").Run, Execute, Eval
matlab_block/
MATLAB: system(), eval(), run(), load() with malicious .mat
sql_script_block/
SQL Scripts: xp_cmdshell, sp_configure, exec master..xp_cmdshell, MySQL INTO OUTFILE, PostgreSQL COPY PROGRAM
typescript_block/
TypeScript (compiled to JS): child_process.exec, eval(), fetch(), axios (same patterns as Node.js)
zig_block/
Zig: std.os.system, std.ChildProcess, execve patterns
nim_block/
Nim: exec(), gorge(), staticExec(), osproc.startProcess()
crystal_block/
Crystal: system(), Process.run(), eval()
fsharp_block/
F#: System.Diagnostics.Process.Start, System.IO.File.WriteAllText (for webshells)
ocaml_block/
OCaml: Sys.command(), Unix.open_process, eval()
racket_block/
Racket: system(), process, eval, dynamic-require
common_lisp_block/
Common Lisp: run-program, shell, eval, load
fortran_block/
Fortran: CALL SYSTEM(), EXECUTE_COMMAND_LINE()
cobol_block/
COBOL: CALL 'SYSTEM', DISPLAY UPON CONSOLE (command injection)
delphi_block/
Delphi: ShellExecute(), WinExec(), CreateProcess()
ada_block/
Ada: Ada.Command_Line, System.Address_Image (information disclosure)
prolog_block/
Prolog: shell(), open/3 with pipe, exec/1
smalltalk_block/
Smalltalk: system: 'command', perform: #value:
scheme_block/
Scheme: system, open-input-pipe, eval
vba_block/
VBA (MS Office): Shell(), CreateObject("WScript.Shell").Run, Application.Run
autoit_block/
AutoIt: Run(), ShellExecute(), RunAs()
autohotkey_block/
AutoHotkey: Run, RunWait, ComObjCreate("WScript.Shell")
batch_block/
Windows Batch: cmd.exe /c, powershell.exe -c, certutil -urlcache, regsvr32.exe
curl_block/
cURL: curl command, wget, aria2, axel downloaders, data exfiltration patterns
ftp_client_block/
FTP Clients: ftp, sftp, lftp commands with credential exfiltration
ssh_client_block/
SSH Clients: ssh commands, scp, rsync for tunneling or exfiltration
database_client_block/
DB Clients: mysql, psql, sqlcmd, mssql-cli for data extraction
redis_cli_block/
Redis CLI: redis-cli with FLUSHALL, CONFIG SET, EVAL lua scripts
mongodb_client_block/
MongoDB Client: mongo, mongosh with db.adminCommand(), eval()
open_redirect/
Open Redirect: External redirect detection
cache_poisoning/
Cache Poisoning: Cache header manipulation
subdomain_takeover/
Subdomain Takeover: Dangling CNAME detection
mass_assignment/
Mass Assignment: Sensitive field injection
prototype_pollution/
Prototype Pollution: __proto__, constructor.prototype
unicode_spoofing/
Unicode Spoofing: Homograph attacks
How CloFix WAF uses it
100+ attack type modules with 10,000+ pre-configured rules - SQLi, XSS, LFI, RFI, SSRF, XXE, Log4Shell, Slowloris, GraphQL, NoSQLi, CMDi, LDAPi, SSTI, and 90+ more. Part of the CloFix WAF CADRE Engine with real-time scoring, policy controls, and live analytics.
Canonical URL: https://clofix.com/features/clofix-waf/cadre-attack-modules/