Research and Analysis on Buffer Overflow in the SPARC v8 Architecture

Author
WeiShanShan
Advisor
XiaHong
School
North China Electric Power University (Beijing)
Major
Applied Computer Technology
Classification
TP393.08 Computer Network Security
Degree
Master's thesis
Year
2011
Downloads
61
Citations
1

Request the full text

Abstract

Buffer overflow attacks has become the main way of network attacks . It contains a carefully constructed the attack program entry address long string to the buffer overflow , overflow section contains the return address of the original program , program entry address of such attacks coverage program return address to complete the program jumps execution of malicious code , in order to achieve the purpose of the system of the attack , and its harmful consequences . SPARC v8 is a RISC architecture system buffer overflow vulnerability also exists in the SPARC v8 architecture , which will endanger the security of the operating system based on the SPARC v8 architecture . This article due to buffer overflow attacks took place in the process of a subroutine call , SPARC v8 architecture , the management of the register window and stack structure together to complete the process of subroutine calls , based on the principle of buffer overflow attacks , in-depth analysis of the characteristics of register windows in the SPARC v8 architecture subroutine call and stack structure , buffer overflow attacks SPARC v8 architecture program , and a classic open source the product LEON2 processor SPARC v8 a buffer overflow attack program to write and test verification . Successfully LEON2 Processor Buffer overflow attacks , buffer overflow attacks SPARC v8 architecture solution existence and seek SPARC v8 architecture in the detection and prevention of buffer overflow attacks necessity . In order to solve the problem of buffer overflow vulnerabilities in the SPARC v8 architecture , based on the characteristics of buffer overflow attacks SPARC v8 architecture , the SPARC v8 architecture in the detection and prevention of buffer overflow attacks corresponding program in LEON2 processing on implementation . The embodiment of the ModelSim simulation and FPGA development board test , final verification of the correctness and validity of the detection and prevention of buffer overflow attacks .

Table of contents

Abstract 5-6 Abstract 6-9 Chapter 1 Introduction 9-13 the background and significance of the 1.1 topics 9-10 1.2 research status 10-12 1.2.1 a general-purpose processor 10-11 1.2.2 embedded processor 11-12 1.3 thesis and structure 12-13 Chapter 2 SPARC V8 architecture subroutine call analysis 13-24 2.1 Registers window technology 13-18 2.1.1 register window Overview 13-14 2.1.2 register window management and function 14-18 2.2 stack structure 18-19 2.2.1 stack allocation 18 the the 2.2.2 stack of contents 18 2.2.3 stack size 18-19 2.2.4 stack addressing 19 the destruction 2.2.5 stack 19 2.3 windows exception management 19-22 2.3.1 window overflow trap handler 19-21 2.3.2 window overflow trap handler 21-22 2.4 SPARC v8 in the program calls the compiler optimization techniques 22-23 2.4.1 leaves program optimization techniques 22-23 2.4.2 end of the program call cancellation 23 2.5 This chapter Summary 23-24 Chapter 3 SPARC V8 architecture Buffer Overflow Vulnerability Analysis 24-52 3.1 SPARC v8 system buffer overflow condition analysis 24-25 3.2 SPARC v8 system LEON2 buffer overflow vulnerability 25-51 3.2.1 LEON2 functional overview 25-27 3.2.2 LEON2 compiled simulation environment 27-30 3.2.3 buffer overflow attacks in LEON2 processor to achieve 30-51 3.3 This chapter Summary 51-52 Chapter 4 SPARC V8 architecture in the detection and prevention of buffer overflow attacks 52-68 4.1 The design of the proposed 52-57 4.1.1 buffer overflow attack detection 53-54 4.1.2 buffer overflow attack defense 54-57 4.2 design implementation 57-67 4.2.1 LEON2 pipeline 58-59 4.2.2 buffer overflow attack detection program implementation 59-64 the implementation nbsp 4.2.3 buffer overflow attack defense program; 64-67 4.3 This chapter Summary 67-68 Chapter 5 test validation 68-80 5.1 test targets 68 5.2 test environment 68 5.3 Test Method 68-69 5.3.1 processor test program 68-69 5.3.2 buffer overflow attack test program to 69 5.4 tests achieve 69-79 5.4.1 Simulation test 69-75 5.4.2 FPGA development board test 75-79 5.5 test conclusions 79-80 Chapter 6 Summary and Outlook 80-81 6.1 summarizes 80 6.2 Looking 80-81 the References 81-83 the studying for a master's degree during published papers and other outcomes 83-84 Acknowledgements 84

Related dissertations

  1. Design of AVS Video Decoder Base on Multi-Core Architecture
    WangZiWei ·Shanghai Jiaotong University ·2010 ·Master's thesis
  2. Research and implementation of high reliability and high performance processor based on LEON2
  3. The Design and Implementation of a Pipeline 8051 Core CPU
    ZhangYanMei ·Shanghai Jiaotong University ·2007 ·Master's thesis
  4. Eight embedded RISC MCU IP Core Design
  5. The Research and Implementation of Buffer Overflow Attack Language
    ZhongDaFu ·Guangxi Normal University ·2006 ·Master's thesis
  6. Wireless sensor network dedicated microprocessor design and implementation
  7. Design of an 8-bit SCM Based on RISC Architecture
    YuanBo ·Tianjin University ·2006 ·Master's thesis
  8. The Full Custom Design of 8-bit RISC MCU
  9. Research on RPC Attack Detection in Windows Network
    GaoLiTao ·Beijing Jiaotong University ·2007 ·Master's thesis
  10. The Design of SOC Platform Based on LEON2
    PengJunYi ·Jinan University ·2006 ·Master's thesis
  11. Mechanism and Defense of the Network Worm
    WangYeJun ·Institute of Software ·2005 ·Master's thesis
  12. Design of 8-bit RISC MCU Soft Core
    ZhongXuHeng ·Hefei University of Technology ·2002 ·Master's thesis
  13. FPGA Simulation of LEON2 Applicated to STB
  14. Buffer overflow attack detection and prevention system
  15. The Design and Realization of ASIP Suitable for MIMO-OFDM
  16. Design and Simulation of Simplified SOC Based on LEON2
    HeYiHua ·Jinan University ·2010 ·Master's thesis
  17. Research of a High-Performance SOC Architecture Used in the Speech Coding and Decoding Algorithm
  18. Parameter-configurable ASIP Assembler with RISC/VLIW Structure
  19. Embedded systems hardware anti- buffer overflow attacks defense mechanism
  20. Based leon3 processor's memory monitoring module design