Runtime detection check · Kubernetes runtime

Executable not in the image run in a container

A container ran an executable from its writable layer: a file written after the container started (downloaded, copied or unpacked), not one that came with the image.

Why it matters

What runs is no longer what was scanned and signed. A binary dropped at runtime is the usual shape of an intruder's tooling.

How to fix it

Turn on drift prevention for the cluster (pods must run with a read-only root filesystem) and a response policy that stops the pod on drift. Treat the workload as compromised: isolate it (a TrustIvan response action can network-isolate or stop it), find how it got there (image, exec, vulnerable application), rebuild from a clean image and rotate any credentials the pod could read.

What TrustIvan reads

The Falco rule "TrustIvan Drift binary not in image executed" (MITRE ATT&CK execution, T1105), 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.