arXivDaily arXiv每日学术速递 周一至周五更新
感恩节,周五至周末无更新,大家顺遂。周一再来吧
arXiv 2606.03323cs.CRcs.AI
收藏

dstack-capsule:Kubernetes 上机密工作负载的 Pod 级远程证明

Implement Kubernetes Pod-Level Remote Attestation for Confidential Workloads on dstack

OPPO;Phala

Yang Yang, Kevin Wang, Yuanhai Luo, Hang Yin, Jie Cai, Shunfan Zhou, Wenfeng Wang

AI总结:

提出 dstack-capsule 平台,通过两层证明架构和权限熔断机制,在 Intel TDX 上实现多个 Pod 共享一个机密虚拟机且每个 Pod 保留独立硬件背书身份的 Pod 级远程证明,避免了每 Pod 独立虚拟机的资源开销。

摘要:

LLM即服务和其他机密云工作负载的兴起要求密码学证明用户数据在可信、未被篡改的环境中处理。现有解决方案,特别是机密容器(CoCo),强制执行严格的“每个虚拟机一个Pod”模型,仅证明客户机操作系统栈,留下容器级身份未验证,并导致高昂的每虚拟机资源开销。我们提出dstack-capsule,一个Kubernetes平台,通过允许多个Pod共享单个机密虚拟机,同时每个Pod保留独立的硬件背书身份,在Intel TDX上实现Pod级远程证明。我们的关键见解是两层证明架构:静态平台测量通过不可逆的权限熔断冻结在RTMR[3]中,而动态Pod身份(pod_uid、pod_spec_hash、workload_id)嵌入在TDX Quote的report_data字段中,并在每次请求时由硬件签名。dstack-capsule引入了(1)一个Pod级证明协议,将Pod规范摘要绑定到硬件签名的Quote;(2)一个权限熔断机制,原子地将节点从设置模式转换到安全模式;(3)一个多层沙箱,涵盖存储、运行时、准入、API和网络隔离层;以及(4)一个基于Kubernetes 1.32、Intel TDX和Sysbox的完整开源实现。我们评估了dstack-capsule的安全属性、证明正确性和性能特征,证明它实现了Pod粒度验证,而没有每虚拟机隔离的资源开销。

英文摘要:

The rise of LLM-as-a-Service and other confidential cloud workloads demands cryptographic proof that user data is processed in a trusted, untampered environment. Existing solutions, notably Confidential Containers (CoCo), enforce a strict "one Pod per VM" model that attests only the Guest OS stack, leaving container-level identity unverified and incurring prohibitive per-VM resource overhead. We present dstack-capsule, a Kubernetes platform that enables Pod-level remote attestation on Intel TDX by allowing multiple Pods to share a single Confidential VM while each retains independent, hardware-backed proof of identity. Our key insight is a two-layer attestation architecture: static platform measurements are frozen in RTMR[3] via an irreversible privilege fuse, while dynamic Pod identities (pod_uid, pod_spec_hash, workload_id) are embedded in the TDX Quote's report_data field and signed by hardware on every request. dstack-capsule introduces (1) a Pod-level attestation protocol binding Pod spec digests to hardware-signed Quotes; (2) a privilege fuse mechanism that atomically transitions a node from setup mode to secure mode; (3) a multi-layer sandbox spanning storage, runtime, admission, API, and network isolation layers; and (4) a complete open-source implementation based on Kubernetes 1.32, Intel TDX, and Sysbox. We evaluate the security properties, attestation correctness, and performance characteristics of dstack-capsule, demonstrating that it achieves Pod-granularity verification without the resource overhead of per-VM isolation.

机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。

↑