Elastic medium stable eql
BPF Program or Map Load via bpftool
Detects execution of bpftool commands used to load, attach, run, or pin eBPF programs, as well as create or update eBPF maps and links. These operations interact directly with the Linux eBPF subsystem and can modify kernel-level behavior. While commonly used by legitimate networking or observability tooling, unexpected or interactive usage may indicate eBPF-based rootkit activity, policy tampering, or unauthorized kernel instrumentation.
Detection Logic
process where host.os.type == "linux" and event.type == "start" and
event.action in ("exec", "exec_event", "start", "ProcessRollup2", "executed", "process_started") and
process.name == "bpftool" and (
(process.args == "prog" and process.args in ("load", "loadall", "attach", "run", "pin")) or
(process.args == "map" and process.args in ("create", "pin")) or
(process.args == "link" and process.args == "pin")
) Field Validations
Loading…
Comments (0)
Loading comments...