Lion Cipher Lab

Detect container threats at runtime with Falco

Why it matters

Scanning an image before you run it, which the Trivy lab covered, tells you what known flaws are baked in. It cannot tell you what a container does once it is alive: a scan is a photograph taken before the show starts. Runtime detection is the other half of the job. A container that passed every scan can still be told to do something it was never meant to do at runtime, whether by a bug, a misconfiguration, or an attacker who got a foothold. Falco is a free, open-source, CNCF graduated project that watches the live stream of events a running system produces and raises a real-time alert the…

What you'll learn

Steps in this lab

  1. Two halves of container defense: scan before, detect during
  2. What Falco watches: system calls, the kernel's ground truth
  3. Install Falco on your Linux lab box
  4. Start Falco and watch the live stream
  5. Read a default rule: "Terminal shell in container"
  6. Trigger a benign detection in your OWN container
  7. Tune it, then write your own rule
  8. What you just did — and why you need both halves

Open the full interactive lab →