CertGrid CertGrid
Hands-on Lab·Certified Kubernetes Security Specialist

Identifying the Phases of an Attack

One compromised Pod, three phases, and then the same three phases from the defender's side. The competency asks you to identify phases of attack, so this guide runs one on a real cluster and looks for it afterwards.

Monitoring and Runtime Guide 36 of 40 Advanced

Cilium 1.18.1 with Hubble, on a cluster with no NetworkPolicy and no audit logging - which is the default state and the reason the trace looks like this.

The cka6001 cluster: one control plane and 2 schedulable workers, on Cilium.
Server NameIP AddressOSRolesCPURAMHDD
CKA6001192.168.0.46Ubuntu 26.04 LTSControl Plane Node (tainted NoSchedule)2 Core4 GB50 GB
CKA6001-NODE01192.168.0.47Ubuntu 26.04 LTSWorker Node2 Core4 GB50 GB
CKA6001-NODE02192.168.0.48Ubuntu 26.04 LTSWorker Node2 Core4 GB50 GB

This guide includes

Use this when an incident has to be described in phases rather than as one event. This matters because the same three phases look completely different from the defender's side - and one layer saw it while another did not.

Before you start

  1. The scene

  2. Three phases, in order

  3. What the network layer saw

  4. What the API layer saw, and did not

Official sources