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