Lune

CCS2020Top-tier venue

FirmXRay: Detecting Bluetooth Link Layer Vulnerabilities From Bare-Metal Firmware

Haohuang Wen, Zhiqiang Lin, Yinqian Zhang

Abstract

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.

Ask Lune

Know this paper in minutes, not an afternoon.

Lune can read every page of it and the top-tier papers that cite it, and gives you its claims, its evidence and its limits, each one cited to the paper it comes from. No skimming, no AI slop.

19 top-tier papers have cited it since. Know what they found before your reviewers do.

Questions to start from

Lune can draw on

the full paper · the top-tier papers that cite it · related work

Get the answer

Free to start. No credit card required.

Lineage

  • MultiFuzz: A Multi-Stream Fuzzer For Testing Monolithic Firmware cites Towards Automated Dynamic Analysis for Linux-based Embedded Firmware
  • MultiFuzz: A Multi-Stream Fuzzer For Testing Monolithic Firmware cites HEAPSTER: Analyzing the Security of Dynamic Allocators for Monolithic Firmware Images
  • MultiFuzz: A Multi-Stream Fuzzer For Testing Monolithic Firmware cites FIRM-AFL: High-Throughput Greybox Fuzzing of IoT Firmware via Augmented Process Emulation
  • Karonte: Detecting Insecure Multi-binary Interactions in Embedded Firmware cites Towards Automated Dynamic Analysis for Linux-based Embedded Firmware
  • Karonte: Detecting Insecure Multi-binary Interactions in Embedded Firmware cites FIRM-AFL: High-Throughput Greybox Fuzzing of IoT Firmware via Augmented Process Emulation
  • SFuzz: Slice-based Fuzzing for Real-Time Operating Systems cites Karonte: Detecting Insecure Multi-binary Interactions in Embedded Firmware
  • SFuzz: Slice-based Fuzzing for Real-Time Operating Systems cites Towards Automated Dynamic Analysis for Linux-based Embedded Firmware
  • SFuzz: Slice-based Fuzzing for Real-Time Operating Systems cites 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 cites Towards Automated Dynamic Analysis for Linux-based Embedded Firmware
  • SoK: The Long Journey of Exploiting and Defending the Legacy of King Harald Bluetooth cites Towards Automated Dynamic Analysis for Linux-based Embedded Firmware
  • SoK: The Long Journey of Exploiting and Defending the Legacy of King Harald Bluetooth cites LIGHTBLUE: Automatic Profile-Aware Debloating of Bluetooth Stacks
  • SoK: The Long Journey of Exploiting and Defending the Legacy of King Harald Bluetooth cites FIRM-AFL: High-Throughput Greybox Fuzzing of IoT Firmware via Augmented Process Emulation
Builds onCited byLeft to right by year; the more cited, the higher.

Cited by top-tier papers19

  1. LIGHTBLUE: Automatic Profile-Aware Debloating of Bluetooth StacksJianliang Wu, Ruoyu Wu, Daniele Antonioli, Mathias Payer et al.USENIX Security 2021 · 38 citations
  2. HEAPSTER: Analyzing the Security of Dynamic Allocators for Monolithic Firmware ImagesFabio Gritti, Fabio Pagani, Ilya Grishchenko, Lukas Dresel et al.S&P 2022 · 31 citations
  3. SoK: The Long Journey of Exploiting and Defending the Legacy of King Harald BluetoothJianliang Wu, Ruoyu Wu, Dongyan Xu, Dave Jing Tian et al.S&P 2024 · 22 citations
  4. SFuzz: Slice-based Fuzzing for Real-Time Operating SystemsLibo Chen, Quanpu Cai, Zhenbang Ma, Yanhao Wang et al.CCS 2022 · 16 citations
  5. MultiFuzz: A Multi-Stream Fuzzer For Testing Monolithic FirmwareMichael Chesser, Surya Nepal, Damith C. RanasingheUSENIX Security 2024 · 13 citations

Builds on14

  1. Towards Automated Dynamic Analysis for Linux-based Embedded FirmwareDaming D. Chen, Maverick Woo, David Brumley, Manuel EgeleNDSS 2016 · 428 citations
  2. SoK: Security Evaluation of Home-Based IoT DeploymentsOmar Alrawi, Chaz Lever, Manos Antonakakis, Fabian MonroseS&P 2019 · 411 citations
  3. FIRM-AFL: High-Throughput Greybox Fuzzing of IoT Firmware via Augmented Process EmulationYaowen Zheng, Ali Davanian, Heng Yin, Chengyu Song et al.USENIX Security 2019 · 279 citations
  4. Karonte: Detecting Insecure Multi-binary Interactions in Embedded FirmwareNilo Redini, Aravind Machiry, Ruoyu Wang, Chad Spensky et al.S&P 2020 · 128 citations
  5. Why Does Your Data Leak? Uncovering the Data Leakage in Cloud from Mobile AppsChaoshun Zuo, Zhiqiang Lin, Yinqian ZhangS&P 2019 · 123 citations

Related papers

  1. Automatic Fingerprinting of Vulnerable BLE IoT Devices with Static UUIDs from Mobile AppsChaoshun Zuo, Haohuang Wen, Zhiqiang Lin, Yinqian ZhangCCS 2019 · 77 citations
  2. FirmCred: Detecting Authentication Bypass Vulnerabilities in Firmware from Credential Initialization PerspectiveZiqi Wei, Haoyu Xiao, Yuan Zhang, Chi Chen et al.CCS 2026
  3. Finding Traceability Attacks in the Bluetooth Low Energy Specification and Its ImplementationsJianliang Wu, Patrick Traynor, Dongyan Xu, Dave (Jing) Tian et al.USENIX Security 2024 · 6 citations
  4. FirmProj: Detecting Firmware Leakage in IoT Update Processes via Companion App AnalysisWenzhi Li, Jialong Guo, Jiongyi Chen, Fan Li et al.ASE 2025
  5. BLESS: A BLE Application Security Scanning FrameworkYue Zhang, Jian Weng, Zhen Ling, Bryan Pearson et al.INFOCOM 2020 · 15 citations
Dusk over the sea between two cliffs drawn in fine vertical lines