Skip to main content
QUICK REVIEW

[Paper Review] On the (In)security of Bluetooth Low Energy One-Way Secure Connections Only Mode

Yue Zhang, Jian Weng|arXiv (Cornell University)|Aug 27, 2019
Bluetooth and Wireless Communication TechnologiesComputer Science31 references9 citations
TL;DR

This paper reveals critical design flaws in Android's BLE programming framework that allow attackers to downgrade secure pairing to insecure 'Just Works' mode, bypassing the security guarantees of Bluetooth Low Energy's Secure Connections Only mode. The authors identify four flaws enabling silent MITM and tracking attacks, validate them on 18 commercial BLE products and 3,501 Android apps, and propose a patch to enforce secure pairing at the OS level.

ABSTRACT

To defeat security threats such as man-in-the-middle (MITM) attacks, Bluetooth Low Energy (BLE) 4.2 and 5.x introduce the Secure Connections Only mode, under which a BLE device accepts only secure paring protocols including Passkey Entry and Numeric Comparison from an initiator, e.g., an Android mobile. However, the BLE specification does not explicitly require the Secure Connection Only mode of the initiator. Taking the Android's BLE programming framework for example, we found that it cannot enforce secure pairing, invalidating the security protection provided by the Secure Connection Only mode. The same problem applies to Apple iOS too. Specifically, we examine the life cycle of a BLE pairing process in Android and identify four severe design flaws. These design flaws can be exploited by attackers to perform downgrading attacks, forcing the BLE pairing protocols to run in the insecure mode without the users' awareness. To validate our findings, we selected and tested 18 popular BLE commercial products and our experimental results proved that downgrading attacks and MITM attacks were all possible to these products. All 3501 BLE apps from Androzoo are also subject to these attacks. For defense, we have designed and implemented a prototype of the Secure Connection Only mode on Android 8 through the Android Open Source Project (AOSP). We have reported the identified BLE pairing vulnerabilities to Bluetooth Special Interest Group (SIG), Google, Apple, Texas Instruments (TI) and all of them are actively addressing this issue. Google rated the reported security flaw a High Severity.

Motivation & Objective

  • To investigate the security of Bluetooth Low Energy's Secure Connections Only mode in real-world implementations, particularly in mobile operating systems.
  • To identify design flaws in Android's BLE programming framework that undermine the security guarantees of the Secure Connections Only mode.
  • To demonstrate how these flaws enable silent downgrade attacks to insecure pairing protocols like Just Works, leading to MITM and device tracking.
  • To validate the exploitability of these flaws across commercial BLE devices and Android apps.
  • To propose and implement a prototype solution enforcing secure pairing at the Android OS level to close the identified vulnerabilities.

Proposed method

  • Reverse-engineered the life cycle of BLE pairing in Android's BLE framework, analyzing initiation, status management, error handling, and bond management.
  • Identified four design flaws: inability to specify pairing protocols, inability to cancel insecure pairings, mishandling of pairing errors, and lack of key re-generation after insecure pairing.
  • Designed and executed downgrade attacks using spoofed BLE devices to force insecure pairing with Android devices.
  • Evaluated the attacks on 18 commercial BLE products and 3,501 Android apps from Androzoo to confirm real-world exploitability.
  • Developed and integrated a prototype patch into Android 8 via AOSP to enforce Secure Connections Only mode at the OS level.
  • Reported findings to Bluetooth SIG, Google, Apple, and Texas Instruments, all of which are actively addressing the vulnerabilities.

Experimental results

Research questions

  • RQ1Why does the Secure Connections Only mode in BLE 4.2 and 5.x fail to provide end-to-end security when implemented on Android?
  • RQ2What specific design flaws in Android's BLE framework allow attackers to silently downgrade secure pairing to insecure 'Just Works' mode?
  • RQ3To what extent are real-world BLE devices and Android apps vulnerable to these downgrade attacks?
  • RQ4Can a patch at the Android OS level effectively enforce secure pairing and prevent such attacks?
  • RQ5How do the identified flaws impact the security of BLE devices relying on whitelist-based access control?

Key findings

  • Four critical design flaws in Android's BLE framework allow attackers to force insecure pairing without user awareness or app control.
  • All 18 tested commercial BLE products were vulnerable to downgrade attacks, enabling MITM and data injection.
  • The 3,501 Android apps analyzed from Androzoo are all susceptible to the same downgrade and MITM attacks.
  • The vulnerability exists not only in Android but also in Apple iOS, indicating a protocol-level issue across BLE implementations.
  • Google rated the vulnerability as High Severity, and all major vendors (Google, Apple, TI, Bluetooth SIG) are actively addressing the issue.
  • The proposed AOSP patch successfully enforces secure pairing at the OS level, closing the identified attack vectors.

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.