Fingerprinting and analysis of Bluetooth devices with automata learning

Andrea Pferscher*, Bernhard K. Aichernig

*Corresponding author for this work

Research output: Contribution to journalArticlepeer-review

Abstract

Automata learning is a technique to automatically infer behavioral models of black-box systems. Today’s learning algorithms enable the deduction of models that describe complex system properties, e.g., timed or stochastic behavior. Despite recent improvements in the scalability of learning algorithms, their practical applicability is still an open issue. Little work exists that actually learns models of physical black-box systems. To fill this gap in the literature, we present a case study on applying automata learning on the Bluetooth Low Energy (BLE) protocol. It shows that not only the size of the system limits the applicability of automata learning. Also, the interaction with the system under learning creates a major bottleneck that is rarely discussed. In this article, we propose a general automata learning architecture for learning a behavioral model of the BLE protocol implemented by a physical device. With this framework, we can successfully learn the behavior of six investigated BLE devices. Furthermore, we extended the learning technique to learn security critical behavior, e.g., key-exchange procedures for encrypted communication. The learned models depict several behavioral differences and inconsistencies to the BLE specification. This shows that automata learning can be used for fingerprinting black-box devices, i.e., characterizing systems via their specific learned models. Moreover, learning revealed a crashing scenario for one device.

Original languageEnglish
Pages (from-to)35-62
Number of pages28
JournalFormal Methods in System Design
Volume61
Issue number1
Early online date22 May 2023
DOIs
Publication statusPublished - Aug 2023

Keywords

  • Active automata learning
  • Bluetooth Low Energy
  • Fingerprinting
  • IoT
  • Learning-based testing
  • Model inference

ASJC Scopus subject areas

  • Software
  • Theoretical Computer Science
  • Hardware and Architecture

Fingerprint

Dive into the research topics of 'Fingerprinting and analysis of Bluetooth devices with automata learning'. Together they form a unique fingerprint.

Cite this