Interview Prep/DevSecOps/Tool Internals and Comparisons

How does Falco capture system calls?

AdvancedConceptTool Internals and Comparisons
Answer

Falco needs a driver that taps syscalls in the kernel and passes events to user space through a ring buffer, where the rule engine (libsinsp) enriches them with process, container and Kubernetes metadata.

Driver options:

  • Modern eBPF probe: CO-RE, compiled into Falco, no per-kernel build; needs kernel 5.8+ with BTF. The preferred choice today.
  • Legacy eBPF probe: per-kernel object file.
  • Kernel module: oldest option, needs kernel headers, not allowed on many managed or hardened nodes.
falco -o engine.kind=modern_ebpf

Heavy syscall volume can drop events (n_drops in Falco's metrics), so rule tuning and buffer sizing matter on busy nodes.

All DevSecOps questions

More on Tool Internals and Comparisons