The Signatures You're Afraid To Turn On

The Coverage Nobody Turns On

Every mainstream WAF ships signatures in tiers of confidence. One tier is narrow and specific: it matches a known exploit string and almost never fires on legitimate traffic. The other is broad: generic SQL meta-character detection, loose XSS pattern matching etc. The OWASP Core Rule Set formalises this as paranoia levels; commercial WAFs express it as per-signature accuracy ratings. The vocabulary differs. The outcome rarely does: the broad tier stays where it shipped.

“Low accuracy” in vendor documentation means low precision, a higher false-positive rate. It does not mean low value. These are frequently the only rules broad enough to catch a SQL injection variant that doesn’t match a known signature or a payload built with an evasion technique nobody has catalogued. Leaving them off doesn’t remove risk from the environment. It relocates the risk from “occasional blocked legitimate request” to “undetected attack”. The second failure mode is silent, which is precisely why it survives budget conversations the first one would not.

Why Breadth Generalises

The argument for broad signatures is usually made empirically, and the mechanism underneath is worth stating directly, because it explains both why they work and why they are noisy.

  • They match the interpreter’s grammar, not the exploit’s wrapper. An attacker controls how a payload is delivered, encoded and disguised. What they do not control is what the target interpreter requires to execute. A SQL injection must eventually produce syntactically valid SQL. A path traversal must resolve to a directory-climbing sequence. A command injection must present a shell metacharacter the shell will act on. An expression-language injection must produce a construct the interpolator recognises. These are not stylistic choices; they are preconditions for the exploit working at all. A narrow signature matches the wrapper an attacker is free to change. A broad signature matches the grammar they cannot.
  • Vulnerability instances are new; vulnerability classes are not. Tens of thousands of CVEs are published each year, and they collapse into a small set of long-lived weakness classes. Injection, traversal, deserialization and expression evaluation have been recognisably the same failures for two decades.
  • The obfuscation space is finite and collapsible. Evasion draws on a bounded set of techniques: encoding and double-encoding, case variation, comment insertion, whitespace substitution, string concatenation, entity and lookup chaining. A WAF’s transformation pipeline normalises input toward canonical form before rules evaluate, so a broad rule operating post-normalisation sees through mutations that defeat literal matching.

A narrow signature is an overfitted classifier; it fits the payloads it was trained on and generalises poorly past them. A broad signature draws a wider decision boundary it captures the class rather than the sample, and in doing so necessarily captures more legitimate input that happens to fall inside that boundary. The generalisation and the false positives are not two separate properties, one desirable and one a defect. They are the same widened boundary, measured from opposite sides. This is why “just make the broad rules more accurate” is not available as an option.

What the Broad Signatures Actually Buy

The strongest argument for the broad tier is that it has provided coverage for critical vulnerabilities during the window before anyone wrote a signature for them. The window in which exploitation is most intense and patching least complete. For example, CVE-2026-1281 and CVE-2026-1340 were pre-authentication remote code execution flaws sharing one type of root cause, unsafe Bash scripting across two distinct scripts. The exploitation technique broke the usual assumption behind signature matching: rather than classic shell metacharacters chained with a semicolon or pipe, the payload smuggled a command into a value that was later aliased into a timestamp comparison, where Bash’s arithmetic expansion executed it the moment the shell tried to resolve that value as a number gPath[`id > /mi/poc`]. No semicolon, no pipe, no textbook injection shape. A narrow signature looking for a known injection pattern would find nothing here. A broad rule watching for shell metacharacters capable of triggering command execution would be expected to still fire, since the backtick-delimited command substitution is present regardless of the surrounding syntax.

Defence in depth against signature decay. No narrow signature stays high-confidence forever once attackers study it. Broad rules provide a second layer that doesn’t depend on the same exact-match logic remaining intact.

What They Cost

Broad signatures lead to false positives on the traffic that matters. Search input, JSON bodies, file uploads, rich-text fields, valid but unusual Unicode, these are the shapes broad signatures react to, and they are disproportionately the shapes of high value user interactions rather than idle browsing. Log4Shell is a cautionary case for what broad rules cost when they’re rushed. In the days after disclosure, the OWASP Core Rule Set maintainers pulled a detection point from the request body after reports of false positives and flagged specific concern about false positives on User-Agent and Referrer headers; fields broad enough to catch an attacker’s JNDI string, but also home to arbitrary legitimate client identifiers and third-party tokens.

A system generating false positive leads to

  • Alert fatigue that spreads. An untriaged false-positive spike trains a SOC to treat WAF events as noise, which degrades the value of every signature including the ones working correctly. Enabling broad rules without triage capacity is worse than leaving them off it converts a coverage gap into a coverage gap plus a poisoned alert queue.
  • A false sense of resolution. Disabling a noisy rule after one bad incident, rather than tuning it, silently reduces coverage while creating the impression that a problem was solved.

Enabling Broad Signatures

An article arguing that broad signatures are underused owes the reader a staged process to turn them on securely

  • Stage in log-only mode against real production traffic, for long enough to span a full business cycle covering weekday and weekend, any monthly or seasonal peak. A quiet week tells you nothing; the false-positive rate that matters is the one under real load.
  • Set a minimum sample size before trusting the numbers. A rule that fires a dozen times in two weeks can’t support a false-positive-rate estimate anyone should act on. If firings are sparse, extend the window rather than deciding on a number too small to mean anything.
  • Use Artificial Intelligence as a triage layer. A classifier trained on historical alert-to-outcome data scores each firing by resemblance to confirmed true/false positives, auto-clearing obvious noise and escalating obvious attacks.

The Point

A WAF’s efficacy is not the figure on a compliance checklist. It is the false positive rate produced against real attack and real legitimate traffic, measured per signature and per endpoint. Broad, low-accuracy signatures are where that measurement matters most, because they are simultaneously the largest pool of unmeasured coverage and the largest pool of unmeasured operational cost.

Turning them on without measuring is a guess in the direction of more security. Leaving them off without measuring is a guess in the direction of less friction. Neither guess is necessary: staged rollout, per-endpoint attribution, and an ML triage layer over the alert queue let a team capture the corner case a broad signature exists to catch while suppressing the noise that usually gets it switched back off. The measurement isn’t there to justify a yes. It’s there to replace the guess with an answer.