<?xml version="1.0" encoding="utf-8"?>
<rss version="2.0">
<channel>
<title>Coder Legion - Recent posts tagged iam</title>
<link>https://coderlegion.com/tag/iam</link>
<description>Powered by Question2Answer</description>
<item>
<title>Act Security's Amphi Shrinks a 30,000-Character AWS Policy Down to 7,000</title>
<link>https://coderlegion.com/26162/act-securitys-amphi-shrinks-a-30-000-character-aws-policy-down-to-7-000</link>
<description>&lt;p&gt;David Kerber pulled up a policy with 30,000 characters in it — right at the edge of what AWS will let you attach to a role — and ran it through a tool called IAM Shrink. A few seconds later it was 25,000 characters. He ran it again: 23,000. One more pass, and it dropped to 7,000. Same permissions, a quarter of the size, no additional attack surface.&lt;/p&gt;
&lt;p&gt;That's the kind of problem engineers hit constantly and rarely talk about: AWS IAM policies quickly become unreadable and oversized, and fixing them by hand means collapsing action lists into wildcards without accidentally granting permissions you didn't intend. Kerber built a tool for it because he got tired of doing it manually during consulting work. He's now a Cloud Software Architect at Act Security, which acquired his open-source project, Cloud Copilot, last month and folded it into a new free toolkit called Amphi.&lt;/p&gt;
&lt;p&gt;Every tool in Amphi follows the same philosophy: do one thing, do it well, run it in the browser or from the command line, and never send the policy data anywhere. IAM Expand takes a wildcard string like &lt;code&gt;s3:*et*ob*&lt;/code&gt; and shows exactly which actions it matches as you type it. It can also invert a policy — take an &lt;code&gt;allow, not action&lt;/code&gt; statement and spit back the actual list of what's allowed, pulled from AWS documentation that refreshes daily. IAM Convert turns a policy into Terraform, which Kerber built for the same reason as IAM Shrink: he was hand-converting policies too often. Chain the two together in a CI pipeline — shrink, then convert — and your Git history still shows what you actually intended to grant, even after the policy's been compressed for size.&lt;/p&gt;
&lt;p&gt;The policy tester is the one built for how developers already think. Paste in a policy, write expectations against it — &quot;this call should be denied,&quot; &quot;this call should be allowed&quot; — and the simulator tells you which statement matched and why. Edit the policy live and the results update as you type. Kerber described it as writing red-green tests for a permission set rather than guessing how it behaves.&lt;/p&gt;
&lt;p&gt;The most complex tool handles service control policies and resource control policies — organization-wide rules that can govern every request across hundreds of AWS accounts at once. Kerber's blunt about how well understood these are in practice: &quot;Nobody really understands them. They just think they do — including me.&quot; His answer is to run every condition in the policy against every other condition and generate a full truth table. One example he pulled up produced 108 unique permutations, each one showing exactly which combination of conditions leads to an allow or a deny.&lt;/p&gt;
&lt;p&gt;Then there's the pair built for scale: IAM Collect pulls every policy type from every account you point it at — Kerber said some users run the free version across 7,000 to 8,000 AWS accounts at a time — and IAM Lens queries that data to determine who can actually do what. Ask it who can access a specific S3 bucket, and it runs roughly 20,000 simulations to return every principal with access, along with which objects they can access. Ask the reverse — what can this one role do — and it merges every attached policy, guardrail, and resource policy into a single answer. Kerber's framing for why that matters: &quot;If an auditor asks you to prove who has access to a bucket with driver's license photos in it, this does that. And it scales. And it's free.&quot;&lt;/p&gt;
&lt;p&gt;I asked what reachability mapping is actually telling an engineer. His answer was more direct than most vendor pitches: it's showing risk. &quot;The first question is who can do it. The second question is, should they? The delta between those two is risk — and it's not a matter of if that gets exploited. It's a matter of when.&quot;&lt;/p&gt;
&lt;p&gt;Not everything got a confident answer, and that's worth noting on its own. Asked where Amphi overlaps with Permit.io or Sysdig, Kerber said flatly he doesn't know either tool well enough to compare. He couldn't name a customer. And while Act's commercial platform already covers Azure and GCP alongside AWS, he wouldn't commit to whether the open-source tools ever will — &quot;I don't know one way or another whether we'll pursue that.&quot;&lt;/p&gt;
&lt;p&gt;The commercial boundary is at least clear. The open-source project stays AGPL: free to run inside your own company, off-limits if you're building a product to resell. Act's paid platform is the bigger, multi-cloud version — AWS, Azure, GCP, identity, network — and Kerber says acquiring Cloud Copilot rather than building it in-house came down to time. The tool was already validated at enterprise scale, the edge cases were already worked out, and in security, speed matters more than pride of authorship. He also says open-source contributions have picked up since the acquisition, not slowed down — Cloud Copilot went from a one-person side project to something with real backing.&lt;/p&gt;
&lt;p&gt;His closing point is the one to sit with: the industry's been on a least-privilege journey for years, but the urgency just went up. &quot;An attacker's going to get in, and they're going to exploit every access path you haven't closed.&quot; Free tooling that shows you exactly where those paths are is a reasonable bet regardless of which platform eventually wins.&lt;/p&gt;
</description>
<category>Articles</category>
<guid isPermaLink="true">https://coderlegion.com/26162/act-securitys-amphi-shrinks-a-30-000-character-aws-policy-down-to-7-000</guid>
<pubDate>Thu, 03 Sep 2026 18:00:00 +0000</pubDate>
</item>
<item>
<title>Why Organizations Are Still Missing Out on Passwordless Adoption</title>
<link>https://coderlegion.com/19940/why-organizations-are-still-missing-out-on-passwordless-adoption</link>
<description>&lt;p&gt;According to a &lt;a rel=&quot;nofollow&quot; href=&quot;https://ponemonsullivanreport.com/2024/11/the-2024-study-on-the-state-of-identity-and-access-management-iam-security/&quot;&gt;2024 study by Ponemon-Sullivan Privacy Report&lt;/a&gt;, it was found that around 76% of organizations surveyed in the US haven't adopted passwordless yet.&lt;/p&gt;
&lt;p&gt;Given the rapidly evolving landscape of the internet and AI, the lag in adopting passwordless is a concern worthy of highlighting.&lt;/p&gt;
&lt;h4 id=&quot;passwords-are-not-enough-anymore&quot;&gt;Passwords Are Not Enough Anymore&lt;/h4&gt;
&lt;p&gt;Hackers have figured out long ago, many ways to obtain passwords. All it takes for an account to be compromised, is one vulnerable service running on a server or side channel attacks and the password would already be sold on the dark web for the highest bidder.&lt;/p&gt;
&lt;p&gt;Despite the fact that many organizations have raised the baseline password's complexity to comply with the standards and regulations, there are still other challenges:&lt;/p&gt;
&lt;ol&gt;
&lt;li&gt;Password rotation fatigue employees who may not be very tech-savvy (or use password managers), so they resort to workarounds that could compromise their passwords.&lt;/li&gt;
&lt;li&gt;How passwords are stored cannot be ignored.&lt;/li&gt;
&lt;li&gt;Security level among applications that do use passwords can be inconsistent. This means for example, your banking application might be very secure but this may not be true if you're using the same password for a partner site or service.&lt;/li&gt;
&lt;li&gt;Even passwords that are encrypted at rest can be compromised if the encryption algorithm is weak or contain vulnerabilities.&lt;/li&gt;
&lt;li&gt;Hackers often use social engineering to try to guess passwords using password cracking tools. Short and predictable passwords can be cracked anywhere in seconds to a few minutes.&lt;/li&gt;
&lt;/ol&gt;
&lt;p&gt;What makes relying on passwords only even more risky, is that around 80% of organizations haven't adopted yet zero trust architecture which means that all it takes is one compromised password or account and hackers can install malware to extract others' passwords (APT). This is as per the same study by Ponemon-Sullivan Privacy Report in 2024. &lt;/p&gt;
&lt;p&gt;The above scenarios of course assume that users do not have adequate 2FA configured or their 2FA channels are also compromised (e.g. zero-click attacks on mobile devices).&lt;/p&gt;
&lt;h4 id=&quot;how-does-passwordless-solve-the-problem-&quot;&gt;How Does Passwordless Solve The Problem?&lt;/h4&gt;
&lt;p&gt;Passwordless implementations such as FIDO2 for example significantly reduce the risks associated with passwords handling because the passwordless device itself becomes the authenticator. This can come in the form of BYOD or for example hardware security keys (e.g. Yubikeys are a popular solution).&lt;/p&gt;
&lt;p&gt;When you enroll a passwordless compatible device, the device generates private and public keys. The private key which contains the secret (random number) never leaves the device or cannot be extracted. In addition the private key is calculated from the web service domain alongside the secure secret generated.&lt;/p&gt;
&lt;p&gt;&amp;gt;[!TIP]&lt;br&gt;
&amp;gt;Since the private key uses the web service domain alongside the secret, this makes phishing attacks much harder.&lt;/p&gt;
&lt;p&gt;Since each login uses a different random challenge signed with the private key, replay attacks become useless.&lt;/p&gt;
&lt;p&gt;Some passwordless authenticators may also be compatible with biometric authentication such as face recognition or finger prints which reduces theft risks.&lt;/p&gt;
&lt;p&gt;Examples of passwordless solutions:&lt;/p&gt;
&lt;ol&gt;
&lt;li&gt;FIDO2 (Fast Identity Online) -&amp;gt; &lt;strong&gt;&lt;em&gt;Most secure&lt;/em&gt;&lt;/strong&gt;&lt;/li&gt;
&lt;li&gt;OTP (One Time Password)&lt;/li&gt;
&lt;li&gt;Biometric Authentication.&lt;/li&gt;
&lt;li&gt;Magic Links (one-time links)&lt;/li&gt;
&lt;li&gt;Mobile App-Based&lt;/li&gt;
&lt;li&gt;Third-Party Identity Providers (e.g. Azure AD, Okta and Ping Identity)&lt;/li&gt;
&lt;li&gt;Certificates and Tokens&lt;/li&gt;
&lt;li&gt;Physical Tokens&lt;/li&gt;
&lt;/ol&gt;
&lt;h4 id=&quot;why-organizations-are-lagging-behind-&quot;&gt;Why Organizations Are Lagging Behind?&lt;/h4&gt;
&lt;p&gt;The main challenge organizations still face in passwordless's adoption is account recovery. If passwords are phased out without having reasonably secure options for account recovery, there is a significant risk of access loss.&lt;/p&gt;
&lt;p&gt;Other factors contributing to the slow adoption such as legacy systems and employees getting overwhelmed with the change.&lt;/p&gt;
&lt;h4 id=&quot;no-standard-account-recovery-solution&quot;&gt;No Standard Account Recovery Solution&lt;/h4&gt;
&lt;p&gt;As of today, organizations are implementing different procedures for account recovery. For example, some organizations would require the employee to come personally to the workplace in order to restore access. Others provide for example hotlines where they get asked different challenge questions and need to execute one extra step to restore their access.&lt;/p&gt;
&lt;h4 id=&quot;why-organizations-need-to-prioritize-passwordless&quot;&gt;Why Organizations Need to Prioritize Passwordless&lt;/h4&gt;
&lt;p&gt;Since secrets never leave the device in case of FIDO2, it's much harder for attackers to extract the secrets and use them.&lt;/p&gt;
&lt;p&gt;&amp;gt;[!NOTE]&lt;br&gt;
&amp;gt;While most passwordless compatible devices are secure, this doesn't mean that side channel attacks are impossible. For instance, during testing, NinjaLab found a vulnerability (EUCLEAK) in the cryptographic library that made it possible for them to clone the key. Yubico advised users to either upgrade or purchase newer, patched version of Yubikeys.&lt;/p&gt;
&lt;p&gt;Transitioning the organization to passwordless standards requires both technical expertise and most importantly the backing of leadership and dedicated effort when it comes to dealing with legacy systems. Quite often, organizations would try instead to deprecate incompatible systems in favor of building or buying licenses for compatible ones.&lt;/p&gt;
</description>
<category>Articles</category>
<guid isPermaLink="true">https://coderlegion.com/19940/why-organizations-are-still-missing-out-on-passwordless-adoption</guid>
<pubDate>Mon, 08 Jun 2026 08:09:44 +0000</pubDate>
</item>
</channel>
</rss>