All posts
Security

AWS Organizations and the blast radius problem

October 19, 20269 min read

Multi-account is the recommended way to run AWS. Separate accounts for production, staging, sandboxes and shared tooling give you hard isolation boundaries that IAM policies inside a single account never will. Then AWS Organizations wires those accounts back together: shared billing, shared roles, shared security services, shared policies.

Every one of those connections is a convenience for you and a path for an attacker. The question that matters after a credential leak is not "which account was it?" but "how many accounts can that credential reach?" That number is your blast radius, and in most organizations nobody has measured it.

One leaked key, five accounts

Here is an illustrative scenario. A developer's access key for a dev account ends up in a public repository. The attacker's first moves are quiet: sts get-caller-identity, then listing roles and reading their trust policies. In the dev account they find a deploy role that the CI/CD tooling account is allowed to assume, and the dev key can assume it too, because the trust policy names the whole account rather than one role.

The deploy role has sts:AssumeRole on a role in the management account, because that is where the pipeline was originally built. From the management account, the attacker assumes OrganizationAccountAccessRole in every member account. That role is created automatically in accounts made through Organizations, carries AdministratorAccess, and trusts the management account. One developer key has become administrator in every account in the organization, and each hop was a legitimate API call.

We walk through the individual hops in How attackers use sts:AssumeRole for lateral movement. This post is about the organization-level structures that make the chain possible.

Where the blast radius comes from

  • OrganizationAccountAccessRole. Created automatically in accounts you create through Organizations (not in accounts you invite). Full administrator, trusting the management account. Anyone in the management account who can call sts:AssumeRole on it is an administrator everywhere.
  • The management account itself. Service control policies do not apply to it. A workload, a CI runner or an old IAM user there sits outside every guardrail you have written.
  • Organization-wide trust conditions. Bucket, key and role policies that allow aws:PrincipalOrgID are convenient for sharing. They also mean any principal in any account in the organization, including the forgotten sandbox, can reach the resource if its own permissions allow it. The organization boundary is only as strong as its weakest account.
  • Delegated administrators. GuardDuty, Security Hub, CloudFormation StackSets and similar services let one account act across many. Whoever controls a StackSets administrator can push a backdoor IAM role into every account in an OU through a perfectly normal deployment.
  • IAM Identity Center. A permission set assigned to many accounts fans out one compromised identity into many sessions.
  • Consolidated billing. The financial blast radius is the whole payer account. A GPU fleet launched in a throwaway sandbox lands on the same invoice as production, and billing-based alerts such as Budgets and Cost Explorer work from data that lags by hours.

Guardrails that actually contain it

Keep the management account empty. No workloads, no pipelines, no long-lived access keys, hardware MFA on root, and as few humans as possible. Everything you would put there can live in a dedicated tooling account instead.

Treat OrganizationAccountAccessRole as break-glass. Restrict who in the management account can assume it, and alert on every use. Day-to-day access should go through short-lived Identity Center sessions, not roles that never expire.

Use service control policies for the failures that hurt most. SCPs only limit what is allowed; they never grant anything, and they do not apply to the management account or to service-linked roles. A starting policy that blocks leaving the organization, tampering with CloudTrail and activity in regions you do not use:

{ "Version": "2012-10-17", "Statement": [ { "Sid": "DenyLeavingOrg", "Effect": "Deny", "Action": "organizations:LeaveOrganization", "Resource": "*" }, { "Sid": "ProtectCloudTrail", "Effect": "Deny", "Action": [ "cloudtrail:StopLogging", "cloudtrail:DeleteTrail", "cloudtrail:UpdateTrail", "cloudtrail:PutEventSelectors" ], "Resource": "*", "Condition": { "ArnNotLike": { "aws:PrincipalArn": "arn:aws:iam::*:role/SecurityBreakGlass" } } }, { "Sid": "DenyUnusedRegions", "Effect": "Deny", "NotAction": ["iam:*", "organizations:*", "route53:*", "cloudfront:*", "support:*", "sts:*"], "Resource": "*", "Condition": { "StringNotEquals": { "aws:RequestedRegion": ["us-east-1", "eu-west-1"] } } } ] }

Replace the regions with the ones you actually use and adjust the exempted global services for your environment. Attach it to a sandbox OU first: a region deny that misses a global service will break things in confusing ways.

Scope sharing by OU, not by organization. Where you use aws:PrincipalOrgID, ask whether aws:PrincipalOrgPaths can narrow it to the OUs that actually need access.

Keep logs where workload accounts cannot touch them. An organization trail delivering to a separate log-archive account, with object lock enabled, means an attacker who owns a member account cannot erase the evidence of getting there.

Give sandboxes their own OU with the tightest SCPs. No IAM users, restricted regions, and limits on expensive instance families. They are the accounts most likely to hold a leaked key and the least likely to have anyone watching.

What to watch in CloudTrail

Preventive controls fail, so the other half is detection. These events deserve an alert in an organization:

  • AssumeRole calls targeting OrganizationAccountAccessRole from any principal that is not on your short list.
  • Organizations changes: LeaveOrganization, CreateAccount, InviteAccountToOrganization, and policy changes such as DetachPolicy, DeletePolicy and DisablePolicyType. Someone removing an SCP is often the step right before the damage.
  • CloudTrail tampering in any account: StopLogging, DeleteTrail, UpdateTrail. This is MITRE ATT&CK T1562.008, and attackers do it early.
  • New StackSets or stack instances created by an unfamiliar principal.
  • The first API call in a region the account has never used, especially RunInstances.

The common thread is that each of these is unremarkable in isolation. The signal is in the combination and the timing: a dev-account key assuming a tooling role, then a management-account role, then a burst of activity in a region nobody uses, all within minutes.

A 30-minute blast radius review

  1. List every principal in the management account that can call sts:AssumeRole on member accounts. Remove anything that is not a named human or break-glass role.
  2. Check which accounts still have OrganizationAccountAccessRole and who can reach it.
  3. Search your resource policies for aws:PrincipalOrgID and decide which really need organization-wide access.
  4. Confirm an SCP blocks LeaveOrganization and CloudTrail tampering.
  5. Find your delegated administrator accounts and review who can sign in to them.
  6. Verify that your organization trail is stored in an account your workload accounts cannot write to or delete from.

SpikeCatcher monitors CloudTrail across all accounts in your organization for exactly this kind of activity: unusual AssumeRole sources, CloudTrail tampering, first-use regions and fast-moving spend in accounts that are normally quiet. Alerts fire in under 15 minutes, which is the difference between revoking one key and rebuilding an organization. 14-day free trial, 5-min setup, read-only IAM.

aws-securityorganizationsscpiam

Protect your AWS account — 14-day free trial

Real-time threat and cost anomaly detection. Detects credential theft, cryptomining, and runaway costs in under 15 minutes. 5-minute setup via CloudFormation.

No credit card. Cancel anytime.