Lion Cipher Lab

Trace your Linux system with eBPF and bpftrace (see every exec, open, and connection)

Why it matters

Almost every modern piece of runtime security — Falco, Cilium/Tetragon, and the sensors inside commercial EDR — watches the kernel with eBPF, because it is the one way to see everything a machine does (every program launched, every file opened, every connection made) without the crippling overhead of the older approaches. bpftrace is the fastest way to touch that power directly: a few lines and you are reading the kernel live. The durable skill is not the syntax, it is the judgment underneath it — knowing that eBPF gives you low-overhead, system-wide, programmable visibility, when that beats…

What you'll learn

Steps in this lab

  1. What eBPF and bpftrace actually are
  2. When eBPF beats the alternatives — the judgment
  3. Get a kernel that can actually run this
  4. Install bpftrace and list the probes on your kernel
  5. Trace every program that runs (the exec firehose)
  6. Trace file opens, then count syscalls per process
  7. Watch new outbound TCP connections
  8. Write a real .bt script and run it
  9. Why this matters for security — and when NOT to use it

Open the full interactive lab →