Why it matters
Sweeping the filesystem for secrets is what an intruder does right after getting a shell.
How to fix it
Find who ran it (the process tree is in the event). If it was not a person debugging, treat the workload as compromised and rotate what it could read.
What TrustIvan reads
The Falco rule "TrustIvan Search for private keys or passwords in container" (MITRE ATT&CK credential_access, T1552.001), 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
- Cloud credentials file read in a container
Kubernetes runtimeSeverity: Medium
runtime.cloud-credentials-read - Container contacted the cloud metadata endpoint
Kubernetes runtimeSeverity: Medium
runtime.cloud-metadata-access - Sensitive file opened in a container
Kubernetes runtimeSeverity: High
runtime.sensitive-file-read
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