Research and Implementation of the buffer overflow protection method based memory segment to protect critical data
- Author
- XieDi
- Advisor
- LiYiChao
- School
- University of Electronic Science and Technology
- Major
- Applied Computer Technology
- Classification
- TP393.08 Computer Network Security
- Degree
- Master's thesis
- Year
- 2011
- Downloads
- 46
- Citations
- 1
Abstract
With buffer overflow technology continues to evolve, the species from a simple stack overflow, derived heap integer format string different ways, endangering speed appear to take advantage of the development from the early years of a few months before to 0 Day today utilize hazards The degree of increase, network and personal information security is facing a huge threat. Buffer overflow protection technologies emerging in recent years, such as unenforceable processor-based hardware buffer overflow protective effect function linked stack traceback technology can play to some extent, but still has been found to bypass method. So, the market is an urgent need for a new overflow protection technologies and development appropriate to achieve effective protection against buffer overflow attacks. This article is based a classification characterized buffer overflow overflow occurs after malicious code execution behavior as well as existing buffer overflow protection technology advantages and disadvantages, and propose a new method based on the process of memory segmentation mechanisms to protect critical data buffer overflow protection. Segmented memory feature, this protection method utilizes the x86 hardware platform manufacturing inaccessible memory address space of the the win32 process of transfer of critical data to these inaccessible space, and access to critical data intercepted abnormal, and thus the buffer overflow detection protection, and the formation of the log statements. I Research and Implementation of the above buffer overflow, completed work include: study the classification of buffer overflow attacks and characteristics, the analysis of the strengths and weaknesses of the existing buffer overflow protection technology, on the basis of the first two studies The design is based on memory segmentation to protect critical data buffer overflow protection method based the memory segmentation protect critical data buffer overflow protection system. Based memory segmentation to protect critical data buffer overflow protection method and implementation of the system, has been tested in a buffer overflow already occurred, the effective detection of various types of buffer overflow and prevent malicious code to capture the system control right to further analysis and further implementation, and a detailed report of the circumstances and the overflow log for user reference. Based memory segmentation to protect critical data buffer overflow protection system is lower than the efficiency overhead paging overflow protection, on the scope of protection than the existing the stack traceback technologies such function linked for the computer network and personal system provides an efficient, the extensive buffer overflow protection.
Table of contents
Abstract 4-5
ABSTRACT 5-9
The first chapter 9-14
1.1 subject background <br / the purpose and significance of> 1.2 topics 9-10
1.3 Research topics 10-12
1.4 The main research work and organizational structure 12 - 14
buffer overflow protection Methods the 14-23 2.1 buffer overflow
types and characteristics 14-17
2.1.1 stack overflow 14-15
2.1.2 heap of rotting the 15-16 2.1.3 integer overflow
16
2.1.4 formatted string defects nbsp 2.2 buffer overflow exploit
16-17 Summary of key data ; 17-18
2.3 buffer overflow protection methods and characteristics 18-21
2.3 .1 buffer length checking 18
2.3.2 Data unenforceable 18-19
2.3.3 protect the return address 19
2.3.4 address space relocation the 19-20 function call
2.3.5 linked 20-21
2.4 Chapter Summary 21-23
Chapter buffer the overflow protection technology research 23-33
3.1 buffer overflow detailed analysis of critical data 23-29
3.1.1 Process Environment Block 23-24 < br /> 3.1.2-thread environment block 24-25
3.1.3 structured exception handling function pointer 25-27
3.1.4 function export table 27
3.1.5 Import function table 27-28
3.1.6 function pointer enters the critical section 28-29
3.2 the overflow protection technology program are found; 29-32
3.2.1 utilization of critical data summarized 29-30
3.2.2 protection process critical data technology solutions 30-32
3.3 Chapter Summary 32-33
Chapter buffer overflow protection system framework 33-43
4.1 overall objective 33-34
4.2 system overall framework 34-38
4.2.1 system architecture 34-36
4.2.2 virtual overflow test platform are found; 36-37
4.2.3 true overflow protection platform 37-38
4.3 system key technology research 38-43
4.3.1 read and write kernel address space 38
4.3.2 read and write memory address specific process 38-39
4.3.3 segmented memory management 39-40
4.3.4 exception handling mechanism 40
4.3.5 communication mechanism the 4.3.6 log
40-42 save formats 42-43
Chapter based segment mechanisms to protect the buffer overflow protection system design achieve 43-59
5.1 the initialization module design 43-45
5.1.1 segmented memory management module initialization 43-44
5.1.2 key data transfer module initialization 44-45
5.1.3 exception handling module initialization 45
5.2 segmented memory management module detailed design 45-49
5.2.1 segmented memory management module overall design are found; the 45-46 5.2.2 segment descriptor management
46-48
5.2 .3 dynamic segment length setting 48
5.2.4 inaccessible area control 48-49
5.3 the Key data transfer module design 49-52 <br / > 5.3.1 key data transfer module overall design nbsp 49
5.3.2 critical data pointer management; 49-50
5.3.3 critical data migration function 50 - 52
5.4 exception handling module detailed design the 52-54
5.4.1 exception handling functions registered 53
5.4.2 buffer overflow detection 53 -54
5.4.3 overflow protective handling 54
5.5 user interface design 54-59
the 5.5.1 main interface design 54-56
5.5.2 the sub interface design 56-59
sixth chapter. Results and Analysis the 59-62
6.1 Test Results 59-60
6.2 Analysis of test results 60-61
6.3 Chapter Summary the 61-62
Chapter VII Conclusion 62-64
Acknowledgements nbsp References; 64-65
the results achieved 65-68
attack Shuo during 68-69
Related dissertations
- Design Ofthe Embedded Real-Time Java Platform and Application in Image Processing
- The Research and Implementation of Corporate Seal Management System Based on Workflow
- Research on Some Key Technologies of Web Services Composition
- Research on Web Services Platform Key Technology and Tour Planning Engine
- Exception Propagation Analysis and Its Applications
- Research on Dynamic Workflow Technologies on the Basis of Reflection and Web Services
- Research on Dynamic Binary Translation and Optimization
- Research on Some Key Issues of MES in Complex Information Environment
- A Research of Service Availability and Related Exception Handling for Service-Oriented Applications
- Study on Adaptive Workflow Model and Implementation Mechanism
- A Research on Some Key Technologies of Exception Handling for Smart Process
- Research on Fault-Tolerance of Web Services Driven Business Processes
- Research on the Key Issues of Service Composition Towards Fuzzy Request
- Research on Key Techinologies of QoS Assurance for Web Service Composition
- Automatic Generation of Security Relevant Behavior Model for Java Programs Using Static Analysis
- Design and Realization of the Custom Resource Management System on a Small and Medium-sized Auto Parts Enterprises
- A Study on Perfecting and Improving of Furnace Safeguard Supervisory System Performance
- Research and Implement Workflow Technology on FRACAS Facing Commercial Aircraft
- Design and Implementation of Quality Management System Based on Flexible Workflow
- Study of Exception Safety Pattern in C++ Program