Why it matters
Those are often memory or volume mounts outside the image layers, where the drift rule cannot see a dropped binary: payloads land there.
How to fix it
Mount temporary volumes without exec where the runtime allows it, keep the root filesystem read-only, and investigate the program.
What TrustIvan reads
The Falco rule "TrustIvan Executable run from a temporary directory in container" (MITRE ATT&CK execution, T1059.004), 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
- Executable not in the image run in a container
Kubernetes runtimeSeverity: Critical
runtime.drift-binary - Program run from memory in a container
Kubernetes runtimeSeverity: Critical
runtime.fileless-execution - Compiler run in a running container
Kubernetes runtimeSeverity: Medium
runtime.compiler-runtime - Program written to a binary directory in a container
Kubernetes runtimeSeverity: High
runtime.write-below-binary-dir
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