Lion Cipher Lab

Seal your logs against a root attacker — journald Forward Secure Sealing (FSS)

Why it matters

The uncomfortable truth about local logs is that the account they are meant to hold accountable — root — is also the account that can rewrite them. Ordinary file permissions are no defence: root owns the files. An attacker who reaches root can open journald's binary journals, delete the lines that record their intrusion, and leave a log that reads as if nothing happened. Forward Secure Sealing is systemd's built-in answer to exactly that move. It cannot stop root from editing the file, but it makes any edit to already-sealed history mathematically detectable, and 'forward secure' means the…

What you'll learn

Steps in this lab

  1. The threat, and what sealing can and cannot do
  2. Make the journal persistent — or you are sealing sand
  3. Generate the FSS key pair — and understand the split
  4. Turn sealing on and confirm it is live
  5. Attack your own logs: tamper a sealed byte, watch verify catch it
  6. Read the failure precisely, and know the named ways it goes wrong
  7. Judgment: where FSS fits, the interval tradeoff, and when not to bother

Open the full interactive lab →