T1087.004sub-technique of T1087 Account Discovery

Cloud Account

IaaS · Identity Provider · Office Suite · SaaSnothing on this site yetT1087.004 on attack.mitre.org

Adversaries may attempt to get a listing of cloud accounts. Cloud accounts are those created and configured by an organization for use by users, remote support, services, or for administration of resources within a cloud service provider or SaaS application. With authenticated access there are several tools that can be used to find accounts.

MITRE ATT&CK 19.2, retrieved 2026-09-12

how MITRE says to see it

Cloud Account Enumeration via API, CLI, and Scripting Interfaces

  • Enumeration of identity roles and users via API calls such as `Get-MsolRoleMember`, `az ad user list`, or Graph API tokens from unauthorized users or automation accounts.
  • Use of AWS CLI (`aws iam list-users`, `list-roles`), Azure CLI (`az ad user list`), or GCP CLI (`gcloud iam service-accounts list`) from endpoints or cloud shells where such activity is unexpected.
  • Bulk enumeration of cloud user email identities through `Get-Recipient`, `Get-Mailbox`, `Get-User`, or Graph API directory listings by abnormal accounts or suspicious sessions.
  • Access to organizational directories via Google Workspace Directory API, Slack SCIM, or Okta SCIM by apps or identities outside normal roles.

what reduces it

  • M1018 User Account Management. Limit permissions to discover cloud accounts in accordance with least privilege. Organizations should limit the number of users within the organization with an IAM role that has administrative privileges, strive to reduce all permanent privileged role assignments, and conduct periodic entitlement reviews on IAM users, roles and policies.
  • M1047 Audit. Routinely check user permissions to ensure only the expected users have the ability to list IAM identities or otherwise discover cloud accounts.

the rest of T1087

The description, detection analytics and mitigations are reproduced from MITRE ATT&CK, version 19.2, under its terms of use. The checklists, hunts, labs and everything else linked here are this site’s.