A method of software protection using self-modification technology under ART

A software protection and self-modification technology, applied in the software field, can solve the problem of the difficulty of software protection, and achieve the effect of increasing the difficulty

Inactive Publication Date: 2019-02-15
SICHUAN UNIV
View PDF5 Cites 3 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0006] The purpose of the present invention is: for the above-mentioned Android application programs are easy to be reversed, due to the attack of malicious reverse engineering, many Android application programs are tampered with and repackaged into malicious applications and the difficulty of software protection in ART mode, and a solution is proposed. A method for software protection using self-modification technology under ART

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 of software protection using self-modification technology under ART
  • A method of software protection using self-modification technology under ART
  • A method of software protection using self-modification technology under ART

Examples

Experimental program
Comparison scheme
Effect test

Embodiment 1

[0046]

[0047]

[0048] Table 1 Test environment

[0049] The PC side is used to process the application to be protected, and finally generate the protected APK through the application protection system, and view the log information analysis. The mobile terminal is used to test the operation status of the protected application.

[0050] like Figure 1-5 As shown, in the protection processing flow of the application to be protected, the first step is to construct a fast and safe dynamic loading solution. The use of dynamic loading in application protection needs to be fast and safe, fast to ensure that the user does not have a significant sense of stagnation, and safe to ensure that the dex is loaded directly from the memory. The fast and safe dynamic loading scheme under Dalvik is to construct its own class loader, and call the Dalvik_dalvik_system_DexFile_openDexFile_bytearray function in libdvm.so, and pass the bytecode in the form of a byte array to use it to load ...

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 for software protection under ART by using a self-modifying technology, which comprises the following steps: 1. Selecting key codes to be protected of protected application; 2, extracting that key codes selected in the step 1; 3, destroy that key code extracted from the step 2, and converting the key code into a dynamically loaded dex file; 4, generating a native code for self-modification repair according to that code process in the step 3 and the initial key code; 5, protecting that native code in the step 4 by using a self-modifying state machine algorithm;Step 6: Integrally compiling and packaging the code generated in Step 5 to generate the final protected APK. Firstly, the selected key codes are extracted, then the protected dex file is constructed,and the corresponding native codes are generated according to the destruction information during the construction, and the final so library is generated for the native codes by using the self-modifying state machine algorithm. Finally, the integrated compilation and packaging generates the final protected APK.

Description

technical field [0001] The invention belongs to the technical field of software, and in particular relates to a method for software protection using self-modification technology under ART. Background technique [0002] With the rapid development of the mobile network and the mobile phone industry, smart phones have become an indispensable part of people's lives, and the Android system, as the most popular system in mobile terminals, has become more and more prominent in its security issues. According to the "Aliju Security 2016 Annual Report", in 2016, about 10 devices on the Android platform were infected with viruses, and the device infection rate reached 10%, 89% of popular applications were counterfeit, and mobile fraud losses exceeded hundreds of millions of dollars. Applications have been reverse cracked, repackaged, and intellectual property rights have been violated frequently, seriously damaging the interests of developers and users. In order to fight against rever...

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): G06F21/14
CPCG06F21/14
Inventor 牛伟纳张小松王恺
Owner SICHUAN UNIV
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