Linux Runtime Security and Forensics using eBPF
open sourceApache-2.0self-hostablefree
Tracee is a runtime security and observability tool from Aqua Security that uses eBPF to turn what happens on a Linux system into events: process lifecycle and container events, system calls, file operations, network flows and packets (including DNS and HTTP), and LSM hooks. Security events built on top of them flag suspicious behaviour such as ptrace code injection, kernel module loading or an illegitimate shell, and policies choose what to watch and where. It runs as a privileged container, from the command line, or as a DaemonSet on Kubernetes through Aqua's Helm chart, with traceectl to stream events and metrics. Apache-2.0, written in Go.
Ways to install
On Kubernetes
Problems it solves
- see every process, file and network event on a Linux host with container context, without changing apps
- detect code injection through ptrace on our servers
- alert when a kernel module is loaded on a production node
- spot an unexpected shell spawned inside a container
- trace system calls across all containers on a node for a security investigation
- capture forensic artifacts from a suspicious process on a Linux host
- runtime threat detection on every Kubernetes node as a DaemonSet
- watch DNS and HTTP traffic per process on a Linux machine
- follow process lineage to see what launched a suspicious binary
- write our own security detections in Go on top of kernel events
- pick which events to collect for which containers with a policy file
- low overhead eBPF tracing for security monitoring and troubleshooting
- audit what a container image actually does when it runs
Features
- lifecycle events: process fork, exec and exit, container create and remove
- system call events (sys_enter and sys_exit) and LSM hook events
- network events: flows and packets, including DNS and HTTP
- security events for suspicious behaviour, such as ptrace code injection, kernel module loading and illegitimate shells
- custom events written in Go
- policies with scopes and rules to choose what to monitor, from the CLI or on Kubernetes
- capture flag for forensics
- container and Kubernetes awareness
- traceectl to stream events and read metrics from a running Tracee
- Docker image and Helm chart that runs Tracee as a DaemonSet on every node
View 1 more
- x86 and arm64 processors
Limitations
- Doesn't run on macOS or Windows: Tracee runs only on Linux, and in a Linux VM on a Mac it sees only that VM34
- Doesn't support older Linux kernels: it needs a modern long-term supported kernel such as 5.4, 5.10, 5.15, 6.2 or 6.54
Capabilities
| Has a command line tool | plan not known |
|---|
Alternatives
The same job
These do what Tracee does.
