Detection rules › Sigma
EC2 Password Data Retrieved
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
| Tactic | Techniques |
|---|---|
| Credential Access | T1555 Credentials from Password Stores |
Event coverage
| Provider | Event |
|---|---|
| AWS-ec2 | GetPasswordData |
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
selectionStage 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.
| Field | Kind | Values |
|---|---|---|
eventName | eq |
|
eventSource | eq |
|