Method for discriminating re-package of application based on keyword context frequency matrix
A frequency matrix and keyword technology, applied in the processing field of identifying application repackaging, can solve the problems of complexity and inefficiency, relying on the order of code text, unable to handle inserting useless code, etc., to improve execution efficiency, avoid extra overhead, and reduce space. effect of overhead
- Summary
- Abstract
- Description
- Claims
- Application Information
AI Technical Summary
Problems solved by technology
Method used
Image
Examples
specific Embodiment approach
[0045] A. When preprocessing the application file, do the following:
[0046] A1. Extract the Android application binary code file and the author's signature information file in the META-INFO file;
[0047] A2. Use existing tools, such as backsmali (https: / / code.google.com / p / smali / ), to convert the binary code (.dex file) into a smali code file;
[0048] A3. Use existing tools, such as keytool (JDK (Java Development Kit) development component tool), to extract the author's signature content from the corresponding file (CERT.RSA);
[0049]A4. Construct keyword vectors. The basis for selecting keywords is to select sentences with a relatively high frequency of occurrence; there is no obvious repetition of keywords in semantics, that is, the keyword set can cover sentences with different functions; select semantically important instructions , such as operation instructions, function call instructions, etc.
[0050] B. In the part of generating the smali operator sequence, perfo...
Embodiment 1
[0063] Suppose an Android application, whose Chinese name is "Automatic Desktop Photo Filter", needs to detect whether it is a repackaged application, and its package name is AutodeskzhaopianlvjingPixlr_o_matic_V2.2.1_mumayi_ac32a.apk.
[0064] A. The preprocessing process includes the following steps:
[0065] A1. After decompressing the apk program package, you can get several files and folders, among which the class.dex file is the binary code file of the application program, and the CERT.RSA file under the META-INFO folder is the author's signature information;
[0066] A2. Use the backsmali tool to convert the class.dex file into a smali code file, and a folder will be generated, including multiple .smali files;
[0067] A3. Use the keytool tool to extract the author's signature content from CERT.RSA, and enter the keytool-printcert-fileCERT.RSA command to get some information about the application, including the owner, publisher, serial number, validity period, and certi...
PUM
Abstract
Description
Claims
Application Information
- R&D Engineer
- R&D Manager
- IP Professional
- Industry Leading Data Capabilities
- Powerful AI technology
- Patent DNA Extraction
Browse by: Latest US Patents, China's latest patents, Technical Efficacy Thesaurus, Application Domain, Technology Topic, Popular Technical Reports.
© 2024 PatSnap. All rights reserved.Legal|Privacy policy|Modern Slavery Act Transparency Statement|Sitemap|About US| Contact US: help@patsnap.com