Lion Cipher Lab

Catch container persistence tricks as they happen: eBPF runtime detection with Tracee

Why it matters

Containers are meant to be predictable: an image is built once with everything it needs, then run unchanged. That predictability is a gift to defenders, because it makes certain behaviour stand out. A new executable appearing inside a running container, a cron file being edited, or someone touching sudoers are all things a healthy container almost never does, and they are classic signs of an attacker trying to stay. Runtime security tools watch for exactly this. Tracee, an open-source project from Aqua Security, uses eBPF (a safe way to run small programs inside the Linux kernel) to see every…

What you'll learn

Steps in this lab

  1. Why runtime detection works so well for containers
  2. Check the host, then start Tracee the documented way
  3. Point Tracee at four signatures and container activity only
  4. Know what each signature looks for before you trigger it
  5. Play the adversary, harmlessly, in a throwaway container
  6. Triage the detections with jq
  7. Decide what is normal, then clean up

Open the full interactive lab →

Keep learning