AWS Deletion of RDS Instance or Cluster
Identifies the deletion of an Amazon Relational Database Service (RDS) Aurora database cluster, global database cluster, or database instance.
Elastic rule (View on GitHub)
1[metadata]
2creation_date = "2020/05/21"
3integration = ["aws"]
4maturity = "production"
5updated_date = "2024/05/21"
6
7[rule]
8author = ["Elastic"]
9description = """
10Identifies the deletion of an Amazon Relational Database Service (RDS) Aurora database cluster, global database cluster,
11or database instance.
12"""
13false_positives = [
14 """
15 Clusters or instances may be deleted by a system administrator. Verify whether the user identity, user agent, and/or
16 hostname should be making changes in your environment. Cluster or instance deletions by unfamiliar users or hosts
17 should be investigated. If known behavior is causing false positives, it can be exempted from the rule.
18 """,
19]
20from = "now-60m"
21index = ["filebeat-*", "logs-aws.cloudtrail-*"]
22interval = "10m"
23language = "kuery"
24license = "Elastic License v2"
25name = "AWS Deletion of RDS Instance or Cluster"
26note = """## Setup
27
28The AWS Fleet integration, Filebeat module, or similarly structured data is required to be compatible with this rule."""
29references = [
30 "https://awscli.amazonaws.com/v2/documentation/api/latest/reference/rds/delete-db-cluster.html",
31 "https://docs.aws.amazon.com/AmazonRDS/latest/APIReference/API_DeleteDBCluster.html",
32 "https://awscli.amazonaws.com/v2/documentation/api/latest/reference/rds/delete-global-cluster.html",
33 "https://docs.aws.amazon.com/AmazonRDS/latest/APIReference/API_DeleteGlobalCluster.html",
34 "https://awscli.amazonaws.com/v2/documentation/api/latest/reference/rds/delete-db-instance.html",
35 "https://docs.aws.amazon.com/AmazonRDS/latest/APIReference/API_DeleteDBInstance.html",
36]
37risk_score = 47
38rule_id = "9055ece6-2689-4224-a0e0-b04881e1f8ad"
39severity = "medium"
40tags = [
41 "Domain: Cloud",
42 "Data Source: AWS",
43 "Data Source: Amazon Web Services",
44 "Data Source: AWS RDS",
45 "Use Case: Asset Visibility",
46 "Tactic: Impact",
47]
48timestamp_override = "event.ingested"
49type = "query"
50
51query = '''
52event.dataset:aws.cloudtrail and event.provider:rds.amazonaws.com and event.action:(DeleteDBCluster or DeleteGlobalCluster or DeleteDBInstance)
53and event.outcome:success
54'''
55
56
57[[rule.threat]]
58framework = "MITRE ATT&CK"
59[[rule.threat.technique]]
60id = "T1485"
61name = "Data Destruction"
62reference = "https://attack.mitre.org/techniques/T1485/"
63
64
65[rule.threat.tactic]
66id = "TA0040"
67name = "Impact"
68reference = "https://attack.mitre.org/tactics/TA0040/"
Setup
The AWS Fleet integration, Filebeat module, or similarly structured data is required to be compatible with this rule.
References
Related rules
- AWS RDS Instance/Cluster Stoppage
- AWS RDS Cluster Creation
- AWS RDS Instance Creation
- AWS RDS Security Group Deletion
- AWS CloudTrail Log Updated