A method and device for protecting an Android application program based on code fragmentation
An application and application package technology, applied in the direction of program/content distribution protection, digital data protection, computer security devices, etc., can solve problems such as memory theft, reduce the possibility, balance protection strength and performance overhead, and protection strength high effect
Patent Information
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Publication Date
- 2018-02-23
- Estimated Expiration
- Not applicable · inactive patent
Smart Images

Figure 1 
Figure 2 
Figure 3
Abstract
Description
technical field
[0001] The invention belongs to the field of computer software security, and in particular relates to a code fragmentation-based Android application program packing protection method. Background technique
[0002] In recent years, with the popularity and popularity of Android smart devices, various Android applications have appeared on the market to meet the needs of users. However, due to the openness of the platform itself, the low threshold of the application market, and the structural characteristics of the application itself, the security problems faced by Android applications are increasing day by day, and problems such as application cracking, reverse engineering, piracy, and secondary packaging are not uncommon. , where the problem of secondary packaging is particularly serious. Studies have shown that most malicious applications are generated by repackaging legitimate applications.
[0003] In order to solve these problems faced by Android applicat...
Examples
Embodiment Construction
[0042] Such as figure 1 Shown, the Android application packing protection method based on code fragmentation of the present invention comprises the following steps:
[0043] Step 1, extract executable files from the Android application program to be protected;
[0044] The Android application program is a compressed package in ZIP format. For an Android application program to be protected, it first needs to be decompressed, and then the executable file in it needs to be obtained. In the present invention, the executable file of the application refers to the executable file running on the Android Dalvik virtual machine, that is, the dex file.
[0045] Step 2, extract shared library file, resource file and configuration information from the Android application program to be protected; Concrete steps include:
[0046] Step 2.1, extract all shared library files from the decompressed Android application package;
[0047] In step 2.2, resource files include image files, layout fi...