Lune

NDSS2023Top-tier venue

RR: A Fault Model for Efficient TEE Replication

Baltasar Dinis, Peter Druschel, Rodrigo Rodrigues

Abstract

—Trusted Execution Environments (TEEs) ensure the confidentiality and integrity of computations in hardware. Subject to the TEE’s threat model, the hardware shields a computation from most externally induced fault behavior except crashes. As a result, a crash-fault tolerant (CFT) replication protocol should be sufficient when replicating trusted code inside TEEs. However, TEEs do not provide efficient and general means of ensuring the freshness of external, persistent state. Therefore, CFT replication is insufficient for TEE computations with external state, as this state could be rolled back to an earlier version when a TEE restarts. Furthermore, using BFT protocols in this setting is too conservative, because these protocols are designed to tolerate arbitrary behavior, not just rollback during a restart. In this paper, we propose the restart-rollback (RR) fault model for replicating TEEs, which precisely captures the possible fault behaviors of TEEs with external state. Then, we show that existing replication protocols can be easily adapted to this fault model with few changes, while retaining their original performance. We adapted two widely used crash fault tolerant protocols — the ABD [6] read/write register protocol and the Paxos [34] consensus protocol — to the RR model. Furthermore, we leverage these protocols to build a replicated metadata service called TEEMS , and then show that it can be used to add TEE-grade confidentiality, integrity, and freshness to untrusted cloud storage services. Our evaluation shows that our protocols perform significantly better than their BFT counterparts (between 1 . 25 and 55 × better throughput), while performing identically to the CFT versions, which do not protect against rollback attacks.

Ask Lune

Know this paper in minutes, not an afternoon.

Lune can read every page of it and the top-tier papers that cite it, and gives you its claims, its evidence and its limits, each one cited to the paper it comes from. No skimming, no AI slop.

6 top-tier papers have cited it since. Know what they found before your reviewers do.

Questions to start from

Lune can draw on

the full paper · the top-tier papers that cite it · related work

Get the answer

Free to start. No credit card required.

Lineage

  • Secret Key Recovery in a Global-Scale End-to-End Encryption System cites Ariadne: A Minimal Approach to State Continuity
  • Secret Key Recovery in a Global-Scale End-to-End Encryption System cites ROTE: Rollback Protection for Trusted Execution
  • Secret Key Recovery in a Global-Scale End-to-End Encryption System cites Nimble: Rollback Protection for Confidential Cloud Services
  • Pallas and Aegis: Rollback Resilience in TEE-Aided Blockchain Consensus cites Ariadne: A Minimal Approach to State Continuity
  • Pallas and Aegis: Rollback Resilience in TEE-Aided Blockchain Consensus cites ROTE: Rollback Protection for Trusted Execution
  • Pallas and Aegis: Rollback Resilience in TEE-Aided Blockchain Consensus cites Rollbaccine: Herd Immunity against Storage Rollback Attacks in TEEs
  • Pallas and Aegis: Rollback Resilience in TEE-Aided Blockchain Consensus cites Nimble: Rollback Protection for Confidential Cloud Services
  • ROTE: Rollback Protection for Trusted Execution cites Ariadne: A Minimal Approach to State Continuity
  • Rollbaccine: Herd Immunity against Storage Rollback Attacks in TEEs cites Ariadne: A Minimal Approach to State Continuity
  • Rollbaccine: Herd Immunity against Storage Rollback Attacks in TEEs cites Secret Key Recovery in a Global-Scale End-to-End Encryption System
  • Rollbaccine: Herd Immunity against Storage Rollback Attacks in TEEs cites ROTE: Rollback Protection for Trusted Execution
  • Rollbaccine: Herd Immunity against Storage Rollback Attacks in TEEs cites Nimble: Rollback Protection for Confidential Cloud Services
  • Nimble: Rollback Protection for Confidential Cloud Services cites Ariadne: A Minimal Approach to State Continuity
  • Nimble: Rollback Protection for Confidential Cloud Services cites ROTE: Rollback Protection for Trusted Execution
Builds onCited byLeft to right by year; the more cited, the higher.

Cited by top-tier papers6

  1. Nimble: Rollback Protection for Confidential Cloud ServicesSebastian Angel, Aditya Basu, Weidong Cui, Trent Jaeger et al.OSDI 2023 · 28 citations
  2. Secret Key Recovery in a Global-Scale End-to-End Encryption SystemGraeme Connell, Vivian Fang, Rolfe Schmidt, Emma Dauterman et al.OSDI 2024 · 19 citations
  3. Rollbaccine: Herd Immunity against Storage Rollback Attacks in TEEsDavid C. Y. Chu, Aditya Balasubramanian, Dee Bao, Natacha Crooks et al.SIGMOD 2026 · 6 citations
  4. Pallas and Aegis: Rollback Resilience in TEE-Aided Blockchain ConsensusJérémie Decouchant, David Kozhaya, Vincent Rahli, Jiangshan YuNDSS 2026 · 1 citation
  5. TriHaRd: Higher Resilience for TEE Trusted TimeMatthieu Bettinger, Sonia Ben Mokhtar, Pascal Felber, Etienne Rivière et al.INFOCOM 2026

Builds on4

  1. ROTE: Rollback Protection for Trusted ExecutionSinisa Matetic, Mansoor Ahmed, Kari Kostiainen, Aritra Dhar et al.USENIX Security 2017 · 249 citations
  2. Ariadne: A Minimal Approach to State ContinuityRaoul Strackx, Frank PiessensUSENIX Security 2016 · 107 citations
  3. Avocado: A Secure In-Memory Distributed Storage SystemMaurice Bailleu, Dimitra Giantsidi, Vasilis Gavrielatos, Do Le Quoc et al.USENIX ATC 2021 · 39 citations
  4. Gryff: Unifying Consensus and Shared RegistersMatthew Burke, Audrey Cheng, Wyatt LloydNSDI 2020 · 29 citations

Related papers

  1. ENGRAFT: Enclave-guarded Raft on Byzantine Faulty NodesWeili Wang, Sen Deng, Jianyu Niu, Michael K. Reiter et al.CCS 2022 · 19 citations
  2. Pirateship: Append-Only Ledgers for (Mostly) Trusted Execution EnvironmentsShubham Mishra, João Gonçalves, Chawinphat Tankuranand, Natacha Crooks et al.SOSP 2026
  3. Achilles: Efficient TEE-Assisted BFT Consensus via Rollback Resilient RecoveryJianyu Niu, Xiaoqing Wen, Guanlong Wu, Shengqi Liu et al.EuroSys 2025 · 4 citations
  4. NARRATOR: Secure and Practical State Continuity for Trusted Execution in the CloudJianyu Niu, Wei Peng, Xiaokuan Zhang, Yinqian ZhangCCS 2022 · 21 citations
  5. HarborMaster: Rollback Detection for Trusted Distributed ComputingShubham Mishra, Alexander Thomas, Nurzhan Abdrassilov, Kaiyuan Chen et al.VLDB 2026
Dusk over the sea between two cliffs drawn in fine vertical lines