arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 1908.05012cs.CR
收藏

侧通道感知模糊

Side-Channel Aware Fuzzing

Philip Sperl, Konstantin Böttinger

摘要:

软件测试正在成为嵌入式设备开发周期的关键部分,从而实现漏洞检测。一种被广泛研究的软件测试方法是模糊测试(fuzzing),在此过程中,将变异的输入发送到输入处理软件,同时监视其行为。目标是识别程序中由格式错误的输入触发的错误状态。即使这种技术被广泛执行,模糊不能应用到嵌入式设备的全部范围。由于缺乏足够强大的I/O功能或操作系统,无法获取模糊化所需的反馈。在本文中,我们提出并评估了一种新的方法来提取反馈的模糊嵌入式设备上使用的信息的功耗泄漏。侧信道感知模糊是一个三重过程,通过向目标设备发送输入并测量其功耗来启动。首先,我们使用机器学习算法从目标设备的电源轨迹中提取特征。随后,我们使用的功能来重建的代码结构的分析固件。在最后一步中,我们计算输入的分数,它与代码覆盖率成正比。我们通过模糊合成软件和在ARM Cortex-M4微控制器上运行的轻量级AES实现来进行概念验证。我们的研究结果表明,功率侧信道携带的信息相关的模糊。

英文摘要:

Software testing is becoming a critical part of the development cycle of embedded devices, enabling vulnerability detection. A well-studied approach of software testing is fuzz-testing (fuzzing), during which mutated input is sent to an input-processing software while its behavior is monitored. The goal is to identify faulty states in the program, triggered by malformed inputs. Even though this technique is widely performed, fuzzing cannot be applied to embedded devices to its full extent. Due to the lack of adequately powerful I/O capabilities or an operating system the feedback needed for fuzzing cannot be acquired. In this paper we present and evaluate a new approach to extract feedback for fuzzing on embedded devices using information the power consumption leaks. Side-channel aware fuzzing is a threefold process that is initiated by sending an input to a target device and measuring its power consumption. First, we extract features from the power traces of the target device using machine learning algorithms. Subsequently, we use the features to reconstruct the code structure of the analyzed firmware. In the final step we calculate a score for the input, which is proportional to the code coverage. We carry out our proof of concept by fuzzing synthetic software and a light-weight AES implementation running on an ARM Cortex-M4 microcontroller. Our results show that the power side-channel carries information relevant for fuzzing.

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

↑