Lion Cipher Lab

Catch SSH authorized_keys changes (T1098.004) and see the limit of per-file rules (Purple Persistence 3 of 5)

Why it matters

A planted SSH key is quiet persistence: no new process, no new account, just one extra line in a file that normally changes rarely. Attackers use it because it survives password changes. Detecting the write is cheap on one machine and hard across thousands, which makes this a good lesson in the difference between a rule and a program of detection.

What you'll learn

Steps in this lab

  1. Rules of this lab, and the technique
  2. Read the atomic, and prepare a file for it
  3. Write the rule for your file
  4. Run Atomic Test 1 and find the event
  5. See the limit of per-file rules
  6. Clean up and prove it

Open the full interactive lab →

Keep learning