arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 1804.00753cs.CR
收藏

使用单元测试检测消毒缺陷

Using Unit Testing to Detect Sanitization Flaws

Mahmoud Mohammadi, Bill Chu, Heather Richter Lipford

摘要:

输入清理机制被广泛用于减轻注入攻击(如跨站脚本)的漏洞。通常用于确保应用程序利用清理功能的静态分析工具和技术。动态分析必须评估消毒功能的正确性。所提出的方法是基于单元测试,把静态和动态技术的优势,开发时间。我们的方法引入了一种技术,自动提取的消毒功能,然后使用自动生成的攻击向量来评估其有效性。实验结果表明,该方法可以检测出静态分析工具无法检测到的安全漏洞。

英文摘要:

Input sanitization mechanisms are widely used to mitigate vulnerabilities to injection attacks such as cross-site scripting. Static analysis tools and techniques commonly used to ensure that applications utilize sanitization functions. Dynamic analysis must be to evaluate the correctness of sanitization functions. The proposed approach is based on unit testing to bring the advantages of both static and dynamic techniques to the development time. Our approach introduces a technique to automatically extract the sanitization functions and then evaluate their effectiveness against attacks using automatically generated attack vectors. The empirical results show that the proposed technique can detect security flaws cannot find by the static analysis tools.

机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。

↑