A method and apparatus for detect tampering with return address in a stack

A return address and tampered technology, applied in the computer field, can solve problems such as insufficient security, and achieve the effect of low design complexity, high security, and low performance loss

Inactive Publication Date: 2019-03-22
INST OF INFORMATION ENG CAS
View PDF4 Cites 5 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

However, the security of shadow stack and stack protection is not enough, and attackers can still find some ways to bypass the above two defense technologies to attack

Method used

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
View more

Image

Smart Image Click on the blue labels to locate them in the text.
Viewing Examples
Smart Image
  • A method and apparatus for detect tampering with return address in a stack
  • A method and apparatus for detect tampering with return address in a stack
  • A method and apparatus for detect tampering with return address in a stack

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0032] The specific implementation manners of the present invention will be further described in detail below in conjunction with the accompanying drawings and embodiments. The following examples are used to illustrate the present invention, but are not intended to limit the scope of the present invention.

[0033] In the following, the description of the present invention firstly makes a clear explanation of each basic concept, prior art and defects.

[0034] Memory leak: refers to the problem that the programmer makes a time or space design error in the operation of the memory in the process of writing the software, resulting in the problem that the program may violate the design of the program itself. Attackers can construct various attacks and execute malicious behaviors by exploiting the program's memory loopholes.

[0035] Buffer overflow: It is the most common memory leak. Copying data exceeding the buffer length into a buffer will cause a buffer overflow, thereby over...

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
Login to View More

PUM

No PUM Login to View More

Abstract

The embodiment of the invention provides a method and a device for detecting that a return address in a stack is tampered with. The invention stores and verifies the return address and the encrypted value through a chain structure. The embodiment of the invention has the beneficial effects of high safety, low performance loss, low design complexity and the like.

Description

technical field [0001] The present invention relates to the field of computer technology, more specifically, to a method and device for detecting tampering of a return address in a stack. Background technique [0002] The construction and development of computer technology and the Internet have brought huge impetus and impact to the economy, culture, technology and other aspects of the entire society. A large number of information systems such as telecommunications, e-commerce, and financial networks have become the key foundation of the country and the government. facilities, so how to ensure the security of computer systems has become an urgent problem in front of us. [0003] The stack overflow vulnerability is an extremely serious system security vulnerability. It destroys the system memory space by writing too long data into a limited memory space, causing the system to run abnormally, crash or restart. Through the stack overflow attack, the address of the attack code ...

Claims

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
Login to View More

Application Information

Patent Timeline
no application Login to View More
IPC IPC(8): G06F21/52
CPCG06F21/52
Inventor陈李维李锦峰史岗孟丹
OwnerINST OF INFORMATION ENG CAS