Uncommon eBPF helpers reveal rootkits at load time
Monitoring the use of rare eBPF helpers at program load can reliably detect eBPF rootkits in the wild.
Security & privacy Datadog Security Labs 27 Jul 2026 Defense Prototype evidence
Published as “Detection primitives for eBPF rootkits”
Why it matters
Detecting eBPF rootkits at load time gives defenders a chance to block them before they can hide.
Summary
The authors examined three real eBPF rootkits (VoidLink, LinkPro, Atomic Arch) and identified the use of uncommon helpers as a common fingerprint. They leveraged Datadog's Workload Protection sensor to capture the helper bitmap at BPF_PROG_LOAD time, before the programs can act. Simple load-time detection rules that match on helpers like bpf_probe_write_user, bpf_override_return, and bpf_send_signal flagged each sample rootkit on a live kernel. The evidence shows the approach works on real malware, though legitimate tools may also use these helpers.
What they found 2
- LinkPro uses bpf_override_return to hide its own eBPF programs from enumeration.
“LinkPro uses bpf_override_return() to hide its own eBPF programs from enumeration.”
- A load-time rule matching BPF_PROBE_WRITE_USER flags VoidLink at program load.
“bpf.cmd == BPF_PROG_LOAD && BPF_PROBE_WRITE_USER in bpf.prog.helpers”
Caveats 1
- Where legitimate software uses one of these helpers, you can scope the rules down-for example, by excluding a known tracing framework by process path or name.
What’s new here 4
- Identify rare eBPF helpers as high-confidence detection signals.
- Capture a load-time fingerprint of eBPF programs via Datadog's WP sensor.
- Provide concrete detection rules that fire before the rootkit can hide.
- Demonstrate the method on three distinct eBPF rootkits in a live kernel.