Using Protocol State Fuzzing to Test Bluetooth Low Energy Implementations

Protocol state fuzzing is a black-box testing technique that can be used to learn state machines describing the behavior of a system, such as a protocol implementation. In previous work, this has been successfully done for protocols like SSH, DTLS or EDHOC to find bugs where the implementation's behavior deviates from the specification. This thesis demonstrates that protocol state fuzzing can also be applied to wireless network protocols by learning the models of multiple Bluetooth Low Energy network stacks. Two different test setups for open-source and closed-source stacks are being implemented and compared. With one of them, tests are run entirely in software, where the wireless connection is being simulated, while the other runs tests on real hardware, where packets are sent over the air. The learned models are compared and deviations from the specification are identified. One of them is a bug with possible security consequences that was reported and confirmed by the developers. Non-deterministic behavior is discussed as the main challenge when testing hardware targets.

Publication Details

Journal
KTH Publication Database DiVA (KTH Royal Institute of Technology)
Published
2025-01-01
Primary Topic
Geochemistry and Geologic Mapping
Type
article
Field-Weighted Citation Impact
0.00
Controls
|||
ALL TIME
JAN
FEB
MAR
APR
MAY
JUN
JUL
AUG
SEP
OCT
article

Using Protocol State Fuzzing to Test Bluetooth Low Energy Implementations

KTH Publication Database DiVA (KTH Royal Institute of Technology)
Geochemistry and Geologic Mapping
article

Using Protocol State Fuzzing to Test Bluetooth Low Energy Implementations

article en

Abstract

Protocol state fuzzing is a black-box testing technique that can be used to learn state machines describing the behavior of a system, such as a protocol implementation. In previous work, this has been successfully done for protocols like SSH, DTLS or EDHOC to find bugs where the implementation's behavior deviates from the specification. This thesis demonstrates that protocol state fuzzing can also be applied to wireless network protocols by learning the models of multiple Bluetooth Low Energy network stacks. Two different test setups for open-source and closed-source stacks are being implemented and compared. With one of them, tests are run entirely in software, where the wireless connection is being simulated, while the other runs tests on real hardware, where packets are sent over the air. The learned models are compared and deviations from the specification are identified. One of them is a bug with possible security consequences that was reported and confirmed by the developers. Non-deterministic behavior is discussed as the main challenge when testing hardware targets.

KTH Publication Database DiVA (KTH Royal Institute of Technology)
Affordable and clean energy
Openalex Percentile: Top 64%
Geochemistry and Geologic Mapping
AI Navigator

Ask Laika to Summarize, Analyze, and Connect papers live on the map.

Summarize Papers & Methodologies

Extract key findings, datasets, and comparative methods across publications.

Benchmark Rankings & Visual Analytics

Rank top research institutions, authors, funders, topics, and journals by Field-Weighted Citation Impact (FWCI) and paper volume with instant charts.

Connect Distant Disciplines

Bridge topological clusters on the map to find hidden collaborative intersections.