<?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 Ankur Kunal on Medium]]></title>
        <description><![CDATA[Stories by Ankur Kunal on Medium]]></description>
        <link>https://medium.com/@ankurkunal?source=rss-23867d01f926------2</link>
        <image>
            <url>https://cdn-images-1.medium.com/fit/c/150/150/1*upu-u6wZa11Vn0ZUQh3sOg.png</url>
            <title>Stories by Ankur Kunal on Medium</title>
            <link>https://medium.com/@ankurkunal?source=rss-23867d01f926------2</link>
        </image>
        <generator>Medium</generator>
        <lastBuildDate>Tue, 24 Nov 2026 19:59:47 GMT</lastBuildDate>
        <atom:link href="https://medium.com/@ankurkunal/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[The Missing Layer in Cloud Security: Confidential Computing]]></title>
            <link>https://ankurkunal.medium.com/the-missing-layer-in-cloud-security-confidential-computing-b03d745b49b2?source=rss-23867d01f926------2</link>
            <guid isPermaLink="false">https://medium.com/p/b03d745b49b2</guid>
            <category><![CDATA[kubernetes-security]]></category>
            <category><![CDATA[devsecops]]></category>
            <category><![CDATA[confidential-computing]]></category>
            <category><![CDATA[kubernetes]]></category>
            <category><![CDATA[cloud-native]]></category>
            <dc:creator><![CDATA[Ankur Kunal]]></dc:creator>
            <pubDate>Mon, 11 May 2026 13:53:06 GMT</pubDate>
            <atom:updated>2026-05-13T10:59:34.076Z</atom:updated>
            <content:encoded><![CDATA[<figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*JHO0kODjoCD98X81Qw0auQ.png" /><figcaption>The three state of data</figcaption></figure><blockquote>Why protecting data during execution became the next challenge in cloud-native infrastructure.</blockquote><p>Modern cloud systems are encrypted almost everywhere.</p><p>Databases use disk encryption.<br>APIs communicate over TLS.<br>Kubernetes clusters use mTLS between services.<br>Secrets are stored securely in vaults.</p><p>At first glance, everything seems protected.</p><p>But there is one important moment where traditional encryption stops working:</p><blockquote>the moment your application starts processing the data.</blockquote><p>And in modern cloud-native systems, that moment matters more than ever.</p><h3>The Three States of Data</h3><p>In security, data is usually divided into three states:</p><ul><li><strong>Data at Rest — Examples:</strong> Databases, disks, backups, <strong>Protection:</strong> Disk encryption, AES</li></ul><pre># This ensures Kubernetes secrets stored in etcd remain encrypted on disk.<br>kind: EncryptionConfiguration<br>resources:<br>  - resources:<br>      - secrets<br>    providers:<br>      - aescbc:<br>          keys:<br>            - name: key1<br>              secret: &lt;base64-encoded-key&gt;<br></pre><ul><li><strong>Data in Transit — Examples:</strong> API traffic, service-to-service communication. <strong>Protection:</strong> TLS, mTLS</li></ul><pre># With mTLS enabled, services authenticate each other using certificates, preventing unauthorised services from joining communication.<br>apiVersion: security.istio.io/v1<br>kind: PeerAuthentication<br>metadata:<br>  name: default<br>spec:<br>  mtls:<br>    mode: STRICT</pre><ul><li><strong>Data in Use — Examples:</strong> Data actively processed in memory, <strong>Protection:</strong> Traditionally exposed / unprotected</li></ul><p>The industry has become very good at protecting the first two.</p><p>If someone steals a database snapshot, encryption at rest protects it.<br>If someone intercepts network traffic, TLS protects it.</p><p>But what happens when the application actually needs to read and process the data?</p><p>The encryption disappears.</p><p>The CPU can only compute on plaintext.</p><p>That means the most sensitive moment in the lifecycle of data is often the least protected.</p><h3>The Hidden Problem: Data in Use</h3><p>Imagine a healthcare application running on Kubernetes.</p><ul><li>Patient records are encrypted in the database</li><li>Service-to-service traffic uses mTLS</li><li>Backups are encrypted</li><li>Secrets are stored securely</li></ul><p>Everything appears secure.</p><p>But when the application starts processing a patient record, the data is loaded into memory as plaintext.</p><p>At that exact moment:</p><ul><li>The host kernel can inspect it</li><li>A compromised hypervisor could potentially access it</li><li>Memory-scraping malware becomes dangerous</li><li>debugging tools and core dumps may expose sensitive data</li></ul><p>The protection that existed during storage and transmission is suddenly gone.</p><p>This is the problem often referred to as:</p><h3>Data in Use</h3><p>And it has become one of the most important security challenges in modern cloud infrastructure.</p><h3>Why Cloud Computing Changed the Security Model</h3><p>In traditional on-premise environments, organisations usually trusted their infrastructure completely.</p><p>They owned:</p><ul><li>The servers</li><li>The hypervisor</li><li>The operating system</li><li>The network</li></ul><p>Cloud computing changed that model.</p><p>Today, workloads often run on infrastructure owned and managed by someone else.</p><p>Your Kubernetes cluster may be running on:</p><ul><li>shared hardware</li><li>multi-tenant environments</li><li>managed cloud services</li><li>infrastructure controlled by a cloud provider</li></ul><p>This creates a new security question:</p><blockquote>What if the infrastructure itself should not be fully trusted?</blockquote><p>This is where traditional encryption starts to show its limitations.</p><p>Even if data is encrypted:</p><ul><li>while stored</li><li>while transmitted</li></ul><p>…it still becomes exposed during execution.</p><p>And execution is where the real computation happens.</p><h3>Kubernetes Made the Problem More Interesting</h3><p>Containers simplified software deployment dramatically.</p><p>Kubernetes made scaling and orchestration almost effortless.</p><p>But cloud-native systems also expanded the trust surface.</p><p>A modern Kubernetes environment contains:</p><ul><li>worker nodes</li><li>shared kernels</li><li>container runtimes</li><li>orchestration layers</li><li>sidecars</li><li>observability agents</li><li>CSI drivers</li><li>networking plugins</li></ul><p>All of these components interact with workloads in some way.</p><p>This is not necessarily insecure, but it means modern systems are built on many layers of trust.</p><p>For sensitive workloads, that trust model becomes increasingly difficult to reason about.</p><p>Especially for:</p><ul><li>Healthcare systems</li><li>Financial workloads</li><li>AI inference systems</li><li>Multi-party analytics</li><li>Regulated enterprise workloads</li></ul><h3>The Missing Layer: Protecting Data During Execution</h3><p>This challenge led to the rise of <strong>Confidential Computing</strong>.</p><p>The core idea is surprisingly simple:</p><blockquote><em>protect workloads even while they are running.</em></blockquote><p>Instead of only encrypting:</p><ul><li>disks</li><li>databases</li><li>network traffic</li></ul><p>confidential computing attempts to protect:</p><ul><li>memory</li><li>CPU state</li><li>active computation</li></ul><p>This is usually achieved using hardware-backed environments called:</p><h3>Trusted Execution Environments (TEEs)</h3><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*npsn9OcUOcAvOUU64FWIHw.png" /><figcaption>Comparison of trust boundaries in traditional cloud environments versus confidential computing using Intel TDX and Intel SGX Trusted Execution Environments (TEEs).</figcaption></figure><p>Examples include:</p><ul><li>AMD SEV-SNP</li><li>Intel TDX</li><li>Intel SGX</li><li>ARM Confidential Compute Architecture</li></ul><p>These technologies isolate workloads from the rest of the system, including parts of the host infrastructure itself.</p><p>In many cases, memory remains encrypted even while the workload is actively running.</p><h3>But Security Is Not Only About Encryption</h3><p>Encryption alone is not enough.</p><p>A workload also needs a way to prove:</p><ul><li>Where is it running</li><li>What software was loaded</li><li>Whether the environment was modified</li></ul><p>This is where another important concept appears:</p><h3>Remote Attestation</h3><figure><img alt="" src="https://cdn-images-1.medium.com/proxy/1*nVsHbyF8Tcr2OADJf-Miig.png" /><figcaption>Confidential Computing Architecture Using CVMs, Trustee Services, and Enclave Software</figcaption></figure><p>Remote attestation allows a workload to cryptographically prove that it is running inside a trusted execution environment.</p><p>In simple terms:</p><ol><li>The platform measures components involved in boot and execution</li><li>Hardware signs this information</li><li>A remote service verifies the measurements</li><li>Secrets are only released if the environment is trusted</li></ol><p>This creates a new trust model where workloads no longer need to fully trust the surrounding infrastructure.</p><h3>Why This Matters for Containers</h3><p>Containers introduced portability and scalability.</p><p>Confidential computing introduced stronger isolation.</p><p>Combining the two is not trivial.</p><p>Containers traditionally rely on:</p><ul><li>Shared kernels</li><li>Shared runtimes</li><li>Host-level orchestration</li></ul><p>Confidential workloads, however, require stricter isolation boundaries.</p><p>This is one of the reasons projects like <strong>Confidential Containers</strong> emerged.</p><p>The goal is to make confidential computing usable in cloud-native environments without forcing developers to completely rewrite their applications.</p><p>Instead of changing application code, the infrastructure itself attempts to provide stronger guarantees around workload execution.</p><h3>When to Use Confidential Containers (CoCo)</h3><p>Confidential Containers are useful when workloads handle highly sensitive data and there is limited trust in the underlying infrastructure.</p><p>Good use cases include:</p><ul><li><strong>Multi-tenant cloud environments</strong> where workloads run on shared infrastructure</li><li><strong>Healthcare and financial systems</strong> processing sensitive user data</li><li><strong>AI/ML inference workloads</strong> involving proprietary models or confidential datasets</li><li><strong>Cross-organization collaboration</strong> where multiple parties need to process shared data without exposing raw information</li><li><strong>Regulated industries</strong> requiring stronger runtime isolation and attestation</li><li><strong>Zero-trust architectures</strong> where even the cloud provider should not access application memory</li></ul><p>In these scenarios, CoCo helps protect workloads from:</p><ul><li>Host-level attacks</li><li>Malicious administrators</li><li>Memory scraping</li><li>Compromised hypervisors</li><li>Insider threats</li></ul><p>Confidential computing is especially valuable for protecting <strong>data in use</strong>, the security gap traditional encryption does not cover.</p><h3>When Not to Use Confidential Containers</h3><p>Confidential Containers are not always necessary and can introduce additional operational complexity.</p><p>They may not be the right choice when:</p><ul><li>Workloads do not process <strong>sensitive or regulated data</strong></li><li><strong>Low latency and maximum performance</strong> are more important than runtime isolation</li><li>Applications require heavy debugging or <strong>deep host-level observability</strong></li><li>Infrastructure does not support hardware-backed Trusted Execution Environments (TEEs)</li><li>Teams are early-stage and want simpler deployment and operational workflows</li><li>Traditional controls like TLS, encryption at rest, RBAC, and network isolation are already sufficient for the threat model</li></ul><p>CoCo should not be treated as a replacement for standard cloud security practices. Instead, it should be used as an additional runtime security layer where the threat model justifies the extra complexity and cost. Some implementations may also introduce performance overhead and operational challenges depending on the workload and TEE technology being used.</p><h3>The Tradeoff Nobody Talks About</h3><p>Confidential computing is powerful, but it is not free.</p><p>There are still many open challenges:</p><ul><li>Startup latency</li><li>Infrastructure cost</li><li>Operational complexity</li><li>Observability limitations</li><li>Performance tradeoffs</li><li>Kubernetes trust boundary problems</li></ul><p>Even monitoring becomes complicated.</p><p>Traditional observability tools often expect deep access into workloads, but confidential systems intentionally restrict visibility.</p><p>In other words:</p><blockquote><em>observability and confidentiality do not naturally fit together.</em></blockquote><p>This is one of the most interesting areas currently evolving in cloud-native security.</p><h3>References &amp; Further Reading</h3><ul><li><a href="https://confidentialcomputing.io/?utm_source=chatgpt.com">Confidential Computing Consortium</a></li><li><a href="https://www.intel.com/content/www/us/en/developer/tools/trust-domain-extensions/overview.html?utm_source=chatgpt.com">Intel Trust Domain Extensions (TDX) Documentation</a></li><li><a href="https://www.amd.com/en/developer/sev.html?utm_source=chatgpt.com">AMD SEV-SNP Overview</a></li><li><a href="https://confidentialcontainers.org/?utm_source=chatgpt.com">Confidential Containers Project</a></li><li><a href="https://katacontainers.io/?utm_source=chatgpt.com">Kata Containers Architecture</a></li><li><a href="https://www.youtube.com/watch?v=6fbzHTJk6BE">Linux Foundation Conference on Confidential Container</a></li></ul><p><em>Based on concepts and discussions inspired by confidential computing conference talks and technical materials.</em></p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=b03d745b49b2" width="1" height="1" alt="">]]></content:encoded>
        </item>
    </channel>
</rss>