LiveActive security incident?Get immediate response
MITRE ATT&CK® Technique

T1087.004: Cloud Account

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. The Get-MsolRoleMember PowerShell cmdlet can be used to obtain account names given a role or permissions group in Office 365.[1][2] The Azure CLI (AZ CLI) also provides an interface to obtain user accounts with authenticated access to a domain. The command az ad user list will list all users within a domain.[3][4]

The AWS command aws iam list-users may be used to obtain a list of users in the current account while aws iam list-roles can obtain IAM roles that have a specified path prefix.[5][6] In GCP, gcloud iam service-accounts list and gcloud projects get-iam-policy may be used to obtain a listing of service accounts and users in a project.[7]

EnterpriseT1087.004Sub-techniqueObject v1.3Modified
Glexia's Take · Automated analysis

Security context for executives and security teams

Automation confidenceHigh

Cloud Account is cloud and SaaS account discovery: an authenticated actor lists users, roles, service accounts, or permission groups in environments such as IaaS, identity providers, Office suites, and SaaS. The business issue is not the listing command itself; it is that account maps help an intruder choose higher-value identities for follow-on compromise, privilege abuse, or social engineering.

Executive priority

Treat this as an identity and cloud control-plane readiness question. Leaders should ask whether the organization can prove who enumerated accounts, from where, using which interface, and whether that behavior was expected administration. This supports incident triage, least-privilege investment, audit evidence, and prioritization of cloud logging across AWS, Azure/Office 365, GCP, identity provider, and SaaS environments.

Technical view

This is a discovery sub-technique under Account Discovery for IaaS, Identity Provider, Office Suite, and SaaS platforms. ATT&CK does not provide official detection text, but the relationship to DET0386 points defenders toward detecting account enumeration through API, CLI, and scripting interfaces. SOC teams should validate visibility for cloud IAM and directory listing activity, including Azure/Office 365 PowerShell or CLI activity, AWS IAM user/role listing, and GCP IAM service-account or policy listing. Detection should distinguish normal administrative inventory from unusual enumeration by rare principals, new sessions, unexpected source locations, or tooling associated in ATT&CK relationships such as AADInternals, ROADTools, and Pacu.

Likely telemetry

  • Cloud control-plane audit logs for IAM, user, role, service-account, and policy listing activity
  • Identity provider directory audit logs and sign-in/session context
  • Office Suite and Azure/Entra administrative PowerShell or CLI activity logs
  • AWS IAM API activity logs
  • GCP IAM and project audit logs

Detection direction

  • Use DET0386 as the ATT&CK-aligned detection strategy reference, while recognizing that the technique itself has no official detection text supplied.
  • Baseline expected account and role enumeration by administrators, inventory jobs, compliance tooling, and support workflows to reduce false positives.
  • Alert or hunt for enumeration by newly observed principals, non-admin users, unusual source locations, atypical user agents, uncommon CLI/API clients, or bursts of directory/IAM read activity.
  • Correlate enumeration with recent authentication events, privilege changes, new tokens/sessions, or access from cloud/SaaS environments where the account does not normally operate.
  • Check blind spots: disabled or non-centralized cloud audit logs, missing SaaS audit exports, insufficient retention, and lack of service-account visibility.

Mitigation priorities

  • Prioritize M1018 User Account Management: enforce account lifecycle controls, remove stale users and service accounts, and limit privileges so enumeration exposes less useful access structure.
  • Apply least privilege to directory and IAM read permissions, especially for roles that can list users, roles, groups, policies, or service accounts across broad scopes.
  • Prioritize M1047 Audit: ensure cloud, identity provider, Office Suite, and SaaS administrative activity is logged, retained, and reviewable for investigations and compliance evidence.
  • Regularly review who can perform broad account discovery and whether that access is still required for business operations.
  • Include cloud account enumeration scenarios in SOC validation and incident response playbooks.
Additional notes and limits

ATT&CK relationships show this behavior is used by multiple groups, a campaign, and publicly available tools, but that should be used as context for defensive validation rather than as evidence of current activity in any specific environment. The most useful local question is whether authenticated discovery can be reliably separated from normal administration.

The supplied ATT&CK object does not include official detection guidance. This take is limited to the provided description, platforms, references, and relationships; actual coverage depends on each organization’s cloud services, SaaS audit capabilities, identity architecture, logging configuration, and retention.

Generated from the cited source records. This long-tail analysis has not been individually reviewed by a named human.

Official MITRE ATT&CK definition

Cloud Account

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. The Get-MsolRoleMember PowerShell cmdlet can be used to obtain account names given a role or permissions group in Office 365.[1][2] The Azure CLI (AZ CLI) also provides an interface to obtain user accounts with authenticated access to a domain. The command az ad user list will list all users within a domain.[3][4]

The AWS command aws iam list-users may be used to obtain a list of users in the current account while aws iam list-roles can obtain IAM roles that have a specified path prefix.[5][6] In GCP, gcloud iam service-accounts list and gcloud projects get-iam-policy may be used to obtain a listing of service accounts and users in a project.[7]

