Malware Detection Using MinHash Signatures and CNN-AE

Resolve Bottlenecks,
Find Innovative Solutions
Generate Solutions

Solution Overview

Problem

Current malware detection techniques face challenges in effectively identifying and preventing advanced malwares due to high false positive rates and low true positive rates, especially with the use of obfuscation, polymorphism, and metamorphism techniques, rendering static analysis and existing ML-based methods less effective.

Innovation Solution

A system and method that utilizes MinHash signatures and a Convolutional Neural Network Autoencoder (CNN-AE) to classify Portable Executable (PE) files by converting entry point bytes and assembly-based mnemonics into similarity matrices, leveraging locality sensitive hashing (LSH) forest models for reliable and fast malware detection.

Engineering Contradictions & Design Principles

VSEngineering Contradiction Analysis

1Speed

If static malware analysis techniques are used, then detection speed is improved, but detection accuracy deteriorates due to obfuscation techniques

Engineering Contradiction:
Improvedetection speedVSAvoiddetection accuracy
Core Design Contradiction:
SpeedVSMeasurement precision

Solution Approach 1:

The patent replaces traditional static analysis methods with a neural network-based dynamic analysis system. The system executes malware in a virtualized environment and captures runtime behavioral data, substituting mechanical static inspection with intelligent dynamic observation to achieve both speed and accuracy.

Inventive Principle:
Principle #28Mechanics substitution (Replace mechanical system)

Solution Approach 2:

The patent introduces a virtualization layer as an intermediary between the malware and the analysis system. This allows safe execution and observation of malware behavior without direct interaction, enabling accurate detection while maintaining system security and detection speed.

Inventive Principle:
Principle #24Intermediary (Mediator)

2Measurement precision

If ML-based malware detection techniques are used, then detection accuracy is improved, but false positive rate increases

Engineering Contradiction:
Improvedetection accuracyVSAvoidfalse positive rate
Core Design Contradiction:
Measurement precisionVSReliability

Solution Approach 1:

The patent segments the malware analysis into multiple independent components: binary representation analysis, assembly instruction analysis, API call analysis, and behavioral pattern analysis. Each component contributes specific features to the neural network, allowing for more precise and reliable detection with reduced false positives.

Inventive Principle:
Principle #1Segmentation

Solution Approach 2:

The patent transforms malware characteristics into multiple parameter representations including binary sequences, assembly mnemonics, API call graphs, and behavioral metrics. These transformed parameters are fed into the neural network to improve detection accuracy while maintaining reliability through multi-dimensional analysis.

Inventive Principle:
Principle #35Parameter changes

3Reliability

If comprehensive malware analysis is performed, then detection reliability is improved, but processing time increases

Engineering Contradiction:
Improvedetection reliabilityVSAvoidprocessing time
Core Design Contradiction:
ReliabilityVSLoss of time

Solution Approach 1:

The patent performs preliminary processing by pre-computing and storing malware signatures, API reference patterns, and behavioral baselines before actual detection. During runtime, the system compares observed behavior against these pre-prepared references, achieving comprehensive analysis with reduced processing time.

Inventive Principle:
Principle #10Preliminary action

Solution Approach 2:

The patent implements continuous learning and updating of the neural network model using newly detected malware patterns. The system continuously refines its detection capabilities without requiring complete re-analysis, maintaining high reliability while minimizing processing time through incremental improvements.

Inventive Principle:
Principle #20Continuity of useful action

Data Source

PatentUS11574054B2System, method and apparatus for malicious software detection
Publication Date: 2023.02.07 HUAWEI TECH CO LTD
  • US11574054B2 patent drawing
  • US11574054B2 patent drawing
  • US11574054B2 patent drawing

AI summary

The disclosed systems and methods are directed to a method for malicious software detection comprising: recognizing and extracting an EP section in an unrecognized PE file, collecting bytes in the EP section of the unrecognized PE file, converting the bytes to an array of integers, generating one or more n-grams from the array of integers, converting the one or more n-grams into b-MinHash, converting the bytes in an EP function included in the EP section to an array of assembly-based mnemonics; generating one or more n-grams from the array of assembly-based mnemonics and converting the one or more n-grams from the array of assembly-based mnemonics into a-MinHash, generating a similarity matrices, converting, the similarity matrices into a lower dimensionality code representation, and classifying the code as a PE benign or a malware file.