Skip to content

Comment on Detection primitives for eBPF rootkits | Datadog Security Labs

You are viewing one comment and its replies. View all comments

Comments

  • 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.

    -1

Sign in to comment. Sign in