Detection rules › Sigma

AWS RDS Master Password Change

Status
test
Severity
medium
Log source
product aws, service cloudtrail
Author
faloker
Source
github.com/SigmaHQ/sigma

Detects the change of database master password. It may be a part of data exfiltration.

MITRE ATT&CK coverage

TacticTechniques
ExfiltrationT1020 Automated Exfiltration

Event coverage

Rules detecting the same action

Other rules on this platform that filter on the same API call or operation.

Rule body yaml

title: AWS RDS Master Password Change
id: 8a63cdd4-6207-414a-85bc-7e032bd3c1a2
status: test
description: Detects the change of database master password. It may be a part of data exfiltration.
references:
    - https://github.com/RhinoSecurityLabs/pacu/blob/866376cd711666c775bbfcde0524c817f2c5b181/pacu/modules/rds__explore_snapshots/main.py
author: faloker
date: 2020-02-12
modified: 2022-10-05
tags:
    - attack.exfiltration
    - attack.t1020
logsource:
    product: aws
    service: cloudtrail
detection:
    selection_source:
        eventSource: rds.amazonaws.com
        responseElements.pendingModifiedValues.masterUserPassword|contains: '*'
        eventName: ModifyDBInstance
    condition: selection_source
falsepositives:
    - Benign changes to a db instance
level: medium

Stages and Predicates

Stage 0: condition

selection_source

Stage 1: selection_source

selection_source:
    eventSource: rds.amazonaws.com
    responseElements.pendingModifiedValues.masterUserPassword|contains: '*'
    eventName: ModifyDBInstance

Indicators

Each row is a field, operator, and value that the rule matches. The corpus column counts how many other rules in the catalog look for the same combination: high numbers point to widely-used, community-vetted indicators. Blank or 1 shows that the indicator is specific to this rule.

FieldKindValues
eventNameeq
  • ModifyDBInstance
eventSourceeq
  • rds.amazonaws.com
responseElements.pendingModifiedValues.masterUserPasswordmatch
  • *