Azure Event Hub Deletion

Identifies an Event Hub deletion in Azure. An Event Hub is an event processing service that ingests and processes large volumes of events and data. An adversary may delete an Event Hub in an attempt to evade detection.

Elastic rule (View on GitHub)

 1[metadata]
 2creation_date = "2020/08/18"
 3integration = ["azure"]
 4maturity = "production"
 5min_stack_comments = "New fields added: required_fields, related_integrations, setup"
 6min_stack_version = "8.3.0"
 7updated_date = "2023/06/22"
 8
 9[rule]
10author = ["Elastic"]
11description = """
12Identifies an Event Hub deletion in Azure. An Event Hub is an event processing service that ingests and processes large
13volumes of events and data. An adversary may delete an Event Hub in an attempt to evade detection.
14"""
15false_positives = [
16    """
17    Event Hub deletions may be done by a system or network administrator. Verify whether the username, hostname, and/or
18    resource name should be making changes in your environment. Event Hub deletions by unfamiliar users or hosts should
19    be investigated. If known behavior is causing false positives, it can be exempted from the rule.
20    """,
21]
22from = "now-25m"
23index = ["filebeat-*", "logs-azure*"]
24language = "kuery"
25license = "Elastic License v2"
26name = "Azure Event Hub Deletion"
27note = """## Setup
28
29The Azure Fleet integration, Filebeat module, or similarly structured data is required to be compatible with this rule."""
30references = [
31    "https://docs.microsoft.com/en-us/azure/event-hubs/event-hubs-about",
32    "https://azure.microsoft.com/en-in/services/event-hubs/",
33    "https://docs.microsoft.com/en-us/azure/event-hubs/event-hubs-features",
34]
35risk_score = 47
36rule_id = "e0f36de1-0342-453d-95a9-a068b257b053"
37severity = "medium"
38tags = ["Domain: Cloud", "Data Source: Azure", "Use Case: Log Auditing", "Tactic: Defense Evasion"]
39timestamp_override = "event.ingested"
40type = "query"
41
42query = '''
43event.dataset:azure.activitylogs and azure.activitylogs.operation_name:"MICROSOFT.EVENTHUB/NAMESPACES/EVENTHUBS/DELETE" and event.outcome:(Success or success)
44'''
45
46
47[[rule.threat]]
48framework = "MITRE ATT&CK"
49[[rule.threat.technique]]
50id = "T1562"
51name = "Impair Defenses"
52reference = "https://attack.mitre.org/techniques/T1562/"
53[[rule.threat.technique.subtechnique]]
54id = "T1562.001"
55name = "Disable or Modify Tools"
56reference = "https://attack.mitre.org/techniques/T1562/001/"
57
58
59
60[rule.threat.tactic]
61id = "TA0005"
62name = "Defense Evasion"
63reference = "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

to-top