SIoTFuzzer: Fuzzing Web Interface in IoT Firmware via Stateful Message Generation
Open Access
- 1 April 2021
- journal article
- research article
- Published by MDPI AG in Applied Sciences
- Vol. 11 (7) , 3120
Abstract
Cyber attacks against the web management interface of Internet of Things (IoT) devices often have serious consequences. Current research uses fuzzing technologies to test the web interfaces of IoT devices. These IoT fuzzers generate messages (a test case sent from the client to the server to test its functionality) without considering their dependency, which is unlikely to bypass the early check of the server. These invalid test cases significantly reduce the efficiency of fuzzing. To overcome this problem, we propose a stateful message generation (SMG) mechanism for IoT web fuzzing. SMG addresses two problems in IoT fuzzing. First, we retrieve the message dependency by using web front-end analysis and status analysis. These dependent messages, which can easily bypass the server check, are used as a valid seed. Second, we adopt a multi-message seed format to preserve the dependency of the messages when mutating the seed to get a valid test case, so that the test case can bypass the state check of the server to make a valid test. Message dependency preservation is implemented by our proposed parameter mutation and structural mutation methods. We implement SMG in our IoT fuzzer, SIoTFuzzer, which applies IoT firmware on the latest Linux-based simulation tool, FirmAE. We test nine IoT devices including a router and an IP camera and adopt a vulnerability detection mechanism. Our evaluation results show that (1) SIoTFuzzer is capable of finding real-world vulnerabilities in IoT devices; (2) our SMG is effective as it enables Boofuzz (a popular protocol fuzzer) to find command injection and cross-site scripting (XSS) vulnerabilities; and (3) compared to FirmFuzz, SIoTFuzzer found all the vulnerabilities in our benchmarks, while FirmFuzz found only four—the efficiency of our tool increased by 20.57% on average.Keywords
Funding Information
- Natural Science Foundation (61902405)
This publication has 12 references indexed in Scilit:
- FirmAE: Towards Large-Scale Emulation of IoT Firmware for Dynamic Analysis2020
- EWVHunter: Grey-Box Fuzzing with Knowledge Guide on Embedded Web Front-EndsApplied Sciences, 2020
- FirmFuzz2019
- Poster2019
- Discovering Vulnerabilities in COTS IoT Devices through Blackbox Fuzzing Web Management InterfaceSecurity and Communication Networks, 2019
- AVATAR: Fixing Semantic Bugs with Fix Patterns of Static Analysis Violations2019
- Towards Automated Dynamic Analysis for Linux-based Embedded Firmware2016
- Firmalice - Automatic Detection of Authentication Bypass Vulnerabilities in Binary Firmware2015
- Analysis of embedded applications by evolutionary fuzzing2014
- Avatar: A Framework to Support Dynamic Security Analysis of Embedded Systems’ Firmwares2014