arXivDaily arXiv每日学术速递 周一至周五更新
arXiv周末暂无论文更新,休息一下吧,周末愉快~~
arXiv 1708.09114cs.CR
收藏

FirmUSB:使用域通知符号执行审查USB设备固件

FirmUSB: Vetting USB Device Firmware using Domain Informed Symbolic Execution

Grant Hernandez, Farhaan Fowze, Dave Tian, Tuba Yavuz, Kevin R. B. Butler

摘要:

USB协议已经变得无处不在,支持从高性能计算设备到小型嵌入式设备和控制系统的设备。USB最大的特点是其开放性和可扩展性,这也是它的弱点,像BadUSB这样的攻击利用了这些设备的不受约束的功能作为妥协的载体。从根本上说,几乎不可能知道USB设备是良性的还是恶意的。这项工作介绍FirmUSB,USB特定的固件分析框架,使用USB协议的领域知识来检查固件映像,并确定它们可以产生的活动。嵌入式USB设备使用的微控制器还没有被二进制分析社区很好地研究,我们的工作演示了如何将lifters转换为流行的中间表示进行分析,以及这样做的挑战。我们开发了目标定位算法,并使用领域知识来加速这些过程,与无约束的完全符号执行相比,速度提高了7倍。我们还成功地发现恶意活动的嵌入式8051固件不使用源代码。最后,我们提供了深入了解嵌入式架构上的符号分析的挑战,并提供指导,以改善工具,以更好地处理这类重要的设备。

英文摘要:

The USB protocol has become ubiquitous, supporting devices from high-powered computing devices to small embedded devices and control systems. USB's greatest feature, its openness and expandability, is also its weakness, and attacks such as BadUSB exploit the unconstrained functionality afforded to these devices as a vector for compromise. Fundamentally, it is virtually impossible to know whether a USB device is benign or malicious. This work introduces FirmUSB, a USB-specific firmware analysis framework that uses domain knowledge of the USB protocol to examine firmware images and determine the activity that they can produce. Embedded USB devices use microcontrollers that have not been well studied by the binary analysis community, and our work demonstrates how lifters into popular intermediate representations for analysis can be built, as well as the challenges of doing so. We develop targeting algorithms and use domain knowledge to speed up these processes by a factor of 7 compared to unconstrained fully symbolic execution. We also successfully find malicious activity in embedded 8051 firmwares without the use of source code. Finally, we provide insights into the challenges of symbolic analysis on embedded architectures and provide guidance on improving tools to better handle this important class of devices.

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

↑