View the same entry on attack.mitre.org (MITRE-hosted reference; in-page links above use the Glexia ATT&CK library.)

Glexia analysis

How security teams should use this page

Treat this object as behavior context, not an attribution claim. Validate the related groups, software, data sources, and mitigations against official ATT&CK relationships and your own telemetry before making control-coverage decisions.

ATT&CK relationship table

Related techniques

This mirrors the MITRE pattern of making group, software, campaign, and technique relationships scannable. Relationship notes come from mirrored ATT&CK relationship text when available.

1 rows
DomainIDNameRelationship / procedure
EnterpriseT1087Account DiscoveryThis object subtechnique of Account Discovery.
Associated objects

Groups, software, and campaigns

GroupEnterprise

G1053: Storm-0501

Storm-0501 is a financially motivated cyber criminal group that uses commodity and open-source tools to conduct ransomware operations. Storm-0501 has been active since 2021 and has previously been affiliated with Sabbath Ransomware and other Ransomware-as-a-Service (RaaS) variants such as Hive, BlackCat, Hunters International, LockBit 3.0, and Embargo ransomware.[1][2][3][4]

GroupEnterprise

G0016: APT29

APT29 is threat group that has been attributed to Russia's Foreign Intelligence Service (SVR).[1][2] They have operated since at least 2008, often targeting government networks in Europe and NATO member countries, research institutes, and think tanks. APT29 reportedly compromised the Democratic National Committee starting in the summer of 2015.[3][4][5][6]

In April 2021, the US and UK governments attributed the SolarWinds Compromise to the SVR; public statements included citations to APT29, Cozy Bear, and The Dukes.[7][8] Industry reporting also referred to the actors involved in this campaign as UNC2452, NOBELIUM, StellarParticle, Dark Halo, and SolarStorm.[9][10][11][12][13][14]

ToolEnterprise

S0684: ROADTools

ROADTools is a framework for enumerating Azure Active Directory environments. The tool is written in Python and publicly available on GitHub.[1]

Identity Provider
ToolEnterprise

S0677: AADInternals

AADInternals is a PowerShell-based framework for administering, enumerating, and exploiting Azure Active Directory. The tool is publicly available on GitHub.[1][2]

WindowsOffice SuiteIdentity Provider
ToolEnterprise

S1091: Pacu

Pacu is an open-source AWS exploitation framework. The tool is written in Python and publicly available on GitHub.[1]

IaaS
CampaignEnterprise

C0027: C0027

C0027 was a financially-motivated campaign linked to Scattered Spider that targeted telecommunications and business process outsourcing (BPO) companies from at least June through December of 2022. During C0027 Scattered Spider used various forms of social engineering, performed SIM swapping, and attempted to leverage access from victim environments to mobile carrier networks.[1]

Relationship explorer

All related ATT&CK context

Mitigations

Mitigation direction

Change history

Object version and sync metadata

The fields below describe the current mirrored snapshot. When Glexia retains multiple ATT&CK source imports, you can open the table to compare the same object across releases (hashes and MITRE timestamps). For MITRE’s own release notes and roadmap, see ATT&CK resources — Updates.

ATT&CK release
19.1
Object version
1.3
Created
Modified
Raw hash
d61405318c5ca267...
Imported snapshots across ATT&CK releases(1)
ReleaseBundle importedObject versionModifiedStatusRaw hash
19.11.3Current bundled61405318c5c…
Raw source

Mirrored ATT&CK source object

The raw object is retained through the mirrored ATT&CK source bundle and object hash. The raw endpoint returns the exact object from the mirrored bundle when available.

Source references

External references and citations

