Why it matters
A kernel module runs in the host kernel, outside every container boundary; loading one is a rootkit's first step.
How to fix it
Treat the node as compromised if the call succeeded. Never grant CAP_SYS_MODULE or privileged mode to a workload.
What TrustIvan reads
The Falco rule "TrustIvan Kernel module load from container" (MITRE ATT&CK persistence, T1547.006), installed on every node by the trustivan-runtime Helm chart. Only where the chart is installed. Every rule validated with falco -V and fired against Falco 0.45.2 under Docker; the chart installed and three rules fired in a single-node k3d cluster.
References
Related checks
- Filesystem mount attempted in a container
Kubernetes runtimeSeverity: High
runtime.mount-in-container - ptrace attach or memory write in a container
Kubernetes runtimeSeverity: High
runtime.ptrace-injection - nsenter, unshare or chroot run in a container
Kubernetes runtimeSeverity: Critical
runtime.namespace-tool - Cgroup release_agent written in a container
Kubernetes runtimeSeverity: Critical
runtime.release-agent - Container runtime socket opened in a container
Kubernetes runtimeSeverity: Critical
runtime.runtime-socket
Terms: Runtime threat detection, KSPM (Kubernetes security posture management), Code to cloud
All runtime detection checks · The whole catalogue · How this works in TrustIvan · Documentation