Snipuzz: Black-box Fuzzing of IoT Firmware via Message Snippet Inference

05/12/2021
by   Xiaotao Feng, et al.
0

The proliferation of Internet of Things (IoT) devices has made people's lives more convenient, but it has also raised many security concerns. Due to the difficulty of obtaining and emulating IoT firmware, the black-box fuzzing of IoT devices has become a viable option. However, existing black-box fuzzers cannot form effective mutation optimization mechanisms to guide their testing processes, mainly due to the lack of feedback. It is difficult or even impossible to apply existing grammar-based fuzzing strategies. Therefore, an efficient fuzzing approach with syntax inference is required in the IoT fuzzing domain. To address these critical problems, we propose a novel automatic black-box fuzzing for IoT firmware, termed Snipuzz. Snipuzz runs as a client communicating with the devices and infers message snippets for mutation based on the responses. Each snippet refers to a block of consecutive bytes that reflect the approximate code coverage in fuzzing. This mutation strategy based on message snippets considerably narrows down the search space to change the probing messages. We compared Snipuzz with four state-of-the-art IoT fuzzing approaches, i.e., IoTFuzzer, BooFuzz, Doona, and Nemesys. Snipuzz not only inherits the advantages of app-based fuzzing (e.g., IoTFuzzer, but also utilizes communication responses to perform efficient mutation. Furthermore, Snipuzz is lightweight as its execution does not rely on any prerequisite operations, such as reverse engineering of apps. We also evaluated Snipuzz on 20 popular real-world IoT devices. Our results show that Snipuzz could identify 5 zero-day vulnerabilities, and 3 of them could be exposed only by Snipuzz. All the newly discovered vulnerabilities have been confirmed by their vendors.

READ FULL TEXT

page 1

page 2

page 3

page 4

research
01/29/2019

Beware of the App! On the Vulnerability Surface of Smart Devices through their Companion Apps

Internet of Things (IoT) devices are becoming increasingly important. Th...
research
03/06/2021

Black-Box IoT: Authentication and Distributed Storage of IoT Data from Constrained Sensors

We propose Black-Box IoT (BBox-IoT), a new ultra-lightweight black-box s...
research
09/08/2022

Evaluating the Future Device Security Risk Indicator for Hundreds of IoT Devices

IoT devices are present in many, especially corporate and sensitive, net...
research
02/26/2021

Lightweight Key-Dependent Dynamic S-Boxes based on Hyperelliptic Curve for IoT Devices

Security is one of the main issues in Internet of Things (IoT). Encrypti...
research
01/10/2022

IoTGAN: GAN Powered Camouflage Against Machine Learning Based IoT Device Identification

With the proliferation of IoT devices, researchers have developed a vari...
research
10/11/2022

A Formal Assisted Approach for Modeling and Testing Security Attacks in IoT Edge Devices

With the rapid growth in the number of IoT devices being added to the ne...
research
05/21/2023

BertRLFuzzer: A BERT and Reinforcement Learning based Fuzzer

We present a novel tool BertRLFuzzer, a BERT and Reinforcement Learning ...

Please sign up or login with your details

Forgot password? Click here to reset