Delete Pod (kubernetes)
Platform | Author | Last Update |
---|---|---|
kubernetes | Leo Tsaousis | 2024-12-02 |
Remove a pod from a cluster to impact business operations
MITRE IDs
Scope
This test case does not need Cluster-wide permissions
Required Permissions
- apiGroups: - '' namespaced: true resources: - pods verbs: - delete
Required Parameters
Name | Type | Description | Example Value |
---|---|---|---|
podname | str | Name of the pod to remove | leonidas-netutils-pod |
Attacker Action
kubectl delete pod leonidas-netutils-pod
Detection Case
ELK query
When logs are ingested into ELK, the following query can be used to identify relevant events.
verb:delete AND resource:pods
Sigma Definition
---title: Delete podid: 40967487-139b-4811-81d9-c9767a92aa5astatus: experimentalauthor: Leo Tsaousisdate: 2024-12-02description: | Remove a pod from a cluster to impact business operationslogsource: product: kubernetes service: auditdetection: selection: verb: delete
resource: pods
condition: selectionlevel: lowtags:- attack.T1498references:- https://microsoft.github.io/Threat-Matrix-for-Kubernetes/techniques/Data%20destruction/