Buffer Overflow Vulnerabilities Checking Tools Design and Implement
- Author
- DingYanLin
- Advisor
- ZhuHong
- School
- Huazhong University of Science and Technology
- Major
- Computer Software and Theory
- Classification
- TP311.52 Software Development
- Degree
- Master's thesis
- Year
- 2006
- Downloads
- 305
- Citations
- 1
Abstract
Now, the buffer overflow is the most security problem in software. When the programmers forget to check the boundary of buffers or use some standard C library strings functions, those functions don’t check the boundary of buffers the buffer overflow vulnerabilities would be produced.Through analyzing the theory and types of buffer overflow vulnerabilities, the format defines of the testing object are brought up, the manipulation on buffer and the status of buffer are defined. And the checking model of buffer overflow vulnerabilities is brought up that based on those definitions, at the same time four checking rules of buffer overflow and one theory are presented. When the buffer overflow vulnerabilities has been occurred, there must have two necessary conditions. First is the buffers had been defined in C source codes, the second is the programmer didn’t check the boundary of the buffers. The buffer overflow vulnerabilities checked theory based on the buffers status checks buffer overflow vulnerabilities.A checking tool of buffer overflow is designed and implemented base on the checking model, it can overcome the heavy works that the comments are adding into source codes, and can prevent the executed codes being expanded. The checking tool scans the C source codes and checks the buffer overflow vulnerabilities in C source code bases three rules and the theory. The buffer overflow checking tool is composed of input module, accidence analyzed module, syntax analyzed module, semantic analyzed module and output module. The buffer overflow checking tool is implemented the capability that checking the pointer overflow, array overflow, record object overflow and some C standard library functions overflow in C source codes.The research and experimentation illuminated that the buffer overflow checking tool can check the pointer overflow, array overflow, record object overflow and some C standard library functions overflow vulnerabilities. And it can check the buffer overflow vulnerabilities in huge C source program fast. So the checking tool is an applied buffer overflow vulnerabilities checked tool.
Table of contents
Summary 3-4
ABSTRACT 4-6
1 Introduction 6-13
1.1 subject background 6-7
1.2 Overview abroad 7-11
1.3 The main research topics 11-13
2 buffer overflow detection model 13-20
2.1 buffer overflow introduced 13-15
2.2 C source program buffer formal definition 15-17
2.3 buffer overflow detection model rule 17-19
2.4 Summary 19-20
3 buffer overflow vulnerability detection tools, design and implementation 20-46
3.1 overall vulnerability detection tools designed 20-21
design and implementation
3.2 vulnerability detection tools each module 21-44
3.3 Summary 44-46
4 Experimental results and analysis 46-50
4.1 experimental system design 46-47
4.2 Analysis of experimental results 47-49
4.3 Summary 49-50
5 Summary and Outlook 50-52
5.1 summarizes 50-51
5.2 Prospects 51-52
Thanks 52-53
References 53-57
During the study published in Appendix
dissertation directory 57
Related dissertations
- Static Security Detection of C Applications
- P2P worm design based on buffer overflow
- Research of Windows Buffer Overflow Exploits Technology Heap Spray
- Reasearch on Detection and Prevention Techniques of Buffer Overflow Attacking Code
- Research on Detecting Buffer Overflow in Binary Code
- Vulnerability Discovering and Its Use in Meteorological Network Security
- Design and Verification of Program Buffer Overflow Inspection Method
- The Research on Buffer Overflow Attack Defense Based on Trusted Execution Environment
- Research on Technology of Buffer Overflow Discovery Based on Hex-Rays
- Code-Reuse Attack Detection and Defense Based on Dynamic Binary Translation Framework
- Research and implementation of software encryption key protection
- Flow Control Strategies of LTE-Advanced Relay Networks
- Research on Key Technologies of Network Security Language
- Research on Some Issues of Software Vulnerability Testing
- Research on Software Design and Implementation Techniques for Non-Functional Requirements
- Vulnerability Attack and Defense and Vulnerability Database Design
- The Design and Implementation of a Static Analysis System in Source Code
- Research on Finding Windows Buffer Overflow Vulnerabilities by Security Patch Comparison
- Detecting Buffer Overflow in Binary Code by Analyzing Unsafe Functions
- Research of Attack Technique and Defense Policy Based on Buffer Overflow