CIEM for AWS: over-permissioned IAM and attack paths
Summary
- CIEM, cloud infrastructure entitlement management, discovers the identities in your cloud accounts and resolves what each one can really do, so you can bring them back toward least privilege.
- In AWS the effective permissions of a user or role come from identity policies, resource policies, permission boundaries, service control policies and trust policies, which is why a role often does far more than its attached policy suggests.
- AWS covers part of the job natively with
IAM Access Analyzerunused access andIAM Access Advisor, which find permissions an identity has not used. - An unused permission is worth removing. A permission that is in use can still be the first step in a path to administrator or to data, and that is where Pathbreak validates which over-permissioned identities form a real path and gives the single change that breaks the most.
CIEM, or cloud infrastructure entitlement management, is the practice of finding every identity in your cloud accounts and working out what each one can really do. In AWS that means IAM users, roles, and the service principals that assume them, measured against the identity policies, resource policies, permission boundaries, service control policies, and trust relationships that together decide an identity's effective permissions. The goal is least privilege, where every identity holds the access its job needs and nothing beyond that.
Teams reach for CIEM because cloud permissions grow faster than anyone prunes them. A role gets a broad managed policy to unblock a deploy, the deploy ships, and the policy stays. Over a few years an account fills with roles that can do far more than their workload requires. Identity has become the leading way into cloud environments, so the set of principals that can reach your data is worth knowing in detail.
What a CIEM does in AWS
Most CIEM tools run a continuous loop over each connected account:
- Discover every human and machine identity, including users, roles, and the service principals that assume them.
- Collect the policies attached to each one, then resolve the effective permissions after inheritance, boundaries, SCPs, and trust policies interact.
- Flag identities that hold more than they use, and permissions that have not been exercised in a set window.
- Recommend a smaller policy that keeps what the identity actually uses.
- Watch for new grants and new identities so the picture stays current.
What a CIEM gives you is a map of who can do what across the account, with the over-permissioned and unused grants called out for review.
CIEM and CSPM cover different ground
CSPM, or cloud security posture management, looks at how your resources are configured, for example a public S3 bucket, an open security group, or an unencrypted volume. CIEM looks at who can reach those resources and what they can do once they get there. The two answer different questions, which is why many teams run both, and the larger cloud security vendors combine them under a CNAPP. If you already run a CSPM, CIEM is the identity layer that sits beside it.
What AWS gives you natively
You do not have to buy a separate product to start. AWS ships two tools that cover part of the CIEM job.
| Native tool | What it covers | What to watch |
|---|---|---|
IAM Access Analyzer unused access | Uses last-accessed data to flag permissions active roles and users have not exercised, and generates a refined policy that keeps only what was used. Runs continuously and alerts on new findings. | Not available in the AWS GovCloud and China regions. It measures over a window you set, so a permission only shows as unused after it has gone untouched for that full period. |
IAM Access Advisor | Shows which services and actions an identity has used, which reveals the gap between what a role is granted and what it needs. | It reports last-accessed activity, so recently used but risky permissions still look legitimate. |
AWS has published its own guidance on CIEM in AWS built around these tools. They are a solid way to cut unused access. What they do not tell you on their own is which of the permissions that remain can be chained into a path that reaches administrator or data.
A permission matters when it reaches something
An unused permission is worth removing. A permission that is in use can still be the first step in a path to administrator or to customer data, and that is the case least-privilege tooling has the hardest time judging. iam:PassRole on its own reads as ordinary in a policy review. Put it next to lambda:CreateFunction and a role that trusts lambda.amazonaws.com, and a principal can create a function, pass the privileged role to it, and run code as that role. The grant each check sees in isolation looks fine. The chain is what reaches admin.
iam:PassRole and lambda:CreateFunction creates a function, hands it a privileged role, and runs as that role. A least-privilege scan sees two ordinary grants. Pathbreak sees the path to administrator.This is the question Pathbreak is built to answer. It reads your AWS configuration with a read-only role, builds a graph of principals, roles, trust edges, and resources, then an agent chains control-plane moves into candidate attack paths. It validates each path end to end against the authorization that applies, including identity and resource policies, permission boundaries, service control policies, and trust policies, so the list is the paths that resolve rather than every path that might. Paths are ranked by how many of them each fix breaks, and each one comes with the single change that removes the most risk and the command to apply it. A rescan confirms the path is gone. Nothing is executed in your account.
Pathbreak is not a full CIEM suite. It focuses on one job, showing which of your over-permissioned identities form a path that reaches administrator or data, so you fix those first.
How to start on AWS today
- Turn on
IAM Access Analyzerunused access and set it to alert on new findings. This clears the easy wins, the permissions nobody uses. - Review
IAM Access Advisoron your highest-privilege roles, the ones with broad managed policies, and start pruning toward what they use. - Run pathbreak-audit, a free read-only CLI, to list the principals in one account that hold abusable permissions and toxic combinations, with the least privilege change for each. Install it with
pip install pathbreak-audit. - Validate the paths with Pathbreak on one account to see which chains actually reach admin or data, ranked by blast radius, with the one change that breaks the most.
For a reference of the specific AWS permissions attackers chain and the change that breaks each one, see the AWS privilege escalation map.
Frequently asked questions
What is CIEM?
CIEM, cloud infrastructure entitlement management, is the practice of discovering every identity in your cloud accounts, resolving what each one can really do, and bringing those permissions back toward least privilege. In AWS it covers IAM users, roles and service principals and the policies, boundaries, SCPs and trust relationships that set their effective access. Pathbreak adds the attack-path layer on top, showing which over-permissioned identities form a path to admin or data.
What is the difference between CIEM and CSPM?
CSPM checks how your resources are configured, such as a public S3 bucket or an open security group. CIEM checks who can reach those resources and what they can do once there. Many teams run both, and the larger platforms bundle them as a CNAPP. Pathbreak sits alongside either one and validates the attack paths that cross identities and resources.
Does AWS have a built-in CIEM?
AWS does not sell a product called CIEM, but IAM Access Analyzer unused access and IAM Access Advisor cover part of the job by finding unused permissions and showing what each identity uses. AWS has published guidance on CIEM in AWS built around them. Pathbreak complements these by validating which remaining permissions chain into a path that reaches administrator or data.
Is Pathbreak a CIEM?
No. Pathbreak is attack-path validation for AWS. A CIEM tells you which identities are over-permissioned. Pathbreak tells you which of those identities form a validated path to admin or data, ranks the fixes by how many paths each one breaks, and gives the command to apply. It runs read-only and executes nothing.
What is the fastest way to find over-permissioned IAM in AWS?
Turn on IAM Access Analyzer unused access for the quick cuts, then run pathbreak-audit, a free CLI, to list the principals holding abusable permissions and toxic combinations in one account. From there, Pathbreak validates the paths those permissions open and ranks the single change that removes the most risk.
See which over-permissioned identities in your AWS accounts actually reach admin or data, and the one change that closes each path.
Request a demo Watch the demo