Delete Iam Role (aws)
Platform | Author | Last Update |
---|---|---|
aws | Nick Jones | 2024-12-02 |
An adversary may attempt to delete an IAM role within an account, to alter legitimate access or block administrative activity.
MITRE IDs
Required Permissions
- iam:DeleteRole
Required Parameters
Name | Type | Description | Example Value |
---|---|---|---|
role | str | IAM role to delete | example_role |
Attacker Action
aws iam delete-role --role-name example_role
Detection Case
ELK query
When logs are ingested into ELK, the following Lucene query can be used to identify relevant events.
eventName:DeleteRole AND eventSource:*.iam.amazonaws.com
Sigma Definition
---title: Delete IAM Roleid: 999d40d4-9f65-4b5c-ad2d-349a07a4b6c3status: experimentalauthor: Nick Jonesdate: 2024-12-02description: An adversary may attempt to delete an IAM role within an account, to alter legitimate access or block administrative activity.logsource: service: cloudtraildetection: selection_source: - eventSource: "*.iam.amazonaws.com" events: - eventName: "DeleteRole" condition: selection_source and eventslevel: lowtags: - attack.T1531
falsepositives: - Developers making legitimate changes to the environment. Verify whether the user identity, user agent, and/or hostname should be making changes in your environment.