BPF-based dns_events table in osquery with uprobes

by alessandrogario
GNU/Linux ◆ xterm-256color ◆ zsh 83 views

The dns_events table is able to capture getaddrinfo invocations system wide making use of BPF and Uprobes. Does not require kernel headers or external libraries.

In this demo, we are capturing the “node” and “service” parameters from the getaddrinfo function inside the libc library.

Implemented using the ebpfpub library (https://github.com/trailofbits/ebpfpub).