Archive Header Analysis for Malware Detection

Resolve Bottlenecks,
Find Innovative Solutions
Generate Solutions

Solution Overview

Problem

Current methods for detecting malicious files within encrypted, compressed, and password-protected archive files are inefficient, often requiring decryption or decompression, which can expose sensitive information and are slow, and are not effective on gateway products or when scanning archive files on disk drives without opening them.

Innovation Solution

An anti-virus detection module that identifies archive files based on identification bytes and header information, extracting descriptive information such as checksums and file sizes to compare with detection signatures, allowing for rapid and accurate detection without decrypting or decompressing the files, and is applicable to various archive formats including ZIP and RAR.

Engineering Contradictions & Design Principles

VSEngineering Contradiction Analysis

1Measurement precision

If malware is detected by extracting and scanning files from encrypted archives, then detection accuracy is improved, but detection speed deteriorates and sensitive information may be exposed

Engineering Contradiction:
Improvedetection accuracyVSAvoiddetection speed
Core Design Contradiction:
Measurement precisionVSLoss of time

Solution Approach 1:

The patent extracts only the necessary identification information (file names, checksums, sizes) from archive headers without decrypting or extracting the actual file contents. This selective extraction of metadata enables detection while avoiding the time-consuming process of full decryption and extraction, thus resolving the contradiction between detection accuracy and detection speed.

Inventive Principle:
Principle #2Taking out (Extraction)

Solution Approach 2:

The patent performs preliminary analysis of archive headers and metadata before any decryption or extraction operations. By examining file names, checksums, and other identification information stored in the archive structure itself, the system can detect malware early in the scanning process, improving detection speed while maintaining accuracy.

Inventive Principle:
Principle #10Preliminary action

2Reliability

If password recovery algorithms are used to decrypt archives for scanning, then detection capability is improved, but processing speed deteriorates significantly

Engineering Contradiction:
Improvedetection capabilityVSAvoidprocessing speed
Core Design Contradiction:
ReliabilityVSProductivity

Solution Approach 1:

The patent extracts detection-relevant information directly from the archive header and metadata structures without requiring password-based decryption. By taking out only the necessary identification data (file names, checksums, sizes) that are stored in plaintext or accessible portions of the archive structure, the system maintains detection capability while avoiding the slow password recovery process entirely.

Inventive Principle:
Principle #2Taking out (Extraction)

3Reliability

If archives are opened and decrypted for scanning, then malware detection is improved, but security risk increases due to exposure of sensitive information

Engineering Contradiction:
Improvemalware detectionVSAvoidsecurity risk
Core Design Contradiction:
ReliabilityVSObject-affected harmful factors

Solution Approach 1:

The patent extracts only the minimal necessary information (file names, checksums, sizes) from archive headers for detection purposes, without decrypting or extracting the actual file contents. This selective extraction maintains malware detection capability while minimizing security risk by never exposing sensitive encrypted data.

Inventive Principle:
Principle #2Taking out (Extraction)

Solution Approach 2:

The patent uses archive metadata and headers as an intermediary layer for detection. Instead of directly accessing encrypted file contents, the system analyzes the intermediate header information that contains identification data, thereby maintaining detection effectiveness while preventing exposure of sensitive information through the encrypted payload.

Inventive Principle:
Principle #24Intermediary (Mediator)

4Measurement precision

If client-side detection methods are used, then detection accuracy is improved, but applicability to gateway products deteriorates

Engineering Contradiction:
Improvedetection accuracyVSAvoidapplicability
Core Design Contradiction:
Measurement precisionVSAdaptability or versatility

Solution Approach 1:

The patent implements a universal detection method that works across multiple platforms and product types including both client machines and gateway products. By analyzing archive headers and metadata rather than requiring full extraction or decryption, the system achieves consistent detection accuracy whether deployed on end-user systems or network gateways, thereby improving adaptability while maintaining precision.

Inventive Principle:
Principle #6Universality (Multi-functionality)

Data Source

PatentUS8793798B2Detection of undesired computer files in archives
Publication Date: 2014.07.29 ATHENA SECURITY LLP
  • US8793798B2 patent drawing
  • US8793798B2 patent drawing
  • US8793798B2 patent drawing

AI summary

Systems and methods for content filtering are provided. According to one embodiment, a type and structure of an archive file are determined. The archive file includes identification bytes that identify the type of archive file and header information both in unencrypted and uncompressed form and a file data portion containing contents of files in encrypted form, compressed form or both. The determination is based solely on the identification bytes and/or the header information. Based thereon, descriptive information, describing characteristics of the files, is extracted from the header information for each file. The descriptive information includes a checksum of the file in uncompressed form, a size of the file in uncompressed form and/or a size of the file in compressed form. A file is identified as being potentially malicious or undesired when a comparison of the descriptive information to detection signatures of known malicious or undesired files results in a match.