Why it matters
Erasing history and logs is covering tracks.
How to fix it
Ship logs off the container as they are written (stdout to the cluster's log pipeline), and investigate what was erased and why.
What TrustIvan reads
The Falco rule "TrustIvan Log or shell history cleared in container" (MITRE ATT&CK defense_evasion, T1070.003), 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
- Firewall tool run in a container
Kubernetes runtimeSeverity: Medium
runtime.firewall-change
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