Detection rules › Sigma
IAM Login Profile Deleted
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.
Known false positives
- Legitimate deletion of a login profile by an administrator.
MITRE ATT&CK coverage
| Tactic | Techniques |
|---|---|
| Impact |
Telemetry coverage
Rules detecting the same action
These rules filter on the same operation.
Rule body
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
selectionStage 1: selection
selection:
eventSource: 'iam.amazonaws.com'
eventName: 'DeleteLoginProfile'
Indicators
These rows show field, operator, and value matches.
| Field | Kind | Values | Search |
|---|---|---|---|
eventName | eq |
| field:"aws::eventName" kind:eq value:"DeleteLoginProfile" |
eventSource | eq |
| field:"aws::eventSource" kind:eq value:"iam.amazonaws.com" |