Add A Policy To A Role (aws)
Platform | Author | Last Update |
---|---|---|
aws | Nick Jones | 2024-12-02 |
An adversary may attempt to add a policy to a role, in order to grant additional privileges to a compromised resource.
MITRE IDs
Required Permissions
- iam:AttachUserPolicy
Required Parameters
Name | Type | Description | Example Value |
---|---|---|---|
role | str | Role to add policy to | ReadOnlyRole |
policyarn | str | Policy to add to Role | arn:aws:iam::aws:policy/ReadOnlyAccess |
Attacker Action
Detection Case
ELK query
When logs are ingested into ELK, the following Lucene query can be used to identify relevant events.