OpenParable
Skip to content
← Back to skills

T1098.003_additional-cloud-roles

DevOps & Security

An adversary may add additional roles or permissions to an adversary-controlled cloud account to maintain persistent access to a tenant.

View on GitHub ↗
QUICK START

How to use this skill

Bring this guide into your coding agent with a prompt tailored to the tool you use.

  1. Open your project in Codex.
  2. Copy and paste the prompt below.
  3. Review files and risks before approving any action.
Prompt to paste
Inspect the Agent Skill at https://github.com/CyberStrikeus/CyberStrike/blob/HEAD/.cyberstrike/skill/mitre_attack/TA0003_persistence/T1098.003_additional-cloud-roles/SKILL.md and all supporting files. Report provenance, permissions, scripts, dependencies, and security risks. Propose an exact installation into .agents/skills/t1098-003-additional-cloud-roles, but wait for my approval before writing files or running scripts.

Copying this prompt does not install or run the skill. Review third-party files before use.

T1098.003 Additional Cloud Roles

Sub-technique of: T1098

High-Level 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.

Kill Chain Phase

  • Persistence (TA0003)
  • Privilege Escalation (TA0004)

Platforms: IaaS, Identity Provider, Office Suite, SaaS

What to Check

  • Identify if Additional Cloud Roles technique is applicable to target environment
  • Check IaaS systems for indicators of Additional Cloud Roles
  • Check Identity Provider systems for indicators of Additional Cloud Roles
  • Check Office Suite systems for indicators of Additional Cloud Roles
  • Verify mitigations are bypassed or absent (3 known mitigations)
  • Assess detection coverage (1 detection strategies)

How to Test

Manual Testing

  1. Identify Attack Surface: Determine if the target environment is susceptible to Additional Cloud Roles by examining the target platforms (IaaS, Identity Provider, Office Suite).

  2. Assess Existing Defenses: Review whether mitigations for T1098.003 are in place. If defenses are absent or misconfigured, this technique may be exploitable.

  3. Execute Test: Use tools and methods described in the MITRE ATT&CK page and external references below.

Note: No Atomic Red Team tests available for this technique. See Atomic Red Team GitHub for updates.

Remediation Guide

M1026 Privileged Account Management

Ensure that all accounts use the least privileges they require. In Azure AD environments, consider using Privileged Identity Management (PIM) to define roles that require two or more approvals before assignment to users.

M1032 Multi-factor Authentication

Use multi-factor authentication for user and privileged accounts.

M1018 User Account Management

Ensure that low-privileged user accounts do not have permissions to add permissions to accounts or update IAM policies.

Detection

Detection Strategy for Role Addition to Cloud Accounts

Risk Assessment

FindingSeverityImpact
Additional Cloud Roles technique applicableHighPersistence

CWE Categories

CWE IDTitle
CWE-276Incorrect Default Permissions

References