Why it matters
Long-lived cloud keys in a container are the credential an attacker takes out first.
How to fix it
Replace file-based keys with workload identity (IRSA, GKE Workload Identity, Azure Workload Identity). If the read was not the application's own, rotate the keys.
What TrustIvan reads
The Falco rule "TrustIvan Cloud credentials file read 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
- Sensitive file opened in a container
Kubernetes runtimeSeverity: High
runtime.sensitive-file-read - Search for keys or passwords in a container
Kubernetes runtimeSeverity: Medium
runtime.secret-search - Container contacted the cloud metadata endpoint
Kubernetes runtimeSeverity: Medium
runtime.cloud-metadata-access
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