Research on Software Vulnerability Analysis Oriented Parallel Symbolic Execution

Author
CaoZuo
Advisor
WangQingXian
School
PLA Information Engineering University
Major
Applied Computer Technology
Classification
TP311.5 Software Engineering
Degree
Doctoral dissertation
Year
2013
Downloads
8
Citations
0

Request the full text

Abstract

Symbolic execution in the field of software vulnerability analysis has made greatimprovement. Compared with traditional fuzzy testing, it has the advantage of test inputgeneration and execution path analysis, and improves vulnerability detection greatly. Becausethere is a large quantity of execution paths in software, it is low efficiency to analyze path one byone, and test coverage is difficult to improve. It becomes the bottleneck of symbolic execution.With the development of high performance hardware platform and new computing model,parallel symbolic execution technology becomes domestic and foreign research focus gradually.In order to improve parallel efficiency of software security test, the degree of parallelism of thealgorithms and the method of vulnerability detection has become the critical issues. The study onsoftware vulnerability analysis includes symbolic execution, constraint solution and parallelmethod of them in the thesis. The main task can be summarized as follows.1. In respect of static symbolic execution, the parallel method in which load unit consists ofpath families is proposed to improve the degree of parallelism. Through Program DependenceAnalysis, multi paths with control dependency which have the same symbolic value of targetstatement and are reducted into path family. Path family is unit of load scheduling in parallel test.Both the number of actual execution paths is reduced and the degree of parallelism of analysis ispromoted.2. In order to address the problem of interaction with environment, symbolic execution withmixed concrete symbolic input is proposed. The consistency model of program execution isdefined to analyze systematically approximation between symbolic execution and concreteexecution. The method for switching back and forth between symbolic execution and concreteexecution and the heuristic strategy of maintaining consistency are put forward. bydistinguishing solvable constraint from complex constraint and using concrete and symbolicvalues to simplify complex constraint, mixed path constraint solution algorithm is designed andrealized.3. In respect of dynamic symbolic execution, the sensitive point oriented test method forparallel approach is put forward to improve coverage of target statements. The method combinesthe advantages of both static and dynamic. Static analysis is used for realize the method forcomputing the distance from sensitive point to program execution trace based on call chainbacktrack. It provides the basis of oriented test. Distributed test model is designed based ondynamic symbolic execution, which achieves the iterative testing process, including distanceanalysis, path condition solution, cases generation and actual test. The test method combiningsensitive point oriented and symbolic execution strengthens the pertinence. 4. In respect of constant solution, Parallel Consistency Model for Global Constraints basedon Centralized Storage. As well as the model is integrated with backtrack search to parallelsolution method. Dynamic constraints distribution is used for addressing the issue ofload balancing. Collision is detected quickly due to centralized management of variable domain.Since pruning variable domain is monotonic, asynchronous consistency was realized to improvethe degree of parallelism. Parallel search is merged with parallel consistency by dividing andscheduling search space, to improve constraint solving efficiency.5. Static symbolic execution used in software security patches Comparison for the purposeof semantic differences analysis in basic block level. Through traditional structural comparison,syntax differences in function level are analyzed to find the maximum common subgraph. On thebasis, input and output behavior of basic block is analyzed by static symbolic execution. Thenthe I/O behavior is used for determining functional similarity so as to find semantic differences.Ultimately, the experimental results show the accuracy of match result is improved.Models and algorithms included in the thesis have been applied to Large scale DistributedParallel Vulnerability Detection System developed by our team. The experimental results showthat related technologies are feasible and effective and provide support for improve vulnerabilityanalysis efficiency.

Table of contents

