Lune

EuroSys2025Top-tier venue

Rakis: Secure Fast I/O Primitives Across Trust Boundaries on Intel SGX

Mansour Alharthi, Fan Sang, Dmitrii Kuvaiskii, Mona Vij, Taesoo Kim

Abstract

The use of Intel ® Software Guard Extensions (SGX) offers robust security measures for shielding applications in untrusted environments. However, the performance overhead experienced by IO-intensive applications within SGX limits widespread adoption. Prior approaches have proposed the use of userspace kernel-bypass libraries such as Data Plane Development Kit (DPDK) inside SGX enclaves to enable direct access to IO devices. However, these solutions often come at the cost of increasing the Trusted Computing Base (TCB) size, expanding the attack surface, and complicating deployment. In this paper, we introduce RAKIS, a comprehensive system that securely enables SGX enclave programs to leverage fast IO Linux kernel primitives without modifying user applications. RAKIS prioritizes the security of its TCB components by employing rigorous software testing and verification methods, embodying a security-by-design approach. Importantly, RAKIS achieves performance advantages without sacrificing TCB size or introducing deployment intricacies and demonstrates significant improvements in benchmark tests with a 4.6x increase in UDP network throughput compared to state-of-the-art SGX enclave LibOS (Gramine-SGX). To demonstrate the practical applicability of RAKIS, we evaluate its performance on four real-world programs showcasing an average performance improvement of 2.8x compared to Gramine-SGX across all workloads.

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.

1 top-tier paper has 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

  • Characterizing Trust Boundary Vulnerabilities in TEE Container Systems: An Empirical Study cites Panoply: Low-TCB Linux Applications With SGX Enclaves
  • Characterizing Trust Boundary Vulnerabilities in TEE Container Systems: An Empirical Study cites Occlum: Secure and Efficient Multitasking Inside a Single Enclave of Intel SGX
  • rkt-io: a direct I/O stack for shielded execution cites Achieving Keyless CDNs with Conclaves
  • rkt-io: a direct I/O stack for shielded execution cites Panoply: Low-TCB Linux Applications With SGX Enclaves
  • Occlum: Secure and Efficient Multitasking Inside a Single Enclave of Intel SGX cites Panoply: Low-TCB Linux Applications With SGX Enclaves
Builds onCited byLeft to right by year; the more cited, the higher.

Cited by top-tier papers1

  1. Characterizing Trust Boundary Vulnerabilities in TEE Container Systems: An Empirical StudyWeijie Liu, Hongbo Chen, Shuo Huai, Zhen Xu et al.FSE 2026

Builds on5

  1. Panoply: Low-TCB Linux Applications With SGX EnclavesShweta Shinde, Dat Le Tien, Shruti Tople, Prateek SaxenaNDSS 2017 · 274 citations
  2. WireGuard: Next Generation Kernel Network TunnelJason A. DonenfeldNDSS 2017 · 259 citations
  3. Occlum: Secure and Efficient Multitasking Inside a Single Enclave of Intel SGXYouren Shen, Hongliang Tian, Yu Chen, Kang Chen et al.ASPLOS 2020 · 144 citations
  4. rkt-io: a direct I/O stack for shielded executionJörg Thalheim, Harshavardhan Unnibhavi, Christian Priebe, Pramod Bhatotia et al.EuroSys 2021 · 24 citations
  5. Achieving Keyless CDNs with ConclavesStephen Herwig, Christina Garman, Dave LevinUSENIX Security 2020

Related papers

  1. Towards Memory Safe Enclave Programming with Rust-SGXHuibo Wang, Pei Wang, Yu Ding, Mingshen Sun et al.CCS 2019 · 86 citations
  2. Reducing the TCB of SGX-Oriented LibOSes at RuntimeDonghui Yu, Dahan Pan, Fengwei Zhang, Haoran Fang et al.FSE 2026
  3. T-SGX: Eradicating Controlled-Channel Attacks Against Enclave ProgramsMing-Wei Shih, Sangho Lee, Taesoo Kim, Marcus PeinadoNDSS 2017 · 431 citations
  4. Klotski: Efficient Obfuscated Execution against Controlled-Channel AttacksPan Zhang, Chengyu Song, Heng Yin, Deqing Zou et al.ASPLOS 2020 · 14 citations
  5. WorksetEnclave: Towards Optimizing Cold Starts in Confidential Serverless with Workset-Based Enclave RestoreXiaolong Yan, Qihang Zhou, Zisen Wan, Feifan Qian et al.ASPLOS 2026
Dusk over the sea between two cliffs drawn in fine vertical lines