Detecting Vulnerabilities in Linux-Based Embedded Firmware with SSE-Based On-Demand Alias Analysis

被引:2
|
作者
Cheng, Kai [1 ,2 ]
Zheng, Yaowen [3 ]
Liu, Tao [4 ]
Guan, Le [5 ]
Liu, Peng [4 ]
Li, Hong [6 ]
Zhu, Hongsong [6 ,7 ]
Ye, Kejiang [1 ]
Sun, Limin [6 ,7 ]
机构
[1] Chinese Acad Sci, SIAT, Shenzhen, Peoples R China
[2] Sangfor Technol Inc, Shenzhen, Peoples R China
[3] Nanyang Technol Univ, Singapore, Singapore
[4] Penn State Univ, State Coll, PA USA
[5] Univ Georgia, Athens, GA USA
[6] Chinese Acad Sci, IIE, Beijing, Peoples R China
[7] UCAS, Sch Cyber Secur, Beijing, Peoples R China
基金
中国国家自然科学基金; 国家重点研发计划;
关键词
On-demand alias analysis; Taint analysis; Embedded firmware;
D O I
10.1145/3597926.3598062
中图分类号
TP31 [计算机软件];
学科分类号
081202 ; 0835 ;
摘要
Although the importance of using static taint analysis to detect taintstyle vulnerabilities in Linux-based embedded firmware is widely recognized, existing approaches are plagued by following major limitations: (a) Existing works cannot properly handle indirect call on the path from attacker-controlled sources to security-sensitive sinks, resulting in lots of false negatives. (b) They employ heuristics to identify mediate taint source and it is not accurate enough, which leads to high false positives. To address issues, we propose EmTaint, a novel static approach for accurate and fast detection of taint-style vulnerabilities in Linux-based embedded firmware. In EmTaint, we first design a structured symbolic expression-based (SSE-based) on-demand alias analysis technique. Based on it, we come up with indirect call resolution and accurate taint analysis scheme. Combined with sanitization rule checking, EmTaint can eventually discovers a large number of taint-style vulnerabilities accurately within a limited time. We evaluated EmTaint against 35 real-world embedded firmware samples from six popular vendors. The result shows EmTaint discovered at least 192 vulnerabilities, including 41 n-day vulnerabilities and 151 0-day vulnerabilities. At least 115 CVE/PSV numbers have been allocated from a subset of the reported vulnerabilities at the time of writing. Compared with state-of-the-art tools such as KARONTE and SaTC, EmTaint found significantly more vulnerabilities on the same dataset in less time.
引用
收藏
页码:360 / 372
页数:13
相关论文
共 50 条
  • [1] Detecting command injection vulnerabilities in Linux-based embedded firmware with LLM-based taint analysis of library functions
    Ye, Junjian
    Fei, Xincheng
    de Carnavalet, Xavier de Carne
    Zhao, Lianying
    Wu, Lifa
    Zhang, Mengyuan
    [J]. COMPUTERS & SECURITY, 2024, 144
  • [2] Towards Automated Dynamic Analysis for Linux-based Embedded Firmware
    Chen, Daming D.
    Egele, Manuel
    Woo, Maverick
    Brumley, David
    [J]. 23RD ANNUAL NETWORK AND DISTRIBUTED SYSTEM SECURITY SYMPOSIUM (NDSS 2016), 2016,
  • [3] Linux-based IoT Benchmark Generator For Firmware Security Analysis Tools
    de Ruck, Dairo
    Goeman, Victor
    Willocx, Michiel
    Lapon, Jorn
    Naessens, Vincent
    [J]. 18TH INTERNATIONAL CONFERENCE ON AVAILABILITY, RELIABILITY & SECURITY, ARES 2023, 2023,
  • [4] Design and Application of Linux-Based Embedded Systems
    Sun, Chunling
    [J]. ADVANCES IN MULTIMEDIA, SOFTWARE ENGINEERING AND COMPUTING, VOL 1, 2011, 128 : 641 - 645
  • [5] An Instrumentation System for an Embedded Linux-Based Flight Controller
    Don, Michael
    Schomer, Nathan
    Grabner, Mitchell
    Miller, Cory
    Hallameyer, Jonathan
    [J]. 2022 IEEE AUTOTESTCON, 2022,
  • [6] Understanding and Detecting Remote Infection on Linux-based IoT Devices
    Li, Hongda
    Huang, Qiqing
    Ding, Fei
    Hu, Hongxin
    Cheng, Long
    Gu, Guofei
    Zhao, Ziming
    [J]. ASIA CCS'22: PROCEEDINGS OF THE 2022 ACM ASIA CONFERENCE ON COMPUTER AND COMMUNICATIONS SECURITY, 2022, : 873 - 887
  • [7] Work-in-Progress: Introspection of the Linux-based Embedded Firmwares
    Dovgalyuk, Pavel
    Fursova, Natalia
    Vasiliev, Ivan
    Makarov, Vladimir
    [J]. 2018 PROCEEDINGS OF THE INTERNATIONAL CONFERENCE ON EMBEDDED SOFTWARE (EMSOFT), 2018,
  • [8] Measuring and Minimizing Interrupt Latency in Linux-Based Embedded Systems
    Rybaniec, Radoslaw
    Wieczorek, Piotr Z.
    [J]. PHOTONICS APPLICATIONS IN ASTRONOMY, COMMUNICATIONS, INDUSTRY, AND HIGH-ENERGY PHYSICS EXPERIMENTS 2012, 2012, 8454
  • [9] Cycle Time Improvement of EtherCAT Networks with Embedded Linux-Based Master
    Yi, Hyun-Chul
    Choi, Joon-Young
    [J]. IEICE TRANSACTIONS ON INFORMATION AND SYSTEMS, 2019, E102D (01) : 195 - 197
  • [10] Automatic partitioning technique for flash memory on Linux-based embedded systems
    Lim, Yunjae
    Nam, Young Jin
    Yoo, Geel-Sang
    Seo, Dae-Wha
    [J]. UBIQUITOUS INTELLIGENCE AND COMPUTING, PROCEEDINGS, 2007, 4611 : 93 - +