Summary 4-6 Abstract 6-8 directory 8-11 catalog 11-13 Table recorded 13-14 first chapter 14-32 1.1 background and Significance 14-15 1.2 technology infrastructure 15-19 1.2.1 symbolic execution techniques 15-17 1.2.2 constraint solving technology 17-19 1.3 related research 19 - 25 1.3.1 traditional symbolic execution 19-21 1.3.2 parallel symbolic execution 21-22 1.3.3 constraint solving 22 - 24 1.3.4 analysis 24-25 1.4 The main work and innovation 25-28 1.4.1 research 25-27 1.4.2 research 27-28 1.5 dissertation chapters arranged 28-32 chapter executive nbsp parallel path-based cluster reduction symbol ; 32-44 2.1 problem Description 32-33 2.2 dependencies 33-35 2.2.1 control flow analysis 34 <br / > 2.2.2 data flow analysis 34-35 2.3 PSEPDA technology 35-41 2.3.1 path cluster definition 35-36 <br / > 2.3.2 path clustering reduction algorithm 36-39 2.3.3 path cluster endpoint identification 2.3.4 cluster path parallel execution method based on 39-41 symbol 41 2.4 experiments and analysis 41-43 2.5 Summary 43-44 environment interaction method based on Chapter III mixed input 44-56 3.1 summarizes the art 44-46 3.1.1 function Summary 44-45 3.1.2 environment Modeling 45 3.1.3 Concolic Testing method 45-46 3.2 problem Description consistency nbsp 46-48 3.3 program execution ; 48-49 3.4 hybrid symbolic execution 49-52 bidirectional switching nbsp 3.4.1 concrete and symbolic execution performed ; 49-51 3.4.2 hybrid method for solving path 51-52 3.5 experiments and analysis 52-54 3.6 Summary 54-56 fourth chapter based on dynamic symbolic execution sensitive point parallel approach method 56-68 4.1 Introduction 56-57 4.2 path selection policy 57-59 4.2.1 breadth-first (Breadth-First Search , BFS) 57 4.2.2 depth-first (Depth-First Search, DFS) 57-58 4.2.3 random selection (Random Path, RP) 58 4.2.4 robin scheduling (Round-Robin Scheduling, RRS) 58 4.2.5 -generation search (Generation Search, GS) 58-59 <br / > 4.2.6 from the priority generation search (Generation Search Combined with Distance Priority, GSCDP) 59 4.3 PASPDSE technology 59-65 4.3.1 binary code execution semantics extraction 60-61 4.3.2 backtracking distance call chain based algorithm 61-63 4.3.3 parallel dynamic test 63-65 4.4 experiments and analysis 65-66 4.5 Summary 66-68 Chapter V compatibility and search based on a combination of parallel constraint solving method 68-82 5.1 problem Description 68-70 5.2 key technology 70-76 5.2.1 compatible parallel technology 70-75 5.2 .2 compatible parallel combination of parallel search technology 75-76 5.3 experiments and analysis 76-80 5.3.1 test environment 76-77 <br / > 5.3.2 parallel experiments compatible model 77-79 5.3.3 parallel search algorithm validation 79-80 5.4 Summary 80 -82 sixth chapter based on symbolic execution of software patches comparative analysis 82-96 6.1 patch than on the development of technology 82-84 6.2 Description of the problem 84-86 6.2.1 issues raised 84-85 6.2.2 problem definition 85-86 6.3 based graphics functions isomorphic level structural comparison 86-87 6.4 based on symbolic execution of basic block-level semantic comparison 87-88 6.5 system implementation 88-89 6.6 examples of test 89-95 6.6.1 functional Test 89-92 6.6.2 comparison test 92-95 6.7 Summary 95-96 Chapter VII summary and Outlook 96-99 7.1 thesis summary 96-97 7.2 research prospects 97-99 Thanks 99-100 References 100-106 Author Biography 106-107

Related dissertations

  1. Real-time Eye-gaze Tracing System Based on CPU+GPU
    LiFeiFei ·Tianjin University ·2012 ·Master's thesis
  2. A Study on Word Document Decryption Based on GPU
    TianZuo ·Tianjin University ·2012 ·Master's thesis
  3. The Security Evaluation, Vulnerability Analysis and Improvement of the Large Industrial and Mining Enterprise Information System
    YiXinMing ·Hunan University ·2013 ·Master's thesis
  4. A Study on English Translation of Parallel Structures in Huangdi Neijing from the Perspective of Functional Equivalence
  5. Experimental Study on Uniaxial Compressive Property and Stress-stain Relationship of Hollow Concrete190Block Masonry
    JingYiCun ·Harbin Institute of Technology ·2012 ·Master's thesis
  6. Network Characteristics and Vulnerability Analysis of Chinese Railway Network
  7. Vulnerability analysis of heavy items off the satellite structure
  8. A Network Software Vulnerabilities Discovery Method Based on Dynamic Taint Analysis
  9. Research on the Attack and Defense Techniques of Code Reuse
    ChenPing ·Nanjing University ·2012 ·Doctoral dissertation
  10. Research and Implementation of Web Application Security Scanner
    HuangCongZuo ·Central South University ·2012 ·Master's thesis
  11. Community Detecting Technology Based on Improved GN Algorithm
    YangLiWen ·Jilin University ·2012 ·Master's thesis
  12. Protection of Non-Control-Data Based on LLVM Framework
    ShenDaYu ·Nanjing University ·2012 ·Master's thesis
  13. Study on Program Diversity for Software Security
    XinZhi ·Nanjing University ·2013 ·Doctoral dissertation
  14. Research and implementation of software encryption key protection
  15. Research on Parallelization of Convolutional Neural Networks
    FanBaoLei ·Zhengzhou University ·2013 ·Master's thesis
  16. Research on Multi-level Parallelism and Algorithms for High-performance Solid State Disk
    HuYang ·Huazhong University of Science and Technology ·2012 ·Doctoral dissertation
  17. Wireless intelligent mobile and discovery software vulnerability analysis terminal
  18. Research and Implementation of Intra Prediction in H.264/AVC Standard
    PanBin ·Shanghai Jiaotong University ·2010 ·Master's thesis
  19. Research of parallel RSA algorithm based on GPU
    TangZuo ·Yunnan University ·2013 ·Master's thesis
  20. Public key cryptography algorithm and architecture of parallel processing
    WangShuai ·Fudan University ·2012 ·Master's thesis