Azure Diagnostic Settings Deletion
Identifies the deletion of diagnostic settings in Azure, which send platform logs and metrics to different destinations. An adversary may delete diagnostic settings in an attempt to evade defenses.
Elastic rule (View on GitHub)
1[metadata]
2creation_date = "2020/08/17"
3integration = ["azure"]
4maturity = "production"
5updated_date = "2024/05/21"
6
7[rule]
8author = ["Elastic"]
9description = """
10Identifies the deletion of diagnostic settings in Azure, which send platform logs and metrics to different destinations.
11An adversary may delete diagnostic settings in an attempt to evade defenses.
12"""
13false_positives = [
14 """
15 Deletion of diagnostic settings may be done by a system or network administrator. Verify whether the username,
16 hostname, and/or resource name should be making changes in your environment. Diagnostic settings deletion from
17 unfamiliar users or hosts should be investigated. If known behavior is causing false positives, it can be exempted
18 from the rule.
19 """,
20]
21from = "now-25m"
22index = ["filebeat-*", "logs-azure*"]
23language = "kuery"
24license = "Elastic License v2"
25name = "Azure Diagnostic Settings Deletion"
26note = """## Setup
27
28The Azure Fleet integration, Filebeat module, or similarly structured data is required to be compatible with this rule."""
29references = ["https://docs.microsoft.com/en-us/azure/azure-monitor/platform/diagnostic-settings"]
30risk_score = 47
31rule_id = "5370d4cd-2bb3-4d71-abf5-1e1d0ff5a2de"
32severity = "medium"
33tags = ["Domain: Cloud", "Data Source: Azure", "Tactic: Defense Evasion"]
34timestamp_override = "event.ingested"
35type = "query"
36
37query = '''
38event.dataset:azure.activitylogs and azure.activitylogs.operation_name:"MICROSOFT.INSIGHTS/DIAGNOSTICSETTINGS/DELETE" and event.outcome:(Success or success)
39'''
40
41
42[[rule.threat]]
43framework = "MITRE ATT&CK"
44[[rule.threat.technique]]
45id = "T1562"
46name = "Impair Defenses"
47reference = "https://attack.mitre.org/techniques/T1562/"
48[[rule.threat.technique.subtechnique]]
49id = "T1562.001"
50name = "Disable or Modify Tools"
51reference = "https://attack.mitre.org/techniques/T1562/001/"
52
53
54
55[rule.threat.tactic]
56id = "TA0005"
57name = "Defense Evasion"
58reference = "https://attack.mitre.org/tactics/TA0005/"
Setup
The Azure Fleet integration, Filebeat module, or similarly structured data is required to be compatible with this rule.
References
Related rules
- Azure Alert Suppression Rule Created or Modified
- Azure Application Credential Modification
- Azure Automation Runbook Deleted
- Azure Blob Permissions Modification
- Azure Event Hub Deletion