Fuzzy Hash Algorithm for Malware Variant Detection

Resolve Bottlenecks,
Find Innovative Solutions
Generate Solutions

Solution Overview

Problem

Current malware detection methods are inefficient in identifying variations of executable files in memory (RAM) and malware protected by packers or encryptors, as they struggle to detect altered executable portions and variants at runtime.

Innovation Solution

A digital DNA sequencing engine employing a fuzzy hash algorithm scans data objects, generates a digital DNA sequence, and compares it with reference values to detect and classify malware, including variants and protected forms, by analyzing meta-tags and hashing data streams to identify similarities.

Engineering Contradictions & Design Principles

VSEngineering Contradiction Analysis

1Reliability

If traditional malware detection methods are used, then detection of exact malware copies is achieved, but detection of malware variants and protected executables fails

Engineering Contradiction:
Improvemalware detection accuracyVSAvoidcapability to detect malware variants
Core Design Contradiction:
ReliabilityVSAdaptability or versatility

Solution Approach 1:

The patent transforms the detection approach by changing from exact byte-matching parameters to similarity-based parameters. The fuzzy hash algorithm computes similarity scores that allow detection of malware variants with modified bytes, achieving both reliability for exact matches and adaptability for variants.

Inventive Principle:
Principle #35Parameter changes

Solution Approach 2:

The patent segments the executable file into multiple blocks and computes fuzzy hashes for each block independently. This segmentation allows the system to detect malware even when certain blocks are modified or obfuscated, improving detection of protected and variant malware while maintaining detection of complete malware copies.

Inventive Principle:
Principle #1Segmentation

2Measurement precision

If exact matching algorithms are used, then false positives are minimized, but detection of altered executables in memory is impossible

Engineering Contradiction:
Improvedetection accuracyVSAvoiddetection of altered executables
Core Design Contradiction:
Measurement precisionVSDifficulty of detecting and measuring

Solution Approach 1:

The patent changes the measurement parameter from exact byte equality to fuzzy similarity scoring. The fuzzy hash algorithm produces similarity percentages that allow detection of altered executables while maintaining precision through configurable similarity thresholds that minimize false positives.

Inventive Principle:
Principle #35Parameter changes

3Reliability

If runtime execution analysis is performed, then detection of malware behavior is achieved, but performance overhead and detection time increase significantly

Engineering Contradiction:
Improvemalware behavior detectionVSAvoidsystem performance
Core Design Contradiction:
ReliabilityVSProductivity

Solution Approach 1:

The patent performs preliminary fuzzy hash computation on executable files before runtime execution. By pre-computing fuzzy hashes and storing them for comparison, the system enables rapid detection during runtime without significant performance overhead, achieving reliable malware behavior detection while maintaining system productivity.

Inventive Principle:
Principle #10Preliminary action

Data Source

PatentUS8484152B2Fuzzy hash algorithm
Publication Date: 2013.07.09 GOSECURE INC
  • US8484152B2 patent drawing
  • US8484152B2 patent drawing
  • US8484152B2 patent drawing

AI summary

An embodiment of the invention provides a method for and an apparatus for classifying a data object by use of a fuzzy hash. The method and apparatus can perform steps including: aligning a window in a target data object; reading content within the window; hashing the content within the window in order to calculate a hash value; splicing a spliced portion from the hashed value; and storing the spliced portion as part of a fuzzy hash.