Detection rules › Sigma

IAM Login Profile Deleted

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

Detects when an IAM login profile is deleted, which may indicate an attacker removing access to a compromised account or an administrator performing account cleanup.

MITRE ATT&CK coverage

TacticTechniques
ImpactT1531 Account Access Removal

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: IAM Login Profile Deleted
id: 3a6ed7dc-4f99-4574-8cfa-d65124dc89f0
status: test
description: Detects when an IAM login profile is deleted, which may indicate an attacker removing access to a compromised account or an administrator performing account cleanup.
references:
    - https://attack.mitre.org/techniques/T1531/
author: Zach Mathis (@yamatosecurity)
date: 2025-08-02
modified: 2025-08-02
tags:
    - attack.impact
    - attack.t1531 # Account Access Removal
logsource:
    product: aws
    service: cloudtrail
detection:
    selection:
        eventSource: 'iam.amazonaws.com'
        eventName: 'DeleteLoginProfile'
    condition: selection
falsepositives:
    - Legitimate deletion of a login profile by an administrator.
level: low

Stages and Predicates

Stage 0: condition

selection

Stage 1: selection

selection:
    eventSource: 'iam.amazonaws.com'
    eventName: 'DeleteLoginProfile'

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
  • DeleteLoginProfile
eventSourceeq
  • iam.amazonaws.com