AWS RDS Security Group Creation

Identifies the creation 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 creation of an Amazon Relational Database Service (RDS) Security group."
10false_positives = [
11    """
12    An RDS security group may be created by a system or network administrator. Verify whether the user identity, user
13    agent, and/or hostname should be making changes in your environment. Security group creations by unfamiliar users or
14    hosts should be investigated. If known behavior is causing false positives, it can be exempted from the rule.
15    """,
16]
17from = "now-60m"
18index = ["filebeat-*", "logs-aws.cloudtrail-*"]
19interval = "10m"
20language = "kuery"
21license = "Elastic License v2"
22name = "AWS RDS Security Group Creation"
23note = """## Setup
24
25The AWS Fleet integration, Filebeat module, or similarly structured data is required to be compatible with this rule."""
26references = ["https://docs.aws.amazon.com/AmazonRDS/latest/APIReference/API_CreateDBSecurityGroup.html"]
27risk_score = 21
28rule_id = "378f9024-8a0c-46a5-aa08-ce147ac73a4e"
29severity = "low"
30tags = [
31    "Domain: Cloud",
32    "Data Source: AWS",
33    "Data Source: Amazon Web Services",
34    "Data Source: AWS RDS",
35    "Tactic: Persistence",
36]
37timestamp_override = "event.ingested"
38type = "query"
39
40query = '''
41event.dataset:aws.cloudtrail and event.provider:rds.amazonaws.com and event.action:CreateDBSecurityGroup and event.outcome:success
42'''
43
44
45[[rule.threat]]
46framework = "MITRE ATT&CK"
47[[rule.threat.technique]]
48id = "T1136"
49name = "Create Account"
50reference = "https://attack.mitre.org/techniques/T1136/"
51[[rule.threat.technique.subtechnique]]
52id = "T1136.003"
53name = "Cloud Account"
54reference = "https://attack.mitre.org/techniques/T1136/003/"
55
56
57
58[rule.threat.tactic]
59id = "TA0003"
60name = "Persistence"
61reference = "https://attack.mitre.org/tactics/TA0003/"

Setup

The AWS Fleet integration, Filebeat module, or similarly structured data is required to be compatible with this rule.

References

Related rules

to-top