Analysis and Detection of the Array Buffer Overflow
- Author
- ZhouLei
- Advisor
- ChenKeFei
- School
- Shanghai Jiaotong University
- Major
- Computer System Architecture
- Classification
- TP309 Security and confidentiality
- Degree
- Master's thesis
- Year
- 2010
- Downloads
- 74
- Citations
- 3
Abstract
Buffer overflow is still the primary vulnerability in software security. It overwrites some extra data to a buffer than intend to hold, corrupting or overwriting the valid data held in them such as variables and control flow data. In buffer overflow attacks, the extra data may contain codes designed to trigger specific actions, for example, change data and files, control the computers or crash the system. Because the problem involves complex control flows, data flows, pointer analysis, bound checking, access control and other factors, it still cannot assure the software security by much static and dynamic detection. Plenty of new software is released to the market with vulnerabilities every year, and it brings about the increased number of attacks and huge economic losses.This article does some research on the array buffer overflows, studies the theory and techniques, and then improves them with some new ideas to increase the accuracy and efficiency. This paper proposes a novel static analysis framework based on symbolic operations to analyze and detect array index and pointer bounds. It focuses on the induction variables of array bounds and pointers in loop structures, studies the dependence and mathematic relationships between them. The method models this problem first, and solves the recursive equation sets and inequalities by symbolic operations, making the induction variables represent by the input variables. With security rules of reading and writing memory, it could establish the safe satisfaction constraints by the previous results. Then we can detect the overflows by the constraints and input values.This approach has several appealing properties and innovations: (1) It simplifies the overflow problems, reduces the analysis scales and improves its efficiency. (2) State analysis combines with value analysis. (3) It increases the problem complexity with symbolic operations. (4) The paper presents a new analysis framework considering the loop structure as basic analysis unit. (5) The method expends analysis scoop where others never work.Experimental results from our prototype implementation indicate that our methods could detect the overflows effectively and efficiently.
Table of contents
Abstract 3-4
ABSTRACT 4-8
first chapter 8-13
1.1 problem background and significance 8-10
1.2 Research 10-12
1.3 research content and structure 12-13
the
buffer overflow Attacks and prevention 13-33
2.1 buffer overflow attacks the basic principles of to 13-23
2.1.1 stack overflow attacks 15-20
2.1.2 heap overflow attacks 20-23
2.2 buffer overflow precautions 23-32
2.2.1 Static detection technology 24-29
2.2.2 motion detection technology 29-32
2.3 This chapter Summary 32-33
Chapter array buffer boundary detection and optimization 33-56
3.1 theoretical foundation and algorithms 33-44
3.1.1 boundary detection method 34-35
3.1.2 Range of representation and calculation 35-36
3.1.3 induction variable calculation 36-43
3.1.4 recursive boundary 43-44
3.2 automatic boundary detection 44-55
3.2.1 system structure 45-49
3.2.2 state generation and conversion 49-50
3.2.3 induction variables solving 50-53
3.2.4 constraint equations to solve the boundary 53-54
3.2.5 boundary detection and optimization 54-55
3.3 This chapter Summary 55-56
Chapter system test 56-63
4.1 test cases 57-61
4.1.1 test 1 57-58
4.1.2 test 2 58-59
4.1.3 Test 3 59-61
4.2 analyze and compare 61-62
4.3 This chapter Summary 62-63
Chapter text summarizes 63-65
The main conclusions of the
5.1 63-64
5.2 Research Prospects 64-65
the
References 65-70
the
pursuing a master's degree during been published or accepted papers 70-71
Acknowledgements 71-73
Related dissertations
- Static Security Detection of C Applications
- Static Analysis and Investigation of Fabric Parameters of Low-pylon Cable-stayed Bridge with Four Towers
- Executable code based buffer overflow detection
- Study on Software Vulnerability Digging
- Design and Development of a High-speed Heavy-load Palletizing Robot
- The Design and Analysis of Octahedral Module Deployable Mast
- Research on Mechanical Properties Of the Elastic Body of a Six-Axis Force Sensor Based on Strain Gauge
- Compiler-directed Static Analysis and Code Transformation
- The Research of Exploiting Software Security Vulnerabilities Based on Android Platforms
- The Finite Element Analysis and Optimization of the Key Components of FP2500A Type Stack-Turning Machine for Organic Fertilizer
- Design and Analysis of PF1In-cryostat-feeder Support for ITER Poloidal Field
- Research on Steel Structure Optimization and Dynamic Characteristics of HZS240Concrete Mixing Station
- Mechanical Performance Analysis of Semi-rigid Steel Frames Filled Profild Steel Plate Wall
- Large Steel Structure Natural Draft Cooling Tower of Force Analysis
- The Wind Resistance Study of the Steel Frame Structural Main Factory Building of Large Thermal Power Plant
- The Analysis of the Structure Stability of Zhongding International Mansion
- Research on the Mechanical Behaviors of Concrete-filled Double Skin Steel Tubular Column
- The Analysis and Comparison for Different Forms of T Fence in the Wiggins Gas Holder
- The Research on the Use of Composite Structure in Three-dimensional Garage
- Static Analysis of the Ground-supported Flat-bottomed Cylindrical Steel-concrete Composite Silo