Stateful Black-Box Fuzzing of Bluetooth Devices Using Automata Learning

Andrea Pferscher*, Bernhard Aichernig

*Corresponding author for this work

Research output: Chapter in Book/Report/Conference proceedingConference paperpeer-review

Abstract

Fuzzing (aka fuzz testing) shows promising results in security testing. The advantage of fuzzing is the relatively simple applicability compared to comprehensive manual security analysis. However, the effectiveness of black-box fuzzing is hard to judge since the internal structure of the system under test is unknown. Hence, in-depth behavior might not be covered by fuzzing. This paper aims at overcoming the limitations of black-box fuzzing. We present a stateful black-box fuzzing technique that uses a behavioral model of the system under test. Instead of manually creating the model, we apply active automata learning to automatically infer the model. Our framework generates a test suite for fuzzing that includes valid and invalid inputs. The goal is to explore unexpected behavior. For this, we test for conformance between the learned model and the system under test. Additionally, we analyze behavioral differences using the learned state information. In a case study, we evaluate implementations of the Bluetooth Low Energy (BLE) protocol on physical devices. The results reveal security and dependability issues in the tested devices leading to crashes of four out of six devices.

Original languageEnglish
Title of host publicationNASA Formal Methods
Subtitle of host publication14th International Symposium, NFM 2022, Pasadena, CA, USA, May 24–27, 2022, Proceedings
EditorsJyotirmoy V. Deshmukh, Klaus Havelund, Ivan Perez
Place of PublicationCham
PublisherSpringer
Pages373-392
Number of pages20
ISBN (Electronic)978-3-031-06773-0
ISBN (Print)978-3-031-06772-3
DOIs
Publication statusPublished - 20 May 2022
Event14th International Symposium on NASA Formal Methods: NFM 2022 - Caltech, Pasadena, United States
Duration: 24 May 202227 May 2022

Publication series

NameLecture Notes in Computer Science (including subseries Lecture Notes in Artificial Intelligence and Lecture Notes in Bioinformatics)
Volume13260 LNCS
ISSN (Print)0302-9743
ISSN (Electronic)1611-3349

Conference

Conference14th International Symposium on NASA Formal Methods
Abbreviated titleNFM 2022
Country/TerritoryUnited States
CityPasadena
Period24/05/2227/05/22

Keywords

  • Automata learning
  • Fuzz testing
  • Model-based testing
  • Bluetooth Low Energy
  • Model-based fuzzing

ASJC Scopus subject areas

  • Theoretical Computer Science
  • Computer Science(all)

Fingerprint

Dive into the research topics of 'Stateful Black-Box Fuzzing of Bluetooth Devices Using Automata Learning'. Together they form a unique fingerprint.

Cite this