RC RANDOM CHAOS

eBPF Rootkits Move Into Underground Operational Reality

· via BleepingComputer

Original source

eBPF Rootkits: Why Underground Actors Are Taking Notice

BleepingComputer →

Extended Berkeley Packet Filter (eBPF) has earned recognition as a legitimate Linux kernel capability, enabling developers to deploy sandboxed programs without kernel modules and powering infrastructure monitoring at scale. The same kernel-sanctioned mechanism that defenders rely on for security tools now offers attackers an effective means to build stealthy rootkits. eBPF-based malware hooks kernel functions and intercepts system calls through legitimate kernel interfaces, bypassing the detection signatures that catch traditional rootkits relying on loadable kernel modules.

The jump from theoretical threat to operational reality happened quietly. Researchers demonstrated eBPF’s offensive potential years ago through projects like ebpfkit and TripleCross, which showed process hiding and execution hijacking capabilities. That research has now migrated to underground forums where threat actors share working code and implementation guides. A Russian-language forum tutorial describes complete techniques for process hiding, triggering implants through custom packet signatures, and encrypting command-and-control traffic with AES-256-GCM. Multiple platform pastes circulating complementary XDP code suggest these techniques are seeing active distribution beyond academic circles.

The fundamental detection problem stems from eBPF’s legitimate status within the kernel. Unlike suspicious kernel modules, eBPF programs pass the kernel’s verifier and operate through approved system calls, making them operationally indistinguishable from benign tools. Monitoring requires auditing loaded programs with bpftool, restricting unprivileged eBPF access via kernel parameters, watching for network “magic packets” that trigger backdoors, and aggressively patching BPF verifier flaws—but these remain reactive responses. Organizations running Linux servers should treat eBPF-based threats as an emerging Linux rootkit evolution and adjust their visibility and enforcement accordingly.

Read the full article

Continue reading at BleepingComputer →

This is an AI-generated summary. Read the original for the full story.