Attack Diagnosis on Binary Executables Using Dynamic Program Slicing
- Author
- HuangShan
- Advisor
- QiZhengWei
- School
- Shanghai Jiaotong University
- Major
- Software Engineering
- Classification
- TP311.53 Software Maintenance
- Degree
- Master's thesis
- Year
- 2012
- Downloads
- 108
- Citations
- 0
Abstract
With the rapid development of computer techniques, many kinds of software have affected people more and more deeply in their work and daily life. However, the level of the practically used programs is often complex and of such a large scale so that it is not as easy to analyze and debug them as one might expect. And it is quite difficult to diagnose attacks and find vulnerabilities in such large-scale programs. Most of security issues of software are from their design flaws. Thus, it makes a big reduction of the risk and cost from malicious software attacks that finding potential vulnerabilities and diagnosing software attacks in time.Program slicing has been proved to be an effective approach to find vulnerabilities and diagnose software attacks. And it becomes a popular and effective method for program comprehension since it can reduce the analysis scope greatly and drop useless code which will not influence the final result. Generally, there are two methods to implement this technique, static way and dynamic way. The static way has high overhead and low runtime efficiency because it must load the whole target program when doing the slice analysis. It is also not very precise since it cannot get the accurate value, which can be obtained only when the target program is actually running. The program slicer that I designed and implemented in this paper uses the dynamic method to overcome the shortcomings of static analysis, and it can get precise slicing result with high efficiency and low overhead. After the dynamic program slicing was proposed, there has been any researches in this field. However, most of existing dynamic slicing tools perform dynamic slicing in the source code level, and the source code is not easy to obtain in practice, which makes the dynamic slicing on source code level be not practical. In this condition, this paper provides and implements a dynamic program slicer based on the binary program. The slicer can do the dynamic slicing analysis directly on the binary executables of target programs, which greatly expand the using scope of the dynamic program slicing technique.My research works and contributions mainly include the following points: 1) Combine the dynamic program slicing and binary analysis technique to provide the dynamic binary program slicing technique to improve the efficiency and reduce the overhead. 2) Put forward the idea of using dynamic binary program slicing technology to discover software vulnerability and diagnose attacks, and demonstrate the feasibility of this option in experiments. 3) Organize the slicing result by function CG (Call Graph) and CFG (Control Flow Graph) to make it hierarchical and structured. 4) Add two optimizations, which are Basic Block Execution and Function Filtering, to the tool to simplify the slicing process and improve the analysis efficiency greatly.It is proved in the experiments that the dynamic binary program slicer can not only finish dynamic slicing tasks efficiently and accurately, but can diagnose true software attacks and explore potential vulnerabilities as well. Benefit from the two optimizations, the overhead of my dynamic binary slicer is only 1.41 times, which is much lower than other similar analysis systems.
Table of contents
Summary 3-5
ABSTRACT 5-9
1 Introduction 9-15
1.1 Background and Significance 9-11 < br /> 1.1.1 software increasingly grim security situation 9-10
1.1.2 current issues and direction 10-11
1.2 research status 11-12
1.2.1 dynamic program slicing 11
1.2.2 binaries analysis 11-12
1.2.3 software attacks diagnostic 12
1.3 of the research content 12-13
1.4 nbsp paper tissue structure ; 13-15
2 program slicing technologies 15-25
2.1 program slicing techniques outlined 15-17
2.1.1 program slicing concept and development stage 15-17
2.1.2 program slicing species 17
2.2 dynamic program Slicing 17-20
2.2.1 features and dynamic program slicing algorithm 17-19
2.2.2 dynamic program Slicing Research Progress 19-20
2.3 dynamic binary program slicing 20-23
2.3.1 dynamic binary analysis framework 21-22
2.3. 2 based on the binary dynamic program slicing 22-23
2.4 software attacks diagnostic tools and techniques 23-24
2.5 Summary 24-25 <br / > 3 system architecture design 25-39
3.1 DBS application Overview 25-26
3.2 DBS system architecture design 26-37
3.2.1 binary code to run the monitoring module 27-29
3.2.2 program basic block identification module identification and filtering 29-31
3.2.3 functions 31-33
3.2.4 dynamic Binary slice engine 33-35
3.2.5 function call graph and control flow graph building blocks 35-37
3.2.6 system running process 37
3.3 Summary 37-39
4 system implementation 39-55
4.1 DBS system to achieve 39-50 < br /> 4.1.1 function identification Module 39-44
4.1.2 dynamic binary program slicing 44-48
4.1.3 cross- function analysis and real-time data processing 48-49
4.1.4 biopsy results 49-50
4.2 system optimization 50-53
4.2.1 basic block units treatment program 50-51
4.2.2 function filtering mechanism 51-53
4.3 Summary 53-55
5 experiments and analysis 55-65
nbsp 5.1 test environment ; 55
5.2 DBS performance analysis experiments 55-57
5.3 DBS dynamic binary analysis of the effect of the experimental section 57 function within the -63
5.3.1 dynamic Slicing analysis of experimental 57-59
5.3.2 cross- section analysis of dynamic function test 59-61
5.3.3 software explore potential vulnerabilities to attack diagnosis and experimental 61-63
5.4 summary 63-65
6 summary and Outlook 65-67
6.1 summarizes papers 65-66
6.2 Prospects 66-67
References 67-71
Thanks 71-73
study during graduate academic catalog published 73-75
Related dissertations
- Research on Key Technologies of Malicious Code Binary Program Behavior Analysis
- Program Slicing Research Based on Hot Path and Its Application in Fault Localization
- Research on Instruction Set Simulation Echnology for Binary Analysis
- A Study of Virtualization Technique on CPU/GPU Platforms
- The Research and Implementation of Dynamic Slicing System for Object-Oriented Program
- Research on Program Slicing Technique and Its Application in Software Test Data Generation
- The Research and Implementation of Dynamic Slicing System for C++ Program
- Analysis of Control Flow Based on Binary Executable
- VM-based information extraction and analysis of the key
- Binary code security analysis
- Based on the binary code of the dynamic symbolic execution tool