Lune

CCS2026Top-tier venue

Attest the Whole, Verify Incrementally: Whole-Program Integrity via Lazy Verification in Trusted Execution Environments

Zhen Huang, Junhong Cheng, Yijia Ma, Guoxing Chen, Zhezhi He, Yan Meng, Mengmeng Zhou, Haojin Zhu

Abstract

Trusted Execution Environments (TEEs) traditionally employ a ''measure-then-launch'' model, attesting all code and data before execution begins. While this provides strong integrity guarantees, it imposes a startup latency proportional to the total program size, which is a significant bottleneck for large-scale applications like Large Language Models (LLMs) or databases that may only access a fraction of their footprint. We propose a lazy-verification architecture that decouples holistic attestation from per-block verification. At launch, the design performs an attestation of compact metadata representing the entire program state. Integrity is enforced through incremental verification of requested code and data blocks during runtime loading, before their first architecturally visible use. We formally model enclave execution under lazy verification and prove that our design preserves the same security properties and accepted execution traces as conventional whole-program attestation. We implement our design on both Intel SGX and AMD SEV-SNP. Evaluation across network services, database workloads, and LLM inference shows that our approach significantly reduces startup overhead and improves end-to-end performance, particularly for data-intensive applications with sparse access patterns.

Ask Lune

Know where this paper stands in minutes, not an afternoon.

Lune can read the top-tier papers that cite it and the ones closest to it, and tells you what it claims, what came after and where it falls short, each point cited to the paper it comes from. No skimming, no AI slop.

Questions to start from

Lune can draw on

its abstract · related work

Get the answer

Free to start. No credit card required.

Related papers

  1. EnTurbo: Accelerate Confidential Serverless Computing via Parallelizing Enclave Startup ProcedureYifan Zhu, Peinan Li, Yunkai Bai, Yubiao Huang et al.DAC 2024 · 2 citations
  2. vSGX: Virtualizing SGX Enclaves on AMD SEVShixuan Zhao, Mengyuan Li, Yinqian Zhang, Zhiqiang LinS&P 2022 · 32 citations
  3. EXIA: Trusted Transitions for Enclaves via External-Input AttestationZhen Huang, Yidi Kao, Sanchuan Chen, Guoxing Chen et al.NDSS 2026
  4. WorksetEnclave: Towards Optimizing Cold Starts in Confidential Serverless with Workset-Based Enclave RestoreXiaolong Yan, Qihang Zhou, Zisen Wan, Feifan Qian et al.ASPLOS 2026
  5. 'They don't care about this': A Systematic Study of TEE Build Reproducibility in the WildAnnika Wilde, Marco Gutfleisch, Felix Reichmann, Anirban Chakraborty et al.CCS 2026
Dusk over the sea between two cliffs drawn in fine vertical lines