Binary Decompilation for Morphed Malware Detection

Resolve Bottlenecks,
Find Innovative Solutions
Generate Solutions

Solution Overview

Problem

Existing methods for detecting malware in computer systems are inadequate in identifying binary files with known malicious code without prior identification, especially when using signature matching and fail to detect morphed files with similar functionality but different physical structures, due to reliance on whole-file analysis and inability to analyze unexecuted files.

Innovation Solution

The approach involves decompiling unknown binary files and comparing their contents to known malicious code fragments through textual analysis, including decompilation, removal of comments, formatting, and identification of control structures, to detect the presence of malicious code, even in obfuscated forms.

Engineering Contradictions & Design Principles

VSEngineering Contradiction Analysis

1Measurement precision

If signature matching is used to detect malware, then known malware files can be identified, but morphed files with similar functionality but different physical structures cannot be detected

Engineering Contradiction:
Improvemalware detection accuracyVSAvoidability to detect morphed files
Core Design Contradiction:
Measurement precisionVSAdaptability or versatility

Solution Approach 1:

The patent applies decompilation to convert binary malware files back into source code form, reversing the compilation process. This allows the detection system to analyze the logical structure and control flow of malware regardless of obfuscation, enabling identification of morphed files that would be invisible to traditional signature matching approaches

Inventive Principle:
Principle #13The other way round (Inversion)

2Reliability

If whole file analysis is performed to calculate signatures, then complete malware identification is possible, but the process requires reading the entire file which reduces efficiency

Engineering Contradiction:
Improvemalware detection completenessVSAvoidscan speed
Core Design Contradiction:
ReliabilityVSProductivity

Solution Approach 1:

The patent extracts and analyzes specific control structures and logical groups from decompiled code rather than processing the entire binary file. By focusing on key functional elements like control flow graphs and logical groupings, the system achieves reliable malware detection without the computational overhead of analyzing every byte of the file

Inventive Principle:
Principle #2Taking out (Extraction)

3Difficulty of detecting and measuring

If decompilation is performed to convert binary to human-readable code, then malicious code can be identified through textual comparison, but the process complexity increases

Engineering Contradiction:
Improveability to analyze unexecuted filesVSAvoidanalysis process complexity
Core Design Contradiction:
Difficulty of detecting and measuringVSDevice complexity

Solution Approach 1:

The patent segments the decompiled code into logical groups of control structures (LGCS) and analyzes these structured elements rather than raw text. By organizing control flow into meaningful units and comparing logical structures, the system reduces the complexity of analyzing decompiled code while maintaining high detection accuracy

Inventive Principle:
Principle #1Segmentation

Data Source

PatentUS12153671B2Antimalware scan with decompilation
Publication Date: 2024.11.26 ACRONIS INT
  • US12153671B2 patent drawing
  • US12153671B2 patent drawing

AI summary

A system for detection of binary files containing a known malware code fragment includes a processor coupled to a memory storing instructions, the processor being configured to implement the instructions to process an unknown binary file (UBF) and a known malicious source code file (KMSCF) to decompile the UBF into a text-based unknown source code (USC) and identify whether the KMSCF is contained within the USC.