Tetragon
eBPF-based Linux runtime security observability and inline kernel enforcement
WHAT IS IT?
Tetragon is an open-source eBPF security observability and runtime enforcement tool created by the Cilium/Isovalent team under the CNCF. Unlike userspace audit daemons that inspect logs asynchronously after a syscall has already succeeded, Tetragon attaches directly to Linux kernel tracepoints, kprobes, and LSM hooks.
WHY USE IT? // PRACTICAL USE CASES
When a zero-day command injection or container escape is exploited, asynchronous log shipping only tells you after the attacker has already exfiltrated credentials. Tetragon's `TracingPolicy` rules can match a process tree condition (e.g., `nginx` or `node` calling `execve` or reading `/etc/shadow`) and issue an in-kernel `Sigkill` or `Override` before the operation completes.
- [1] Detecting and killing unexpected shell spawns (`execve` of `/bin/sh` or `curl`) from web server or container worker processes in real time
- [2] Monitoring Linux namespace escapes (`CVE-2024-21626`) and runtime capability escalations (`CAP_SYS_ADMIN`) inside the kernel
- [3] Tracing sensitive file reads (`/etc/shadow`, SSH private keys, cloud credentials) with full process-tree ancestry
- [4] Exporting structured JSON process/socket/kprobe telemetry without sidecar overhead
HOW DO I GET IT? // SAFE INSTALLATION GUIDANCE
Download official release tarballs (`tetra` CLI + `tetragon` daemon) or container images from `github.com/cilium/tetragon/releases`, or deploy via Helm on Kubernetes.
HOW DOES IT WORK? // INTERNAL ARCHITECTURE OVERVIEW
Tetragon loads verified eBPF programs into the Linux kernel attached to LSM hooks, tracepoints, and kprobes. It maintains an in-kernel process ancestry map and evaluates `TracingPolicy` selectors directly in kernel context, emitting JSON events to userspace ring buffers.
RELATED & COMPLEMENTARY TOOLS
RELATED THREAT RESEARCH
Verified CISA KEV advisories where Tetragon is directly relevant for detection, forensic triage, or architectural mitigation:
linuxfoundation runc Vulnerability (CVE-2024-21626)
Linux Kernel Use-After-Free Vulnerability