Malware Detection via AST Correlation of Generated Objects

Resolve Bottlenecks,
Find Innovative Solutions
Generate Solutions

Solution Overview

Problem

Conventional network-based malware detection systems often generate false negatives due to their inability to effectively detect malicious activities that are configured to cloak themselves, leading to inadequate cyber-security measures.

Innovation Solution

A malware detection system that processes objects received by analyzing their features and any generated objects using Abstract Syntax Trees (ASTs) in conjunction with static and dynamic analysis, employing machine learning and correlation engines to determine the probability of maliciousness, thereby enhancing detection capabilities.

Engineering Contradictions & Design Principles

VSEngineering Contradiction Analysis

1Measurement precision

If conventional static analysis and dynamic analysis engines are used to detect malware, then known malware can be identified through signature matching and behavior analysis, but false negatives occur when malware is configured to cloak malicious activities

Engineering Contradiction:
Improvemalware detection accuracyVSAvoiddetection reliability against cloaked malware
Core Design Contradiction:
Measurement precisionVSReliability

Solution Approach 1:

The malware detection process is segmented into multiple independent analysis stages: static analysis of the first object, execution in virtual machine environment, detection of generated objects, and analysis of relationships between objects. Each stage produces independent correlation results that are combined to form the final detection decision, improving reliability against cloaked malware.

Inventive Principle:
Principle #1Segmentation

Solution Approach 2:

The system implements nested analysis by placing the first object inside a virtual machine environment for execution, then detecting and analyzing generated objects that are nested within the execution context. This multi-layered nesting approach allows detection of cloaked malware that attempts to hide within legitimate execution environments.

Inventive Principle:
Principle #7Nested doll (Nesting)

2Adaptability or versatility

If multiple analysis engines are combined to classify network content as malicious, then detection coverage increases, but false negatives persist when malware cloaks malicious activities

Engineering Contradiction:
Improvedetection coverageVSAvoidfalse negative rate
Core Design Contradiction:
Adaptability or versatilityVSMeasurement precision

Solution Approach 1:

The system implements feedback loops where the analysis of generated objects feeds back into the classification of the original object. The correlation engine continuously refines the maliciousness probability by incorporating evidence from multiple analysis stages, including static analysis results, dynamic execution behavior, and generated object characteristics, thereby reducing false negatives.

Inventive Principle:
Principle #23Feedback

Solution Approach 2:

The system adds a new dimension to malware detection by analyzing the relationships and generation patterns between objects, rather than only analyzing individual objects in isolation. This dimensional expansion from single-object analysis to multi-object relationship analysis enables detection of cloaked malware that appears benign when analyzed alone.

Inventive Principle:
Principle #17Another dimension (Dimensionality change)

3Loss of information

If conventional malware detection systems analyze network content using signature databases and static/dynamic analysis, then known malware patterns can be identified, but the systems fail to detect malware configured to cloak malicious activities

Engineering Contradiction:
Improvemalware pattern recognitionVSAvoidcloaked malicious activity detection
Core Design Contradiction:
Loss of informationVSDifficulty of detecting and measuring

Solution Approach 1:

The system performs preliminary static analysis of the first object before execution to identify suspicious characteristics and establish a baseline for comparison. This preliminary action prepares the system to detect deviations from expected behavior during virtual machine execution, improving detection of cloaked malware that attempts to hide its malicious nature.

Inventive Principle:
Principle #10Preliminary action

Solution Approach 2:

The virtual machine environment serves as an intermediary between the malware sample and the detection system. It provides a controlled sandbox environment that isolates the execution of suspicious objects while allowing observation of their behavior and generated outputs, enabling detection of cloaked malware without direct exposure to the analysis system.

Inventive Principle:
Principle #24Intermediary (Mediator)

Data Source

PatentUS10581879B1Enhanced malware detection for generated objects
Publication Date: 2020.03.03 MAGENTA SECURITY HOLDINGS LLC
  • US10581879B1 patent drawing
  • US10581879B1 patent drawing
  • US10581879B1 patent drawing

AI summary

A computerized method to identify malicious code generated by seemingly benign objects is described. The generated malware detection system described identifies generated objects (code) and analyzes each generated object to collect features which may be associated with maliciousness. The analysis may determine if an Abstract Syntax Tree (AST) representation of the generated object is correlated with known malware ASTs. Correlation of the features identified during processing of the generated objects, including the sequences of generated object, may be used in classifying the object as malicious. The malware detection system may communicate with the one or more endpoint devices to influence detection and reporting of behaviors and malware by those device(s).