<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom" xmlns:dc="http://purl.org/dc/elements/1.1/">
  <channel>
    <title>DEV Community: Ian Austin</title>
    <description>The latest articles on DEV Community by Ian Austin (@pathbreakhq).</description>
    <link>https://dev.to/pathbreakhq</link>
    <image>
      <url>https://media2.dev.to/dynamic/image/width=90,height=90,fit=cover,gravity=auto,format=auto/https:%2F%2Fdev-to-uploads.s3.us-east-2.amazonaws.com%2Fuploads%2Fuser%2Fprofile_image%2F4269657%2Ff5b7290f-d05b-4e30-8922-29ed076c6ac7.png</url>
      <title>DEV Community: Ian Austin</title>
      <link>https://dev.to/pathbreakhq</link>
    </image>
    <atom:link rel="self" type="application/rss+xml" href="https://dev.to/feed/pathbreakhq"/>
    <language>en</language>
    <item>
      <title>How much of the pathfinding.cloud AWS privesc catalog does a free IAM scanner catch?</title>
      <dc:creator>Ian Austin</dc:creator>
      <pubDate>Fri, 27 Nov 2026 20:43:51 +0000</pubDate>
      <link>https://dev.to/pathbreakhq/how-much-of-the-pathfindingcloud-aws-privesc-catalog-does-a-free-iam-scanner-catch-4f9k</link>
      <guid>https://dev.to/pathbreakhq/how-much-of-the-pathfindingcloud-aws-privesc-catalog-does-a-free-iam-scanner-catch-4f9k</guid>
      <description>&lt;p&gt;&lt;a href="https://pathfinding.cloud" rel="noopener noreferrer"&gt;pathfinding.cloud&lt;/a&gt; is a community library that documents AWS IAM privilege escalation paths: for each one, the permissions an attacker needs and how the escalation works. &lt;a href="https://github.com/pathbreak-io/pathbreak-audit" rel="noopener noreferrer"&gt;pathbreak-audit&lt;/a&gt; is a free, open source (MIT), read-only CLI that reads the IAM policies on every role and user in an account and lists the principals holding permissions, or combinations of permissions, that allow privilege escalation.&lt;/p&gt;

&lt;p&gt;A fair question for any scanner that claims to find privesc: how much of the known catalog does it actually catch? So I measured pathbreak-audit against the whole pathfinding.cloud AWS catalog, path by path, and I am publishing the method and the result so you can check it.&lt;/p&gt;

&lt;h2&gt;
  
  
  How I measured it (reproducible)
&lt;/h2&gt;

&lt;p&gt;The detection logic in pathbreak-audit is a data file of checks (&lt;code&gt;pathbreak_audit/data/checks.json&lt;/code&gt;), each one listing the IAM actions it needs. So the test does not need a live AWS account. For each of the 91 AWS paths in pathfinding.cloud (HEAD &lt;code&gt;817e9317&lt;/code&gt;):&lt;/p&gt;

&lt;ol&gt;
&lt;li&gt;Read the path's &lt;code&gt;permissions.required&lt;/code&gt; from its YAML.&lt;/li&gt;
&lt;li&gt;Grant exactly those actions to a test principal.&lt;/li&gt;
&lt;li&gt;Run them through pathbreak-audit's own matching code (&lt;code&gt;evaluate.py&lt;/code&gt;, v0.1.0), once in the default view and once with &lt;code&gt;--include-access&lt;/code&gt;.&lt;/li&gt;
&lt;li&gt;Check every match by hand against the path description.&lt;/li&gt;
&lt;/ol&gt;

&lt;p&gt;This is static grant analysis, the same thing pathbreak-audit does on a real account: it reads what a policy allows. It does not resolve conditions, permission boundaries, SCPs or resource scoping, and it does not traverse role chains. Anyone can reproduce it from the public &lt;code&gt;checks.json&lt;/code&gt; and the public pathfinding.cloud YAML.&lt;/p&gt;

&lt;h2&gt;
  
  
  What the tool outputs
&lt;/h2&gt;

&lt;p&gt;To show it is a real tool and not a lookup table, here is a trimmed &lt;code&gt;pathbreak-audit --demo&lt;/code&gt; run (synthetic account, no AWS needed):&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight plaintext"&gt;&lt;code&gt;PATHBREAK   AWS IAM exposure, for defenders
v0.1.0   https://pathbreak.io

Account: 123456789012  (example data)
Scanned 7 principals. 4 hold abusable permissions (6 direct, 3 toxic combinations).

ROLE  iam-helpdesk
  arn:aws:iam::123456789012:role/iam-helpdesk
  * Directly abusable  |  Attach admin policy to user
      needs: iam:AttachUserPolicy
      grants: Can attach the AdministratorAccess managed policy to this user
      to break it: Remove iam:AttachUserPolicy from the principal.
      privilege-escalation
      details: https://pathbreak.io/aws-privilege-escalation-map/iam-attachuserpolicy

