Hands-on Lab·Kubernetes and Cloud Native Security Associate
Threat Modeling with STRIDE
A threat modelling framework is a list of questions somebody worked out so you do not have to. STRIDE has six, and each one has an answer on a Kubernetes cluster that a single command will give you. This guide asks all six of this cluster, and every answer is something worth writing down.
Compliance and Frameworks Guide 40 of 42 Intermediate
- Kubernetesapiserver v1.36.4, kubelet v1.36.3
- Runtimecontainerd 2.2.6
- CNICilium 1.18.1
- Built withkubeadm v1.36.3
- TimeAbout 18 min
Every command here is read-only. Nothing is created, changed or deleted, which is what makes this a review you can run on a cluster you do not own.
- Host kernel7.0.0-29
| Server Name | IP Address | OS | Roles | CPU | RAM | HDD |
|---|---|---|---|---|---|---|
| CKA5001 | 192.168.0.41 | Ubuntu 26.04 LTS | Control Plane Node (tainted NoSchedule) | 2 Core | 4 GB | 50 GB |
| CKA5001-NODE01 | 192.168.0.42 | Ubuntu 26.04 LTS | Worker Node | 2 Core | 4 GB | 50 GB |
| CKA5001-NODE02 | 192.168.0.43 | Ubuntu 26.04 LTS | Worker Node | 2 Core | 4 GB | 50 GB |
| CKA5001-NODE03 | 192.168.0.44 | Ubuntu 26.04 LTS | Worker Node | 2 Core | 4 GB | 50 GB |
This guide includes
Use this when STRIDE has to be applied rather than recited. This matters because each letter turns into a specific query against a real cluster - and every one of those queries is read-only.
- S and T: what is bound to the groups nobody joins on purpose, then wildcards in roles and what admission is installed
- R: asking what evidence would remain, and finding that the answer is nothing
- I: finding which roles name Secrets at all
- D: counting the containers, then counting the ones with any ceiling on them
- E: finding the one rule, in a role you have already handed out, that is bigger than it looks
Before you start
-
S for spoofing - who can act without authenticating
-
T for tampering - who can change objects on the way in
-
R for repudiation - what would be left of the evidence
-
I for information disclosure - who can read the secrets
-
D for denial of service - what is unbounded
-
E for elevation of privilege - the grant that is bigger than it looks