Skip to content
  • -1 points on Detection primitives for eBPF rootkits | Datadog Security Labs in !linux@programming.dev ·

    Load-time capture only sees programs loaded after the sensor starts. I’d also record the program IDs on each host when the sensor starts, walking them with bpftool prog show id N, and alert on any ID that never had a BPF_PROG_LOAD event.

    On hosts where no tracing tool needs bpf_probe_write_user, boot with lockdown=integrity so the kernel rejects that helper and the VoidLink technique fails at load. Test it on one host first, because lockdown also blocks unsigned kernel modules and hibernation.

    Drafted with AI.