Skip to main content
QUICK REVIEW

[Paper Review] Frankenstein: Advanced Wireless Fuzzing to Exploit New Bluetooth Escalation Targets

Jan Ruge, Jiska Classen|TUbilio (Technical University of Darmstadt)|Jun 17, 2020
Bluetooth and Wireless Communication TechnologiesComputer Science15 references24 citations
TL;DR

Frankenstein is a firmware emulation-based fuzzing framework that enables high-speed, repeatable, and debuggable over-the-air vulnerability discovery in Bluetooth chips by executing proprietary firmware in a virtualized environment. It uncovers zero-click RCE vulnerabilities in Broadcom and Cypress Bluetooth stacks, including a Wi-Fi coexistence flaw and a Bluetooth 5.2 specification design issue, and reveals a chip-agnostic Android RCE (BlueFrag).

ABSTRACT

Wireless communication standards and implementations have a troubled history regarding security. Since most implementations and firmwares are closed-source, fuzzing remains one of the main methods to uncover Remote Code Execution (RCE) vulnerabilities in deployed systems. Generic over-the-air fuzzing suffers from several shortcomings, such as constrained speed, limited repeatability, and restricted ability to debug. In this paper, we present Frankenstein, a fuzzing framework based on advanced firmware emulation, which addresses these shortcomings. Frankenstein brings firmware dumps "back to life", and provides fuzzed input to the chip's virtual modem. The speed-up of our new fuzzing method is sufficient to maintain interoperability with the attached operating system, hence triggering realistic full-stack behavior. We demonstrate the potential of Frankenstein by finding three zero-click vulnerabilities in the Broadcom and Cypress Bluetooth stack, which is used in most Apple devices, many Samsung smartphones, the Raspberry Pis, and many others. Given RCE on a Bluetooth chip, attackers may escalate their privileges beyond the chip's boundary. We uncover a Wi-Fi/Bluetooth coexistence issue that crashes multiple operating system kernels and a design flaw in the Bluetooth 5.2 specification that allows link key extraction from the host. Turning off Bluetooth will not fully disable the chip, making it hard to defend against RCE attacks. Moreover, when testing our chip-based vulnerabilities on those devices, we find BlueFrag, a chip-independent Android RCE.

Motivation & Objective

  • To address the limitations of over-the-air fuzzing—such as low speed, poor repeatability, and limited debuggability—in discovering remote code execution (RCE) vulnerabilities in closed-source Bluetooth firmware.
  • To enable full-stack, realistic exploitation by emulating the firmware and injecting raw wireless frames while maintaining host OS interoperability.
  • To identify and disclose zero-click RCE vulnerabilities in widely deployed Bluetooth chips used in Apple, Samsung, and Raspberry Pi devices.
  • To expose design flaws in the Bluetooth 5.2 specification and coexistence mechanisms that allow privilege escalation beyond the Bluetooth chip boundary.
  • To demonstrate the feasibility of persistent, chip-agnostic remote exploits like BlueFrag on Android devices via firmware-level RCE.

Proposed method

  • Uses QEMU user-mode emulation to execute proprietary Bluetooth firmware images in a virtualized environment, enabling full firmware execution without reverse engineering.
  • Introduces snapshot-based recovery after frame reception to accelerate fuzzing and maintain state consistency with the host OS.
  • Injects raw wireless frames into the emulated chip’s virtual modem to trigger firmware behavior and monitor crash-inducing inputs.
  • Employs a C programming environment to interact with firmware images, enabling hypothesis testing and code path analysis.
  • Leverages emulation to analyze non-crashing but dangerous RCE vulnerabilities that are undetectable via traditional over-the-air fuzzing.
  • Combines firmware emulation with hardware coexistence analysis to exploit Wi-Fi/Bluetooth resource sharing for privilege escalation.

Experimental results

Research questions

  • RQ1Can firmware emulation enable high-speed, repeatable, and debuggable over-the-air fuzzing of closed-source Bluetooth firmware?
  • RQ2What RCE vulnerabilities exist in Bluetooth chips that are exploitable without pairing or user interaction?
  • RQ3To what extent can Bluetooth firmware vulnerabilities lead to privilege escalation beyond the chip boundary into Wi-Fi or OS kernels?
  • RQ4How do coexistence mechanisms in combo chips like Broadcom’s enable remote exploitation of the Wi-Fi subsystem?
  • RQ5Are there specification-level flaws in Bluetooth 5.2 that allow extraction of link keys or remote code execution?

Key findings

  • Frankenstein enables over 100x speedup in fuzzing compared to over-the-air methods, allowing real-time interaction with the host OS and full-stack bug detection.
  • Three zero-click RCE vulnerabilities were discovered in Broadcom and Cypress Bluetooth stacks, including one in BLE and two in classic Bluetooth, with one leading to kernel crashes on iPhone 11.
  • A Wi-Fi/Bluetooth coexistence flaw was found that allows remote kernel crashes on multiple devices, including iPhones and Samsung Galaxy S8, by exploiting shared RF resources.
  • A design flaw in the Bluetooth 5.2 specification was identified that allows link key extraction from the host, enabling long-term authentication bypass.
  • The BlueFrag RCE vulnerability was discovered in Android, demonstrating a chip-agnostic remote code execution chain that works across multiple devices without firmware-specific patches.
  • Responsible disclosure revealed severe delays: CVE-2019-11516 was known internally at Broadcom since February 2018 but not patched until September 2019 on the Samsung Galaxy S8, highlighting critical patching challenges in embedded firmware.

Read this paper

Open the full text in the Nubint reader and ask about any passage as you read.

Read this paper on Nubint

This review was generated by AI from the original paper. Please check the paper before citing it.