Method and system for developing shellcode of *86 platform or *64 platform fast

An x64, x86 technology, applied in the field of rapid development of x86/x64 platform shellcode, can solve the problems of inconvenient maintenance, complex shellcode code development, etc., to achieve the effect of easy maintenance, fast code writing, and unified code

Inactive Publication Date: 2016-04-13
STATE GRID CORP OF CHINA +1
View PDF0 Cites 3 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0004] Based on this, it is necessary to provide a method and system for generating x86 / x64 platform shellcode with fast development speed and version compatibility for the problems of complex development and inconvenient maintenance of x86 / x64 platform shellcode codes in traditional technologies

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
  • Method and system for developing shellcode of *86 platform or *64 platform fast
  • Method and system for developing shellcode of *86 platform or *64 platform fast
  • Method and system for developing shellcode of *86 platform or *64 platform fast

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0040] In order to make the object, technical solution and advantages of the present invention clearer, the specific implementation of the method and system for rapidly developing x86 / x64 platform shellcode of the present invention will be described below with reference to the accompanying drawings. It should be understood that the specific embodiments described here are only used to explain the present invention, not to limit the present invention.

[0041] The method for rapidly developing x86 / x64 platform shellcode of an embodiment of the present invention, such as figure 1 shown, including the following steps

[0042] S100, using C language to write an application programming interface (API) for dynamically obtaining an operating system. The embodiment of the present invention is different from the traditional technology of using assembly language to write shellcode codes, which uses high-level C language for code development. The function of dynamically obtaining an API...

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 invention discloses a method and a system for developing a shellcode of a *86 platform or a *64 platform fast. The method comprises the following steps: writing a function according to C language, and dynamically acquiring an application programming interface (API); writing the shellcode according to the acquired API; compiling the written shellcode with a compiler, so as to generate an EXE file of the *86 platform or the *64 platform; and extracting the shellcode from a code section of the EXE file with an extracting tool. As the writing of the shellcode is based on C language which is relatively high in level, the code developing speed is fast; and the API is acquired dynamically based on the function written according to C language, so as to adopt to the *86 platform or the *64 platform automatically. Therefore, a developing personnel can maintain shellcodes of the *86 platform and the *64 platform in a unified manner; and the shellcodes are easy to develop and maintain, and are unified, while complex functions can be realized easily.

Description

technical field [0001] The invention relates to the field of computer security, in particular to a method and system for rapidly developing x86 / x64 platform shellcode. Background technique [0002] In traditional techniques, shellcode codes are developed using assembly language. But using assembly language to develop shellcode code is very inconvenient when extracting code. Moreover, the assembly code of the x86 platform is different from that of the x64 platform, and two versions of the code need to be maintained. In addition, using assembly to develop shellcode is complex, error-prone, and requires high personnel. Developers need to spend a lot of energy on maintenance, which is not suitable for implementing complex functions. [0003] In actual use, when using buffer overflow vulnerabilities and other memory security vulnerabilities to test / attack, how to quickly develop and extract x86 / x64 platform shellcode codes, and how to quickly develop and extract the shellcode c...

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
Patent Type & Authority Applications(China)
IPC IPC(8): G06F9/44G06F9/45G06F21/57
Inventor 刘昀闫磊苏丹任建伟吴佳李环媛宋伟
Owner STATE GRID CORP OF CHINA
Who we serve
  • R&D Engineer
  • R&D Manager
  • IP Professional
Why Eureka
  • Industry Leading Data Capabilities
  • Powerful AI technology
  • Patent DNA Extraction
Social media
Try Eureka
PatSnap group products