<?xml version="1.0" encoding="UTF-8"?><rss xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:atom="http://www.w3.org/2005/Atom" version="2.0" xmlns:cc="http://cyber.law.harvard.edu/rss/creativeCommonsRssModule.html">
    <channel>
        <title><![CDATA[Stories by Bradley Abel on Medium]]></title>
        <description><![CDATA[Stories by Bradley Abel on Medium]]></description>
        <link>https://medium.com/@abelb01?source=rss-db1a154cb105------2</link>
        <image>
            <url>https://cdn-images-1.medium.com/fit/c/150/150/1*fPH6-eey-wgnsUTXSBZRFw.jpeg</url>
            <title>Stories by Bradley Abel on Medium</title>
            <link>https://medium.com/@abelb01?source=rss-db1a154cb105------2</link>
        </image>
        <generator>Medium</generator>
        <lastBuildDate>Tue, 01 Dec 2026 23:22:14 GMT</lastBuildDate>
        <atom:link href="https://medium.com/@abelb01/feed" rel="self" type="application/rss+xml"/>
        <webMaster><![CDATA[yourfriends@medium.com]]></webMaster>
        <atom:link href="http://medium.superfeedr.com/" rel="hub"/>
        <item>
            <title><![CDATA[Are service principals and PATs the new keys to the kingdom?]]></title>
            <link>https://medium.com/@abelb01/are-service-principals-and-pats-the-new-keys-to-the-kingdom-276f5df8dfe1?source=rss-db1a154cb105------2</link>
            <guid isPermaLink="false">https://medium.com/p/276f5df8dfe1</guid>
            <category><![CDATA[cloud]]></category>
            <category><![CDATA[engineering]]></category>
            <category><![CDATA[gitops]]></category>
            <category><![CDATA[cloud-security]]></category>
            <category><![CDATA[security-engineering]]></category>
            <dc:creator><![CDATA[Bradley Abel]]></dc:creator>
            <pubDate>Sun, 10 Apr 2022 20:08:19 GMT</pubDate>
            <atom:updated>2022-04-10T20:08:19.605Z</atom:updated>
            <content:encoded><![CDATA[<figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*iv9G0vkCoktbuwOhOMvfRA.jpeg" /></figure><h3>Domain admin credentials are traditionally the end goal for any attacker</h3><p>Historically, getting access to a business&#39; domain credentials was one of the most coveted targets for an attacker.</p><p>The breach of these credentials was generally difficult and costly to recover from and required a complete domain rebuild to purge the attacker.</p><h3>The criticality of domain credentials to a business and ease of compromising is diminishing in a cloud-native world</h3><p>With the migration to the cloud, microservice and containerisation of apps, and usage of cloud-native data stores, there is less and less reliance on traditional domain services for providing that layer of authentication and authorisation.</p><p>Additionally, the levels of security controls and rigour around domain admin accounts are increasing. Security and infrastructure teams now have a raft of controls and telemetry to ensure the security of these accounts and account behaviours, which includes:</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*iyV2q38kgdgbc9iDIXQHsw.png" /></figure><h3>Domain admin credentials are no longer the crown jewels with the rise of service principals and access tokens</h3><p>The usage of PATs, tokens and service principals is continually increasing, and while services such as Azure’s Managed Service Identity are aiming to solve the problem, the adoption is slow and does not take into account the end to end development lifecycle; and the overarching challenges associated with securing these credentials exacerbate the risks.</p><h4>Personal Access Tokens</h4><p>PATs allow access to SCMs and central management or security for these credentials is limited. After the initial device authentication all MFA and additional authentication controls will be bypassed.</p><h4>Service Principals</h4><p>A service principal can be used to provide authentication and authorisation to all aspects of the cloud control plane. This bypasses MFA, can bypass any network controls and provides limited telemetry when an authentication and action event occurs.</p><p>In common scenarios these credentials allow for CICD solutions access to your cloud environment. While usually secured in SCM or CICD environments, ensuring the least privilege for CICD service principals in your cloud environment is challenging. By their nature, service principals enabling cloud deployments require an elevated level of permissions.</p><h4>kubeconfig</h4><p>kubeconfig maps to a local Kubernetes account and, dependent on the permissions of that account, allow a user to completely bypass your path to live security.</p><h3>Visibility of these credentials and managing the sprawl</h3><p>The likelihood of these PATs, service principals, kubeconfigs, and service principles being on a developer&#39;s machine with access to either non-production or production is significantly high.</p><p>Depending on the size of your organisation&#39;s development and engineering teams, this could be an attack surface of hundreds or thousands of users.</p><p>When you multiply the number of developers by the number of SCMs, projects and repos, branches, pipelines and native CD tooling, with the permissions to deploy, you’re facing an increasingly steep challenge to ensure your cloud environment’s security.</p><h3>Security for these credentials is not where it needs to be</h3><p>Apart from providing basic authentication and authorisation, and a limited but growing set of telemetry, there is limited security around these credentials.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*6pTMjY9iLZXbf7SpNp0kZw.png" /></figure><h3>What are the threats to these challenges?</h3><p>Consider the scenario where a developer machine, which traditionally runs with elevated privileges, is compromised and allows a remote attacker to control the machine.</p><p>An attacker could easily and with minimal controls or oversight, leverage the existing git PAT, kubeconfig or authenticated CLI to carry out a wide range of attacks.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*fBdqQcTPY5SkThrc2vJf-w.png" /></figure><p>In the above scenario, we have limited layers of defence around endpoint hardening, ensuring granular access controls and effective monitoring within your SCM and cloud environments.</p><p>With the expansion of inner-source and GitOps ways of working the risks will continue to increase.</p><h3>How do we solve it?</h3><p>While the security industry plays catch up to the risks, there are steps we can take to secure our environment.</p><h4>Having visibility and understanding of your SCM platforms and path to live environment</h4><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*GQOquFRHqbdNm0a9yGqD9w.png" /></figure><h4>Raise concerns with the cloud providers</h4><p>While the above are good steps to ensure the security of your environment, the key to solving the problems is to have enhanced native security and control around these identity tokens&#39; respective platforms and cloud services.</p><p>This is a call for all engineers or security professionals that have an interest in the above topic to highlight your concerns and we can collectively get this risk prioritised.</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=276f5df8dfe1" width="1" height="1" alt="">]]></content:encoded>
        </item>
    </channel>
</rss>