1{
2  "author": [
3    "Elastic"
4  ],
5  "description": "Identifies the deletion of a resource group in Azure, which includes all resources within the group. Deletion is permanent and irreversible. An adversary may delete a resource group in an attempt to evade defenses or intentionally destroy data.",
6  "false_positives": [
7    "Deletion of a resource group may be done by a system or network administrator. Verify whether the username, hostname, and/or resource name should be making changes in your environment. Resource group deletions from unfamiliar users or hosts should be investigated. If known behavior is causing false positives, it can be exempted from the rule."
8  ],
9  "from": "now-25m",
10  "index": [
11    "filebeat-*",
12    "logs-azure*"
13  ],
14  "language": "kuery",
15  "license": "Elastic License v2",
16  "name": "Azure Resource Group Deletion",
17  "note": "## Config\n\nThe Azure Fleet integration, Filebeat module, or similarly structured data is required to be compatible with this rule.",
18  "query": "event.dataset:azure.activitylogs and azure.activitylogs.operation_name:\"MICROSOFT.RESOURCES/SUBSCRIPTIONS/RESOURCEGROUPS/DELETE\" and event.outcome:(Success or success)\n",
19  "references": [
20    "https://docs.microsoft.com/en-us/azure/azure-resource-manager/management/manage-resource-groups-portal"
21  ],
22  "risk_score": 47,
23  "rule_id": "bb4fe8d2-7ae2-475c-8b5d-55b449e4264f",
24  "severity": "medium",
25  "tags": [
26    "Elastic",
27    "Cloud",
28    "Azure",
29    "Continuous Monitoring",
30    "SecOps",
31    "Log Auditing"
32  ],
33  "threat": [
34    {
35      "framework": "MITRE ATT&CK",
36      "tactic": {
37        "id": "TA0040",
38        "name": "Impact",
39        "reference": "https://attack.mitre.org/tactics/TA0040/"
40      },
41      "technique": [
42        {
43          "id": "T1485",
44          "name": "Data Destruction",
45          "reference": "https://attack.mitre.org/techniques/T1485/"
46        }
47      ]
48    },
49    {
50      "framework": "MITRE ATT&CK",
51      "tactic": {
52        "id": "TA0005",
53        "name": "Defense Evasion",
54        "reference": "https://attack.mitre.org/tactics/TA0005/"
55      },
56      "technique": [
57        {
58          "id": "T1562",
59          "name": "Impair Defenses",
60          "reference": "https://attack.mitre.org/techniques/T1562/",
61          "subtechnique": [
62            {
63              "id": "T1562.001",
64              "name": "Disable or Modify Tools",
65              "reference": "https://attack.mitre.org/techniques/T1562/001/"
66            }
67          ]
68        }
69      ]
70    }
71  ],
72  "timestamp_override": "event.ingested",
73  "type": "query",
74  "version": 5
75}
76