Method and device for detecting whether installation package is packaged repeatedly or not
A secondary packaging and installation package technology, applied in the computer field, can solve the problems of low technical threshold, flooding, secondary packaging of installation packages, etc.
- Summary
- Abstract
- Description
- Claims
- Application Information
AI Technical Summary
Problems solved by technology
Method used
Image
Examples
Embodiment 1
[0072] An embodiment of the present invention provides a method for detecting whether an installation package has been packaged twice. This method can determine whether the specified installation package file has been packaged twice, thereby preventing the user from being threatened by security or advertising harassment due to the installation of the file packaged twice, and can also provide a reference for scanning and killing malicious programs. The method can be implemented in the background of a computer through a detection tool, such as a PC and various servers.
[0073] figure 1 It is a flow chart of a method for detecting whether an installation package is repackaged according to an embodiment of the present invention, and the method includes steps S102 to S106.
[0074] S102. Parse the binary file of the specified part in the specified installation package to obtain the first ranking of the structures in the binary file.
[0075] S104. Detect whether the first sortin...
Embodiment 2
[0080] This embodiment is a specific application scenario of the first embodiment above. Through this embodiment, the method provided by the present invention can be described more clearly and specifically. In this embodiment, an example of detecting a randomly collected specified installation package file and judging whether it is a second-packaged installation package is used as an example for illustration.
[0081] In order to help illustrate the embodiment of the present invention, first, the installation package of the application program is described as follows:
[0082] In an embodiment of the present invention, the installation package will include the following information: package name, version number, developer signature, characteristics of the Android component receiver, characteristics of the Android component service, and characteristics of the Android component activity of the installation package of the application program. Instructions or character strings in ...
Embodiment 3
[0155] Figure 4 It is a structural block diagram of a device for detecting whether an installation package has been packaged twice provided by an embodiment of the present invention. The device 400 includes:
[0156] The parsing module 410 is adapted to parse the binary file of the specified part in the specified installation package to obtain the first order of the structure in the binary file;
[0157] The sorting detection module 420 is adapted to detect whether the first sorting is the same as the second sorting, wherein the second sorting is the sorting of the structure generated after the secondary packaging tool compiles the specified part of the installation package;
[0158] The first determination module 430 is adapted to determine that the specified installation package is a file after secondary packaging when the first sorting is the same as the second sorting.
[0159] Optionally, parsing module 410 includes:
[0160] The decompression unit 411 is adapted to d...
PUM
Login to View More Abstract
Description
Claims
Application Information
Login to View More 