Skip to content

Delete Pod (kubernetes)

PlatformAuthorLast Update
kubernetesLeo Tsaousis2024-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

NameTypeDescriptionExample Value
podnamestrName of the pod to removeleonidas-netutils-pod

Attacker Action

Terminal window
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 pod
id: 40967487-139b-4811-81d9-c9767a92aa5a
status: experimental
author: Leo Tsaousis
date: 2024-12-02
description: |
Remove a pod from a cluster to impact business operations
logsource:
product: kubernetes
service: audit
detection:
selection:
verb: delete
resource: pods
condition: selection
level: low
tags:
- attack.T1498
references:
- https://microsoft.github.io/Threat-Matrix-for-Kubernetes/techniques/Data%20destruction/