eBPF
ELI5 - The Vibe Check
eBPF lets you drop small, safe programs straight into the Linux kernel while it's running, so you can watch every network connection, file open, or system call happening on a machine without slowing anything down or rebooting. It's like installing cameras directly into a building's wiring instead of bolting them onto the walls afterward: you see everything, and nothing has to be torn apart to fit them.
Real Talk
eBPF (extended Berkeley Packet Filter) lets sandboxed programs run inside the Linux kernel to observe or intercept system calls, network packets, and process events with minimal overhead. It underpins modern runtime security and observability tools, such as Falco and Cilium, that detect malicious behavior at the kernel level instead of relying on agents in userspace.
Show Me The Code
- rule: Shell spawned in container
desc: Detect a shell being spawned inside a running container
condition: spawned_process and container and proc.name in (bash, sh, zsh)
output: "Shell spawned (container=%container.name command=%proc.cmdline)"
priority: WARNING
When You'll Hear This
"Falco's eBPF probe caught the container trying to spawn a shell." / "We moved network policy enforcement to eBPF with Cilium instead of iptables."
Related Terms
Falco
Falco is a runtime security tool that watches system calls in your Kubernetes cluster.
Kubernetes
Kubernetes is a robot manager for your containers.
Observability
Observability is the ability to understand what's happening inside your system from the outside, using three types of data: metrics (numbers), logs (events...
Runtime Security
Runtime Security monitors your applications WHILE they're running.
Service Mesh
In a microservices system, every service needs to handle retries, timeouts, mutual TLS, and send traces. You could code all that in every service.