Lion Cipher Lab

Auto-block an SSH brute-force attacker with Wazuh active response

Why it matters

Every SOC learns to SEE attacks before it learns to STOP them, and there is a long, dangerous gap between the two. A dashboard lighting up with 'SSHD brute force' at 3am does nothing on its own — someone has to notice it, decide, and act, and by the time a human does, the attacker has had thousands of guesses. Active response closes that gap for the clear-cut cases: the moment the SIEM is confident enough (a specific rule, at a specific level, firing), it runs a script that blocks the source, with no human in the loop. That is genuinely powerful and genuinely risky, which is exactly why it is…

What you'll learn

Steps in this lab

  1. From zero: what 'active response' is, and why it is a loaded gun
  2. Stand up (or reuse) a single-node Wazuh stack
  3. Protect an SSH server: enroll a Wazuh agent on it
  4. Measure the BEFORE: brute-force your own account and watch rule 5763 fire (but nothing act)
  5. Wire firewall-drop to rule 5763 in ossec.conf
  6. Measure the AFTER: re-run the attack and watch the IP get dropped
  7. The honest limits: what active response does NOT protect you from

Open the full interactive lab →