Interview Prep/DevSecOps/Tool Internals and Comparisons

Falco vs Tetragon: how do they differ?

AdvancedConceptTool Internals and Comparisons
Answer

Both use eBPF for runtime visibility. Falco is a detection engine: a rich rule language, a large community ruleset, and alert routing; it does not block. Tetragon (from the Cilium project) defines TracingPolicy CRDs that hook kernel functions, filters events in the kernel, and can enforce: send SIGKILL to a process or override a syscall return value at the moment of the violation.

apiVersion: cilium.io/v1alpha1
kind: TracingPolicy
metadata: { name: block-shadow-read }
spec:
  kprobes:
  - call: "security_file_permission"
    syscall: false
    args: [{ index: 0, type: "file" }, { index: 1, type: "int" }]
    selectors:
    - matchArgs:
      - { index: 0, operator: "Equal", values: ["/etc/shadow"] }
      matchActions: [{ action: Sigkill }]

Falco for broad detection with low friction; Tetragon when you need in-kernel enforcement and are already on Cilium.

All DevSecOps questions

More on Tool Internals and Comparisons