Why it matters
Applications do not mount filesystems. Mounting the node's disk, procfs or cgroup tree is how a privileged container reaches the host.
How to fix it
Check the result in the event. Drop CAP_SYS_ADMIN and privileged mode from the pod spec; if the mount was not expected, treat the workload as compromised.
What TrustIvan reads
The Falco rule "TrustIvan Filesystem mount attempted in container" (MITRE ATT&CK privilege_escalation, T1611), 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
- nsenter, unshare or chroot run in a container
Kubernetes runtimeSeverity: Critical
runtime.namespace-tool - Kernel module load attempted from a container
Kubernetes runtimeSeverity: Critical
runtime.kernel-module - Cgroup release_agent written in a container
Kubernetes runtimeSeverity: Critical
runtime.release-agent - ptrace attach or memory write in a container
Kubernetes runtimeSeverity: High
runtime.ptrace-injection - 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