DTaint: Detecting the Taint-Style Vulnerability in Embedded Device Firmware
Authors:
- Kai ChengKCKai Cheng
- Qiang LiQLQiang Li
- Lei WangLWLei Wang
- Qian ChenQCQian Chen
- Yaowen ZhengYZYaowen Zheng
- Limin SunLSLimin Sun
- Zhenkai LiangZLZhenkai Liang
- 1 June 2018
- conference paper
- Published by Institute of Electrical and Electronics Engineers (IEEE)
- p. 430-441
Abstract
A rising number of embedded devices are reachable in the cyberspace, such as routers, cameras, printers, etc. Those devices usually run firmware whose code is proprietary with few public documents. Furthermore, most of the firmware images cannot be analyzed in dynamic analysis due to various hardware-specific peripherals. As a result, it hinders traditional static analysis and dynamic analysis techniques. In this paper, we propose a static binary analysis approach, DTaint, to detect taint-style vulnerabilities in the firmware. The taint-style vulnerability is a typical class of weakness, where the input data reaches a sensitive sink through an unsafe path. Specifically, we generate data dependency in a bottom-up manner through traversing callees before callers. To reduce the influence of the binary firmware, DTaint identifies pointer aliasing, interprocedural data flow, and similarity of the data structure layout. We have implemented a prototype of DTaint and conducted experiments to evaluate its performance. Our results show that DTaint discovers more vulnerabilities in less time, compared with the existing techniques. Furthermore, we illustrate the effectiveness of DTaint through applying it over six firmware images from four manufacturers. We have found 21 vulnerabilities, where 13 of them are previously-unknown and zero-day vulnerabilities.Keywords
This publication has 31 references indexed in Scilit:
- PIE2015
- phpSAFE: A Security Analysis Tool for OOP Web Application Plugins2015
- Make it work, make it right, make it fast: building a platform-neutral whole-system dynamic binary analysis platform2014
- Avatar: A Framework to Support Dynamic Security Analysis of Embedded Systems’ Firmwares2014
- Classification of Static Analysis-Based Buffer Overflow Detectors2010
- WYSIWIB: A declarative approach to finding API protocols and bugs in Linux code2009
- Pointless tainting?2009
- Precise alias analysis for static detection of web application vulnerabilities2006
- Efficient Flow-Sensitive Interprocedural Data-Flow Analysis in the Presence of Pointers2006
- Pixy: a static analysis tool for detecting Web application vulnerabilities2006