A method and a system for reinforcing an So library in an Android application

A technology of library files and encryption modules, which is applied in the field of information security, can solve problems such as codes are easy to be cracked, and achieve the effect of improving security

Pending Publication Date: 2019-01-11
CHINA FINANCIAL CERTIFICATION AUTHORITY
View PDF4 Cites 1 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0003] The purpose of the present invention is to provide a method and system for strengthening the So library in Android applications, so as to solve the problem that the code of the original So library itself is easily cracked

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 and a system for reinforcing an So library in an Android application

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0020] The present invention will be described in further detail below in conjunction with the accompanying drawings, but it is not intended to limit the present invention.

[0021] refer to figure 1 As shown, a method for strengthening the So library in the Android application disclosed in the embodiment of the present invention includes the following steps:

[0022] Step S1, assign all key functions that need to be encrypted in the So library to the same custom segment.

[0023] Specifically, in step S1, before compiling the So library, important key functions can be assigned to the same segment by setting attributes. This segment is preferably a custom segment, that is, the segment name can be drawn up by yourself. The advantage of this is that when encrypting, the entire segment can be directly encrypted, and the functions in the segment are encrypted by encrypting the segment, which simplifies the inconvenience of encrypting different functions separately.

[0024] The ...

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 belongs to the technical field of information security, and discloses a method and a system for reinforcing an So library in an Android application. The method comprises the following steps: assigning all the key functions in the So library that need to be encrypted to the same user-defined segment; adding the decryption function to the initialization function of So library; compiling the above modified program code to obtain the compiled So library file; encrypting custom segments in the So library file. The invention solves the problem that the code of the original So library is liable to be cracked.

Description

technical field [0001] The invention belongs to the technical field of information security, and in particular relates to a method and system for reinforcing So libraries in Android applications. Background technique [0002] With the popularity of Android applications, more and more companies and individuals have developed their own Android applications and uploaded them to the application market. However, due to the characteristics of Android itself, anyone can easily obtain the source code of an unhardened App. Faced with such a problem, the first thing developers think of is to put the core logic and code in the application into the So library. The So library is difficult to decompile, so it protects the source code to a large extent and prevents it from being easily steal. However, tools such as IDA can statically analyze and dynamically debug the code of the So library. Although the So library increases the difficulty of cracking, there are still ways to analyze the ...

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/14
CPCG06F21/14
Inventor 夏立宁张行张大健李华英
Owner CHINA FINANCIAL CERTIFICATION AUTHORITY
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