Why it matters
Adding a key grants someone a login that survives a password change; on a host mount it is a login to the node.
How to fix it
Remove the key, find what wrote it, and treat the workload (and the node, if the path is a host mount) as compromised.
What TrustIvan reads
The Falco rule "TrustIvan SSH authorized keys written in container" (MITRE ATT&CK persistence, T1098.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
- User or group changed in a container
Kubernetes runtimeSeverity: High
runtime.user-management - File below /etc written in a container
Kubernetes runtimeSeverity: High
runtime.write-below-etc
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