All faults / Delivery & security
Privilege escalation: chaos experiment
A workload with cluster-wide permissions is abused with its own service account token, and it deletes pods and objects it should never reach.
What it tests
RBAC scope, least privilege, audit trail, what a stolen token can delete
RBAC scope, least privilege, audit trail, what a stolen token can delete
The hypothesis holds when
A least-privilege role denies the calls, so the attempt shows up in the audit log and nothing is deleted.
A least-privilege role denies the calls, so the attempt shows up in the audit log and nothing is deleted.
It breaks when
Broad permissions let the account delete workloads, and pods keep disappearing until the token is revoked.
Broad permissions let the account delete workloads, and pods keep disappearing until the token is revoked.
The same fault in other tools
- Chaos Mesh: no equivalent
- LitmusChaos: no equivalent
- ChaosBlade: no equivalent
- Chaos Monkey: no equivalent
Generated manifests and commands are on the Export tab. Confirm flags for your version before running them.
Run this experiment in your browser
Simulator only today. Export it as a manifest from the Export tab.