Runtime detection check · Kubernetes runtime

Outbound SSH from a container

A container opened a connection to port 22 on another host.

Why it matters

Workloads rarely SSH anywhere; an intruder does, to move to another machine with stolen keys.

How to fix it

If the workload does not need it, block port 22 egress with a NetworkPolicy and investigate the process.

What TrustIvan reads

The Falco rule "TrustIvan Outbound SSH from container" (MITRE ATT&CK lateral_movement, T1021.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

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

See TrustIvan on your own estate.

Book thirty minutes with an engineer and bring an image, a repository or a cloud account, or start free on the hosted service.