Unlock instant, AI-driven research and patent intelligence for your innovation.

Compressed file detecting method and device

A technology of compressing files and detection methods, which is applied in the computer field, can solve the problems of long detection process time and achieve the effect of short detection process time

Active Publication Date: 2015-04-29
TENCENT TECH (SHENZHEN) CO LTD
View PDF4 Cites 8 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0005] Embodiments of the present invention provide a compressed file detection method and device, which can solve the problem in the prior art that the detection process of the current Zip compressed file detection method takes a long time

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
  • Compressed file detecting method and device
  • Compressed file detecting method and device
  • Compressed file detecting method and device

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0026] The following will clearly and completely describe the technical solutions in the embodiments of the present invention with reference to the accompanying drawings in the embodiments of the present invention. Obviously, the described embodiments are only some, not all, embodiments of the present invention. Based on the embodiments of the present invention, all other embodiments obtained by persons of ordinary skill in the art without creative efforts fall within the protection scope of the present invention.

[0027] In order to make the advantages of the technical solution of the present invention clearer, the present invention will be described in detail below in conjunction with the accompanying drawings and embodiments.

[0028] Such as figure 1 As shown, the detection method of the compressed file provided by the embodiment of the present invention includes:

[0029] 101. Obtain a trailing page of the compressed file.

[0030] The compressed file includes files in...

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 embodiment of the invention discloses a compressed file detecting method and device, and relates to the technical field of a computer. The method and the device solve the problem that the time of the whole detecting process is longer in the existing Zip compressed file detecting mode. The method comprises the following steps that a tail sub page of a compressed file is obtained, wherein the compressed file comprises each package-in file, and the tail sub page comprises file information of each package-in file; the tail sub page is traversed, and the file information of each package-in file is sequentially selected from the tail sub page according to the preset rules; whether the information of an executable file to be tested exists in the file information of the package-in file or not is judged; if the information of the executable file exists in the file information of the package-in file, the occurring times of the information of the executable file in the file information of the package-in file is determined; if the occurring times of the information of the executable file in the file information of the package-in file is greater than a preset threshold value, the executable file is determined to be a malicious file. The method and the device provided by the invention are applicable to compressed file security detection by a Zip compression algorithm.

Description

technical field [0001] The invention relates to the field of computer technology, in particular to a method and device for detecting compressed files. Background technique [0002] At present, with the development of file compression technology, the Zip compression algorithm has been widely recognized due to its advantages such as high compression rate and many applicable platforms. The files can be compressed by the Zip compression algorithm to form an application program Android package, etc. For example, the Android installation package (Android Package, APK for short) in the Android system is formed by using the Zip compression algorithm. [0003] Currently, there are vulnerabilities in the APK formed by compressing files through the Zip compression algorithm. For example, in the Android system, some malicious executable files (such as classes. When verifying the file mapping table, legitimate executable files will be overwritten by mistake, so that malicious executabl...

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/56G06F17/30
CPCG06F21/56
Inventor 王爽
Owner TENCENT TECH (SHENZHEN) CO LTD