PSOFuzz:利用粒子群优化对处理器进行模糊测试
PSOFuzz: Fuzzing Processors with Particle Swarm Optimization
AI总结:
本文提出 PSOFuzz,用改进粒子群优化动态调度变异算子并生成初始种子,以提升处理器硬件模糊测试的漏洞检测速度与覆盖率。
摘要:
计算系统中的硬件安全漏洞不仅会破坏硬件自身的安全防御,还会破坏运行于其上的软件的安全防御。近期研究表明,硬件模糊测试是一种很有前景的技术,可高效检测现代处理器等大规模设计中的此类漏洞。然而,当前的模糊测试技术不会动态调整策略以实现更快、更充分的设计空间探索,因此导致漏洞检测缓慢,这一点从其较低的设计覆盖率中可以明显看出。为解决这一问题,我们提出 PSOFuzz,它使用粒子群优化(PSO)来调度变异算子并动态生成初始输入程序,目标是快速检测漏洞。传统 PSO 寻找的是单一最优解;与之不同,我们采用一种改进的 PSO,动态计算用于选择变异算子的最优解,而这些算子是探索硬件中新设计区域所必需的。我们还通过采用基于 PSO 的种子生成,解决了初始种子生成效率低下的挑战。结合这些优化,我们的最终形式优于不使用 PSO 的模糊测试工具。实验表明,与最先进的基于仿真的硬件模糊测试工具相比,PSOFuzz 在漏洞检测方面实现了最高 15.25 倍的加速,在覆盖率方面实现了最高 2.22 倍的提升。
英文摘要:
Hardware security vulnerabilities in computing systems compromise the security defenses of not only the hardware but also the software running on it. Recent research has shown that hardware fuzzing is a promising technique to efficiently detect such vulnerabilities in large-scale designs such as modern processors. However, the current fuzzing techniques do not adjust their strategies dynamically toward faster and higher design space exploration, resulting in slow vulnerability detection, evident through their low design coverage. To address this problem, we propose PSOFuzz, which uses particle swarm optimization (PSO) to schedule the mutation operators and to generate initial input programs dynamically with the objective of detecting vulnerabilities quickly. Unlike traditional PSO, which finds a single optimal solution, we use a modified PSO that dynamically computes the optimal solution for selecting mutation operators required to explore new design regions in hardware. We also address the challenge of inefficient initial seed generation by employing PSO-based seed generation. Including these optimizations, our final formulation outperforms fuzzers without PSO. Experiments show that PSOFuzz achieves up to 15.25$\times$ speedup for vulnerability detection and up to 2.22$\times$ speedup for coverage compared to the state-of-the-art simulation-based hardware fuzzer.
机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。