Reinforced ELF file loading method, equipment and device, and storage medium

A file and file type technology, applied in the direction of program control device, computer security device, program loading/starting, etc., to achieve the effect of improving compatibility

Pending Publication Date: 2022-02-25
北京鸿享技术服务有限公司
View PDF0 Cites 0 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0004] The main purpose of the present invention is to provide a loading method, equipment, storage medium and devic

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
  • Reinforced ELF file loading method, equipment and device, and storage medium
  • Reinforced ELF file loading method, equipment and device, and storage medium
  • Reinforced ELF file loading method, equipment and device, and storage medium

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0057] It should be understood that the specific embodiments described here are only used to explain the present invention, not to limit the present invention.

[0058]The main technical terms involved in the embodiments of this application include:

[0059] Shellcode, shellcode is a piece of code used to exploit software vulnerabilities and execute. Shellcode is a hexadecimal machine code, which is named because it often allows attackers to obtain a shell. Shellcode is often written in machine language. After the temporary register overflows, a piece of shellcode machine code that can be executed by the CPU can be inserted, so that the computer can execute arbitrary instructions of the attacker.

[0060] ELF, a file format, consists of 4 parts, namely ELF header (ELF header), program header table (Program header table), section (Section) and section header table (Section header table). In fact, a file does not necessarily contain all the content, and their positions may not...

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 relates to the technical field of loading of reinforced ELF files, and discloses a reinforced ELF file loading method, equipment and device, and a storage medium. The method comprises the following steps: calling a preset initialization function according to dynamic link library interface information in a reinforced ELF file; obtaining a decryption function and relocation information according to the preset initialization function; and decrypting and repositioning the reinforced ELF file according to the decryption function and the repositioning information to realize loading of the file. Dynamic link library interface information is arranged on the reinforced ELF file, a preset initialization function is called through the dynamic link library interface information to obtain the decryption function and the repositioning information, and loading of the reinforced ELF file is achieved, so calling of a JNI_OnLoad function on an android platform is avoided, loading of the reinforced ELF files of all platforms can be achieved, and the purpose of improving compatibility when the reinforced ELF is loaded is achieved.

Description

technical field [0001] The invention relates to the technical field of loading of reinforced ELF files, in particular to a method, equipment, storage medium and device for loading of reinforced ELF files. Background technique [0002] The existing so hardening technology is so hardening customized by android. The content of so is put into the shell code as data, and the shell is compiled into a so file separately, and the data of so is released into the memory. Due to the loading mechanism of android so, if so is called through the java layer, the JNI_OnLoad function must be called, and this function is called only once, so the logic of decrypting and restoring so can be implemented in JNI_OnLoad. [0003] Android-customized so has high security, but its applicability and compatibility are low. The decryption process in JNI_OnLoad restricts the so to be called at the java layer, and does not support the c interface. At the same time, because all content of so is hidden, the ...

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): G06F9/445G06F21/60
CPCG06F9/44521G06F21/602
Inventor 吴政
Owner 北京鸿享技术服务有限公司
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