Analysis and Prevention of buffer overflow attacks

Source: Internet
Author: User

Zhao youen1Zhou shoujun2

(1.Department of Computer Science and Technology, Shandong Economic University, Jinan250014)

(2.Thermal Engineering College, Shandong Construction Engineering University, Jinan250014)

AbstractYesBuffer overflow attacks are the most common forms of attacks, which occupy the vast majority of remote network attacks and represent a type of extremely serious security threats.FromCERT/CC (Computer Emergency Response Term/Coordination Center)Buffer overflow attacks56.76%Above.This article mainly introduces the principle, classification and intrusion methods of buffer overflow attacks, and puts forward corresponding preventive measures.

Keywords Buffer ZoneOverflowPrevention

Preface

A buffer is a continuous memory that the user applies for on the computer when the program is running. It stores data of a given type. Buffer overflow refers to a common and harmful system attack method. By writing content beyond its length to the buffer zone of the program, the buffer overflow is caused, which destroys the program stack, turn the program to execute other commands to attack the program.More seriously, buffer overflow attacks account for the majority of remote network attacks, which can make an anonymousInternetUsers have the opportunity to gain some or all control of a host! This type of attack makes it possible for anyone to gain control of the host, so it represents an extremely serious security threat.

1.Buffer overflow attacksAnalysis

The purpose of a buffer overflow attack is to disrupt the functions of programs with certain privileges, so that attackers can gain control of the program. If the program has sufficient permissions, then the entire host is under control. Generally, attackers attackRootProgram, and then executeExec (sh)To obtainRootOfShell. To achieve this goal, attackers must achieve the following two goals: arrange appropriate code in the address space of the program; through the appropriate initialization of registers and memory, let the program jump to the pre-arranged address space for execution.Based on these two targets, buffer overflow attacks can be divided into the following3Class.

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.