Lion Cipher Lab

Catch and kill malicious behavior at runtime with Tetragon (eBPF enforcement)

Why it matters

The Falco lab taught you the first move of runtime defense: watch the live system and raise an alert the instant something looks wrong. That is detection, and detection is essential — but an alert is a message to a human who may be asleep. Between the alert firing and someone acting, the attacker keeps going: reads the credentials file, opens the reverse shell, ships the data out. Tetragon closes that gap. It is an eBPF-based runtime security tool from the Cilium project (CNCF) that loads tiny programs directly into the Linux kernel, so it sees every process launch, file open, network…

What you'll learn

Steps in this lab

  1. From 'tell me' to 'stop it': what eBPF enforcement adds over an alert
  2. Where enforcement fits: build-time, admission-time, runtime — pick the right layer
  3. Build a throwaway kind cluster and install the tools
  4. Observe first: stream live events and read the process ancestry
  5. Watch a sensitive file access specifically
  6. Write a TracingPolicy that matches ONE behaviour — in observe mode
  7. ENFORCE: add a Sigkill action and prove the process dies in-kernel
  8. The judgment: blast radius, what enforcement is NOT, and Tetragon vs Falco vs admission control

Open the full interactive lab →