Looking for breakthrough ideas for innovation challenges? Try Patsnap Eureka!

A method for strengthening an application program of an android system

A technology of application programs and encryption methods, applied in the field of information security, can solve problems such as limited protection effect and inability to guarantee the security of application programs, and achieve the effects of resisting static analysis, integrity protection, and increasing security verification

Inactive Publication Date: 2018-08-21
北京鼎源科技有限公司
View PDF5 Cites 1 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

This reinforcement method only increases the difficulty of code reading, but its protection effect is limited, the attacker can still get the code of the program, and the security of the application cannot be guaranteed

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 for strengthening an application program of an android system
  • A method for strengthening an application program of an android system
  • A method for strengthening an application program of an android system

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0034] Below in conjunction with accompanying drawing, further describe the present invention through embodiment, but do not limit the scope of the present invention in any way.

[0035] The invention provides a reinforcement method based on the Android system binary stream encryption technology, figure 1 It is a flow chart of the method provided by the present invention, comprising the following steps:

[0036] A. To encrypt the key code, perform the following operations:

[0037] A1. Parse the classes.dex file;

[0038] A2. Target specific classes and methods;

[0039] A3. Use the key key1 for the first encryption;

[0040] A4. Use the key key2 for the second encryption;

[0041] A5. Update the dex file;

[0042] A6. Calculate the Hash value of the classes.dex file and encrypt the Hash value, and store it in the so file;

[0043] B. To decrypt the encrypted code, perform the following operations:

[0044] B1. Find the starting address of dex;

[0045] B2. Perform Has...

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 reinforcing method of an application program of an Android system. The method comprises: reinforcing a key code in the Android application program by binary system flow encryption and protecting a code of the application program; comprising: analyzing a classes.dex file; positioning to a key method; performing primary encryption to obtain intermediate data; performing secondary encryption on the intermediate data; calculating a new Hash value of the dex file, and storing into a so file after the encryption; calculating to obtain new checksum and signature values of the dex file, and updating the dex file; regenerating an apk, thus finishing the encryption process. During decryption, the Hash value of the dex file is calculated, and the Hash value obtained by encryption is compared with the value in the so file; secondary decryption is performed to obtain the key code. Due to the reinforcing method, an Android source code cannot be checked by a decompilation tool, only the key code is protected by encryption, completeness of the code is protected, a static analysis is effectively resisted, the code of the Android program is prevented from being tampered, and operation efficiency of the program is ensured.

Description

technical field [0001] The invention relates to the technical field of information security, in particular to a method for strengthening application programs of an Android system. Background technique [0002] Android (Android) operating system is an open source operating system jointly developed by Google and OHA members. It is mainly used in mobile devices, such as smart phones and tablet computers. Since its launch in 2007, the Android operating system has quickly gained the support of developers and many manufacturers because of its Linux kernel-based and open source features. At the same time, the number of applications based on the Android platform is growing rapidly. In July 2013, Google announced that the number of applications in the Google Play store has exceeded 1 million, making it the largest application store in the world. [0003] At present, most Android programs are only written using the Android SDK, but programs written in traditional Java language are e...

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 Patents(China)
IPC IPC(8): G06F21/14
CPCG06F21/14
Inventor 文伟平
Owner 北京鼎源科技有限公司
Who we serve
  • R&D Engineer
  • R&D Manager
  • IP Professional
Why Patsnap Eureka
  • Industry Leading Data Capabilities
  • Powerful AI technology
  • Patent DNA Extraction
Social media
Patsnap Eureka Blog
Learn More
PatSnap group products