Detection rules › Sigma

User Enumeration

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

An attacker may have enumerated users with aws iam list-users.

MITRE ATT&CK coverage

Event coverage

ProviderEvent
AWS-iamListUsers

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

selection

Stage 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.

FieldKindValues
eventNameeq
  • ListUsers
eventSourceeq
  • iam.amazonaws.com