Lune

CCS2022Top-tier venue

ENGRAFT: Enclave-guarded Raft on Byzantine Faulty Nodes

Weili Wang, Sen Deng, Jianyu Niu, Michael K. Reiter, Yinqian Zhang

Abstract

This paper presents the first critical analysis of building highly secure, performant, and confidential Byzantine fault-tolerant (BFT) consensus by integrating off-the-shelf crash fault-tolerant (CFT) protocols with trusted execution environments (TEEs). TEEs, like Intel SGX, are CPU extensions that offer applications a secure execution environment with strong integrity and confidentiality guarantees, by leveraging techniques like hardware-assisted isolation, memory encryption, and remote attestation. It has been speculated that when implementing a CFT protocol inside Intel SGX, one would achieve security properties similar to BFT. However, we show in this work that simply combining CFT with SGX does not directly yield a secure BFT protocol, given the wide range of attack vectors on SGX. We systematically study the fallacies in such a strawman design by performing model checking, and propose solutions to enforce safety and liveness. We also present Engraft, a secure enclave-guarded Raft implementation that, firstly, achieves consensus on a cluster of 2𝑓 + 1 machines tolerating up to 𝑓 nodes exhibiting Byzantine-fault behavior (but well-behaved enclaves); secondly, offers a new abstraction of confidential consensus for privacy-preserving state machine replication; and finally, allows the reuse of a production-quality Raft implementation, BRaft, in the development of a highly performant BFT system.

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.

11 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 ROTE: Rollback Protection for Trusted Execution
  • Secret Key Recovery in a Global-Scale End-to-End Encryption System cites ZombieLoad: Cross-Privilege-Boundary Data Sampling
  • Secret Key Recovery in a Global-Scale End-to-End Encryption System cites Nimble: Rollback Protection for Confidential Cloud Services
  • ZombieLoad: Cross-Privilege-Boundary Data Sampling cites Hacking in Darkness: Return-oriented Programming against Secure Enclaves
  • EnclaveDB: A Secure Database Using SGX cites ROTE: Rollback Protection for Trusted Execution
  • 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 Confidential Consortium Framework: Secure Multiparty Applications with Confidentiality, Integrity, and High Availability
  • Rollbaccine: Herd Immunity against Storage Rollback Attacks in TEEs cites Nimble: Rollback Protection for Confidential Cloud Services
  • The Guard's Dilemma: Efficient Code-Reuse Attacks Against Intel SGX cites Hacking in Darkness: Return-oriented Programming against Secure Enclaves
  • Confidential Consortium Framework: Secure Multiparty Applications with Confidentiality, Integrity, and High Availability cites ROTE: Rollback Protection for Trusted Execution
  • Confidential Consortium Framework: Secure Multiparty Applications with Confidentiality, Integrity, and High Availability cites EnclaveDB: A Secure Database Using SGX
  • Confidential Consortium Framework: Secure Multiparty Applications with Confidentiality, Integrity, and High Availability cites Nimble: Rollback Protection for Confidential Cloud Services
  • Nimble: Rollback Protection for Confidential Cloud Services cites ROTE: Rollback Protection for Trusted Execution
  • Fides: Secure and Scalable Asynchronous DAG Consensus via Trusted Components cites ROTE: Rollback Protection for Trusted Execution
  • Fides: Secure and Scalable Asynchronous DAG Consensus via Trusted Components cites Nimble: Rollback Protection for Confidential Cloud Services
Builds onCited byLeft to right by year; the more cited, the higher.

Cited by top-tier papers11

  1. Nimble: Rollback Protection for Confidential Cloud ServicesSebastian Angel, Aditya Basu, Weidong Cui, Trent Jaeger et al.OSDI 2023 · 28 citations
  2. Confidential Consortium Framework: Secure Multiparty Applications with Confidentiality, Integrity, and High AvailabilityHeidi Howard, Fritz Alder, Edward Ashton, Amaury Chamayou et al.VLDB 2024 · 22 citations
  3. 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
  4. Fides: Secure and Scalable Asynchronous DAG Consensus via Trusted ComponentsShaokang Xie, Dakai Kang, Hanzheng Lyu, Jianyu Niu et al.VLDB 2026 · 8 citations
  5. Rollbaccine: Herd Immunity against Storage Rollback Attacks in TEEsDavid C. Y. Chu, Aditya Balasubramanian, Dee Bao, Natacha Crooks et al.SIGMOD 2026 · 6 citations

Builds on11

  1. ZombieLoad: Cross-Privilege-Boundary Data SamplingMichael Schwarz, Moritz Lipp, Daniel Moghimi, Jo Van Bulck et al.CCS 2019 · 464 citations
  2. EnclaveDB: A Secure Database Using SGXChristian Priebe, Kapil Vaswani, Manuel CostaS&P 2018 · 329 citations
  3. ROTE: Rollback Protection for Trusted ExecutionSinisa Matetic, Mansoor Ahmed, Kari Kostiainen, Aritra Dhar et al.USENIX Security 2017 · 249 citations
  4. Hacking in Darkness: Return-oriented Programming against Secure EnclavesJae-Hyuk Lee, Jin Soo Jang, Yeongjin Jang, Nohyun Kwak et al.USENIX Security 2017 · 191 citations
  5. The Guard's Dilemma: Efficient Code-Reuse Attacks Against Intel SGXAndrea Biondo, Mauro Conti, Lucas Davi, Tommaso Frassetto et al.USENIX Security 2018 · 126 citations

Related papers

  1. Achilles: Efficient TEE-Assisted BFT Consensus via Rollback Resilient RecoveryJianyu Niu, Xiaoqing Wen, Guanlong Wu, Shengqi Liu et al.EuroSys 2025 · 4 citations
  2. vSGX: Virtualizing SGX Enclaves on AMD SEVShixuan Zhao, Mengyuan Li, Yinqian Zhang, Zhiqiang LinS&P 2022 · 32 citations
  3. RR: A Fault Model for Efficient TEE ReplicationBaltasar Dinis, Peter Druschel, Rodrigo RodriguesNDSS 2023
  4. T-SGX: Eradicating Controlled-Channel Attacks Against Enclave ProgramsMing-Wei Shih, Sangho Lee, Taesoo Kim, Marcus PeinadoNDSS 2017 · 431 citations
  5. COIN Attacks: On Insecurity of Enclave Untrusted Interfaces in SGXMustakimur Rahman Khandaker, Yueqiang Cheng, Zhi Wang, Tao WeiASPLOS 2020 · 46 citations
Dusk over the sea between two cliffs drawn in fine vertical lines