Raising the Bar on Security by Purging Credentials From the Cloud
Tags: security, authentication, cloud, mfa
Published: 2022-01-26 10:53:17

<p dir="ltr">The Cloud is ubiquitous: any company looking to ramp up quickly will provision its compute, networking, and storage with its preferred cloud provider, and get started rolling out their products. &nbsp;That makes total sense from a business perspective. &nbsp;The Cloud has simplified development and automation exponentially over the years, and emerging tech such as AI and IoT will only accelerate this. &nbsp;</p>
<p>However, the catch is that the very same foundational architectures which drive the Cloud&rsquo;s efficiency, flexibility, and cost benefits ultimately also are its weakest links from a security perspective. &nbsp; The result is the daily march of headlines we all read about: ever larger and deeper breaches of data and systems.</p>
<p>There are three fundamental drivers that serve as the basis for the large majority of access hacks, data security breaches, and privacy vulnerabilities:</p>
<ol>
    <li dir="ltr">
        <p dir="ltr">A centralized native cloud-only model for identity verification and authentication</p>
    </li>
    <li dir="ltr">
        <p dir="ltr">A fundamentally flawed architecture for data security and privacy &nbsp;</p>
    </li>
    <li dir="ltr">
        <p dir="ltr">The complexity of the native cloud-based solutions and active security measures that are layered over this inherently flawed foundation</p>
    </li>
</ol>
<p>This series of articles will dig into each of these elemental cloud security challenges that need to be addressed if we really want to improve things. Today, we will focus on the first.&nbsp;</p>
<h2 dir="ltr">Ok, What&rsquo;s the Problem With Existing Password-Less Authentication?</h2>
<p dir="ltr">Credentials-based authentication - that is, username and password - is notoriously insecure and the source of 80%+ of data breaches today. &nbsp;Yet most end users still gain access to their websites and applications this way. &nbsp;Even worse, so do many DevOps and cloud engineers to their sensitive production cloud environments. &nbsp; Thankfully, a long-overdue migration to password-less authentication is now underway, with dozens of tools vying for supremacy, and more and more sites like <a href="https://github.blog/2020-12-15-token-authentication-requirements-for-git-operations/" rel="noopener noreferrer" target="_blank">GitHub are deprecating password-based authentication</a> entirely. &nbsp;</p>
<p>While this is an important step forward, it still only solves part of the problem: not all password-less authentication solutions are created equal. &nbsp;The new wave of solutions eliminates the password, but all still have one or several intrinsic weaknesses derived from the same foundational flaw. &nbsp;</p>
<h2 dir="ltr">They Rely on the Cloud. . . And the Cloud Is Compromised</h2>
<p dir="ltr">The benefits of the cloud - its flexibility, scalability, and distributed access - are indisputable. &nbsp;However, the practice of having all of your much-needed services available centrally, from the data lakes to the databases, to the IAM and much more, have essentially created a security monster. &nbsp;</p>
<p>At AWS Re:Invent just a couple of weeks ago, Werner Vogels, AWS CTO said that there is virtually no service their IAM framework doesn&rsquo;t touch. &nbsp;If that doesn&rsquo;t raise the hairs on the back of your neck, I don&rsquo;t know what will.</p>
<p>Therefore, as any security engineer knows, the Cloud&rsquo;s strengths are ultimately also the Cloud&rsquo;s main weaknesses. &nbsp;The scale and complexity of the Cloud make it practically impossible to defend, while the amount and value of data and capabilities that are concentrated into enormous cloud-based data lakes make attacks relatively easy and incredibly profitable. &nbsp;</p>
<p>So, if you really want to avoid being the next big headline, you should start with the working premise that the Cloud is essentially compromised. With this assumption in mind, here is where the current crop of password-less authentication solutions remains vulnerable:&nbsp;</p>
<ol>
    <li dir="ltr">
        <p dir="ltr">They still rely on cloud databases of user credentials, which remain as vulnerable as ever. &nbsp; In fact, most are aggregating even more data on users&#39; identities, their activities, their history, and so on in a single place, making a hacker&rsquo;s job easier than ever. &nbsp;</p>
    </li>
</ol>
<ol start="2">
    <li dir="ltr">
        <p dir="ltr">They rely heavily on user self-identification and authorization, ignoring the vulnerability of the means used to execute this: SMS and email, two extremely spoofable channels.</p>
    </li>
</ol>
<ol start="3">
    <li dir="ltr">
        <p dir="ltr">They add friction for the end-user, which inevitably reduces compliance. &nbsp; Let&rsquo;s face it: users are lazy. &nbsp;Additional steps with authenticator apps, hardware tokens, and even SMS-based SFA are too much for many of them.</p>
    </li>
</ol>
<p>Thanks to this set of assumptions, attacks can be executed literally from anywhere in the world, from any device, and by any hacker - whether an amateur or more sophisticated professional. &nbsp;Even worse, it doesn&rsquo;t even require a human attacker: software, especially bots, malware, ransomware, and even AI software, can probe and drive attacks that are often one step ahead of the AI monitoring being used to stop them.&nbsp;</p>
<p>Yikes, that&#39;s scary. Until we change things, the attackers will always have the advantage.&nbsp;</p>
<h2 dir="ltr">So What Can We Do?</h2>
<p dir="ltr">We can design and build a new approach to cybersecurity based on one simple premise:&nbsp;</p>
 <br>

<h3>The Cloud is compromised, so eliminate the attack surface in the Cloud.</h3>
   
