← All posts Benchmark

pathbreak-audit coverage of the pathfinding.cloud AWS privilege escalation paths

Summary

  • pathbreak-audit is a free, read-only CLI that lists the AWS IAM principals holding abusable permissions and toxic combinations. We measured its coverage against pathfinding.cloud, the Datadog reference library of documented privilege escalation paths.
  • Granting each path's required permissions to a test principal and running them through the check catalog, pathbreak-audit flags 81 of the 91 AWS paths in a default run.
  • Four more are flagged with --include-access, where a session, command-execution or assume-role action is granted on Resource *. Six are not detected yet: five Bedrock AgentCore paths and iam:UpdateAssumeRolePolicy on its own. Both gaps are fixable in the catalog.
  • This is a static grant check. It reads what a policy allows, not whether the chain resolves in a given account. Which paths reach administrator or data is what Pathbreak validates.

A privilege escalation finding is only useful if it maps to a real technique. The clearest way to judge an AWS IAM checker is to run it against a catalog of known paths and count what it flags and what it does not. pathfinding.cloud, maintained by Datadog, is that catalog: a community reference of AWS IAM privilege escalation paths, each with the permissions it needs and a description of how it works. This post measures pathbreak-audit against it, and states the misses.

The two projects

pathfinding.cloud is a reference library, not a scanner. It documents each privilege escalation path and the IAM permissions that enable it, so teams have a shared place to check a finding against. pathbreak-audit is a read-only CLI that reads the managed, inline and group policies attached to the roles and users in one AWS account, then lists the principals holding permissions that allow escalation, and the toxic combinations, with a least-privilege fix for each. It is MIT licensed, makes only read calls to IAM and STS, and sends nothing anywhere. It is a static grant analysis, the same family as Cloudsplaining and PMapper.

How we measured it

For each of the 91 AWS paths in the catalog, a test principal was granted exactly the actions in that path's required permissions, then run through pathbreak-audit's own matching code against its check catalog. Each path was run twice: once as a default run, and once with --include-access, where the context actions (reads, invoke, assume role, session start) are counted only when granted on Resource *. This measures the matching logic, the same way a Cloudsplaining scan reads policies. It does not resolve conditions, permission boundaries, service control policies or resource scoping, and it does not traverse role chains.

The result

GroupPathsWhat it means
Flagged in a default run81A principal holding the required permissions is reported by a check for the technique.
Flagged with --include-access, on Resource *4Session, command-execution or assume-role actions, flagged when granted account-wide.
Not detected6No matching check yet.
Total AWS paths91Every AWS path in the pathfinding.cloud catalog.

The 81 flagged in a default run span the catalog: the iam:PassRole paths into Lambda, EC2, CloudFormation, CodeBuild, Glue, SageMaker, ECS and the rest; the self-escalation grants such as iam:CreatePolicyVersion, iam:PutRolePolicy and iam:AttachUserPolicy; the service hijacks like lambda:UpdateFunctionCode and cloudformation:UpdateStack; and the credential and login paths. The full per-path mapping, with the check that fires for each, is available on request.

What a default run holds back, and what it misses

Four paths are flagged only with --include-access: ecs:ExecuteCommand, ssm:StartSession, ssm:SendCommand and sts:AssumeRole. These are context-dependent: running a command on, starting a session on, or assuming one scoped resource is ordinary, so pathbreak-audit hides them by default to avoid alert fatigue and surfaces them only when the action is granted on Resource *, that is, against everything. Whether a specific assume-role or session reaches something privileged is exactly the judgment a static check cannot make on its own.

Six paths are not detected. Five are the Bedrock AgentCore paths (bedrock-003 to bedrock-007): the agent runtime, harness and browser techniques, which have no matching check yet. The sixth is iam:UpdateAssumeRolePolicy on its own (iam-012); pathbreak-audit's check also requires sts:AssumeRole, but a rewritten trust policy that names the principal lets it assume the role without holding that permission. Both gaps are additions to the catalog, not limits of the approach.

Where a static check stops and validation begins

Coverage of a catalog is one measure, and a static grant check does well on it. What the check reads is what the policies allow. What it cannot settle is whether a given grant chains, in a specific account, into a path that resolves once every policy that applies has its say, and whether the end of that chain reaches administrator or data. That is a different job.

All IAM grants Unused, cut by native tools Abusable, flagged by scanners Reaches admin, validated
Native tools cut the permissions nobody uses, open-source scanners flag the abusable ones, and Pathbreak validates which of those chains reach administrator.

Pathbreak 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 comes with the single change that removes the most risk and the command to apply it. A rescan confirms the path is gone. pathbreak-audit is the free single-account starting point; Pathbreak is the validation layer on top.

Frequently asked questions

How many AWS privilege escalation paths does pathbreak-audit detect?

Checked against the pathfinding.cloud catalog of 91 AWS IAM privilege escalation paths, pathbreak-audit flags a principal holding the required permissions of 81 of them in a default run. Four more are flagged with the --include-access option, when the session, command-execution or assume-role action is granted on Resource *. Six are not detected yet. The check is a static grant analysis, so it reports what the policies allow, not whether the path resolves in a given account.

What is pathfinding.cloud?

pathfinding.cloud is a community-maintained reference library from Datadog that documents AWS IAM privilege escalation paths, with the permissions each one needs and how it works. It is the catalog teams check a finding against. Pathbreak validates which of these paths resolve against the real authorization in an account and reach administrator or data.

What does pathbreak-audit miss?

In this check pathbreak-audit does not yet flag five Bedrock AgentCore paths (runtime, harness and browser) or iam:UpdateAssumeRolePolicy on its own, and both gaps are fixable in the catalog. It also does not resolve conditions, permission boundaries, service control policies or resource scoping, and it is single account, so it does not detect cross-account paths. Pathbreak covers that reachability layer.

Is this a run against a live AWS account?

No. Each path's required permissions were granted to a test principal and run through pathbreak-audit's own matching code against its check catalog, once as a default run and once with --include-access. It is the same static grant analysis as tools like Cloudsplaining: it reads what a policy allows. Whether a chain reaches something is what Pathbreak validates against the live authorization.

How is pathbreak-audit different from Pathbreak?

pathbreak-audit is a free, read-only CLI that lists the principals in one AWS account holding abusable permissions and toxic combinations, with a least-privilege fix for each. Pathbreak is the platform that validates which of those chains resolve against identity and resource policies, permission boundaries, SCPs and trust policies, ranks the fixes by how many paths each one breaks, and gives the command to apply. It runs read-only and executes nothing.

Related posts

See which IAM privilege escalation paths in your AWS accounts reach admin or data, and the one change that closes each path.

Request a demo Watch the demo