Skip to main navigation Skip to search Skip to main content

Coverage-Guided Fuzz Testing for Cyber-Physical Systems

  • Sanaz Sheikhi
  • , Edward Kim
  • , Parasara Sridhar Duggirala
  • , Stanley Bak
  • Stony Brook University
  • University of North Carolina at Chapel Hill

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

11 Scopus citations

Abstract

Fuzz testing is an indispensable test-generation tool in software security. Fuzz testing uses automated directed randomness to explore a variety of execution paths in software, trying to expose defects such as buffer overflows. Since cyber-physical systems (CPS) are often safety-critical, testing models of CPS can also expose faults. However, while existing coverage-guided fuzz testing methods are effective for software, results can be disappointing when applied to CPS, where systems have continuous states and inputs are applied at different points in time. In this work, we propose three changes to customize coverage-guided fuzz testing methods to better leverage characteristics of CPS. First, we introduce a notion of coverage to be used to evaluate a fuzz testing algorithm's effectiveness for a particular CPS, analogous to often-used code coverage metrics of a software system. Second, this modified coverage metric is used in a customized power schedule, which selects which previous input sequences hold the most promise to find failures in new system states. Third, we modify the input mutation strategy used to reason with the causal nature of a CPS. Our proposed system, which we call CPS-Fuzz, is compared with three other fuzz testing frameworks on a autonomous car racing software and provides a superior coverage score by generating more crashes at different positions around the track.

Original languageEnglish
Title of host publicationProceedings - 13th ACM/IEEE International Conference on Cyber-Physical Systems, ICCPS 2022
PublisherInstitute of Electrical and Electronics Engineers Inc.
Pages24-33
Number of pages10
ISBN (Electronic)9781665409674
DOIs
StatePublished - 2022
Event13th ACM/IEEE International Conference on Cyber-Physical Systems, ICCPS 2022 - Virtual, Online, Italy
Duration: May 4 2022May 6 2022

Publication series

NameProceedings - 13th ACM/IEEE International Conference on Cyber-Physical Systems, ICCPS 2022

Conference

Conference13th ACM/IEEE International Conference on Cyber-Physical Systems, ICCPS 2022
Country/TerritoryItaly
CityVirtual, Online
Period05/4/2205/6/22

Keywords

  • autonomous vehicle
  • coverage met-ric
  • cyber-physical systems
  • fuzz testing
  • test generation

Fingerprint

Dive into the research topics of 'Coverage-Guided Fuzz Testing for Cyber-Physical Systems'. Together they form a unique fingerprint.

Cite this