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

Request the full text

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

  1. Static Security Detection of C Applications
  2. P2P worm design based on buffer overflow
  3. Research of Windows Buffer Overflow Exploits Technology Heap Spray
    LiuLei ·Shanghai Jiaotong University ·2012 ·Master's thesis
  4. Reasearch on Detection and Prevention Techniques of Buffer Overflow Attacking Code
  5. Research on Detecting Buffer Overflow in Binary Code
    YuXu ·Nanjing University ·2012 ·Master's thesis
  6. Vulnerability Discovering and Its Use in Meteorological Network Security
  7. Research and Implementation of QEMU-based Hotspot Code Detection and Dynamic Optimization Model
  8. Research and Implement of Code Cache Management Policy in QEMU Emulator
  9. The Design and Implementation of a Method of Remote PCI Device Driver
    LiAng ·Nanjing University ·2012 ·Master's thesis
  10. Research on Dynamic Binary Translation and Optimization Based on QEMU
    LuoYan ·Zhejiang University ·2013 ·Master's thesis
  11. Design and Verification of Program Buffer Overflow Inspection Method
  12. The Research on Buffer Overflow Attack Defense Based on Trusted Execution Environment
    ZhangHuiJie ·Beijing Jiaotong University ·2013 ·Master's thesis
  13. Research on Technology of Buffer Overflow Discovery Based on Hex-Rays
  14. Code-Reuse Attack Detection and Defense Based on Dynamic Binary Translation Framework
    LiuChao ·Hunan University ·2012 ·Master's thesis
  15. Research and implementation of software encryption key protection
  16. Dynamic Binary Translation Modeling and Parallelization Research
    LiaoYin ·University of Science and Technology of China ·2013 ·Doctoral dissertation
  17. Research of CPU Virtualization and Optimization of Scheduling Policy under KVM
    HuangZuo ·Chengdu University of Technology ·2012 ·Master's thesis
  18. Flow Control Strategies of LTE-Advanced Relay Networks
    LiWei ·Southwest Jiaotong University ·2012 ·Master's thesis
  19. Research and design of virtual simulation platform of flight control system
  20. Study of Reliability Estimation Method for Onboard Computer System
    ZuoJunFeng ·Harbin Institute of Technology ·2007 ·Doctoral dissertation