Enumerate Pods (kubernetes)
Platform | Author | Last Update |
---|---|---|
kubernetes | Leo Tsaousis | 2024-12-02 |
Enumerate pods within the Leonidas namepsace
MITRE IDs
Scope
This test case does not need Cluster-wide permissions
Required Permissions
- apiGroups: - '' namespaced: true resources: - pods verbs: - list
Required Parameters
None
Attacker Action
kubectl get pods
Detection Case
ELK query
When logs are ingested into ELK, the following query can be used to identify relevant events.
verb:list AND resource:pods
Sigma Definition
---title: Enumerate podsid: 18490e7b-f1f3-484a-806b-4cb16aa225cestatus: experimentalauthor: Leo Tsaousisdate: 2024-12-02description: | Enumerate pods within the Leonidas namepsacelogsource: product: kubernetes service: auditdetection: selection: verb: list
resource: pods
condition: selectionlevel: lowtags:- attack.T1580- attack.T1613
falsepositives:- Legitimate administrative activity. Investigate for similar activity from the same identity that could indicate enumeration attempts