Runtime detection check · Kubernetes runtime

Filesystem mount attempted in a container

A process in a container called mount (or the new mount API). The container runtime's own init is excluded.

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

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

See TrustIvan on your own estate.

Book thirty minutes with an engineer and bring an image, a repository or a cloud account, or start free on the hosted service.