Check patentability & draft patents in minutes with Patsnap Eureka AI!

Executable file processing method, apparatus and system

A technology for executing files and processing methods, applied in the field of communications, can solve the problems of low operating efficiency and low security, and achieve the effects of improving operating efficiency, improving operating efficiency, and protecting codes

Active Publication Date: 2017-08-11
TENCENT TECH (SHENZHEN) CO LTD
View PDF5 Cites 0 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0004] During the research and practice of the prior art, the inventor of the present invention found that, in the existing solution, since the original code exists in the conversion process and in the memory after decryption, the original code still exists The possibility of being copied and decompiled is not high in security, and because a large amount of data needs to be converted and decrypted at runtime, its operating efficiency is also low

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
  • Executable file processing method, apparatus and system
  • Executable file processing method, apparatus and system
  • Executable file processing method, apparatus and system

Examples

Experimental program
Comparison scheme
Effect test

Embodiment 1

[0027] This embodiment will be described from the perspective of a processing device for an executable file. The processing device for an executable file may be integrated in a mobile terminal or the like. The mobile terminal may be a mobile phone or a tablet computer.

[0028] An executable file processing method includes: intercepting the encrypted executable file that needs to be converted when performing preset code format conversion; determining the key point code of the encrypted executable file; presetting the key point code Set the code format conversion to obtain the key point code after the conversion; intercept the write-back process, and write-back the key point code after the conversion through the write-back process.

[0029] Such as figure 1 As shown, the specific process of the processing method of the executable file may be as follows:

[0030] 101. When performing preset code format conversion, intercept the encrypted executable file that needs to be converted.

[00...

Embodiment 2

[0048] According to the method described in the first embodiment, an example will be given below for further detailed description.

[0049] In this embodiment, the Android system and the preset code format conversion specifically being ART conversion will be used as an example for description. Wherein, the processing device of the executable file may be integrated in the mobile terminal, and the executable file may be a dex file or the like.

[0050] Such as Figure 2a As shown, in the mobile terminal, in addition to the executable file processing apparatus provided in the embodiment of the present invention, a conversion module is also included, as follows:

[0051] The conversion module is used to start ART conversion when receiving the ART conversion request for the added dex file, and perform ART conversion on the encrypted dex file, that is, decrypt the encrypted dex file and convert it into an oat file, and then write back and convert A good file is the oat file.

[0052] by F...

Embodiment 3

[0065] In order to better implement the above method, an embodiment of the present invention also provides an executable file processing device, such as image 3 As shown, the executable file processing device may include an intercepting unit 301, a determining unit 302, a conversion unit 303, and a write-back unit 304, as follows:

[0066] (1) Interception unit 301;

[0067] The interception unit 301 is used for intercepting the encrypted executable file that needs to be converted when the preset code format conversion is performed.

[0068] For example, the interception unit 301 may be specifically used to obtain a preset code format conversion request of an encrypted executable file, and then intercept the corresponding encrypted executable file according to the preset code format conversion request.

[0069] Among them, the preset code format conversion refers to the technology that converts the code of the software to the local code and saves it on the mobile terminal, which can b...

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

Embodiments of the invention disclose an executable file processing method, apparatus and system. The method comprises the steps of intercepting and capturing an encrypted executable file needed to be converted during preset code format conversion; performing the preset code format conversion on a key point code of the encrypted executable file to obtain a converted key point code; then intercepting and capturing a write-back process; and performing write-back on the converted key point code through the write-back process. By adopting the scheme, the code can be better reinforced; and the running efficiency is improved while the code is protected and the data security is improved.

Description

Technical field [0001] The present invention relates to the field of communication technology, in particular to an executable file processing method, device and system. Background technique [0002] Executable files refer to files that can be loaded and executed by the operating system. In different operating system environments, the presentation of executable files is different. For example, in the Android system, the executable file can be a dex file . Since most of the instructions of terminal applications are compiled in executable files, how to strengthen executable files has also become an important link in preventing code from being cracked and improving code security. [0003] In the prior art, an overall encryption method is generally used to reinforce executable files; for example, taking a dex file as an example, the dex file is generally encrypted as a whole, and then at runtime, the Android runtime (ART, Android runtime) performs conversion operations on it, includin...

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 蒋鑫蒋宁波
Owner TENCENT TECH (SHENZHEN) CO LTD
Features
  • R&D
  • Intellectual Property
  • Life Sciences
  • Materials
  • Tech Scout
Why Patsnap Eureka
  • Unparalleled Data Quality
  • Higher Quality Content
  • 60% Fewer Hallucinations
Social media
Patsnap Eureka Blog
Learn More