Lion Cipher Lab

Write your first Sigma detection rule

Why it matters

In the brute-force lab you found an attack by hand, on one machine, with one set of commands. That does not scale and it does not travel: the moment you sit in front of a different tool — Splunk here, Elastic there, Microsoft Sentinel somewhere else — your grep pipeline is worthless, because every SIEM (Security Information and Event Management platform) speaks its own query language. Sigma solves exactly that. It is a vendor-neutral, plain-text format for writing a detection once and converting it into whichever query language your tools happen to use. Writing detections as Sigma is a core…

What you'll learn

Steps in this lab

  1. What Sigma is, and the problem it solves
  2. The anatomy of a rule
  3. How the detection and condition work
  4. Write a rule for the failed-login pattern
  5. Install the tooling — sigma-cli
  6. Convert the rule into a real SIEM query
  7. How SOCs share detections as Sigma
  8. Why writing detections beats running them

Open the full interactive lab →