Lion Cipher Lab

Detect web attacks in access logs after decoding the URLs

Why it matters

Every public website is probed all day, and the access log is often the only record a SOC has of it: one line per request, written by the web server before anything else gets a say. Exploiting a public-facing application is one of the most common ways intruders get in (MITRE ATT&CK tracks it as T1190), and the evidence usually sits in that log. But attackers do not send their strings in plain English. They percent-encode them, double-encode them, mix upper and lower case, and swap spaces for plus signs, partly to slip past filters and partly because that is simply how browsers and tools send…

What you'll learn

Steps in this lab

  1. What an access log is, and why a SOC hunts in it
  2. Read one line, field by field (the Combined Log Format)
  3. Percent-encoding: the reason a raw grep goes blind
  4. Generate the synthetic access log
  5. Why the obvious grep fails (the judgement)
  6. Hunt three ways and score each one
  7. Read the one miss: an obfuscated lookup
  8. Decide what a human must look at today: escalate by context
  9. The honest limits of access-log hunting
  10. Take it to real logs, and where to go next

Open the full interactive lab →