Sub-technique of T1069 Permission Groups Discovery.View on attack.mitre.org
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 `ListRolePolicies` and `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.
Rules on DetectionCode tagged with T1069.003.
| Rule | Level | Log source |
|---|---|---|
| RBAC Permission Enumeration Attempt | low | kubernetes / application |
| Rule | Type | Risk | Data source |
|---|---|---|---|
| ASL AWS IAM Successful Group Deletion | Hunting | NULL | ASL AWS CloudTrail |
| AWS IAM Successful Group Deletion | Hunting | NULL | AWS CloudTrail DeleteGroup |
| Windows Azure PowerShell Module Installation Via PowerShell Script | Anomaly | NULL | Powershell Script Block Logging 4104 |
| Used by | Procedure example |
|---|---|
| GroupShinyHunters | ShinyHunters has executed API calls to enumerate permissions for compromised AWS accounts. |
| Used by | Procedure example |
|---|---|
| ToolAADInternals | AADInternals can enumerate Azure AD groups. |
| ToolPacu | Pacu can enumerate IAM permissions. |
| ToolROADTools | ROADTools can enumerate Azure AD groups. |
| Used by | Procedure example |
|---|---|
| CampaignC0027 | During C0027, Scattered Spider accessed Azure AD to download bulk lists of group members and their Active Directory attributes. |
Data from MITRE ATT&CK® (Enterprise). ATT&CK® is a registered trademark of The MITRE Corporation.