Runtime detection check · Kubernetes runtime

Package manager run in a running container

apt, apk, yum, dnf, rpm, pip, npm, gem or a similar package manager ran inside a running container.

Why it matters

Software installed after start was never scanned, so the image's findings no longer describe what runs. Attackers install tools this way.

How to fix it

Install packages when the image is built, rescan the image, and remove the package manager from the runtime image (a distroless or minimal base has none).

What TrustIvan reads

The Falco rule "TrustIvan Package manager run in container" (MITRE ATT&CK persistence, T1072), 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.