Lion Cipher Lab

Detect a brute-force login attempt in your logs

Why it matters

A brute-force attack is one of the oldest and most common threats on the internet: software guessing username and password combinations over and over until one works. Every login attempt, success or failure, leaves a line in the log — so a defender does not have to catch the attack live, they can read it afterwards in the record. Being able to isolate the failed logins, count how many came from each source, and recognise the tell-tale shape of an automated attack is a genuine day-one skill on a SOC (Security Operations Centre) team. And because it is all reading, it is one of the safest,…

What you'll learn

Steps in this lab

  1. Where failed logins are written down
  2. Isolate the failed logins with grep
  3. Read one failure line — the three fields that matter
  4. Count the attempts per source IP
  5. Recognise the brute-force signature
  6. Cross-check the same events with journalctl
  7. Shut the door — beginner defenses
  8. Why counting beats reading

Open the full interactive lab →