MITRE external references are preserved separately from Glexia analysis so citations remain traceable to their original source records.

  1. [1]
    Microsoft msolrolemember

    Microsoft. (n.d.). Get-MsolRoleMember. Retrieved October 6, 2019.

    Open source URL
  2. [2]
    GitHub Raindance

    Stringer, M.. (2018, November 21). RainDance. Retrieved October 6, 2019.

    Open source URL
  3. [3]
    Microsoft AZ CLI

    Microsoft. (n.d.). az ad user. Retrieved October 6, 2019.

    Open source URL
  4. [4]
    Black Hills Red Teaming MS AD Azure, 2018

    Felch, M.. (2018, August 31). Red Teaming Microsoft Part 1 Active Directory Leaks via Azure. Retrieved October 6, 2019.

    Open source URL
  5. [5]
    AWS List Roles

    Amazon. (n.d.). List Roles. Retrieved August 11, 2020.

    Open source URL
  6. [6]
    AWS List Users

    Amazon. (n.d.). List Users. Retrieved August 11, 2020.

    Open source URL
  7. [7]
    Google Cloud - IAM Servie Accounts List API

    Google. (2020, June 23). gcloud iam service-accounts list. Retrieved August 4, 2020.

    Open source URL
  8. [8]
    Crowdstrike TELCO BPO Campaign December 2022

    Parisi, T. (2022, December 2). Not a SIMulation: CrowdStrike Investigations Reveal Intrusion Campaign Targeting Telco and BPO Companies. Retrieved June 30, 2023.

    Open source URL
  9. [9]
    Microsoft Storm-0501 Embargo Ransomware August 2025

    Microsoft Threat Intelligence. (2025, August 27). Storm-0501’s evolving techniques lead to cloud-based ransomware. Retrieved October 19, 2025.

    Open source URL
  10. [10]
    Roadtools

    Dirk-jan Mollema. (2020, April 16). Introducing ROADtools - The Azure AD exploration framework. Retrieved January 31, 2022.

    Open source URL
  11. [11]
    AADInternals Documentation

    Dr. Nestori Syynimaa. (2018, October 25). AADInternals. Retrieved February 18, 2022.

    Open source URL
  12. [12]
    MSTIC Nobelium Oct 2021

    Microsoft Threat Intelligence Center. (2021, October 25). NOBELIUM targeting delegated administrative privileges to facilitate broader attacks. Retrieved March 25, 2022.

    Open source URL
  13. [13]
    GitHub Pacu

    Rhino Security Labs. (2019, August 22). Pacu. Retrieved October 17, 2019.

    Open source URL
  14. [14]
    AWS List Roles

    Amazon. (n.d.). List Roles. Retrieved August 11, 2020.

    Open source URL
  15. [15]
    AWS List Roles

    Amazon. (n.d.). List Roles. Retrieved August 11, 2020.

    Open source URL
  16. [16]
    AWS List Users

    Amazon. (n.d.). List Users. Retrieved August 11, 2020.

    Open source URL
  17. [17]
    AWS List Users

    Amazon. (n.d.). List Users. Retrieved August 11, 2020.

    Open source URL
  18. [18]
    Black Hills Red Teaming MS AD Azure, 2018

    Felch, M.. (2018, August 31). Red Teaming Microsoft Part 1 Active Directory Leaks via Azure. Retrieved October 6, 2019.

    Open source URL
  19. [19]
    Black Hills Red Teaming MS AD Azure, 2018

    Felch, M.. (2018, August 31). Red Teaming Microsoft Part 1 Active Directory Leaks via Azure. Retrieved October 6, 2019.

    Open source URL
  20. [20]
    GitHub Raindance

    Stringer, M.. (2018, November 21). RainDance. Retrieved October 6, 2019.

    Open source URL
  21. [21]
    GitHub Raindance

    Stringer, M.. (2018, November 21). RainDance. Retrieved October 6, 2019.

    Open source URL
  22. [22]
    Google Cloud - IAM Servie Accounts List API

    Google. (2020, June 23). gcloud iam service-accounts list. Retrieved August 4, 2020.

    Open source URL
  23. [23]
    Google Cloud - IAM Servie Accounts List API

    Google. (2020, June 23). gcloud iam service-accounts list. Retrieved August 4, 2020.

    Open source URL
  24. [24]
    Microsoft AZ CLI

    Microsoft. (n.d.). az ad user. Retrieved October 6, 2019.

    Open source URL
  25. [25]
    Microsoft AZ CLI

    Microsoft. (n.d.). az ad user. Retrieved October 6, 2019.

    Open source URL
  26. [26]
    Microsoft msolrolemember

    Microsoft. (n.d.). Get-MsolRoleMember. Retrieved October 6, 2019.

    Open source URL
  27. [27]
    Microsoft msolrolemember

    Microsoft. (n.d.). Get-MsolRoleMember. Retrieved October 6, 2019.

    Open source URL
  28. [28]
    mitre-attackT1087.004
    Open source URL
  29. [29]
    mitre-attackT1087.004
    Open source URL
  30. [30]
    mitre-attackT1087.004
    Open source URL
  31. [31]
    Crowdstrike TELCO BPO Campaign December 2022

    Parisi, T. (2022, December 2). Not a SIMulation: CrowdStrike Investigations Reveal Intrusion Campaign Targeting Telco and BPO Companies. Retrieved June 30, 2023.

    Open source URL
  32. [32]
    Microsoft Storm-0501 Embargo Ransomware August 2025

    Microsoft Threat Intelligence. (2025, August 27). Storm-0501’s evolving techniques lead to cloud-based ransomware. Retrieved October 19, 2025.

    Open source URL
  33. [33]
    Roadtools

    Dirk-jan Mollema. (2020, April 16). Introducing ROADtools - The Azure AD exploration framework. Retrieved January 31, 2022.

    Open source URL
  34. [34]
    AADInternals Documentation

    Dr. Nestori Syynimaa. (2018, October 25). AADInternals. Retrieved February 18, 2022.

    Open source URL
  35. [35]
    MSTIC Nobelium Oct 2021

    Microsoft Threat Intelligence Center. (2021, October 25). NOBELIUM targeting delegated administrative privileges to facilitate broader attacks. Retrieved March 25, 2022.

    Open source URL
Source and licensing

Source: MITRE ATT&CK®. © 2026 The MITRE Corporation. This work is reproduced and distributed with the permission of The MITRE Corporation. MITRE ATT&CK and ATT&CK are registered trademarks of The MITRE Corporation. Glexia is not affiliated with or endorsed by MITRE.