Android application strengthening method based on dynamic execution of dex and so files

An encryption method and file technology, applied in the field of information security, can solve problems such as the inability to guarantee the security of applications, and achieve the effect of increasing difficulty and high security

Pending Publication Date: 2016-12-07
北京鼎源科技有限公司
View PDF2 Cites 48 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

However, due to the scheme based on the JNI call mechanism, the decrypted plaintext so file will inevitably be temporarily left on the hard disk. Attackers can easily crack this

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
  • Android application strengthening method based on dynamic execution of dex and so files

Examples

Experimental program
Comparison scheme
Effect test

Embodiment

[0054] In this embodiment, a hardening operation is performed on an Android application, including some anti-debugging steps. This Android application can be named b.apk, and b.apk can be reinforced. After the above reinforcement steps, b.apk can be reinforced to prevent this APK from being debugged and cracked. View the source code of the software. The steps for the implementation example of this APK are as follows, wherein steps A and B are added as conventional anti-debugging steps, and steps C, D and E are performed as the core steps of the above invention. The specific steps are as follows:

[0055] A. Detection simulator:

[0056] A1. Detect the two channels " / dev / socket / qemud" and " / dev / qemu_pipe". / / Judge whether the two channels exist, if they exist, it is the emulator access(“ / dev / socket / qemud”,0) access(“ / dev / qemu_pipe”,0)

[0057] A2. Detect props. Including: ro.product.model: the value is sdk in the emulator, usually the model of the phone in a normal phone; r...

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 an Android application strengthening method based on dynamic execution of dex and so files. Through an encryption method, key codes of an Android application are strengthened such that codes of the Android application are protected. The strengthening method comprises an encryption process and a decryption process and comprises following steps: strengthening key codes of the Android application during the encryption process; and decrypting when dynamic execution of the Android application. The Android application strengthening method based on dynamic execution of dex and so files has following beneficial effects: the C++ language is utilized for writing core dex decryption functions so that difficulty in decompilation is increased and the dex decryption functions are present in the form of a dynamic link library and encrypted; compared with the method of core dex dual encryption, key codes of the dynamic link library are encrypted and a JNI calling mechanism is removed during encryption; therefore, plaintext so files encrypted during encryption do not exist in a hard disk and stored in a memory; and the Android application strengthening method is higher in safety.

Description

technical field [0001] The invention relates to the technical field of information security, in particular to an Android application reinforcement method based on dynamic execution of dex and so files. Background technique [0002] Android is an open source mobile phone operating system launched by Google in 2007. Due to its powerful functions and flexible customization capabilities, it has leapt to the top of the smartphone operating system market share in just a few years. According to the famous market research institution IDC According to the latest data from , in the third quarter of 2015, the market share of Android system smartphones was as high as 84.7%, far exceeding other systems. [0003] Although the Android system was designed with full consideration of security issues, with its wide application, many potential security issues are gradually exposed, and the research on its security has begun to attract people's attention. Since the programming language used by ...

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/12G06F21/60
CPCG06F21/125G06F21/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