Adversaries may attempt to find cloud groups and permission settings. The knowledge of cloud permission groups can help adversaries determine the particular roles of users and groups within an environment, as well as which users are associated with a particular group. With authenticated access there are several tools that can be used to find permissions groups. The <code>Get-MsolRole</code> PowerShell cmdlet can be used to obtain roles and permissions groups for Exchange and Office 365 accounts.12 Azure CLI (AZ CLI) and the Google Cloud Identity Provider API also provide interfaces to obtain permissions groups. The command <code>az ad user get-member-groups</code> will list groups associated to a user account for Azure while the API endpoint <code>GET https://cloudidentity.googleapis.com/v1/groups</code> lists group resources available to a user for Google.345 In AWS, the commands `ListRolePolicies` and `ListAttachedRolePolicies` allow users to enumerate the policies attached to a role.6 Adversaries may attempt to list ACLs for objects to determine the owner and other accounts with access to the object, for example, via the AWS <code>GetBucketAcl</code> API.7 Using this information an adversary can target accounts with permissions to a given object or leverage accounts they have already compromised to access the object.
- Microsoft Msolrole
- GitHub Raindance
- Microsoft AZ CLI
- Black Hills Red Teaming MS AD Azure, 2018
- Google Cloud Identity API Documentation
- Palo Alto Unit 42 Compromised Cloud Compute Credentials 2022
- AWS Get Bucket ACL
Groups using this technique
| Group | Name | Country |
|---|---|---|
| grp_g1057 | ShinyHunters | — |
Claims
No public claim points at this technique yet.
Auto-ingested and not human-reviewed; confidence and validity read by citation.