ROLE  octo-deploy
  arn:aws:iam::123456789012:role/octo-deploy
  * Toxic combination of 2  |  Pass role to EC2
      needs: iam:PassRole + ec2:RunInstances
      grants: Can launch an EC2 instance with this role and run code as it
      to break it: Remove iam:PassRole for this role or scope it with iam:PassedToService.
      privilege-escalation
      details: https://pathbreak.io/aws-privilege-escalation-map/ec2-run-passrole
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;h2&gt;
  
  
  The result
&lt;/h2&gt;

&lt;div class="table-wrapper-paragraph"&gt;&lt;table&gt;
&lt;thead&gt;
&lt;tr&gt;
&lt;th&gt;Group&lt;/th&gt;
&lt;th&gt;Paths&lt;/th&gt;
&lt;/tr&gt;
&lt;/thead&gt;
&lt;tbody&gt;
&lt;tr&gt;
&lt;td&gt;Flagged in a default run&lt;/td&gt;
&lt;td&gt;81&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;Flagged only with &lt;code&gt;--include-access&lt;/code&gt; (action on Resource &lt;code&gt;*&lt;/code&gt;)&lt;/td&gt;
&lt;td&gt;4&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;Not detected&lt;/td&gt;
&lt;td&gt;6&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;&lt;strong&gt;Total&lt;/strong&gt;&lt;/td&gt;
&lt;td&gt;&lt;strong&gt;91&lt;/strong&gt;&lt;/td&gt;
&lt;/tr&gt;
&lt;/tbody&gt;
&lt;/table&gt;&lt;/div&gt;

&lt;p&gt;A sample of the 81 flagged in a default run, with the check that fired:&lt;/p&gt;

&lt;div class="table-wrapper-paragraph"&gt;&lt;table&gt;
&lt;thead&gt;
&lt;tr&gt;
&lt;th&gt;pathfinding.cloud&lt;/th&gt;
&lt;th&gt;Permissions&lt;/th&gt;
&lt;th&gt;pathbreak-audit check&lt;/th&gt;
&lt;/tr&gt;
&lt;/thead&gt;
&lt;tbody&gt;
&lt;tr&gt;
&lt;td&gt;ec2-001&lt;/td&gt;
&lt;td&gt;&lt;code&gt;iam:PassRole + ec2:RunInstances&lt;/code&gt;&lt;/td&gt;
&lt;td&gt;&lt;code&gt;ec2-run-passrole&lt;/code&gt;&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;lambda-001&lt;/td&gt;
&lt;td&gt;&lt;code&gt;iam:PassRole + lambda:CreateFunction + lambda:InvokeFunction&lt;/code&gt;&lt;/td&gt;
&lt;td&gt;&lt;code&gt;lambda-passrole-create&lt;/code&gt;&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;iam-001&lt;/td&gt;
&lt;td&gt;&lt;code&gt;iam:CreatePolicyVersion&lt;/code&gt;&lt;/td&gt;
&lt;td&gt;&lt;code&gt;iam-createpolicyversion&lt;/code&gt;&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;iam-005&lt;/td&gt;
&lt;td&gt;&lt;code&gt;iam:PutRolePolicy&lt;/code&gt;&lt;/td&gt;
&lt;td&gt;&lt;code&gt;iam-putrolepolicy&lt;/code&gt;&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;iam-009&lt;/td&gt;
&lt;td&gt;&lt;code&gt;iam:AttachRolePolicy&lt;/code&gt;&lt;/td&gt;
&lt;td&gt;&lt;code&gt;iam-attachrolepolicy&lt;/code&gt;&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;cloudformation-001&lt;/td&gt;
&lt;td&gt;&lt;code&gt;iam:PassRole + cloudformation:CreateStack&lt;/code&gt;&lt;/td&gt;
&lt;td&gt;&lt;code&gt;cloudformation-passrole-create&lt;/code&gt;&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;sagemaker-002&lt;/td&gt;
&lt;td&gt;&lt;code&gt;iam:PassRole + sagemaker:CreateTrainingJob&lt;/code&gt;&lt;/td&gt;
&lt;td&gt;&lt;code&gt;sagemaker-trainingjob-passrole&lt;/code&gt;&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;glue-003&lt;/td&gt;
&lt;td&gt;&lt;code&gt;iam:PassRole + glue:CreateJob + glue:StartJobRun&lt;/code&gt;&lt;/td&gt;
&lt;td&gt;&lt;code&gt;glue-createjob-passrole&lt;/code&gt;&lt;/td&gt;
&lt;/tr&gt;
&lt;/tbody&gt;
&lt;/table&gt;&lt;/div&gt;

