CloFix WAF · CADRE Engine

CADRE Behavioral Analysis

Two-layer behavioral detection with FastBlocker (instant) and BehaviorEngine (5-min sliding window) - 20+ signals including JA3 TLS fingerprinting, Sec-Fetch headers, machine timing, path entropy, and sequential enumeration. Context-aware dynamic rules that score and stop multi-vector attacks in memory.

CADRE Engine #14 30 details Published

Overview

💡 How it works: Every request passes through two independent scoring layers. FastBlocker evaluates structural signals immediately - Sec-Fetch headers, Accept quality, header count, UA shape, path anomalies, and IP rate. BehaviorEngine builds a per-fingerprint profile and scores velocity, timing regularity, path entropy, error rates, static asset ratio, burst patterns, and more over a sliding 5-minute window. A fingerprint reaching score ≥70 is sticky-blocked for 15 minutes. JA3 hash from the TLS ClientHello is the primary profile key - IP rotation, VPN hops, and proxy chains don't reset the profile if the TLS fingerprint is consistent. The entire system runs in-process with no external dependencies.

Feature details

Missing Sec-Fetch Headers

Injected by all browsers since Chrome 76 - absent in all HTTP libraries. Missing all three = +35pts instantly

Bare Accept Header

*/* without quality values = +20pts for non-browser clients

Low Header Count

<8 total headers = +10pts (minimal HTTP clients)

UA Structure Analysis

Validates Mozilla token, platform grouping, AppleWebKit/Gecko presence

Path Traversal Scoring

Double-dot sequences, null bytes, CRLF injection = +50pts on first occurrence

Query String Injection

union+select, <script, onerror=, exec(, base64_decode( = +55pts

IP Rate Limiter

Sliding window 30 req/10s per IP = instant 5-minute block

How CloFix WAF uses it

💡 How it works: Every request passes through two independent scoring layers. FastBlocker evaluates structural signals immediately - Sec-Fetch headers, Accept quality, header count, UA shape, path anomalies, and IP rate. BehaviorEngine builds a per-fingerprint profile and scores velocity, timing regularity, path entropy, error rates, static asset ratio, burst patterns, and more over a sliding 5-minute window. A fingerprint reaching score ≥70 is sticky-blocked for 15 minutes. JA3 hash from the TLS ClientHello is the primary profile key - IP rotation, VPN hops, and proxy chains don't reset the profile if the TLS fingerprint is consistent. The entire system runs in-process with no external dependencies.

Canonical URL: https://clofix.com/features/clofix-waf/cadre-behavioral-analysis/