<blockquote>
    <p><em>Learn more about what&#39;s coming next in cloud security.  <br>
Sign up for the <a href="https://gocircle.ai/circle-auth/registration/select-registration-type/?utm_source=devto-blog-post-1&utm_medium=web&utm_campaign=devrel-early-access&utm_id=DevRel+Program&utm_term=early-access" target="_blank"> <strong>>> Circle API Early Access Program</strong></a> </em></p>
</blockquote>
<p>Based on that premise, here are the core pillars of the approach that can be architected to address the problem of identity security via credential-free authentication.</p>
<h3 dir="ltr">1. &nbsp;Enforce Access to Resources With Cryptographic Keys, Not Credentials</h3>
<p>As long as credentials exist, they can and will be stolen if the resources they access have value. &nbsp;Encryption, especially AES 256 encryption, works. &nbsp;Use it. &nbsp;</p>
<h3>2. &nbsp;Bind Cryptographic Access to Devices, and Devices to Users</h3>
<p>The good news is that both human and machine users have devices, and devices can be made secure with two simple steps.</p>
<ol>
    <li>Bind keys to devices. &nbsp;In addition to the <a href="https://www.cryptomathic.com/news-events/blog/the-trusted-platform-module-explained" rel="noopener noreferrer" target="_blank">Trusted Platform Module</a>, there are other methods to uniquely restrict the use of encryption keys to the device on which they were created and authorized.</li>
    <li>Bind devices to their authenticated users. &nbsp;Once the device can truly be trusted, now authentication methods that bind a device to the unique human that is authorized to use or control it can be added. &nbsp;</li>
</ol>
<h3>3. &nbsp;Decentralize and Bind MFA to Devices &nbsp;&nbsp;</h3>
<p>All MFA today ultimately relies on cloud-based databases and servers, and a <a href="https://en.wikipedia.org/wiki/Chain_of_trust" rel="noopener noreferrer" target="_blank">Chain of Trust</a> to them for execution. To take the Cloud off the table, we can decentralize and distribute MFA out to users that are bound to devices, and eliminate the role of any central authority.&nbsp;</p>
<p>The beauty of the first three steps is that while immensely enhancing the security of access, they simultaneously reduce both friction for end users and support overhead for IT staff. The user&#39;s device is the log-in: passwords, second device authentications, one-time codes, push notifications, or hardware tokens can all be avoided.</p>
<p>Instead, we can leverage cryptographic device-based authentication with the user&#39;s device to deliver two strong factors to assure identity:</p>
<ol style="list-style-type: lower-alpha;">
    <li dir="ltr" style="margin-left: 20px;">
        <p dir="ltr">something you &ldquo;own&quot; - the possession of private AES 256 key; and</p>
    </li>
    <li dir="ltr" style="margin-left: 20px;">
        <p dir="ltr">something you &ldquo;are&rdquo; - &nbsp;leveraging biometrics in tandem with cloud and device-based monitoring.</p>
    </li>
</ol>
<h3>4. &nbsp;When It Really Matters, Introduce Zero Trust via Human in the Loop</h3>
<p>The steps above will bring a new level of security - and privacy - to the vast majority of authentication use cases and needs. &nbsp; Still, there are times when the resources accessed by a person and their devices are valuable enough to warrant continuous identity verification to assure no wrongful access. In those use cases, the only way to truly be sure of the identity of the user of a device requesting access is to enforce a direct human-to-human interaction with someone that knows them directly into the authentication flow in an automated way. &nbsp; We have developed a way to do exactly that.</p>
<h2 dir="ltr">What Would That Mean?</h2>
<p dir="ltr">If these pillars could be applied to truly reduce the attack surface for authentication and identity verification in the Cloud to ZERO, what would that mean for cybersecurity? There are lots of wins, but these are the three most important:</p>
<h3 dir="ltr">1. &nbsp;We Can Eliminate Credentials-Based Attacks &nbsp;&nbsp;</h3>
<p dir="ltr">Phishing, spoofing, theft and loss, social-engineering attacks, you name it: all futile if there is no password, no credentials to steal.</p>
<h3 dir="ltr">2. &nbsp;We Can Eliminate Cloud-Based Company and System-Wide Attacks &nbsp;&nbsp;</h3>
<p dir="ltr">If the only way to gain access to a resource is to go one by one after each endpoint device, we have raised the bar for attacks beyond the reach of the vast majority of hackers.</p>
<h3 dir="ltr">3. &nbsp;We Can Escalate and Enforce a Human-In-The-Loop Zero Trust Identity Verification When It Really Matters &nbsp;&nbsp;</h3>
<p dir="ltr">At the end of the day, every cloud-based authentication today relies upon software or the endpoint device to verify identity. &nbsp;When your context demands real-time reauthentication of a device or a user, another authorized human that knows the user can do this job based on a pre-configured automated software-driven authentication flow.</p>
<p>Will this stop every possible attack? Of course not. However, it can for the first time in a long time change the equation in favor of the defense.</p>
<h2 dir="ltr">A Revolution Is Coming</h2>
<p dir="ltr">As long as the industry continues to cling to fundamentally vulnerable, centralized native cloud-only security architectures and layer on ever more complex solutions on top of a cracked foundation, we can not only expect but guarantee that we will continue to get the same outcomes. &nbsp;The endless game of whack-a-mole, chasing down the last breach rather than preventing the next one, will go on and on.</p>
<p>Unless we do a hard reset. &nbsp;It&rsquo;s possible.</p>