MITRE ATT&CKsub-technique
T1098.003 Additional Cloud Roles
- Domain
- enterprise
- Tactics
- Persistence, Privilege Escalation
- Platforms
- IaaS, Identity Provider, Office Suite, SaaS
- Version
- 2.5
- Created
- 2020-01-19
Description
An adversary may add additional roles or permissions to an adversary-controlled cloud account to maintain persistent access to a tenant. For example, adversaries may update IAM policies in cloud-based environments or add a new global administrator in Office 365 environments. With sufficient permissions, a compromised account can gain almost unlimited access to data and settings (including the ability to reset the passwords of other admins).
This account modification may immediately follow Create Account or other malicious account activity. Adversaries may also modify existing Valid Accounts that they have compromised. This could lead to privilege escalation, particularly if the roles added allow for lateral movement to additional accounts.
For example, in AWS environments, an adversary with appropriate permissions may be able to use the CreatePolicyVersion API to define a new version of an IAM policy or the AttachUserPolicy API to attach an IAM policy with additional or distinct permissions to a compromised user account.
In some cases, adversaries may add roles to adversary-controlled accounts outside the victim cloud tenant. This allows these external accounts to perform actions inside the victim tenant without requiring the adversary to Create Account or modify a victim-owned account.
Related
Subtechnique of · MITRE ATT&CK (1)
- T1098 Account Manipulation technique
Referenced by MITRE ATT&CK · mitigates (3)
Referenced by MITRE ATT&CK · uses (5)
Referenced by Compliance · mitigates (13)
- CIS-6.5 Require MFA for Administrative Access CIS Safeguard v8.1
- CIS-6.8 Define and Maintain Role-Based Access Control CIS Safeguard v8.1
- NIST-AC-2 Account Management NIST 800-53 control
- NIST-AC-20 Use of External Systems NIST 800-53 control
- NIST-AC-3 Access Enforcement NIST 800-53 control
- NIST-AC-5 Separation of Duties NIST 800-53 control
- NIST-AC-6 Least Privilege NIST 800-53 control
- NIST-CM-5 Access Restrictions for Change NIST 800-53 control
- NIST-CM-6 Configuration Settings NIST 800-53 control
- NIST-IA-2 Identification and Authentication (Organizational Users) NIST 800-53 control
- NIST-IA-5 Authenticator Management NIST 800-53 control
- NIST-SI-4 System Monitoring NIST 800-53 control
- NIST-SI-7 Software, Firmware, and Information Integrity NIST 800-53 control
References
- https://expel.com/blog/incident-report-from-cli-to-console-chasing-an-attacker-in-aws/ Expel AWS Attacker
- https://docs.microsoft.com/en-us/office365/admin/add-users/about-admin-roles?view=o365-worldwide Microsoft O365 Admin Roles
- https://docs.aws.amazon.com/IAM/latest/UserGuide/access_policies.html AWS IAM Policies and Permissions
- https://cloud.google.com/iam/docs/policies Google Cloud IAM Policies
- https://www.invictus-ir.com/news/the-curious-case-of-dangerdev-protonmail-me Invictus IR DangerDev 2024
- https://support.office.com/en-us/article/add-another-admin-f693489f-9f55-4bd0-a637-a81ce93de22d Microsoft Support O365 Add Another Admin, October 2019
- https://rhinosecuritylabs.com/aws/aws-privilege-escalation-methods-mitigation/ Rhino Security Labs AWS Privilege Escalation