Documentation
¶
Overview ¶
Package tetragon renders the feeds' block-mode process rules as a Tetragon TracingPolicy, so the kernel refuses a matching exec before it runs.
This is the in-kernel counterpart to the seccomp guard, for nodes that run Tetragon. It is off unless an operator renders the policy (vulnetix-sensor tetragon-policy) and applies it with kubectl. The sensor does not apply it.
Only what Tetragon can express is rendered: a Sigma process_creation rule whose one selection tests Image alone, with no modifier, startswith or endswith. Everything else is listed as skipped with the reason, and keeps running in the sensor as detection. The policy refuses with EPERM through Tetragon's Override action on security_bprm_creds_for_exec, which needs a kernel built with CONFIG_BPF_KPROBE_OVERRIDE. Not yet run against a live Tetragon; read the policy before applying it.
Index ¶
Constants ¶
const Hook = "security_bprm_creds_for_exec"
Hook is the kernel function the policy overrides.
const PolicyName = "vulnetix-exec-block"
PolicyName is the TracingPolicy's name, and how the sensor recognises the events it causes.
Variables ¶
This section is empty.
Functions ¶
This section is empty.