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
Get-MsolRole PowerShell cmdlet can be used to obtain roles and permissions groups for Exchange and Office 365 accounts .
Azure CLI (AZ CLI) and the Google Cloud Identity Provider API also provide interfaces to obtain permissions groups. The command
az ad user get-member-groups will list groups associated to a user account for Azure while the API endpoint
GET https://cloudidentity.googleapis.com/v1/groups lists group resources available to a user for Google. In AWS, the commands
ListAttachedRolePolicies allow users to enumerate the policies attached to a role.
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
GetBucketAcl API . 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.
This type of attack technique cannot be easily mitigated with preventive controls since it is based on the abuse of system features.
|ID||Data Source||Data Component||Detects|
|DS0015||Application Log||Application Log Content||
Monitor for events collected that may attempt to find cloud groups and permission settings.
Monitor for executed commands and arguments that may attempt to find cloud groups and permission settings.
Monitor for an extracted list of available groups and/or their associated setting
Contextual data about a group which describes group and activity around it that may attempt to find cloud groups and permission settings.
Monitor newly executed processes that may attempt to find cloud groups and permission settings.