标题: | 路径限制式排程优化 Web 程式测试效能 Optimizing Web Application Testing by Path Constraint Scheduling |
作者: | 苏翌帆 黄世昆 Sue, Yi-Fan Huang, Shih-Kun 资讯科学与工程研究所 |
关键字: | 路径限制式;路径排程;符号测试;网页测试;软体测试;Symbolic execution;Path constraint;CRAXWeb;Web testing;Python API;Software Testing |
公开日期: | 2017 |
摘要: | 随着软体系统日益庞大,从最上层可能由PHP撰写的应用程式、经过底层C与C++与作业系统的沟通介面,组成元件复杂,难以藉由人工的方式进行软体测试,因此需要自动化的机制协助。其中符号执行(Symbolic execution)是最近广为运用的自动化测试方法,也逐渐受大众所重视。 我们过去有开发一个称为 CRAXWeb的网页测试系统。为了改善CRAXWeb的效能问题,本论文独立搜集处理路径限制式,利用单一拟真路径执行 (Concolic Execution)的特性,于原系统外进行路径限制式的管理。我们整合Python语言与KLEE 内部元件Kleaver solver,避免重复执行符号执行、减少解路径限制式花费的时间。透过此法来达到弹性化产生 Web攻击代码的攻击限制式 (Payload Constraint)。同时导入符号化变异模糊测试排程法,透过加入适当的路径限制式,减少测试web application的时间。当限制式产生冲突情况时,可找出冲突的限制式,或结合原单一拟真路径执行所产生的路径,以优化攻击与解决路径限制式的时间。 As software is more complicated and larger, for the top level applications may be written in PHP and the low-level communication interface are written by C or C + + and may refer to some related operating system-level implementation, it is more difficult to perform software testing and system analysis manually and need supports of automatic testing. Symbolic execution is a popular testing method to automate the process and more people pay attention to this technique. In this work, we propose to improve our previous system for web application testing, called CRAXWeb. With the feature of single path concolic execution, we resolve the path constraint outside of the CRAXWeb by using kleaver, a constraint solver in KLEE to reduce the time of re-execution of symbolic execution. This method can be used to generate the payload more flexibly. We introduce the scheduling algorithm used for fuzz testing to generate the payload constraints. By adding the appropriate path constraints, we can reduce the time of testing web application and handle the conflict. We can get a new path different from the one generated by CRAXWeb and optimize the resolution time to produce the attack. |
URI: | http://etd.lib.nctu.edu.tw/cdrfb3/record/nctu/#GT070456058 http://hdl.handle.net/11536/140780 |
显示于类别: | Thesis |