Lion Cipher Lab

Tune the OWASP Core Rule Set and actually cut your WAF's false positives

Why it matters

Almost every organization that ships a web app puts a WAF -- a Web Application Firewall -- in front of it, and almost all of those WAFs run the OWASP Core Rule Set underneath, whether that is self-hosted ModSecurity or a cloud WAF that licensed the same rules. Standing one up is the easy part (the beginner lab does exactly that). The hard part, the part that decides whether the WAF survives contact with production, is TUNING it: a WAF straight out of the box blocks real attacks AND a steady trickle of legitimate traffic -- a customer whose name is O'Brien, a search for 'DROP TABLE tutorial',…

What you'll learn

Steps in this lab

  1. What a WAF, ModSecurity, and the OWASP CRS actually are
  2. Stand up ModSecurity + CRS in front of an app with Docker
  3. The core idea: anomaly scoring and the blocking threshold
  4. Fire a real attack and watch it blocked -- with the score in the audit log
  5. Now trigger a FALSE POSITIVE: a legitimate request the WAF wrongly blocks
  6. Tune it the RIGHT way: DetectionOnly, then a SCOPED per-parameter exclusion
  7. Measure it: false positive gone, real attack STILL blocked
  8. Raise the paranoia level and watch new false positives appear
  9. The judgment: tune surgically, learn before you enforce, and never mistake a WAF for a fix

Open the full interactive lab →