FirmXRay: Detecting Bluetooth Link Layer Vulnerabilities From Bare-Metal Firmware
Haohuang Wen, Zhiqiang Lin, Yinqian Zhang
摘要
Today, Bluetooth 4.0, also known as Bluetooth Low Energy (BLE), has been widely used in many IoT devices (e.g., smart locks, smart sensors, and wearables). However, BLE devices could contain a number of vulnerabilities at the BLE link layer during broadcasting, pairing, and message transmission. To detect these vulnerabilities directly from the bare-metal firmware, we present FirmXRay, the first static binary analysis tool with a set of enabling techniques including a novel base address identification algorithm for robust firmware disassembling, precise data structure recognition, and configuration value resolution. As a proof-of-concept, we focus on the BLE firmware from two leading SoC vendors (i.e., Nordic and Texas Instruments), and implement a prototype of FirmXRay atop Ghidra. We have evaluated FirmXRay with 793 unique firmware (corresponding to 538 unique devices) collected using a mobile app based approach, and our experiment results show that 98.1% of the devices have configured random static MAC addresses, 71.5% Just Works pairing, and 98.5% insecure key exchanges. With these vulnerabilities, we demonstrate identity tracking, spoofing, and eavesdropping attacks on real-world BLE devices.
问 Lune
几分钟读透这篇 Paper,不用再花一下午。
Lune 能读完全文,也能读引用它的顶会 Paper,讲清它的结论、证据和局限,每一点都注明出自哪篇 Paper。不用硬啃,也不靠猜。
已有 19 篇顶会 Paper 引用了它。别等审稿人问起,先弄清它们发现了什么。
脉络
- MultiFuzz: A Multi-Stream Fuzzer For Testing Monolithic Firmware 引用了 Towards Automated Dynamic Analysis for Linux-based Embedded Firmware
- MultiFuzz: A Multi-Stream Fuzzer For Testing Monolithic Firmware 引用了 HEAPSTER: Analyzing the Security of Dynamic Allocators for Monolithic Firmware Images
- MultiFuzz: A Multi-Stream Fuzzer For Testing Monolithic Firmware 引用了 FIRM-AFL: High-Throughput Greybox Fuzzing of IoT Firmware via Augmented Process Emulation
- Karonte: Detecting Insecure Multi-binary Interactions in Embedded Firmware 引用了 Towards Automated Dynamic Analysis for Linux-based Embedded Firmware
- Karonte: Detecting Insecure Multi-binary Interactions in Embedded Firmware 引用了 FIRM-AFL: High-Throughput Greybox Fuzzing of IoT Firmware via Augmented Process Emulation
- SFuzz: Slice-based Fuzzing for Real-Time Operating Systems 引用了 Karonte: Detecting Insecure Multi-binary Interactions in Embedded Firmware
- SFuzz: Slice-based Fuzzing for Real-Time Operating Systems 引用了 Towards Automated Dynamic Analysis for Linux-based Embedded Firmware
- SFuzz: Slice-based Fuzzing for Real-Time Operating Systems 引用了 FIRM-AFL: High-Throughput Greybox Fuzzing of IoT Firmware via Augmented Process Emulation
- FIRM-AFL: High-Throughput Greybox Fuzzing of IoT Firmware via Augmented Process Emulation 引用了 Towards Automated Dynamic Analysis for Linux-based Embedded Firmware
- SoK: The Long Journey of Exploiting and Defending the Legacy of King Harald Bluetooth 引用了 Towards Automated Dynamic Analysis for Linux-based Embedded Firmware
- SoK: The Long Journey of Exploiting and Defending the Legacy of King Harald Bluetooth 引用了 LIGHTBLUE: Automatic Profile-Aware Debloating of Bluetooth Stacks
- SoK: The Long Journey of Exploiting and Defending the Legacy of King Harald Bluetooth 引用了 FIRM-AFL: High-Throughput Greybox Fuzzing of IoT Firmware via Augmented Process Emulation
引用它的顶会 Paper19
- LIGHTBLUE: Automatic Profile-Aware Debloating of Bluetooth StacksJianliang Wu, Ruoyu Wu, Daniele Antonioli, Mathias Payer 等USENIX Security 2021 · 38 次引用
- HEAPSTER: Analyzing the Security of Dynamic Allocators for Monolithic Firmware ImagesFabio Gritti, Fabio Pagani, Ilya Grishchenko, Lukas Dresel 等S&P 2022 · 31 次引用
- 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 次引用
- SFuzz: Slice-based Fuzzing for Real-Time Operating SystemsLibo Chen, Quanpu Cai, Zhenbang Ma, Yanhao Wang 等CCS 2022 · 16 次引用
- MultiFuzz: A Multi-Stream Fuzzer For Testing Monolithic FirmwareMichael Chesser, Surya Nepal, Damith C. RanasingheUSENIX Security 2024 · 13 次引用
它引用的 Paper14
- Towards Automated Dynamic Analysis for Linux-based Embedded FirmwareDaming D. Chen, Maverick Woo, David Brumley, Manuel EgeleNDSS 2016 · 428 次引用
- SoK: Security Evaluation of Home-Based IoT DeploymentsOmar Alrawi, Chaz Lever, Manos Antonakakis, Fabian MonroseS&P 2019 · 411 次引用
- FIRM-AFL: High-Throughput Greybox Fuzzing of IoT Firmware via Augmented Process EmulationYaowen Zheng, Ali Davanian, Heng Yin, Chengyu Song 等USENIX Security 2019 · 279 次引用
- Karonte: Detecting Insecure Multi-binary Interactions in Embedded FirmwareNilo Redini, Aravind Machiry, Ruoyu Wang, Chad Spensky 等S&P 2020 · 128 次引用
- Why Does Your Data Leak? Uncovering the Data Leakage in Cloud from Mobile AppsChaoshun Zuo, Zhiqiang Lin, Yinqian ZhangS&P 2019 · 123 次引用
相关 Paper
- Automatic Fingerprinting of Vulnerable BLE IoT Devices with Static UUIDs from Mobile AppsChaoshun Zuo, Haohuang Wen, Zhiqiang Lin, Yinqian ZhangCCS 2019 · 77 次引用
- FirmCred: Detecting Authentication Bypass Vulnerabilities in Firmware from Credential Initialization PerspectiveZiqi Wei, Haoyu Xiao, Yuan Zhang, Chi Chen 等CCS 2026
- Finding Traceability Attacks in the Bluetooth Low Energy Specification and Its ImplementationsJianliang Wu, Patrick Traynor, Dongyan Xu, Dave (Jing) Tian 等USENIX Security 2024 · 6 次引用
- FirmProj: Detecting Firmware Leakage in IoT Update Processes via Companion App AnalysisWenzhi Li, Jialong Guo, Jiongyi Chen, Fan Li 等ASE 2025
- BLESS: A BLE Application Security Scanning FrameworkYue Zhang, Jian Weng, Zhen Ling, Bryan Pearson 等INFOCOM 2020 · 15 次引用
