arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 2602.00270cs.CRcs.ROcs.SE
收藏

RVDebloater: 基于模式的自适应固件去冗余技术用于机器人车辆

RVDebloater: Mode-based Adaptive Firmware Debloating for Robotic Vehicles

The University of British Columbia(不列颠哥伦比亚大学)

Mohsen Salehi, Karthik Pattabiraman

AI总结:

RVDebloater是一种基于模式的自适应固件去冗余技术,通过动态分析实现对机器人车辆不同模式的固件优化,有效减少攻击面并提升运行效率。

摘要:

随着嵌入式设备数量的增长及其功能需求的增加,嵌入式固件正变得越来越大,从而扩大了其攻击面。尽管固件体积增加,许多嵌入式设备,如机器人车辆(RVs),在运行时处于不同的模式,每个模式仅需要固件代码的一个小子集。我们称此类设备为基于模式的嵌入式设备。去冗余是一种通过删除或限制不需要的代码来减少攻击面的方法,但现有技术存在显著限制,例如粒度粗和不可逆的代码删除,限制了其适用性。为了解决这些限制,我们提出了RVDebloater,一种针对基于模式的嵌入式设备的新型自适应去冗余技术,该技术能够自动通过静态或动态分析识别每个模式下不需要的固件代码,并在运行时按函数级别动态去冗余固件。RVDebloater引入了一种新的基于软件的强制执行方法,以支持多种基于模式的嵌入式设备。我们使用LLVM编译器实现了RVDebloater,并在六个不同的RV上评估了其效率和有效性,包括模拟和真实的RV,以及不同的现实任务。我们发现,设备需求在其生命周期中会因模式而变化,许多关键固件函数可以在其他模式中被限制,平均有85%的函数不需要。结果表明,在去冗余后,没有任何任务失败,表明其既没有造成假阳性也没有假阴性。此外,RVDebloater在不同固件中平均修剪固件调用图45%。最后,RVDebloater在真实RV上造成了平均3.9%的性能开销和4%的内存开销(约0.25 MB)。

英文摘要:

As the number of embedded devices grows and their functional requirements increase, embedded firmware is becoming increasingly larger, thereby expanding its attack surface. Despite the increase in firmware size, many embedded devices, such as robotic vehicles (RVs), operate in distinct modes, each requiring only a small subset of the firmware code at runtime. We refer to such devices as mode-based embedded devices. Debloating is an approach to reduce attack surfaces by removing or restricting unneeded code, but existing techniques suffer from significant limitations, such as coarse granularity and irreversible code removal, limiting their applicability. To address these limitations, we propose RVDebloater, a novel adaptive debloating technique for mode-based embedded devices that automatically identifies unneeded firmware code for each mode using either static or dynamic analysis, and dynamically debloats the firmware for each mode at the function level at runtime. RVDebloater introduces a new software-based enforcement approach that supports diverse mode-based embedded devices. We implemented RVDebloater using the LLVM compiler and evaluated its efficiency and effectiveness on six different RVs, including both simulated and real ones, with different real-world missions. We find that device requirements change throughout its lifetime for each mode, and that many critical firmware functions can be restricted in other modes, with an average of 85% of functions not being required. The results showed that none of the missions failed after debloating with RVDebloater, indicating that it neither incurred false positives nor false negatives. Further, RVDebloater prunes the firmware call graph by an average of 45% across different firmware. Finally, RVDebloater incurred an average performance overhead of 3.9% and memory overhead of 4% (approximately 0.25 MB) on real RVs.

机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。

↑