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

Method and device for protecting APK

An algorithm and encryption algorithm technology, applied in the direction of digital data protection, computer security device, program/content distribution protection, etc., can solve problems such as user interests infringement, security services can not meet user needs, etc.

Pending Publication Date: 2020-05-22
AEROSPACE INFORMATION
View PDF6 Cites 6 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

However, due to factors such as the open source nature of Android itself and the openness of promotion, the Android platform has certain deficiencies in its own architecture, its security mechanism, and the platform's operating model. Once these problems are exploited by attackers, the interests of users will be violated
And in the future, a single security service can no longer meet the needs of users

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
  • Method and device for protecting APK
  • Method and device for protecting APK
  • Method and device for protecting APK

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0047] Preferred embodiments of the present disclosure will be described in more detail below with reference to the accompanying drawings. Although preferred embodiments of the present disclosure are shown in the drawings, it should be understood that the present disclosure may be embodied in various forms and should not be limited to the embodiments set forth herein. Rather, these embodiments are provided so that this disclosure will be thorough and complete, and will fully convey the scope of the disclosure to those skilled in the art.

[0048] The present invention adopts technologies such as white box algorithm, dex file encryption, so library encryption, security environment detection (root detection, hook detection, dynamic debugging detection), code obfuscation, integrity verification, etc., to solve business logic leakage and privacy data of Android applications Protection and prevention of reverse analysis, secondary packaging, tampering, counterfeiting and other issu...

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 provides a method and a device for protecting an APK. The method comprises the following steps: an APK file is decompressed to obtain all files in the APK, wherein the files comprise class.dex, lib, META-INFO, AndroidManifest.xml and res, wherein the files comprise Cass.dex, lib, META-INFO, AndroidManifest.xml and res; a so library is encrypted, and an encryption algorithm in a password library is called to encrypt a text field in the so library file; the dex file is encrypted, and the encryption algorithm in the password library is called to encrypt the class.dex file; shell adding and packaging are conducted, specifically, a Dex shell file, the so library, the AndroidManifest.xml file and the META-INFO are packaged into a new APK; and the new APK is signed. Technologies such as a white box algorithm, dex file encryption, so library encryption, security environment detection (root detection, hook detection and dynamic debugging detection), code obfuscation and integrityverification are adopted, so the problems of service logic leakage, privacy data protection, reverse analysis prevention, secondary packaging, tampering, counterfeiting and the like of the Android application are solved.

Description

technical field [0001] The invention belongs to the field of mobile Internet application security protection, and in particular relates to a method and device for protecting APK. Background technique [0002] With the rapid development of the Internet era, especially the development of the mobile Internet, more and more APPs have emerged. These APPs on mobile phones allow people to conveniently purchase various products, convenient and fast payments, and so on. However, with the popularity of APP, the security of APP on mobile phone becomes more and more important. Due to the negligence or knowledge limitations of mobile phone APP developers, each APP has certain security loopholes. Once these loopholes are mastered by malicious users, the harm will be immeasurable. [0003] Although the Android platform itself has a relatively standardized security mechanism, such as the application layer reference signature mechanism and the application permission control mechanism to pro...

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/60G06F21/62G06F21/64
CPCG06F21/12G06F21/602G06F21/6209G06F21/64G06F2221/2107
Inventor 危学艳卞芳
Owner AEROSPACE INFORMATION
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