Delete Events (kubernetes)
Platform | Author | Last Update |
---|---|---|
kubernetes | Leo Tsaousis | 2024-12-02 |
Delete all Kubernetes events within a namespace
MITRE IDs
Scope
This test case does not need Cluster-wide permissions
Required Permissions
- apiGroups: - '' namespaced: true resources: - events verbs: - delete - list
Required Parameters
None
Attacker Action
kubectl delete events --all
Detection Case
ELK query
When logs are ingested into ELK, the following query can be used to identify relevant events.
verb:delete AND resource:events
Sigma Definition
---title: Delete Eventsid: 3132570d-cab2-4561-9ea6-1743644b2290status: experimentalauthor: Leo Tsaousisdate: 2024-12-02description: | Delete all Kubernetes events within a namespacelogsource: product: kubernetes service: auditdetection: selection: verb: delete
resource: events
condition: selectionlevel: mediumtags:- attack.T1070references:- https://microsoft.github.io/Threat-Matrix-for-Kubernetes/techniques/Delete%20K8S%20events/