Clutch Control:一种用于JavaScript引擎模糊测试中高效变异的基于注意力的组合赌博机方法
Clutch Control: An Attention-based Combinatorial Bandit for Efficient Mutation in JavaScript Engine Fuzzing
AI总结:
针对JavaScript引擎模糊测试中变异位置随机选择的低效问题,提出基于注意力机制的深度组合赌博机CLUTCH,可动态调整探索策略,有效提升模糊测试效率并降低赌博机场景遗憾值。
摘要:
JavaScript引擎被广泛应用于网页浏览器、PDF阅读器与服务端应用中,随着对其安全性的关注度不断提升,研究人员已开发出多种针对性模糊测试技术。但现有方法均采用随机选择策略确定JavaScript代码中的变异位置,我们认为选择更优变异目标的问题适用于臂数动态变化的组合赌博机框架。为此我们提出新型深度组合赌博机CLUTCH,其可借助深度学习中的注意力机制处理变长JavaScript测试用例表示,还能通过Concrete Dropout动态调整探索策略。实验表明,与三种当前最优方案相比,CLUTCH可将JavaScript模糊测试的有效测试用例数量、单测试用例覆盖率分别平均提升20.3%与8.9%;在动态与组合场景下,CLUTCH性能优于现有最优赌博机方法,在两类场景中的遗憾值分别至少降低78.1%与4.1%。
英文摘要:
JavaScript engines are widely used in web browsers, PDF readers, and server-side applications. The rise in concern over their security has led to the development of several targeted fuzzing techniques. However, existing approaches use random selection to determine where to perform mutations in JavaScript code. We postulate that the problem of selecting better mutation targets is suitable for combinatorial bandits with a volatile number of arms. Thus, we propose CLUTCH, a novel deep combinatorial bandit that can observe variable length JavaScript test case representations, using an attention mechanism from deep learning. Furthermore, using Concrete Dropout, CLUTCH can dynamically adapt its exploration. We show that CLUTCH increases efficiency in JavaScript fuzzing compared to three state-of-the-art solutions by increasing the number of valid test cases and coverage-per-testcase by, respectively, 20.3% and 8.9% on average. In volatile and combinatorial settings we show that CLUTCH outperforms state-of-the-art bandits, achieving at least 78.1% and 4.1% less regret in volatile and combinatorial settings, respectively.
机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。