基于静态分析的Web应用代码审计系统研究

CODE AUDIT SYSTEM OF WEB APPLICATION BASED ON STATIC ANALYSIS

  • 摘要: 该文研究基于语义的Web应用代码审计,通过静态分析的手段自动化定位漏洞。系统处理流程分为两个阶段:第一阶段是前期编译,通过静态分析技术将代码转换成抽象语法树,并输出适合后续处理的程序控制流图;第二阶段是漏洞利用,以程序控制流图为输入,定位潜在威胁函数的同时进行回溯操作与污点分析。该文提出污点分析的惰性策略,对传统静态分析流程进行了改进和优化。与当前流行的漏洞分析软件Rips商业版进行对比,该系统检出的有效漏洞数量显著超出,展现了较好的漏洞检测能力。

     

    Abstract: In order to study the semantic-based Web applications code audit, we designed such an audit system of Web application based on static analysis. This system was divided into two parts. The first phase was pre-compilation: we transformed the code of the Web application into abstract syntax tree by the technology of the static analysis. We transformed it into control flow graph, which was suitable for the second phase. The second phase was vulnerability exploitation: we located the potential vulnerable functions as well as trace back the flow for taint analysis, with the control flow graph. We proposed the lazed-stain analysis to optimize the process of static vulnerability analysis. Compared with the current popular vulnerability analysis software Rips commercial version, this method has a better vulnerability detection performance.

     

/

返回文章
返回