Analysis and Precautionary Measures of Buffer Overflow Attacking
- Author
- WangRuWei
- Advisor
- XuGaoChao
- School
- Jilin University
- Major
- System architecture
- Classification
- TP393.08 Computer Network Security
- Degree
- Master's thesis
- Year
- 2007
- Downloads
- 262
- Citations
- 0
Abstract
Computer security vulnerabilities due to buffer overflow , buffer overflow has become the most important means of attack on the network , and led to a series of serious security problems . C language program due to its efficient , flexible application that allows low-level direct memory access operations and pointer arithmetic , but did not carry out safety checks on pointer and array operations . The C language standard library provides some functions ( such as strcpy, strcat) allows the unknown number of input data to be written to the buffer of fixed size , but no bounds checking , if you only care about the functionality of the program and to ignore the program 's security in the software development process sex when it is easy to cause a buffer overflow and other security issues . Designed a rule-based static C \\ C source code vulnerability scanning program , the program is simple to use , fast ; according to the rules , it is easy not bound by the use of a safety hazard code , warned , and presented to the user more secure method suggestions program has strong expansibility .
Table of contents
Tiyao 4-7
first chapter of introduction 7-9
second chapter security vulnerabilities 9-15
2.1 security vulnerabilities the concept of 9
2.2 security vulnerabilities the classification of 9-12
2.3 loopholes in the utilization 12
2.4 loopholes in excavations method of 12-13 <br / > 2.5 Vulnerability grading 13-15
Chapter buffer overflow 15-23
3.1 stack definition 15-16
3.2 buffer overflow concept 16-21
3.2.1 Buffer Overflow Attacks 16
3.2.2 buffer overflow example 16-20
3.2.3 buffer overflow affect the 20-21
3.3 buffer overflow vulnerability's attack 21-23
Chapter IV buffer overflow the classification of 23 - 34
4.1 stack overflow 23-26
4.2 heap overflow 26-29
4.3 data indexing an error 29-31
4.4 format oriented string vulnerability 31-32
4.5 Unicode and ANSI's buffer size inconsistent 32-34
fifth chapter buffer overflow's Prevention Strategies 34 - 48
5.1 write correct code 34-35
5.2 probe-based method's defenses 35-36
5.3 stack protection 36-40
5.3.1 stack integrity stack protection 36-38
5.3.2 Non-executive stack defense 38-39
5.3.3 the stack to a higher address direction of growth 39
5.3.4 locked buffer technology 39-40
5.4 C / C Solutions 40-44
5.4.1 Standard library method 40-42
5.4.2 array bounds checking 42-44
5.5 based on certain Systems Strategy 44-46
5.5.1 Close unneeded privileged program 44
5.5.2 shut down or modify the system's some of the version information of 44-45
5.5.3 in a timely manner to the program loopholes in to fight patch 45-46
5.6 to provide advanced users help 46
5.7 tool guard against 46-48
Chapter VI programming vulnerability scanning Tools Design 48 - 69
6.1 design principles 48-49
6.1.1 program design flow chart of 49
6.2 detailed design of the 49-69
6.2 .1 vulnerability class design 52-53
6.2.2 important way to achieve 53-69
Chapter VII Conclusion 69-70
Reference literature 70-73
Appendix A dangerous the API 73-77
Appendix B Patch file format 77-78
Summary 78 -81
Abstract 81-85
Acknowledgements 85
Related dissertations
- Design of Embedded Access Control System Based on RFID
- Construction of IPv6Network System in Chengdu Institute of Biological
- Static Security Detection of C Applications
- The Development and Application for the Integrated Billing Inquiries System of Zhengzhou Unicom
- Design and Implementation of the Protection and Defense of Privacy Information
- The Designment and Implementation of Sichuan Province Meteorological Training Center Document Management System
- ERP System Design and Application of Traditional Chinese Medicine Pharmaceutical Enterprises
- The Design and Implementation of EHR Tianjin Lishen Battery Joint-Stock Co.,Ltd
- Design and Implementation of Scenic Region Management System Based on System’s Safety
- Key Techniques Research of Smart TV Software Platform
- Research on Applications of LED Display System Based on Mobile Network
- Research on Critical Security Issues of Paste Filling Technology
- Design&Reliazation on Digital Video Surveillance System for Police
- Research on Defence Technique against Web Attack Based on Script Security
- The Research and Implement of A Page Link Analysis-Based Vulnerability Scanning Scheme
- The Research and Implement of the Technology of Vulnerability Scanning Based on the Third-party Platform
- Research and Development of Web System Security Performance and Evaluation Mechanism
- P2P worm design based on buffer overflow
- Research and Application of Distributed Vulnerability Scanning Model
- Research of Windows Buffer Overflow Exploits Technology Heap Spray