Lune

S&P2026顶会

TÄMU: Emulating Trusted Applications at the (GlobalPlatform)-API Layer

Philipp Mao, Li Shi, Marcel Busch, Mathias Payer

摘要

Mobile devices rely on Trusted Execution Environments (TEEs) to execute security-critical code and protect sensitive assets. This security-critical code is modularized in components known as Trusted Applications (TAs). Vulnerabilities in TAs can compromise the TEE and, thus, the entire system. However, the closed-source nature and fragmentation of mobile TEEs severely hinder dynamic analysis of TAs, limiting testing efforts to mostly static analyses.

This paper presents T ÄMU, a rehosting platform enabling dynamic analysis of TAs, specifically fuzzing and debugging, by interposing their execution at the API layer. To scale to many TAs across different TEEs, T ÄMU leverages the standardization of TEE APIs, driven by the GlobalPlatform specifications. For the remaining TEE-specific APIs not shared across different TEEs, T ÄMU introduces the notion of greedy highlevel emulation, a technique that allows prioritizing manual rehosting efforts based on the potential coverage gain during fuzzing. We implement T ÄMU and use it to emulate 67 TAs across four TEEs. Our fuzzing campaigns yielded 17 zero-day vulnerabilities across 11 TAs. These results indicate a deficit of dynamic analysis capabilities across the TEE ecosystem, where not even vendors with source code unlocked these capabilities for themselves. T ÄMU promises to close this gap by bringing effective and practical dynamic analysis to the mobile TEE domain.

问 Lune

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

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

可以从这些问题问起

Lune 可以查阅

全文 · 相关的 Paper

获取答案

免费开始,无需绑卡

脉络

  • Trust Dies in Darkness: Shedding Light on Samsung's TrustZone Keymaster Design 引用了 PARTEMU: Enabling Dynamic Analysis of Real-World TrustZone Software Using Emulation
  • GlobalConfusion: TrustZone Trusted Application 0-Days by Design 引用了 PARTEMU: Enabling Dynamic Analysis of Real-World TrustZone Software Using Emulation
  • GlobalConfusion: TrustZone Trusted Application 0-Days by Design 引用了 Horizontal Privilege Escalation in Trusted Applications
  • GlobalConfusion: TrustZone Trusted Application 0-Days by Design 引用了 Trust Dies in Darkness: Shedding Light on Samsung's TrustZone Keymaster Design
  • GlobalConfusion: TrustZone Trusted Application 0-Days by Design 引用了 Spill the TeA: An Empirical Study of Trusted Application Rollback Prevention on Android Smartphones
  • Spill the TeA: An Empirical Study of Trusted Application Rollback Prevention on Android Smartphones 引用了 PARTEMU: Enabling Dynamic Analysis of Real-World TrustZone Software Using Emulation
  • Spill the TeA: An Empirical Study of Trusted Application Rollback Prevention on Android Smartphones 引用了 Trust Dies in Darkness: Shedding Light on Samsung's TrustZone Keymaster Design
它引用的引用它的从左到右按年份排列,引用越多,位置越高。

它引用的 Paper7

  1. Spill the TeA: An Empirical Study of Trusted Application Rollback Prevention on Android SmartphonesMarcel Busch, Philipp Mao, Mathias PayerUSENIX Security 2024 · 8 次引用
  2. GlobalConfusion: TrustZone Trusted Application 0-Days by DesignMarcel Busch, Philipp Mao, Mathias PayerUSENIX Security 2024 · 4 次引用
  3. PARTEMU: Enabling Dynamic Analysis of Real-World TrustZone Software Using EmulationLee Harrison, Hayawardh Vijayakumar, Rohan Padhye, Koushik Sen 等USENIX Security 2020
  4. Horizontal Privilege Escalation in Trusted ApplicationsDarius Suciu, Stephen E. McLaughlin, Laurent Simon, Radu SionUSENIX Security 2020
  5. Trust Dies in Darkness: Shedding Light on Samsung's TrustZone Keymaster DesignAlon Shakevsky, Eyal Ronen, Avishai WoolUSENIX Security 2022

相关 Paper

  1. TEEzz: Fuzzing Trusted Applications on COTS Android DevicesMarcel Busch, Aravind Machiry, Chad Spensky, Giovanni Vigna 等S&P 2023
  2. SoK: Understanding the Prevailing Security Vulnerabilities in TrustZone-assisted TEE SystemsDavid Cerdeira, Nuno Santos, Pedro Fonseca, Sandro PintoS&P 2020 · 231 次引用
  3. EL3XIR: Fuzzing COTS Secure MonitorsChristian Lindenmeier, Mathias Payer, Marcel BuschUSENIX Security 2024 · 10 次引用
  4. BOOMERANG: Exploiting the Semantic Gap in Trusted Execution EnvironmentsAravind Machiry, Eric Gustafson, Chad Spensky, Christopher Salls 等NDSS 2017 · 119 次引用
  5. Greenhouse: Single-Service Rehosting of Linux-Based Firmware Binaries in User-Space EmulationHui Jun Tay, Kyle Zeng, Jayakrishna Menon Vadayath, Arvind S. Raj 等USENIX Security 2023
黄昏的海面,两侧是细线勾勒的悬崖