logo

Hunting Rootkits with eBPF: Detecting Linux Syscall Hooking

ID: f3db8f37-53e8-5575-9e86-7cfb746d2a59

STIX ID: report--f3db8f37-53e8-5575-9e86-7cfb746d2a59

Feed Name: Aqua Security Blog

Threat Score
70/100

Date Published: 2022-04-21

Date Updated: 2026-05-12

...
...

This blog describes how eBPF and the Tracee tool can detect kernel-level syscall hooking used by the Diamorphine rootkit (attributed to TeamTNT), covering eBPF fundamentals, how attackers manipulate syscall tables and kernel functions, the kernel core_text memory boundary concept for distinguishing original kernel code from module-inserted code, and a concrete Tracee-derived-event implementation that triggers from userland to check syscall addresses and flag hooked syscalls such as getdents/getdents64 and a modified kill used for covert communication.

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