logo

Reverse engineering eBPF programs

ID: 65b7acf3-d16b-5898-ae9a-e16fb38b84fe

STIX ID: report--65b7acf3-d16b-5898-ae9a-e16fb38b84fe

Feed Name: Security Boulevard

Threat Score
50/100

Date Published: 2024-06-25

Date Updated: 2026-04-22

Author: Amit Schendel

...
...

This post provides an overview of eBPF architecture, loading, verifier rules, helper functions, and maps, then walks through a reverse-engineering exercise of a small eBPF rootkit (from a public GitHub project) that hooks the execve tracepoint, modifies the target process name via bpf_probe_write_user, and emits an event to a ring buffer. The author disassembles the compiled object, explains the logic step-by-step, and includes the original C source to illustrate how an eBPF-based hijack operates and the security implications of kernel-level eBPF maps and helpers.

Your team is not currently subscribed to this feed. You must subscribe to it in order to see this post.