Combined execution method for PE document code

An execution method and file technology, which are applied in the field of PE file code merging and execution to achieve the effect of avoiding illegal use

Inactive Publication Date: 2009-08-12
CHENGDU PANSHSOFT
View PDF0 Cites 15 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

This method cannot effectively protect the PE code and prevent it from being illegally used

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
  • Combined execution method for PE document code
  • Combined execution method for PE document code

Examples

Experimental program
Comparison scheme
Effect test

Embodiment

[0020] A PE file code merging execution method, comprising the following steps:

[0021] (1) Establish the PE file header: copy the PE header from any one of the PE files that need to be merged, and make corresponding corrections according to the requirements of the merged PE file, such as canceling the DLL attribute.

[0022] (2) Create section information: Create corresponding section header information according to needs, the number is determined according to requirements, generally including code section, import table section, resource section, if DLL generally includes export table section, relocation information section, and then Add executable and readable and writable attributes to section attribute flags.

[0023] (3) Merge the PE file data into the section: Re-correct the codes of the PE files to be merged according to their corresponding relocation information, and write them into the sections established in step (2) one by one in order , there are no gap connectio...

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 merged execution method for PE file codes, which belongs to a file encryption technique and solves the problem that a single file code is easy to be illegally utilized in the prior art. The merged execution method for the PE file codes comprises: (1) establishing a PE file header; (2) establishing section information; (3) merging various PE file data to a corresponding section and forming a novel PE file; (4) processing mutual calling relations between various PE files; (5) attaching codes of initialized data of the various PE files to the novel PE file; and (6) adding an attached processing code for the merged PE file according to actual demands, and expanding corresponding functions. The method not only realizes the merging of various PE file codes but also can realize dynamic or static encryption of the merged PE file or addition of additional functional codes, effectively protect the various file codes, and prevent the single file code from being illegally utilized.

Description

technical field [0001] The invention relates to a file merging method, in particular to a PE file code merging execution method capable of realizing encryption protection after PE file merging. Background technique [0002] The operation and mutual calling of traditional PE files exist in the discontinuous linear memory space of a process. Every time a new PE file is loaded, Windows opens up a new piece of memory from the memory space of the process according to the relevant information of the PE file. , and then load the data of the PE file into this memory block, and then process the import table of the PE file and other related data that needs to be initialized. Not fixed, every time a newly loaded PE file is initialized, it is necessary to recalculate and correct the calling code between PEs. In general, each PE file is a separate file. [0003] The codes between traditional PE files call each other such as figure 1 As shown, assuming that there are two PE files, A.EX...

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): G06F17/30
Inventor 章立春
Owner CHENGDU PANSHSOFT
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