On the TOCTOU Problem in Remote Attestation
Ivan De Oliveira Nunes, Sashidhar Jakkamsetti, Norrathep Rattanavipanon, Gene Tsudik
摘要
Much attention has been devoted to verifying software integrity of remote embedded (IoT) devices. Many techniques, with different assumptions and security guarantees, have been proposed under the common umbrella of so-called Remote Attestation (RA). Aside from executable's integrity verification, RA serves as a foundation for many security services, such as proofs of memory erasure, system reset, software update, and verification of runtime properties. Prior RA techniques verify the remote device's binary at the time when RA functionality is executed, thus providing no information about the device's binary before current RA execution or between consecutive RA executions. This implies that presence of transient malware (in the form of modified binary) may be undetected. In other words, if transient malware infects a device (by modifying its binary), performs its nefarious tasks, and erases itself before the next attestation, its temporary presence will not be detected. This important problem, called Time-Of-Check-Time-Of-Use ( TOCTOU ), is well-known in the research literature and remains unaddressed in the context of hybrid RA. In this work, we propose Remote Attestation with TOCTOU Avoidance (RATA): a provably secure approach to address the RA TOCTOU problem. With RATA, even malware that erases itself before execution of the next RA, can not hide its ephemeral presence. RATA targets hybrid RA architectures, which are aimed at low-end embedded devices. We present two alternative techniques - RATA A and RATA B - suitable for devices with and without real-time clocks, respectively. Each is shown to be secure and accompanied by a publicly available and formally verified implementation. Our evaluation demonstrates low hardware overhead of both techniques. Compared with current hybrid RA architectures - that offer no TOCTOU protection - RATA incurs no extra runtime overhead. In fact, it substantially reduces the time complexity of RA computations: from linear to constant time.
问 Lune
几分钟读透这篇 Paper,不用再花一下午。
Lune 能读完全文,也能读引用它的顶会 Paper,讲清它的结论、证据和局限,每一点都注明出自哪篇 Paper。不用硬啃,也不靠猜。
已有 12 篇顶会 Paper 引用了它。别等审稿人问起,先弄清它们发现了什么。
脉络
- Privacy-from-Birth: Protecting Sensed Data from Malicious Sensors with VERSA 引用了 C-FLAT: Control-Flow Attestation for Embedded Systems Software
- Privacy-from-Birth: Protecting Sensed Data from Malicious Sensors with VERSA 引用了 VRASED: A Verified Hardware/Software Co-Design for Remote Attestation
- Privacy-from-Birth: Protecting Sensed Data from Malicious Sensors with VERSA 引用了 HACL: A Verified Modern Cryptographic Library
- Privacy-from-Birth: Protecting Sensed Data from Malicious Sensors with VERSA 引用了 OAT: Attesting Operation Integrity of Embedded Devices
- VRASED: A Verified Hardware/Software Co-Design for Remote Attestation 引用了 HACL: A Verified Modern Cryptographic Library
- ASAP: reconciling asynchronous real-time operations and proofs of execution in simple embedded systems 引用了 C-FLAT: Control-Flow Attestation for Embedded Systems Software
- ASAP: reconciling asynchronous real-time operations and proofs of execution in simple embedded systems 引用了 VRASED: A Verified Hardware/Software Co-Design for Remote Attestation
- ASAP: reconciling asynchronous real-time operations and proofs of execution in simple embedded systems 引用了 OAT: Attesting Operation Integrity of Embedded Devices
- OAT: Attesting Operation Integrity of Embedded Devices 引用了 C-FLAT: Control-Flow Attestation for Embedded Systems Software
- Whole-Program Control-Flow Path Attestation 引用了 C-FLAT: Control-Flow Attestation for Embedded Systems Software
- Whole-Program Control-Flow Path Attestation 引用了 VRASED: A Verified Hardware/Software Co-Design for Remote Attestation
- Whole-Program Control-Flow Path Attestation 引用了 OAT: Attesting Operation Integrity of Embedded Devices
- Mind the Gap: Studying the Insecurity of Provably Secure Embedded Trusted Execution Architectures 引用了 VRASED: A Verified Hardware/Software Co-Design for Remote Attestation
- Mind the Gap: Studying the Insecurity of Provably Secure Embedded Trusted Execution Architectures 引用了 HACL: A Verified Modern Cryptographic Library
引用它的顶会 Paper12
- Mind the Gap: Studying the Insecurity of Provably Secure Embedded Trusted Execution ArchitecturesMarton Bognar, Jo Van Bulck, Frank PiessensS&P 2022 · 21 次引用
- Privacy-from-Birth: Protecting Sensed Data from Malicious Sensors with VERSAIvan De Oliveira Nunes, Seoyeon Hwang, Sashidhar Jakkamsetti, Gene TsudikS&P 2022 · 11 次引用
- Whole-Program Control-Flow Path AttestationNikita Yadav, Vinod GanapathyCCS 2023 · 10 次引用
- ASAP: reconciling asynchronous real-time operations and proofs of execution in simple embedded systemsAdam Caulfield, Norrathep Rattanavipanon, Ivan De Oliveira NunesDAC 2022 · 7 次引用
- SAGE: Software-based Attestation for GPU ExecutionAndrei Ivanov, Benjamin Rothenberger, Arnaud Dethise, Marco Canini 等USENIX ATC 2023 · 1 次引用
它引用的 Paper6
- C-FLAT: Control-Flow Attestation for Embedded Systems SoftwareTigist Abera, N. Asokan, Lucas Davi, Jan-Erik Ekberg 等CCS 2016 · 311 次引用
- HACL*: A Verified Modern Cryptographic LibraryJean Karim Zinzindohoué, Karthikeyan Bhargavan, Jonathan Protzenko, Benjamin BeurdoucheCCS 2017 · 258 次引用
- SANA: Secure and Scalable Aggregate Network AttestationMoreno Ambrosin, Mauro Conti, Ahmad Ibrahim, Gregory Neven 等CCS 2016 · 162 次引用
- VRASED: A Verified Hardware/Software Co-Design for Remote AttestationIvan De Oliveira Nunes, Karim Eldefrawy, Norrathep Rattanavipanon, Michael Steiner 等USENIX Security 2019 · 135 次引用
- OAT: Attesting Operation Integrity of Embedded DevicesZhichuang Sun, Bo Feng, Long Lu, Somesh JhaS&P 2020 · 89 次引用
相关 Paper
- IDA: Hybrid Attestation with Support for Interrupts and TOCTOUFatemeh Arkannezhad, Justin Feng, Nader SehatbakhshNDSS 2024
- ACFA: Secure Runtime Auditing & Guaranteed Device Healing via Active Control Flow AttestationAdam Caulfield, Norrathep Rattanavipanon, Ivan De Oliveira NunesUSENIX Security 2023
- SCRAPS: Scalable Collective Remote Attestation for Pub-Sub IoT Networks with Untrusted Proxy VerifierLukas Petzi, Ala Eddine Ben Yahya, Alexandra Dmitrienko, Gene Tsudik 等USENIX Security 2022
- LightRIM: Light Runtime Integrity Measurement for Linux Kernels in Embedded ApplicationsYili Guo, Zhuoran Ma, Xiangyue Li, Jiajia Huang 等DAC 2025
- DIALED: Data Integrity Attestation for Low-end Embedded DevicesIvan De Oliveira Nunes, Sashidhar Jakkamsetti, Gene TsudikDAC 2021 · 27 次引用
