Supercharge Your Innovation With Domain-Expert AI Agents!

So file security reinforcement technology method based on Android platform

An Android platform and file technology, applied in computer security devices, instruments, calculations, etc., can solve the problems of reducing the difficulty of illegal cracking, poor effect, etc., and achieve the effect of increasing difficulty

Active Publication Date: 2022-04-05
杭州凯米科技有限公司
View PDF0 Cites 0 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

Now the two reinforcement methods of so files exist in the form of files, so that they can be encrypted and decrypted in memory, and it is easy for attackers to directly obtain so files from the local area, which reduces the difficulty of illegal cracking and is effective against static analysis. And anti-dynamic debugging is less effective

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
  • So file security reinforcement technology method based on Android platform
  • So file security reinforcement technology method based on Android platform

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0022] The present invention will be further described below in conjunction with the accompanying drawings and embodiments.

[0023] Embodiment, based on the so file security hardening technology method of Android platform, refer to figure 1 , figure 2 As shown, including the so file reinforcement process and the so file decryption and loading process;

[0024] so file reinforcement process is as follows:

[0025] (A1) read the unhardened so file, and read the unhardened so file into the memory in the form of a file stream;

[0026] (A2) Convert the file stream in the memory into a byte array, and perform shift encryption on the byte array according to a custom algorithm to obtain a new byte array;

[0027] (A3) Then read the byte array in a loop, write the read byte array into the java file in a fixed-length string form, and finally obtain a complete string array;

[0028] so file decryption and loading process is as follows:

[0029] (A4) When the Android project needs...

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 technical method for security reinforcement of so files based on an Android platform. It belongs to the technical field of so file security hardening. The form of so file is processed so that it does not exist in the form of a file, so that it can be dynamically encrypted and decrypted in memory, so as to prevent the attacker from directly obtaining the so file from the local area. In order to overcome the difficulty of illegal cracking, it has a good effect against static analysis and anti-dynamic debugging, so file security hardening technology method based on Android platform. Including the so file reinforcement process and the so file decryption and loading process; when the Android project needs to use the content in the so file, read the encrypted string array in the java file, and dynamically implement a custom algorithm for the strings in the string array Shift decryption and splicing, write the spliced ​​string into the app / pkgName / lib directory of the java file in the form of a file stream, and load and call it by loading the so file through System.load, and complete the call then delete it.

Description

technical field [0001] The invention relates to the technical field of so file security reinforcement, in particular to a technical method of so file security reinforcement based on an Android platform. Background technique [0002] Now there are generally two types of so file reinforcement, one is to strengthen the so file itself, and the other is to obfuscate and encrypt the native code inside the so file. Now the two reinforcement methods of so files exist in the form of files, so that they can be encrypted and decrypted in memory, and it is easy for attackers to directly obtain so files from the local area, which reduces the difficulty of illegal cracking and is effective against static analysis. And the effect of anti-dynamic debugging is poor. Contents of the invention [0003] The present invention is to solve the above-mentioned deficiencies existing in the security reinforcement of existing so files, and provides a method for processing the form of so files so th...

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 Patents(China)
IPC IPC(8): G06F21/14G06F21/60
CPCG06F21/14G06F21/602
Inventor 李博帅
Owner 杭州凯米科技有限公司
Features
  • R&D
  • Intellectual Property
  • Life Sciences
  • Materials
  • Tech Scout
Why Patsnap Eureka
  • Unparalleled Data Quality
  • Higher Quality Content
  • 60% Fewer Hallucinations
Social media
Patsnap Eureka Blog
Learn More