Detection rules › Sigma

EC2 Password Data Retrieved

Status
test
Severity
low
Log source
product aws, service cloudtrail
Author
Zach Mathis (@yamatosecurity)
Source
github.com/Yamato-Security/suzaku-rules

Detects retrieval or attempted retrieval of EC2 password data, which may indicate an attacker gaining access to an instance's password.

MITRE ATT&CK coverage

TacticTechniques
Credential AccessT1555 Credentials from Password Stores

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: EC2 Password Data Retrieved
id: dca4edde-477d-46d9-a2ec-5eb2117bbaa0
status: test
description: Detects retrieval or attempted retrieval of EC2 password data, which may indicate an attacker gaining access to an instance's password.
references:
author: Zach Mathis (@yamatosecurity)
date: 2025-08-02
modified: 2025-08-02
tags:
    - attack.credential_access
    - attack.t1555 # Credentials from Password Stores
logsource:
    product: aws
    service: cloudtrail
detection:
    selection:
        eventSource: ec2.amazonaws.com
        eventName: 'GetPasswordData'
    condition: selection
level: low

Stages and Predicates

Stage 0: condition

selection

Stage 1: selection

selection:
    eventSource: ec2.amazonaws.com
    eventName: 'GetPasswordData'

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
  • GetPasswordData
eventSourceeq
  • ec2.amazonaws.com