Browser Context Malware Detection via Instrumented VM

Resolve Bottlenecks,
Find Innovative Solutions
Generate Solutions

Solution Overview

Problem

Current malware detection techniques are evaded by nefarious authors through cloaking and other evasion methods, making it difficult to identify and mitigate web-based malware effectively.

Innovation Solution

A hybrid scanning environment is implemented using a client device with a browser extension and a remote scanner, where the browser extension establishes a socket connection to an instrumented virtual machine environment, allowing for dynamic malware analysis and detection by executing and rendering web content in a controlled environment, thereby avoiding evasion techniques.

Engineering Contradictions & Design Principles

VSEngineering Contradiction Analysis

1Measurement precision

If traditional malware detection techniques are used, then detection simplicity is maintained, but detection accuracy deteriorates due to evasion methods

Engineering Contradiction:
Improvemalware detection accuracyVSAvoiddetection system complexity
Core Design Contradiction:
Measurement precisionVSDevice complexity

Solution Approach 1:

The patent introduces an intermediary instrumented browser environment that acts as a mediator between the malware author's server and the victim's browser. This intermediate environment executes JavaScript code and generates browser context data that reveals malicious behavior patterns, thereby improving detection accuracy without requiring direct analysis of the malware itself.

Inventive Principle:
Principle #24Intermediary (Mediator)

Solution Approach 2:

The patent transitions from traditional signature-based detection to a new dimension of analysis by capturing and analyzing browser context data, including DOM structure, JavaScript execution state, and rendering behavior. This dimensional shift allows detection of malicious intent through behavioral patterns rather than static code analysis.

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

2Reliability

If browser context analysis is implemented, then malware detection capability is improved, but system complexity increases

Engineering Contradiction:
Improvemalware detection reliabilityVSAvoidscanning environment complexity
Core Design Contradiction:
ReliabilityVSDevice complexity

Solution Approach 1:

The patent segments the malware detection system into distinct components: a malware author's server environment, an instrumented browser execution environment, and an analysis system. Each segment performs a specific function - the instrumented browser captures execution context, while the analysis system processes the captured data to identify malicious patterns, thereby managing complexity through functional decomposition.

Inventive Principle:
Principle #1Segmentation

Solution Approach 2:

The patent creates a copied representation of the browser execution environment that includes instrumented versions of browser components. This copied environment mimics real browser behavior while capturing additional diagnostic data about JavaScript execution and DOM manipulation, enabling reliable malware detection through behavioral analysis without affecting the actual browser.

Inventive Principle:
Principle #26Copying

3Measurement precision

If dynamic code execution is performed, then evasion detection is improved, but processing time increases

Engineering Contradiction:
Improveevasion technique detection accuracyVSAvoidmalware analysis time
Core Design Contradiction:
Measurement precisionVSLoss of time

Solution Approach 1:

The patent performs preliminary actions by pre-instrumenting the browser environment with monitoring code before malware execution. The instrumented browser is prepared in advance to capture specific events such as DOM mutations, JavaScript errors, and resource loading patterns, enabling efficient analysis of malware behavior without requiring complex real-time processing during execution.

Inventive Principle:
Principle #10Preliminary action

Data Source

PatentUS11861008B2Using browser context in evasive web-based malware detection
Publication Date: 2024.01.02 PALO ALTO NETWORKS INC
  • US11861008B2 patent drawing
  • US11861008B2 patent drawing
  • US11861008B2 patent drawing

AI summary

The use of browser context in detecting malware is disclosed. A client device requests content from a remote server. Data received by the client device from the remote server is transmitted to an external scanner for analysis by the external scanner. The external scanner is configured to use a browser executed in an instrumented virtual machine environment to analyze the data provided by the client device. The client device is configured to request the content from the remote server using a browser extension configured to retrieve data and provide the retrieved data to the external scanner without rendering the retrieved data.