作者投稿和查稿 主编审稿 专家审稿 编委审稿 远程编辑

计算机工程

• 专栏 • 上一篇    下一篇

一种粗细粒度结合的动态污点分析方法

史大伟,袁天伟   

  1. (江南计算技术研究所,江苏 无锡 214083)
  • 收稿日期:2013-10-17 出版日期:2014-03-15 发布日期:2014-03-13
  • 作者简介:史大伟(1989-),男,硕士研究生,主研方向:软件安全;袁天伟,高级工程师。
  • 基金资助:

    国家“863”计划基金资助项目(2012AA7111043)。

A Dynamic Taint Analysis Method Combined with Coarse-grained and Fine-grained

SHI Da-wei, YUAN Tian-wei   

  1. (Jiangnan Institute of Computing Technology, Wuxi 214083, China)
  • Received:2013-10-17 Online:2014-03-15 Published:2014-03-13

摘要:

针对当前污点分析工具不能兼顾速度和精确度的缺陷,研究并实现一种粗细粒度结合的二进制代码动态污点分析方法。对比粗粒度污点分析和细粒度污点分析的实现过程,提出两者结合的新型分析框架。预先在线执行粗粒度污点分析以筛选有效指令,之后离线执行细粒度污点分析以计算污点信息。根据粒度的差异分别建立粗细粒度污点数据的引入标记方法,制定粗细粒度条件下的数据流和控制流传播策略,设计离线轨迹记录结构作为粗细粒度污点分析的传递文件。在原型系统上的测试结果表明,该方法通过在线粗粒度模式保证了污点分析信息采集的快速性,同时采用离线细粒度模式以合理的时间消耗提升了污点分析的精确度。

关键词: 粗粒度, 细粒度, 动态污点分析, 离线轨迹, 污点传播, 二进制

Abstract:

Combination of coarse-grained and fine-grained Dynamic Taint Analysis(DTA) is developed to take speed and accuracy both into account. By comparing the realization process of coarse-grained DTA and fine-grained DTA, this paper proposes a new analysis framework. It executes online coarse-grained DTA to filter useful instruction, uses offline fine-grained DTA to calculate taint information. Coarse-grained and fine-grained taint mark methods are established respectively by comparing the difference of taint analysis. Data-flow property strategy and control-flow property strategy are developed under the condition of coarse-grained DTA and fine-grained DTA. As a transfer file, offline track record structure is designed to provide necessary information for fine-grained analysis. A prototype system is implemented and the experimental result proves that this method can ensure the rapid collection of taint information through online coarse-grained mode, and use offline fine-grained mode to improve the accuracy with accepted time consumption.

Key words: coarse-grained, fine-grained, Dynamic Taint Analysis(DTA), offline track, taint propagation, binary

中图分类号: