Lune

EuroSys2022顶会

Minimum viable device drivers for ARM trustzone

Liwei Guo, Felix Xiaozhu Lin

摘要

While TrustZone can isolate IO hardware, it lacks drivers for modern IO devices. Rather than porting drivers, we propose a novel approach to deriving minimum viable drivers: developers exercise a full driver and record the driver/device interactions; the processed recordings, dubbed driverlets, are replayed in the TEE at run time to access IO devices. Driverlets address two key challenges: correctness and expressiveness, for which they build on a key construct called interaction template. The interaction template ensures faithful reproduction of recorded IO jobs (albeit on new IO data); it accepts dynamic input values; it tolerates nondeterministic device behaviors. We demonstrate driverlets on a series of sophisticated devices, making them accessible to Trust-Zone for the first time to our knowledge. Our experiments show that driverlets are secure, easy to build, and incur acceptable overhead (1.4×-2.7× compared to native drivers). Driverlets fill a critical gap in the TrustZone TEE, realizing its long-promised vision of secure IO.

问 Lune

几分钟读透这篇 Paper,不用再花一下午。

Lune 能读完全文,也能读引用它的顶会 Paper,讲清它的结论、证据和局限,每一点都注明出自哪篇 Paper。不用硬啃,也不靠猜。

已有 13 篇顶会 Paper 引用了它。别等审稿人问起,先弄清它们发现了什么。

可以从这些问题问起

Lune 可以查阅

全文 · 引用它的顶会 Paper · 相关的 Paper

获取答案

免费开始,无需绑卡

脉络

  • STI: Turbocharge NLP Inference at the Edge via Elastic Pipelining 引用了 GPUReplay: a 50-KB GPU stack for client ML
  • D2MoE: Dual Routing and Dynamic Scheduling for Efficient On-Device MoE-based LLM Serving 引用了 STI: Turbocharge NLP Inference at the Edge via Elastic Pipelining
  • GPUReplay: a 50-KB GPU stack for client ML 引用了 Enabling Refinable Cross-Host Attack Investigation with Efficient Data Flow Tagging and Tracking
  • ProvCam: A Camera Module with Self-Contained TCB for Producing Verifiable Videos 引用了 GPUReplay: a 50-KB GPU stack for client ML
它引用的引用它的从左到右按年份排列,引用越多,位置越高。

引用它的顶会 Paper13

  1. ACAI: Protecting Accelerator Execution with Arm Confidential Computing ArchitectureSupraja Sridhara, Andrin Bertschi, Benedict Schlüter, Mark Kuhne 等USENIX Security 2024 · 36 次引用
  2. STI: Turbocharge NLP Inference at the Edge via Elastic PipeliningLiwei Guo, Wonkyo Choe, Felix Xiaozhu LinASPLOS 2023 · 25 次引用
  3. D2MoE: Dual Routing and Dynamic Scheduling for Efficient On-Device MoE-based LLM ServingHaodong Wang, Qihua Zhou, Zicong Hong, Song GuoMobiCom 2025 · 8 次引用
  4. ProvCam: A Camera Module with Self-Contained TCB for Producing Verifiable VideosYuxin (Myles) Liu, Zhihao Yao, Mingyi Chen, Ardalan Amiri Sani 等MobiCom 2024 · 7 次引用
  5. UIEE: Secure and Efficient User-space Isolated Execution Environment for Embedded TEE SystemsHuaiyu Yan, Zhen Ling, Xuandong Chen, Xinhui Shao 等NDSS 2026 · 4 次引用

它引用的 Paper4

  1. Charm: Facilitating Dynamic Analysis of Device Drivers of Mobile SystemsSeyed Mohammadjavad Seyed Talebi, Hamid Tavakoli, Hang Zhang, Zheng Zhang 等USENIX Security 2018 · 81 次引用
  2. Enabling Refinable Cross-Host Attack Investigation with Efficient Data Flow Tagging and TrackingYang Ji, Sangho Lee, Mattia Fazzini, Joey Allen 等USENIX Security 2018 · 70 次引用
  3. BinRec: dynamic binary lifting and recompilationAnil Altinay, Joseph Nash, Taddeus Kroes, Prabhu Rajasekaran 等EuroSys 2020 · 51 次引用
  4. GPUReplay: a 50-KB GPU stack for client MLHeejin Park, Felix Xiaozhu LinASPLOS 2022 · 10 次引用

相关 Paper

  1. μUSB: Practical and Safe USB Driver Reuse for Arm TrustZoneXuankai Zhang, Sijin Li, Pei Meng, Meng Wang 等OSDI 2026
  2. MyTEE: Own the Trusted Execution Environment on Embedded DevicesSeung-Kyun Han, Jinsoo JangNDSS 2023
  3. ReZone: Disarming TrustZone with TEE Privilege ReductionDavid Cerdeira, José Martins, Nuno Santos, Sandro PintoUSENIX Security 2022
  4. PARTEMU: Enabling Dynamic Analysis of Real-World TrustZone Software Using EmulationLee Harrison, Hayawardh Vijayakumar, Rohan Padhye, Koushik Sen 等USENIX Security 2020
  5. LDR: Secure and Efficient Linux Driver Runtime for Embedded TEE SystemsHuaiyu Yan, Zhen Ling, Haobo Li, Lan Luo 等NDSS 2024
黄昏的海面,两侧是细线勾勒的悬崖