AWS RDS Security Group Deletion

Identifies the deletion of an Amazon Relational Database Service (RDS) Security group.

Elastic rule (View on GitHub)

 1[metadata]
 2creation_date = "2021/06/05"
 3integration = ["aws"]
 4maturity = "production"
 5updated_date = "2024/05/21"
 6
 7[rule]
 8author = ["Elastic", "Austin Songer"]
 9description = "Identifies the deletion of an Amazon Relational Database Service (RDS) Security group."
10false_positives = [
11    """
12    An RDS security group deletion may be done by a system or network administrator. Verify whether the user identity,
13    user agent, and/or hostname should be making changes in your environment. Security group deletions by unfamiliar
14    users or hosts should be investigated. If known behavior is causing false positives, it can be exempted from the
15    rule.
16    """,
17]
18from = "now-60m"
19index = ["filebeat-*", "logs-aws.cloudtrail-*"]
20interval = "10m"
21language = "kuery"
22license = "Elastic License v2"
23name = "AWS RDS Security Group Deletion"
24note = """## Setup
25
26The AWS Fleet integration, Filebeat module, or similarly structured data is required to be compatible with this rule."""
27references = ["https://docs.aws.amazon.com/AmazonRDS/latest/APIReference/API_DeleteDBSecurityGroup.html"]
28risk_score = 21
29rule_id = "863cdf31-7fd3-41cf-a185-681237ea277b"
30severity = "low"
31tags = [
32    "Domain: Cloud",
33    "Data Source: AWS",
34    "Data Source: Amazon Web Services",
35    "Data Source: AWS RDS",
36    "Tactic: Impact",
37]
38timestamp_override = "event.ingested"
39type = "query"
40
41query = '''
42event.dataset:aws.cloudtrail and event.provider:rds.amazonaws.com and event.action:DeleteDBSecurityGroup and event.outcome:success
43'''
44
45
46[[rule.threat]]
47framework = "MITRE ATT&CK"
48[[rule.threat.technique]]
49id = "T1531"
50name = "Account Access Removal"
51reference = "https://attack.mitre.org/techniques/T1531/"
52
53
54[rule.threat.tactic]
55id = "TA0040"
56name = "Impact"
57reference = "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

to-top