Detection rules › Sigma
User Enumeration
An attacker may have enumerated users with aws iam list-users.
MITRE ATT&CK coverage
| Tactic | Techniques |
|---|---|
| Discovery | T1087.004 Account Discovery: Cloud Account |
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: User Enumeration
id: 6125226d-0eb4-4dc8-8cb6-ac5ad01973ab
status: test
description: An attacker may have enumerated users with `aws iam list-users`.
references:
- https://attack.mitre.org/techniques/T1087/004/
author: Zach Mathis (@yamatosecurity)
date: 2025-04-24
modified: 2025-04-24
tags:
- attack.discovery
- attack.t1087.004 # Account Discovery: Cloud Accounts
logsource:
product: aws
service: cloudtrail
detection:
selection:
eventSource: 'iam.amazonaws.com'
eventName: 'ListUsers'
condition: selection
falsepositives:
level: low
Stages and Predicates
Stage 0: condition
selectionStage 1: selection
selection:
eventSource: 'iam.amazonaws.com'
eventName: 'ListUsers'
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 |
|