Neutaint:基于神经网络的高效动态污点分析
Neutaint: Efficient Dynamic Taint Analysis with Neural Networks
摘要:
动态污点分析(DTA)被各种应用广泛用于在运行时执行期间跟踪信息流。现有的DTA技术使用基于规则的污染传播,这既不准确(即,高假阳性)也不是有效的(即,大的运行时开销)。很难在正确覆盖所有极端情况的同时为每个操作指定污点规则。此外,在跨多个操作传播污染信息期间,明显污染错误和未充分污染错误可以累积。最后,基于规则的传播要求在应用适当的规则之前检查每个操作,这导致大型实际应用程序的性能开销过高。在这项工作中,我们提出了NEUTAINT,一种新的端到端的方法来跟踪信息流使用神经程序嵌入。神经程序嵌入对发生在污染源和接收器之间的目标程序计算进行建模,通过观察不同的执行轨迹集自动学习信息流。为了执行轻量级和精确的信息流分析,我们利用显着图的原因最有影响力的来源不同的水槽。NEUTAINT构建了两个显着图,这是一种流行的机器学习影响分析方法,用于总结神经程序嵌入中的粗粒度和细粒度信息流。我们将NEUTAINT与3种最先进的动态污点分析工具进行了比较。评估结果表明,NEUTAINT可以达到68%的准确率,平均而言,这是10%的提高,同时减少40倍的运行时开销比第二个最好的污点工具Libdft在6个真实世界的程序。NEUTAINT还实现了61%以上的边缘覆盖率时,用于污染指导模糊指示的有效性,确定有影响力的字节。
英文摘要:
Dynamic taint analysis (DTA) is widely used by various applications to track information flow during runtime execution. Existing DTA techniques use rule-based taint-propagation, which is neither accurate (i.e., high false positive) nor efficient (i.e., large runtime overhead). It is hard to specify taint rules for each operation while covering all corner cases correctly. Moreover, the overtaint and undertaint errors can accumulate during the propagation of taint information across multiple operations. Finally, rule-based propagation requires each operation to be inspected before applying the appropriate rules resulting in prohibitive performance overhead on large real-world applications. In this work, we propose NEUTAINT, a novel end-to-end approach to track information flow using neural program embeddings. The neural program embeddings model the target's programs computations taking place between taint sources and sinks, which automatically learns the information flow by observing a diverse set of execution traces. To perform lightweight and precise information flow analysis, we utilize saliency maps to reason about most influential sources for different sinks. NEUTAINT constructs two saliency maps, a popular machine learning approach to influence analysis, to summarize both coarse-grained and fine-grained information flow in the neural program embeddings. We compare NEUTAINT with 3 state-of-the-art dynamic taint analysis tools. The evaluation results show that NEUTAINT can achieve 68% accuracy, on average, which is 10% improvement while reducing 40 times runtime overhead over the second-best taint tool Libdft on 6 real world programs. NEUTAINT also achieves 61% more edge coverage when used for taint-guided fuzzing indicating the effectiveness of the identified influential bytes.
机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。