FITS: Inferring Intermediate Taint Sources for Effective Vulnerability Analysis of IoT Device Firmware


연구 분야: Analysis



학회: ASPLOS '23: Proceedings of the 28th ACM International Conference on Architectural Support for Programming Languages and Operating Systems, Volume 4


초록

Finding vulnerabilities in firmware is vital as any firmware vulnerability may lead to cyberattacks to the physical IoT devices. Taint analysis is one promising technique for finding firmware vulnerabilities thanks to its high coverage and scalability. However, sizable closed-source firmware makes it extremely difficult to analyze the complete data-flow paths from taint sources (i.e., interface library functions such as recv) to sinks. We observe that certain custom functions in binaries can be used as intermediate taint sources (ITSs). Compared to interface library functions, using custom functions as taint sources can significantly shorten the data-flow paths for analysis. However, inferring ITSs is challenging due to the complexity and customization of firmware. Moreover, the debugging information and symbol table of binaries in firmware are stripped; therefore, prior techniques of inferring taint sources are not applicable except laborious manual analysis. To this end, this paper proposes FITS to automatically infer ITSs. Specifically, FITS represents each function with a novel behavioral feature representation that captures the static and dynamic properties of the function, and ranks custom functions as taint sources through behavioral clustering and similarity scoring. We evaluated FITS on 59 large, real-world firmware samples. The inference results of FITS are accurate: at least one of top-3 ranked custom functions can be used as an ITS with 89% precision. ITSs helped Karonte find 15 more bugs and helped the static taint engine find 339 more bugs. More importantly, 21 bugs have been awarded CVE IDs and rated high severity with media coverage.


Author Profile
Puzhuo Liu

Institute of Information Engineering Chinese Academy of Sciences Beijing China

China
Author Profile
Yaowen Zheng

Nanyang Technological University Singapore Singapore

Singapore
Author Profile
Chengnian Sun

University of Waterloo Waterloo Ontario Canada

Canada

📄 논문 정보

발행 연도 2024년
인용수 9
출판 국가 Singapore, China, Canada
사이트 ACM
좋아요 수 0

연관 논문 목록 (130건)