Role Assumption
Also called AssumeRole, Role chaining.
Temporarily taking on a role's permissions to act as a different identity.
What it is
A mechanism by which a principal exchanges its own identity for the permissions of a defined role, receiving short-lived credentials scoped to that role. Chaining multiple assumptions lets one identity hop across permission boundaries or accounts.
Why it matters
Attackers abuse role assumption to launder their actions through trusted identities and cross account lines, which can fragment the audit trail unless every hop is logged and correlated.
In practice
Reconstructing an incident, an investigator follows a chain of three assumed roles that carried the intruder from a low-privilege user into an administrative account.
What to look for
- AssumeRole or similar calls from identities that never used that role before.
- Chains of role assumption that end in a more privileged role.
- Cross-account assumptions from accounts outside your organization.
Common mistake
Tracking only the user who logged in. After assuming a role, actions show under the role session, so follow the session name back.
Practice it nearby
CyberKit has no tool for this term itself. These are the closest places to practice it.
In the field
Well-known tools where this shows up on the job. They are listed to show the landscape, not as a recommendation.
-
Amazon GuardDuty Cloud service
AWS threat detection that analyzes CloudTrail, VPC flow logs and DNS logs.
-
Microsoft Defender for Cloud Commercial
Posture and threat protection for Azure, AWS and Google Cloud.
-
Wiz Commercial
Maps cloud resources, identities and exposures into one graph of risk.
-
Prowler Open source
An open source tool that checks cloud accounts against benchmarks such as CIS.
Read next
- Temporary Credentials: Time-limited, automatically expiring credentials issued for a session or role.
- Identity and Access Management: The system of identities, roles, and policies that gates access to cloud resources.
- Cloud Privilege Escalation: Abusing IAM relationships to gain higher access than originally granted.