LBM: A Security Framework for Peripherals within the Linux Kernel
Dave Jing Tian, Grant Hernandez, Joseph I. Choi, Vanessa Frost, Peter C. Johnson, Kevin R. B. Butler
摘要
Modern computer peripherals are diverse in their capabilities and functionality, ranging from keyboards and printers to smartphones and external GPUs. In recent years, peripherals increasingly connect over a small number of standardized communication protocols, including USB, Bluetooth, and NFC. The host operating system is responsible for managing these devices; however, malicious peripherals can request additional functionality from the OS resulting in system compromise, or can craft data packets to exploit vulnerabilities within OS software stacks. Defenses against malicious peripherals to date only partially cover the peripheral attack surface and are limited to specific protocols (e.g., USB). In this paper, we propose Linux (e)BPF Modules (LBM), a general security framework that provides a unified API for enforcing protection against malicious peripherals within the Linux kernel. LBM leverages the eBPF packet filtering mechanism for performance and extensibility and we provide a high-level language to facilitate the development of powerful filtering functionality. We demonstrate how LBM can provide host protection against malicious USB, Bluetooth, and NFC devices; we also instantiate and unify existing defenses under the LBM framework. Our evaluation shows that the overhead introduced by LBM is within 1 μs per packet in most cases, application and system overhead is negligible, and LBM outperforms other state-of-the-art solutions. To our knowledge, LBM is the first security framework designed to provide comprehensive protection against malicious peripherals within the Linux kernel.
问 Lune
几分钟读透这篇 Paper,不用再花一下午。
Lune 能读完全文,也能读引用它的顶会 Paper,讲清它的结论、证据和局限,每一点都注明出自哪篇 Paper。不用硬啃,也不靠猜。
已有 16 篇顶会 Paper 引用了它。别等审稿人问起,先弄清它们发现了什么。
脉络
- Verified programs can party: optimizing kernel extensions via post-verification merging 引用了 Spectre Attacks: Exploiting Speculative Execution
- Defending against Malicious Peripherals with Cinch 引用了 Making USB Great Again with USBFILTER
- ATtention Spanned: Comprehensive Vulnerability Analysis of AT Commands Within the Android Ecosystem 引用了 FirmUSB: Vetting USB Device Firmware using Domain Informed Symbolic Execution
- ATtention Spanned: Comprehensive Vulnerability Analysis of AT Commands Within the Android Ecosystem 引用了 Making USB Great Again with USBFILTER
- FirmUSB: Vetting USB Device Firmware using Domain Informed Symbolic Execution 引用了 Making USB Great Again with USBFILTER
- LIGHTBLUE: Automatic Profile-Aware Debloating of Bluetooth Stacks 引用了 FirmUSB: Vetting USB Device Firmware using Domain Informed Symbolic Execution
- HARDLOG: Practical Tamper-Proof System Auditing Using a Novel Audit Device 引用了 Defending against Malicious Peripherals with Cinch
- HARDLOG: Practical Tamper-Proof System Auditing Using a Novel Audit Device 引用了 Making USB Great Again with USBFILTER
- M2MON: Building an MMIO-based Security Reference Monitor for Unmanned Vehicles 引用了 Making USB Great Again with USBFILTER
- SoK: The Long Journey of Exploiting and Defending the Legacy of King Harald Bluetooth 引用了 LIGHTBLUE: Automatic Profile-Aware Debloating of Bluetooth Stacks
引用它的顶会 Paper16
- HARDLOG: Practical Tamper-Proof System Auditing Using a Novel Audit DeviceAdil Ahmad, Sangho Lee, Marcus PeinadoS&P 2022 · 46 次引用
- LIGHTBLUE: Automatic Profile-Aware Debloating of Bluetooth StacksJianliang Wu, Ruoyu Wu, Daniele Antonioli, Mathias Payer 等USENIX Security 2021 · 38 次引用
- M2MON: Building an MMIO-based Security Reference Monitor for Unmanned VehiclesArslan Khan, Hyungsub Kim, Byoungyoung Lee, Dongyan Xu 等USENIX Security 2021 · 35 次引用
- SoK: The Long Journey of Exploiting and Defending the Legacy of King Harald BluetoothJianliang Wu, Ruoyu Wu, Dongyan Xu, Dave Jing Tian 等S&P 2024 · 22 次引用
- Verified programs can party: optimizing kernel extensions via post-verification mergingHsuan-Chi Kuo, Kai-Hsun Chen, Yicheng Lu, Dan Williams 等EuroSys 2022 · 17 次引用
它引用的 Paper6
- Spectre Attacks: Exploiting Speculative ExecutionPaul Kocher, Jann Horn, Anders Fogh, Daniel Genkin 等S&P 2019 · 2,435 次引用
- FirmUSB: Vetting USB Device Firmware using Domain Informed Symbolic ExecutionGrant Hernandez, Farhaan Fowze, Dave (Jing) Tian, Tuba Yavuz 等CCS 2017 · 98 次引用
- Making USB Great Again with USBFILTERDave (Jing) Tian, Nolen Scaife, Adam Bates, Kevin R. B. Butler 等USENIX Security 2016 · 56 次引用
- ATtention Spanned: Comprehensive Vulnerability Analysis of AT Commands Within the Android EcosystemDave (Jing) Tian, Grant Hernandez, Joseph I. Choi, Vanessa Frost 等USENIX Security 2018 · 49 次引用
- Defending against Malicious Peripherals with CinchSebastian Angel, Riad S. Wahby, Max Howald, Joshua B. Leners 等USENIX Security 2016 · 44 次引用
相关 Paper
- BlueSWAT: A Lightweight State-Aware Security Framework for Bluetooth Low EnergyXijia Che, Yi He, Xuewei Feng, Kun Sun 等CCS 2024 · 10 次引用
- PeriScope: An Effective Probing and Fuzzing Framework for the Hardware-OS BoundaryDokyung Song, Felicitas Hetzelt, Dipanjan Das, Chad Spensky 等NDSS 2019 · 114 次引用
- SoK: "Plug & Pray" Today - Understanding USB Insecurity in Versions 1 Through CJing (Dave) Tian, Nolen Scaife, Deepak Kumar, Michael D. Bailey 等S&P 2018 · 52 次引用
- USBFuzz: A Framework for Fuzzing USB Drivers by Device EmulationHui Peng, Mathias PayerUSENIX Security 2020
- FuzzUSB: Hybrid Stateful Fuzzing of USB Gadget StacksKyungtae Kim, Taegyu Kim, Ertza Warraich, Byoungyoung Lee 等S&P 2022 · 32 次引用
