RapidPatch: Firmware Hotpatching for Real-Time Embedded Devices

被引:0
|
作者
He, Yi [1 ,2 ]
Zou, Zhenhua [1 ,2 ]
Sun, Kun [3 ]
Liu, Zhuotao [1 ,2 ]
Xu, Ke [1 ,2 ]
Wang, Qian [4 ]
Shen, Chao [5 ]
Wang, Zhi [6 ]
Li, Qi [1 ,2 ]
机构
[1] Tsinghua Univ, Beijing, Peoples R China
[2] BNRist, Beijing, Peoples R China
[3] George Mason Univ, Fairfax, VA 22030 USA
[4] Wuhan Univ, Wuhan, Hubei, Peoples R China
[5] Xi An Jiao Tong Univ, Xian, Shaanxi, Peoples R China
[6] Florida State Univ, Tallahassee, FL 32306 USA
来源
PROCEEDINGS OF THE 31ST USENIX SECURITY SYMPOSIUM | 2022年
基金
美国国家科学基金会; 国家重点研发计划;
关键词
D O I
暂无
中图分类号
TP [自动化技术、计算机技术];
学科分类号
0812 ;
摘要
Nowadays real-time embedded devices are becoming one main target of cyber attacks. A huge number of embedded devices equipped with outdated firmware are subject to various vulnerabilities, but they cannot be timely patched due to two main reasons. First, it is difficult for vendors who have various types of fragmented devices to generate patches for each type of device. Second, it is challenging to deploy patches on many embedded devices without restarting or halting real-time tasks, hindering the patch installation on devices (e.g., industrial control devices) that have high availability requirements. In this paper, we present RapidPatch, a new hotpatching framework to facilitate patch propagation by installing generic patches without disrupting other tasks running on heterogeneous embedded devices. RapidPatch allows RTOS developers to directly release common patches for all downstream devices so that device maintainers can easily generate device-specific patches for different firmware. We utilize eBPF virtual machines to execute patches on resource-constrained embedded devices and develop three hotpatching strategies to support hotpatching for all major microcontroller (MCU) architectures. In particular, we propose two types of eBPF patches for different types of vulnerabilities and develop an eBPF patch verifier to ensure patch safety. We evaluate RapidPatch with major CVEs on four major RTOSes running on different embedded devices. We find that over 90% vulnerabilities can be hotpatched via RapidPatch. Our system can work on devices with 64 KB or more memory and 64 MHz MCU frequency. The average patch delay is less than 8 mu s and the overall latency overhead is less than 0.6%.
引用
收藏
页码:2225 / 2242
页数:18
相关论文
共 50 条
  • [1] HERA: Hotpatching of Embedded Real-time Applications
    Niesler, Christian
    Surminski, Sebastian
    Davi, Lucas
    28TH ANNUAL NETWORK AND DISTRIBUTED SYSTEM SECURITY SYMPOSIUM (NDSS 2021), 2021,
  • [2] Work-in-Progress: Measuring Security Protection in Real-time Embedded Firmware
    Wu, Yuhao
    Wang, Yujie
    Zhai, Shixuan
    Li, Zihan
    Li, Ao
    Wang, Jinwen
    Zhang, Ning
    2022 IEEE 43RD REAL-TIME SYSTEMS SYMPOSIUM (RTSS 2022), 2022, : 495 - 498
  • [3] Robust Real-Time Pedestrian Detection on Embedded Devices
    Afifi, Mohamed
    Ali, Yara
    Amer, Karim
    Shaker, Mahmoud
    Elhelw, Mohamed
    THIRTEENTH INTERNATIONAL CONFERENCE ON MACHINE VISION (ICMV 2020), 2021, 11605
  • [4] Development of embedded devices in real-time autonomous robots
    Lenac, Kristijan
    Mumolo, Enzo
    Nolich, Massimiliano
    Noser, Massimo Oss
    ITI 2006: PROCEEDINGS OF THE 28TH INTERNATIONAL CONFERENCE ON INFORMATION TECHNOLOGY INTERFACES, 2006, : 689 - +
  • [5] Architecture of a Tool for Automated Testing the Worst Case Execution Time of Real-Time Embedded Systems' Firmware
    Fedasyuk, Dmytro
    Chopey, Ratybor
    Knysh, Bohdan
    2017 14TH INTERNATIONAL CONFERENCE: THE EXPERIENCE OF DESIGNING AND APPLICATION OF CAD SYSTEMS IN MICROELECTRONICS (CADSM), 2017, : 278 - 281
  • [6] Real-Time Instance Segmentation of Traffic Videos for Embedded Devices
    Panero Martinez, Ruben
    Schiopu, Ionut
    Cornelis, Bruno
    Munteanu, Adrian
    SENSORS, 2021, 21 (01) : 1 - 19
  • [7] Web services on Deeply Embedded Devices with Real-Time Processing
    Moritz, Guido
    Prueter, Steffen
    Timmermann, Dirk
    Golatowski, Frank
    2008 IEEE INTERNATIONAL CONFERENCE ON EMERGING TECHNOLOGIES AND FACTORY AUTOMATION, PROCEEDINGS, 2008, : 432 - +
  • [8] A comprehensive and real-time fingerprint verification system for embedded devices
    Yeung, HW
    Moon, YS
    Chen, JS
    Chan, F
    Ng, YM
    Chung, HS
    Pun, KH
    BIOMETRIC TECHNOLOGY FOR HUMAN IDENTIFICATION II, 2005, 5779 : 438 - 446
  • [9] Real-Time Media Processing in Embedded Consumer Electronic Devices
    Isovic, Damir
    2009 XXII INTERNATIONAL SYMPOSIUM ON INFORMATION, COMMUNICATION AND AUTOMATION TECHNOLOGIES, 2009, : 4 - 13
  • [10] Evaluation of Embedded Devices for Real-Time Video Lane Detection
    Podbucki, Kacper
    Suder, Jakub
    Marciniak, Tomasz
    Dabrowski, Adam
    2022 29TH INTERNATIONAL CONFERENCE ON MIXED DESIGN OF INTEGRATED CIRCUITS AND SYSTEM (MIXDES 2022), 2022, : 187 - 191