Aegisify company logo

We're Here to Help

Resources & Help Center

Search our knowledge base, view documentation, or get support. Everything you need in one place.

What is the heuristic layer in Aegisify WAF and how does it score requests?

Signatures recognize known attack patterns. The heuristic layer catches requests that look suspicious even when they do not match a specific signature, for example an unusually long encoded token or a parameter full of shell symbols.

How scoring works

For each request, the heuristic engine examines several characteristics and adds points when they look abnormal:

  • Percent-encoding density: many %XX sequences in a short value.
  • Metacharacters: concentrated shell, query, or expression symbols.
  • Long tokens: very long uninterrupted strings that may hide an encoded payload.

When the total reaches the score threshold (default 40), the heuristic finding qualifies and the heuristic action is applied.

Why the default action is Log

Heuristics describe suspicious *combinations*, not definite attacks, so the default action is Log. This lets you see what the heuristic would flag on your real traffic before allowing it to challenge, rate-limit, or block. After reviewing the evidence you can move the action to Challenge, Rate limit, or Block.

Where to configure it

Aegisify WAF → WAF Settings → Managed Protection → Heuristic anomaly layer. The layer is enabled by default.

When heuristics help most

Heuristics are useful against new or customized payloads that have not yet been captured as signatures, and against automated scanners that send malformed input. They are less precise than signatures, which is why they rarely should block alone.

Related: Heuristic tuning thresholds, Heuristic protection overview.

2026-12-01T03:50:44+00:00January 12th, 2026||

Find this article interesting, please share.