Lune

USENIX Security2023顶会

Formal Analysis and Patching of BLE-SC Pairing

Min Shi, Jing Chen, Kun He, Haoran Zhao, Meng Jia, Ruiying Du

出版方
2023年份
5顶会引用

摘要

Bluetooth Low Energy (BLE) is the mainstream Bluetooth standard and BLE Secure Connections (BLC-SC) pairing is a protocol that authenticates two Bluetooth devices and derives a shared secret key between them. Although BLE-SC pairing employs well-studied cryptographic primitives to guarantee its security, a recent study revealed a logic flaw in the protocol.

In this paper, we develop the first comprehensive formal model of the BLE-SC pairing protocol. Our model is compliant with the latest Bluetooth specification version 5.3 and covers all association models in the specification to discover attacks caused by the interplay between different association models. We also partly loosen the perfect cryptography assumption in traditional symbolic analysis approaches by designing a low-entropy key oracle to detect attacks caused by the poorly derived keys. Our analysis confirms two existing attacks and discloses a new attack. We propose a countermeasure to fix the flaws found in the BLE-SC pairing protocol and discuss the backward compatibility. Moreover, we extend our model to verify the countermeasure, and the results demonstrate its effectiveness in our extended model.

Keyboard Input z KeyboardDisplay KeyboardOnly Yes-No Input

DisplayOnly NoInputNoOutput

x: Device has the ability to display a 6-digit number. y: Device does not have the ability to display a 6-digit number. z: Device has a numeric keyboard that can input the digits '0' to '9' and a confirmation. : Device has the ability to indicate "yes" and "no". |: Device does not have the ability to indicate "yes" or "no".

This phase aims to determine the parameters used in the subsequent phases. It can be invoked by the initiating device sending a pairing request or the responding device sending a security request. The following four fields are important to our model. They are sent by the initiating/responding device in the pairing request/response.

• IOCap: This field indicates the specification-defined IO capability used in the LTK generation phase. The Bluetooth specification defines five IO capabilities of the device, as shown in Table 1.

• OOB: This field indicates whether the device has received authentication data using Out-Of-Band (OOB) capabilities, i.e., IO capabilities that are not defined in the specification.

• MITM: This field indicates whether the device requires preventing Man-In-The-Middle (MITM) attacks.

问问这篇 Paper

智能体会读完全文。

Lune 把这篇 Paper 索引到了每一个公式,引用它的顶会 Paper 也一样。你提问,回答直接引用原文。

可以从这些问题问起

智能体调用

Luneget_paper_fulltext

在 Lune 里问

免费开始,无需绑卡

引用它的顶会 Paper5

问问它们各自怎么用它

它引用的顶会 Paper15

相关 Paper

黄昏的海面,两侧是细线勾勒的悬崖