Lion Cipher Lab

Detect the brute force you just ran: turn your own Hydra run into a detection

Why it matters

Every intrusion that starts with guessed credentials leaves the same fingerprint in the logs — a pile of failed logons — and the single most valuable thing a junior SOC analyst can do is read that fingerprint correctly and write it down as a repeatable detection. This is the other half of the attack you already ran: in the Hydra lab you made the noise; here you learn to see it, and to see the two ways it can hide from you. The lab is built around one hard, career-relevant idea most beginners get wrong — that a naive 'lock the account after 5 failures' rule catches a loud brute force and is…

What you'll learn

Steps in this lab

  1. The situation: you already made the noise — now find it
  2. Where the evidence lands — Linux and Windows
  3. The one Windows field that separates a story from a guess: Logon Type
  4. Find it by hand on Linux — the single most useful pipeline in blue team work
  5. The same question on Windows — Event Viewer and Get-WinEvent
  6. State the detection properly — threshold, window, and the spray trap
  7. Do it better — alert on the failure-to-SUCCESS transition, not failures alone
  8. Write the detection down where it travels — a Sigma rule
  9. The host / network equivalents — fail2ban, and why logs beat the wire here
  10. Respond — and don't hand the attacker a DoS switch
  11. The false positive that will bite you — and how to tell it apart
  12. When a threshold is enough, when it isn't, and what you actually learned

Open the full interactive lab →