&lt;p&gt;The full 91-row table is in the write-up linked below.&lt;/p&gt;

&lt;h2&gt;
  
  
  The 4 that need a flag, and the 6 misses
&lt;/h2&gt;

&lt;p&gt;Four paths only surface with &lt;code&gt;--include-access&lt;/code&gt;, and only where the action is granted on Resource &lt;code&gt;*&lt;/code&gt;. These are session, command-execution and assume-role actions that are only dangerous depending on what they reach, so they are off by default to avoid noise:&lt;/p&gt;

&lt;div class="table-wrapper-paragraph"&gt;&lt;table&gt;
&lt;thead&gt;
&lt;tr&gt;
&lt;th&gt;pathfinding.cloud&lt;/th&gt;
&lt;th&gt;Permissions&lt;/th&gt;
&lt;th&gt;check&lt;/th&gt;
&lt;/tr&gt;
&lt;/thead&gt;
&lt;tbody&gt;
&lt;tr&gt;
&lt;td&gt;ecs-006&lt;/td&gt;
&lt;td&gt;&lt;code&gt;ecs:ExecuteCommand + ecs:DescribeTasks&lt;/code&gt;&lt;/td&gt;
&lt;td&gt;&lt;code&gt;ecs-executecommand-hijack&lt;/code&gt;&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;ssm-001&lt;/td&gt;
&lt;td&gt;&lt;code&gt;ssm:StartSession&lt;/code&gt;&lt;/td&gt;
&lt;td&gt;&lt;code&gt;ssm-startsession&lt;/code&gt;&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;ssm-002&lt;/td&gt;
&lt;td&gt;&lt;code&gt;ssm:SendCommand&lt;/code&gt;&lt;/td&gt;
&lt;td&gt;&lt;code&gt;ssm-sendcommand&lt;/code&gt;&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;sts-001&lt;/td&gt;
&lt;td&gt;&lt;code&gt;sts:AssumeRole&lt;/code&gt;&lt;/td&gt;
&lt;td&gt;&lt;code&gt;sts-assume-role&lt;/code&gt;&lt;/td&gt;
&lt;/tr&gt;
&lt;/tbody&gt;
&lt;/table&gt;&lt;/div&gt;

&lt;p&gt;Six are not detected, for two separate reasons:&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;
&lt;code&gt;bedrock-003&lt;/code&gt; to &lt;code&gt;bedrock-007&lt;/code&gt;: five Bedrock AgentCore paths (runtime, harness and browser). pathbreak-audit has no checks for these AgentCore primitives yet, so the catalog is ahead of the tool here.&lt;/li&gt;
&lt;li&gt;
&lt;code&gt;iam-012&lt;/code&gt;: &lt;code&gt;iam:UpdateAssumeRolePolicy&lt;/code&gt; on its own. pathbreak-audit models this technique as two steps, so its check also requires &lt;code&gt;sts:AssumeRole&lt;/code&gt;, and the single-action variant does not fire.&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;I would rather publish the misses than hide them. There is also a structural limit worth being clear about: because it reads policies as written, pathbreak-audit does not resolve condition keys, permission boundaries or SCPs, and it does not traverse role chains. That is the distance between "this policy allows X" and "this is a real path to admin," and it is why a static read is only a first pass.&lt;/p&gt;

&lt;h2&gt;
  
  
  Reproduce it, or just run it
&lt;/h2&gt;

&lt;ul&gt;
&lt;li&gt;Full method and the complete 91-row table: &lt;a href="https://pathbreak.io/blog/pathbreak-audit-pathfinding-coverage" rel="noopener noreferrer"&gt;https://pathbreak.io/blog/pathbreak-audit-pathfinding-coverage&lt;/a&gt;
&lt;/li&gt;
&lt;li&gt;Catalog: &lt;a href="https://pathfinding.cloud" rel="noopener noreferrer"&gt;https://pathfinding.cloud&lt;/a&gt;
&lt;/li&gt;
&lt;li&gt;Tool: &lt;a href="https://github.com/pathbreak-io/pathbreak-audit" rel="noopener noreferrer"&gt;https://github.com/pathbreak-io/pathbreak-audit&lt;/a&gt;
&lt;/li&gt;
&lt;/ul&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight shell"&gt;&lt;code&gt;pip install pathbreak-audit
pathbreak-audit --demo              &lt;span class="c"&gt;# synthetic account, no AWS&lt;/span&gt;
pathbreak-audit --profile default   &lt;span class="c"&gt;# your account, read-only&lt;/span&gt;
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;p&gt;Disclosure: I'm a co-founder of Pathbreak, which maintains pathbreak-audit.&lt;/p&gt;

</description>
      <category>aws</category>
      <category>security</category>
      <category>iam</category>
      <category>opensource</category>
    </item>
  </channel>
</rss>
