Azure Kubernetes Pods Deleted

Identifies the deletion of Azure Kubernetes Pods. Adversaries may delete a Kubernetes pod to disrupt the normal behavior of the environment.

Elastic rule (View on GitHub)

 1[metadata]
 2creation_date = "2021/06/24"
 3integration = ["azure"]
 4maturity = "production"
 5updated_date = "2024/05/21"
 6
 7[rule]
 8author = ["Austin Songer"]
 9description = """
10Identifies the deletion of Azure Kubernetes Pods. Adversaries may delete a Kubernetes pod to disrupt the normal behavior
11of the environment.
12"""
13false_positives = [
14    """
15    Pods may be deleted by a system administrator. Verify whether the user identity, user agent, and/or hostname should
16    be making changes in your environment. Pods deletions by unfamiliar users or hosts should be investigated. If known
17    behavior is causing false positives, it can be exempted from the rule.
18    """,
19]
20from = "now-25m"
21index = ["filebeat-*", "logs-azure*"]
22language = "kuery"
23license = "Elastic License v2"
24name = "Azure Kubernetes Pods Deleted"
25note = """## Setup
26
27The Azure Fleet integration, Filebeat module, or similarly structured data is required to be compatible with this rule."""
28references = [
29    "https://docs.microsoft.com/en-us/azure/role-based-access-control/resource-provider-operations#microsoftkubernetes",
30]
31risk_score = 47
32rule_id = "83a1931d-8136-46fc-b7b9-2db4f639e014"
33severity = "medium"
34tags = ["Domain: Cloud", "Data Source: Azure", "Use Case: Asset Visibility", "Tactic: Impact"]
35timestamp_override = "event.ingested"
36type = "query"
37
38query = '''
39event.dataset:azure.activitylogs and azure.activitylogs.operation_name:"MICROSOFT.KUBERNETES/CONNECTEDCLUSTERS/PODS/DELETE" and
40event.outcome:(Success or success)
41'''
42
43
44[[rule.threat]]
45framework = "MITRE ATT&CK"
46
47[rule.threat.tactic]
48id = "TA0040"
49name = "Impact"
50reference = "https://attack.mitre.org/tactics/TA0040/"

Setup

The Azure Fleet integration, Filebeat module, or similarly structured data is required to be compatible with this rule.

References

Related rules

to-top