Why it matters
Configuration is fixed when an image is built and scanned. Changing it at runtime is drift the scan never saw, and adding users, cron entries or resolver settings is a common persistence step.
How to fix it
Check which file and process the event names. Move legitimate configuration into the image or a read-only ConfigMap mount, and run the container with a read-only root filesystem.
What TrustIvan reads
The Falco rule "TrustIvan Write below etc in container" (MITRE ATT&CK persistence, T1543), 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
- User or group changed in a container
Kubernetes runtimeSeverity: High
runtime.user-management - SSH authorized_keys written in a container
Kubernetes runtimeSeverity: High
runtime.authorized-keys-write
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