ML Malware Detection via Memory Image Feature Extraction

Resolve Bottlenecks,
Find Innovative Solutions
Generate Solutions

Solution Overview

Problem

Existing malware detection systems face challenges in identifying malicious executables due to obfuscation techniques, such as compressed or encrypted code, which conceal the true purpose and function of malware, making it difficult to detect through signature-based methods.

Innovation Solution

A machine learning-based approach that analyzes memory image data from running processes to identify features indicative of malware, using feature extractors to capture byte n-grams, strings, and entropy levels, and trains a model to classify processes as malicious or benign, bypassing obfuscation techniques.

Engineering Contradictions & Design Principles

VSEngineering Contradiction Analysis

1Reliability

If signature-based detection methods are used, then detection speed is maintained, but detection capability deteriorates due to obfuscation techniques

Engineering Contradiction:
Improvedetection capabilityVSAvoiddetection method complexity
Core Design Contradiction:
ReliabilityVSDevice complexity

Solution Approach 1:

The patent replaces traditional signature-based mechanical detection methods with machine learning-based analysis. Instead of searching for fixed byte patterns, the system uses trained models to analyze memory image data and identify malware characteristics, thereby overcoming obfuscation techniques while maintaining detection effectiveness.

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

Solution Approach 2:

The patent changes the detection parameters from fixed signatures to dynamic features extracted from memory images. By analyzing multiple parameters such as byte n-grams, entropy levels, and process behavior patterns, the system adapts to detect obfuscated malware that would be invisible to traditional signature-based approaches.

Inventive Principle:
Principle #35Parameter changes

2Measurement precision

If memory image analysis is performed, then detection accuracy improves, but processing time increases

Engineering Contradiction:
Improvedetection accuracyVSAvoidprocessing time
Core Design Contradiction:
Measurement precisionVSLoss of time

Solution Approach 1:

The patent performs preliminary actions by capturing memory images at specific points in the execution lifecycle and pre-processing them into standardized formats. Feature extractors are pre-configured to identify relevant characteristics, and machine learning models are trained in advance, enabling faster real-time detection without sacrificing accuracy.

Inventive Principle:
Principle #10Preliminary action

Solution Approach 2:

The patent extracts only the essential features from memory image data using dedicated feature extractors. Instead of analyzing entire memory dumps, the system selectively extracts byte n-grams, entropy values, and other critical features, significantly reducing processing time while maintaining high detection accuracy.

Inventive Principle:
Principle #2Taking out (Extraction)

3Object-affected harmful factors

If obfuscation techniques are applied, then malware evasion capability improves, but detectability worsens

Engineering Contradiction:
Improvemalware evasion capabilityVSAvoiddetectability
Core Design Contradiction:
Object-affected harmful factorsVSDifficulty of detecting and measuring

Solution Approach 1:

The patent converts the harmful effect of obfuscation into a beneficial detection opportunity. By analyzing memory images where obfuscated code has been partially decoded or is being executed, the system can identify characteristic patterns and behaviors that reveal the malware's true nature, turning the evader's defense into a detection advantage.

Inventive Principle:
Principle #22Blessing in disguise (Convert harm into benefit)

Data Source

PatentUS12141281B2Machine learning-based malware detection in process memory
Publication Date: 2024.11.12 CROWDSTRIKE
  • US12141281B2 patent drawing
  • US12141281B2 patent drawing
  • US12141281B2 patent drawing

AI summary

A plurality of memory image data is obtained. Respective ones of the memory image data may include captured memory contents from an executing process. Training data including feature vectors and classification values are provided to a machine learning (ML) training model executing on a processing device. The feature vectors may include indications of patterns within the memory image data. The ML training model is trained based on the training data to generate an ML production model. The training may include computing a plurality of model parameters that relate the feature vectors of the training data to the classification values of the training data.