-
Notifications
You must be signed in to change notification settings - Fork 523
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[New BBR] AWS RDS DB Snapshot Created
...
- Loading branch information
Showing
1 changed file
with
65 additions
and
0 deletions.
There are no files selected for viewing
65 changes: 65 additions & 0 deletions
65
rules_building_block/defense_evasion_aws_rds_snapshot_created.toml
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,65 @@ | ||
[metadata] | ||
bypass_bbr_timing = true | ||
creation_date = "2024/06/22" | ||
integration = ["aws"] | ||
maturity = "production" | ||
updated_date = "2024/06/25" | ||
|
||
[rule] | ||
author = ["Elastic"] | ||
building_block_type = "default" | ||
description = """ | ||
Identifies when an AWS RDS DB Snapshot is created. This can be used to evade defenses by allowing an attacker to bypass access controls | ||
or cover their tracks by reverting an instance to a previous state. This is a [building block | ||
rule](https://www.elastic.co/guide/en/security/current/building-block-rule.html) and does not generate alerts on | ||
its own. It is meant to be used for correlation with other rules to detect suspicious activity. To generate alerts, create a | ||
rule that uses this signal as a building block. | ||
""" | ||
false_positives = [ | ||
""" | ||
Legitimate manual or automated snapshots created for backups can trigger this rule. Ensure that the snapshots are authorized and align with your organization's policies. | ||
""", | ||
] | ||
from = "now-60m" | ||
index = ["filebeat-*", "logs-aws.cloudtrail-*"] | ||
interval = "10m" | ||
language = "kuery" | ||
license = "Elastic License v2" | ||
name = "AWS RDS DB Snapshot Created" | ||
risk_score = 21 | ||
rule_id = "68c5c9d1-38e5-48bb-b1b2-8b5951d39738" | ||
severity = "low" | ||
tags = [ | ||
"Domain: Cloud", | ||
"Data Source: AWS", | ||
"Data Source: Amazon Web Services", | ||
"Data Source: AWS RDS", | ||
"Use Case: Asset Visibility", | ||
"Tactic: Defense Evasion", | ||
"Rule Type: BBR", | ||
] | ||
timestamp_override = "event.ingested" | ||
type = "query" | ||
|
||
query = ''' | ||
event.dataset: "aws.cloudtrail" and event.provider: "rds.amazonaws.com" | ||
and event.action: ("CreateDBSnapshot" or "CreateDBClusterSnapshot") and event.outcome: "success" | ||
''' | ||
|
||
|
||
[[rule.threat]] | ||
framework = "MITRE ATT&CK" | ||
[[rule.threat.technique]] | ||
id = "T1078" | ||
name = "Modify Cloud Compute Infrastructure" | ||
reference = "https://attack.mitre.org/techniques/T1578/" | ||
[[rule.threat.technique.subtechnique]] | ||
id = "T1578.001" | ||
name = "Create Snapshot" | ||
reference = "https://attack.mitre.org/techniques/T1578/001/" | ||
|
||
|
||
[rule.threat.tactic] | ||
id = "TA0005" | ||
name = "Defense Evasion" | ||
reference = "https://attack.mitre.org/tactics/TA0005/" |