The Design and Implementation of a buffer overflow attack detection tools
- Author
- QinZhaoWei
- Advisor
- LuoLei , SunHanLin
- School
- University of Electronic Science and Technology
- Major
- Computer Software Engineering
- Classification
- TP309 Security and confidentiality
- Degree
- Master's thesis
- Year
- 2010
- Downloads
- 103
- Citations
- 1
Abstract
Buffer overflow has always been a dominant issue of system security.Many computer viruses or worms exploit this vulnerability to damage computer systems. Although numerous researches have been proposed to defend such attack, solutions that were really used as standard were rare. The main reason is that few solutions can be compatible with user binary code.Most of these solutions needs to modify the software code or the operation system,this behavior wasts plenty of times and works,can not do the efficency software test.This thesis chooses QEMU emulator to emulate a hardware behavior and selects SmashGuard mechanism to test its feasibility.For build a complete test system we designed an Function Hot Mend module based by Software Fault Injection Technical (SFIT),which used for simulate buffer overflow attrack.The result showed that it will produce some problems, and the reason was analyzed. Hence, this thesis proposed a two layer checking mechanism. In addition to checking the consistency of return address, validity of return address was also checked. The result demonstrates that this mechanism can differentiate and detect typical stack-smashing attack
Table of contents
Abstract 4-5
Abstract 5-8
Chapter Introduction 8-13
the
a 1.1 research purposes and significance 8-9
1.2 topics related technologies Research 9-11
1.3 major research 11
1.4 In this paper, the organizational arrangements 11-13
Technical Overview 13-30
2.1 buffer overflow vulnerability principle 13-14
2.2 buffer overflow detection technology 14-19
2.2.1 software method of detection technology 15-17
2.2.2 hardware method detection technology 17-19
2.3 QEMU hardware simulation technology 19-23
2.3.1 QEMU binary translation system 19-21
2.3.2 QEMU translation process 21-23
2.4 X86 architecture function calls the underlying analysis 23-25
2.5 software fault injection technology Introduction 25-28
2.6 This chapter Summary 28-30
requirements analysis and project summary 30-35
3.1 needs analysis 30-31
3.1.1 Task Overview 30-31
3.1.2 Functional Requirements 31
The
the 3.1.3 project development platform requirement 31
3.2 Project Summary 31-34
3.3 Summary 34-35
Design and Implementation of
Chapter function heat patch 35-49
4.1 features a general overview 35-41
the
jump instruction 4.1.1 IA32 architecture underlying realize 35-36
4.1.2 design ideas 36-39
4.1.3 design to achieve 39-41
4.2 patch rollback process 41-46
4.2.1 design ideas 41-42
4.2.2 design to achieve 42-46
4.3 Experimental 46-47
4.4 Summary 47-49
Chapter buffer overflow the double detection mechanism realization 49-62
5.1 design ideas 49-53
5.1.1 QEMU function call control processing 49-52
5.1.2 detection system outline design 52-53
5.2 designed to achieve 53-60
5.2.1 first layer: check return address conformance 53-57
5.2.2 second layer: check the return address legitimacy 57
5.2.3 test first layer mechanism work 57-59
5.2.4 Test second layer mechanism 59-60
5.3 Summary 60-62
Chapter VI Conclusion 62-63
6.1 paper summarizes 62
6.2 further work 62-63
Acknowledgements 63-64
the
References 64-68
Appendix 68-74
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
- Research and Implementation of QEMU-based Hotspot Code Detection and Dynamic Optimization Model
- Research and Implement of Code Cache Management Policy in QEMU Emulator
- The Design and Implementation of a Method of Remote PCI Device Driver
- Research on Dynamic Binary Translation and Optimization Based on QEMU
- 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
- Dynamic Binary Translation Modeling and Parallelization Research
- Research of CPU Virtualization and Optimization of Scheduling Policy under KVM
- Flow Control Strategies of LTE-Advanced Relay Networks
- Research and design of virtual simulation platform of flight control system
- Study of Reliability Estimation Method for Onboard Computer System