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

Code fragmentization based Android application program packing protection method and apparatus

A technology for applications and application packages, applied in the direction of program/content distribution protection, digital data protection, computer security devices, etc., can solve problems such as memory theft, achieve reduced possibility, high protection intensity, and balance protection intensity and performance effect of overhead

Inactive Publication Date: 2015-12-23
NORTHWEST UNIV(CN)
View PDF3 Cites 21 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

However, like the packing system on the early x86 platform, the current Android packing system also packs the executable file of the application in a complete form, resulting in the threat of being easily stolen from the memory. Once the complete executable is stolen, the attacker can proceed with any attack he wishes

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
  • Code fragmentization based Android application program packing protection method and apparatus
  • Code fragmentization based Android application program packing protection method and apparatus
  • Code fragmentization based Android application program packing protection method and apparatus

Examples

Experimental program
Comparison scheme
Effect test

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 program refers to the executable file running on the AndroidDalvik 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, la...

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 code fragmentization based Android application program packing protection method and apparatus. The method comprises: extracting an executable file, a shared library file, resources, configuration information and the like from a to-be-protected application program first, then performing code fragmentization on the executable file, encrypting code fragments, importing the encrypted code fragments into a newly created application package, and adding the extracted configuration information; and decrypting the encrypted code fragments, allocating independent memory space, repairing and recombining the decrypted code fragments into the executable file, preparing a runtime environment and reconstructing an installation package. The method is high in protection intensity; and the executable file of the protected application program always exists in a fragmentization form in a process memory in the whole life cycle, so that the possibility of stealing the complete executable file by an attacker is greatly reduced and the difficulty of reversing, cracking, secondary packing and the like of the application program is greatly increased; and the protection intensity and the performance overhead can be balanced.

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...

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/12G06F21/60
CPCG06F21/125G06F21/602G06F2221/2107
Inventor 樊如霞汤战勇张洁杨蕾陈晓江房鼎益龚晓庆刘方圆李政桥
Owner NORTHWEST UNIV(CN)
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