Architecture-Agnostic Binary Clustering for Cross-Platform Malware Detection

Resolve Bottlenecks,
Find Innovative Solutions
Generate Solutions

Solution Overview

Problem

The increasing popularity of IoT devices with LINUX-based operating systems has led to a surge in malicious ELF binary files across different processor architectures, making it difficult to identify and distinguish between them effectively.

Innovation Solution

A system that clusters binary files by reducing them to architecture-agnostic functions, generating digests using a fuzzy hashing algorithm like TLSH, and comparing these digests to identify similarities with known malicious files, thereby detecting malware variants.

Engineering Contradictions & Design Principles

VSEngineering Contradiction Analysis

1Adaptability or versatility

If traditional binary file analysis methods are used, then detection accuracy for single-architecture malware is maintained, but the ability to detect and cluster malware across different processor architectures deteriorates

Engineering Contradiction:
Improvecross-architecture malware detection capabilityVSAvoidmalware identification accuracy
Core Design Contradiction:
Adaptability or versatilityVSMeasurement precision

Solution Approach 1:

The patent extracts and removes architecture-specific code sections from binary files, retaining only the architecture-agnostic functional components. This extraction process isolates the universal malicious functionality from architecture-dependent implementations, enabling cross-architecture detection while preserving malware identification accuracy through the use of cryptographic hashing on the extracted functional portions.

Inventive Principle:
Principle #2Taking out (Extraction)

Solution Approach 2:

The patent creates a universal detection mechanism that functions across multiple processor architectures by analyzing architecture-agnostic portions of binary files. The system processes ELF, PE, and other binary formats uniformly, applying the same analysis methodology regardless of target architecture, thereby achieving both adaptability and precision simultaneously.

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

2Device complexity

If architecture-specific analysis is performed, then detailed malware characteristics are preserved, but the complexity of analyzing malware across multiple architectures increases

Engineering Contradiction:
Improveanalysis system complexityVSAvoidmulti-architecture support
Core Design Contradiction:
Device complexityVSAdaptability or versatility

Solution Approach 1:

The patent segments binary file analysis into distinct components: architecture-agnostic sections (imports, exports, section headers, cryptographic hashes) and architecture-specific sections (instruction code). By analyzing only the segmented architecture-agnostic portions for clustering and identification, the system reduces analysis complexity while maintaining multi-architecture support.

Inventive Principle:
Principle #1Segmentation

Solution Approach 2:

The patent introduces cryptographic hashing as an intermediary mechanism that bridges different architectures. By converting architecture-agnostic functional portions into hash values, the system creates a architecture-independent representation that simplifies cross-architecture comparison and clustering without requiring architecture-specific analysis logic.

Inventive Principle:
Principle #24Intermediary (Mediator)

3Productivity

If all binary file components are analyzed, then comprehensive malware detection is achieved, but processing time and computational resources increase

Engineering Contradiction:
Improvemalware detection speedVSAvoiddetection completeness
Core Design Contradiction:
ProductivityVSReliability

Solution Approach 1:

The patent extracts only the essential architecture-agnostic components (imports, exports, section headers, and cryptographic hashes) required for reliable malware detection, excluding architecture-specific instruction code from analysis. This extraction maintains detection reliability by preserving all necessary identification features while improving processing speed by eliminating redundant architecture-dependent data.

Inventive Principle:
Principle #2Taking out (Extraction)

Solution Approach 2:

The patent applies partial action by analyzing only the critical architecture-agnostic portions of binary files rather than performing exhaustive analysis of all components. This selective analysis of essential elements achieves sufficient detection reliability while significantly reducing computational overhead and processing time compared to complete binary analysis.

Inventive Principle:
Principle #16Partial or excessive action

Data Source

PatentUS11687652B1Clustering of binary files using architecture-agnostic digests
Publication Date: 2023.06.27 TREND MICRO INC
  • US11687652B1 patent drawing
  • US11687652B1 patent drawing
  • US11687652B1 patent drawing

AI summary

A target binary file is clustered by reducing the target binary file to its architecture-agnostic functions, which are converted into an input string. The target digest of the input string is calculated and compared to digests of malicious binary files. A cluster having digests of malicious binary files that are similar to the target digest is identified. In response to identifying the cluster, the target binary file is detected to be malicious and of the same malware family as the malicious binary files of the cluster.