Dynamic Detection of Buffer-overflow Vulnerability in Binary Environment
- Author
- XiaChao
- Advisor
- ChenKeFei
- School
- Shanghai Jiaotong University
- Major
- Applied Computer Technology
- Classification
- TP393.08 Computer Network Security
- Degree
- Master's thesis
- Year
- 2008
- Downloads
- 139
- Citations
- 4
Abstract
Firstly, the stack-based overflow , heap overflow and bss section , returning into libc well the format string vulnerability of these four types of buffer overflow vulnerability . Then, the static analysis and dynamic analysis techniques typical method - Wagner method and StackShield of methods . This paper presents a new method of mining buffer overflow vulnerability in a binary environment . Using combined dynamic and static analysis to find loopholes in the binary environment program further . Static method to analyze the structure of the binary program , including function calls , the function 's internal structure ( circulation and select the branch ) , the characteristics of the function stack frame ; dynamic simulation method provides a virtual operating environment for the procedures and functions , make the program combined with the process of running static characteristics in the function's signature , that is the buffer to read and write semantics . The final determination of whether the program buffer overflow .
Table of contents
Abstract 3-4
ABSTRACT 4-8
Chapter buffer overflow principle 8-12
1.1 Buffer Overflow Vulnerability Status 8-9
1.2 Buffer Overflow Attacks 9-12
1.2.1 buffer overflow 9-10
1.2.2 exploit buffer overflow attacks 10-12
Chapter buffer overflow classification and research 12-27
2.1 stack-based overflow research 12-15
2.2 and BSS overflow a heap-based research 15-22
2.3 format string vulnerability research 22-25
2.4 RETURNING INTO LIBC 25-27
Chapter buffer overflow prevention and detection technology 27-34
3.1 WAGNER method 27-30
3.1.1 Constraint Language and generation constraints 28-30
3.1.2 Constraint Solving 30
3.1.3 Wagner method deficiencies 30
3.2 STACKSHIELD dynamic detection 30-31
3.3 binary environment 31-32
3.4 binary buffer overflow detection summary 32-34
3.4.1 pointer aliasing problems 32
3.4.2 Process analysis problems 32-33
3.4.3 binary complexity of the environment 33-34
Chapter binary code buffer overflow vulnerability mining model 34-49
4.1 line of research 34-35
4.2 intermediate representation and dynamic simulation environment 35-36
4.3 function stack frame buffer variable characteristic analysis and identification 36-38
4.4 program control flow analysis 38-41
4.4.1 Derivation Algorithm 39-40
4.4.2 loop structure identification 40
4.4.3 conditional structure identification 40-41
4.5 function signature and semantic analysis 41-49
4.5.1 function signature 41-42
4.5.2 virtual address space of parameters and 42-44
4.5.3 General function's signature 44-46
4.5.4 Semantic Analysis 46-49
Chapter specific design 49-61
5.1 overall design 49
5.2 document analysis module 49-54
5.2.1 elf file parsing 50
5.2.2 Reconstruction file image 50-51
5.2.3 function stack frame structure analysis 51-52
5.2.4 Functions of the basic block analysis 52-54
5.3 virtual execution environment module 54-60
5.3.1 x86 instruction 54
5.3.2 abstract operand 54-55
5.3.3 abstract instruction 55-57
5.3.4 abstract instruction set and virtual execution engine 57-59
5.3.5 full virtual memory and library calls 59-60
5.4 program flow analysis module , function signatures and semantic analysis module 60-61
Chapter VI experimental results with the model to evaluate the prospects 61-65
6.1 Experimental results 61-63
6.1.1 small test case 61-62
6.1.2 sendmai18.7.5 Buffer Overflow Vulnerability 62-63
6.2 Model Evaluation and future work 63-65
References 65-66
Thanks 66-67
During the master's degree has been published or accepted papers 67-69
Related dissertations
- Research on Hydraulic Driving System DA Control
- A large high mobility radar transmission system research and design
- Three-dimensional Finite Element Modeling of Artificial Hip Joints and Its Biomechanics Research in Human Body
- Optimization Design and Simulation Analysis for Separating-planting Mechanism of Female Parent of Hybrid Rice Transplanter
- Research on DC Power Distribution Experimental System for Distributed Power Acess
- The Design and Implementation of Sanming Regionl Power Grid Dispather Training Simulation System
- Unfold Process Simulation and Analysis of Folding Solar Panel Structure
- Design and Simulation Research on72.5kV EMFA for Vacuum Circuit Breaker
- Performance Analysis of Dual-Rotor Asynchronous Motor and Research of Vector Control System
- The Research and Manufacture of CXJ-ⅢBiomass Fuel Mechanical Piston Molding Machine
- Modular Modeling,Simulation and Dynamic Optimization of High Temperature Gas-cooled Reactor
- Analysis on the Self-stabilization for a Molten Salt Reactor
- The Numerical Calculation and Dynamic Simulation about Water Hammer in Long Distance Transmission
- Study on the Key Technique of Hydraulic Crawler Compactor
- Control Strategy Study of Hybrid Ground-source Heat Pump System
- Study on the Characteristics of Heating and Air-conditioning Load of Residential Buildings in Hot-summer and Cold-winter Region
- Research and Indoor Thermal Performance Analysis of Electrothermal Film Used in Heating
- Research on Ground Source Heat Pump System of Optimal Allocation and Run Strategy in Wuhan
- The Design and Simulation Research of ABS Dynamik Simulation Bench
- Research and Analysis on Dynamic Characteristic of Two-axle Vehicle with Large Tonnage