首页> 外文期刊>Formal Methods in System Design >Automata-based symbolic string analysis for vulnerability detection
【24h】

Automata-based symbolic string analysis for vulnerability detection

机译:基于自动机的符号字符串分析,用于漏洞检测

获取原文
获取原文并翻译 | 示例

摘要

Verifying string manipulating programs is a crucial problem in computer security. String operations are used extensively within web applications to manipulate user input, and their erroneous use is the most common cause of security vulnerabilities in web applications. We present an automata-based approach for symbolic analysis of string manipulating programs. We use deterministic finite automata (DFAs) to represent possible values of string variables. Using forward reachability analysis we compute an over-approximation of all possible values that string variables can take at each program point. Intersecting these with a given attack pattern yields the potential attack strings if the program is vulnerable. Based on the presented techniques, we have implemented Stranger, an automata-based string analysis tool for detecting string-related security vulnerabilities in PHP applications. We evaluated Stranger on several open-source Web applications including one with 350,000+ lines of code. Stranger is able to detect known/unknown vulnerabilities, and, after inserting proper sanitization routines, prove the absence of vulnerabilities with respect to given attack patterns.
机译:验证字符串处理程序是计算机安全中的关键问题。字符串操作已在Web应用程序中广泛用于操纵用户输入,并且错误使用它们是Web应用程序中安全漏洞的最常见原因。我们提出了一种基于自动机的字符串处理程序符号分析方法。我们使用确定性有限自动机(DFA)来表示字符串变量的可能值。使用前向可及性分析,我们计算出字符串变量在每个程序点处可能采用的所有可能值的近似值。如果程序易受攻击,则将它们与给定的攻击模式相交会产生潜在的攻击字符串。基于提出的技术,我们实现了Stranger,这是一种基于自动机的字符串分析工具,用于检测PHP应用程序中与字符串相关的安全漏洞。我们在几种开源Web应用程序上对Stranger进行了评估,其中一个应用程序具有350,000多行代码。陌生人能够检测到已知/未知漏洞,并在插入适当的清理例程后,证明对于给定的攻击模式没有漏洞。

著录项

相似文献

  • 外文文献
  • 中文文献
  • 专利
获取原文

客服邮箱:kefu@zhangqiaokeyan.com

京公网安备:11010802029741号 ICP备案号:京ICP备15016152号-6 六维联合信息科技 (北京) 有限公司©版权所有
  • 客服微信

  • 服务号