Add An Entity To An Iam Role Assumption Policy (aws)
Platform | Author | Last Update |
---|---|---|
aws | Nick Jones | 2024-12-02 |
None
MITRE IDs
Required Permissions
- iam:GetRole
- iam:UpdateAssumeRolePolicy
Required Parameters
Name | Type | Description | Example Value |
---|---|---|---|
role | str | Name of role to alter | OrganizationAccountAccessRole |
entityarn | str | ARN of entity to add to the policy | arn:aws:iam::000000000000:root |
Attacker Action
aws -h
Detection Case
ELK query
When logs are ingested into ELK, the following Lucene query can be used to identify relevant events.
eventName:None AND eventSource:None
Sigma Definition
---title: Add an entity to an IAM role assumption policyid: 8dc9a4f7-ce41-4962-a2d2-5625d9e2502dstatus: experimentalauthor: Nick Jonesdate: 2024-12-02description: Nonelogsource: service: cloudtraildetection: selection_source: - eventSource: "None" events: - eventName: "None" condition: selection_source and eventslevel: lowtags: - attack.T1098
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.