Network Script Emulation for Malicious Code Detection

Resolve Bottlenecks,
Find Innovative Solutions
Generate Solutions

Solution Overview

Problem

Current methods for detecting malicious JavaScript are unreliable and slow, unable to provide timely protection against covert threats, especially in environments like medical devices, military systems, and IoT devices, where installation of protective software is restricted, and often require offline operation.

Innovation Solution

A network-level detection system that isolates and distills scripts into bytecode, executes them in a lightweight emulation setting, and analyzes the results to identify potentially malicious behavior, operating on network packets before they reach the end-user device, allowing for real-time or near real-time detection without significant delay.

Engineering Contradictions & Design Principles

VSEngineering Contradiction Analysis

1Speed

If current diagnostic methods are used to detect malicious JavaScript, then detection can be performed, but the detection is slow and cannot meet the demand to analyze all potentially threatening websites in real-time

Engineering Contradiction:
Improvedetection speedVSAvoiddetection reliability
Core Design Contradiction:
SpeedVSReliability

Solution Approach 1:

The patent replaces traditional mechanical analysis methods (static code analysis, heuristic scanning) with a virtual machine-based execution environment. The JavaScript code is executed in a controlled virtual machine that mimics a real browser environment, allowing dynamic behavior analysis. This substitution enables real-time detection while maintaining reliability by observing actual code execution rather than relying on slow pattern matching.

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

Solution Approach 2:

The patent introduces a virtual machine as an intermediary between the malicious JavaScript and the analysis system. The virtual machine acts as a sandboxed execution environment that mediates the code execution, capturing behavior without allowing actual harm to the host system. This intermediary enables safe, rapid analysis of potentially malicious code while maintaining detection accuracy.

Inventive Principle:
Principle #24Intermediary (Mediator)

2Reliability

If protective software is installed on host systems to detect malicious content, then detection capability is improved, but many hosts (medical devices, military systems, IoT devices) do not allow installation of such protective measures

Engineering Contradiction:
Improveprotection capabilityVSAvoidcompatibility with restricted environments
Core Design Contradiction:
ReliabilityVSAdaptability or versatility

Solution Approach 1:

The patent uses a virtual machine as an intermediary execution environment that can be deployed in restricted systems without requiring installation of traditional protective software. The virtual machine provides a sandboxed environment for safe code execution, making protection compatible with medical devices, military systems, and IoT devices that cannot have external software installed.

Inventive Principle:
Principle #24Intermediary (Mediator)

Solution Approach 2:

The virtual machine-based detection system provides universal protection across diverse platforms and restricted environments. Rather than requiring platform-specific protective software, the virtual machine approach works consistently across web browsers, mobile devices, IoT systems, and embedded systems, making the solution adaptable to environments with installation restrictions.

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

3Loss of time

If traditional detection methods are used, then analysis can be performed offline, but they are unable to provide timely protection against evolving threats

Engineering Contradiction:
Improveresponse timeVSAvoidoperational simplicity
Core Design Contradiction:
Loss of timeVSEase of operation

Solution Approach 1:

The patent enables continuous real-time detection by executing JavaScript code in a virtual machine as it encounters potentially malicious content during normal browsing. Rather than requiring periodic offline scanning, the system continuously monitors and analyzes code execution in real-time, providing immediate protection against evolving threats while maintaining operational simplicity through automatic background analysis.

Inventive Principle:
Principle #20Continuity of useful action

4Measurement precision

If comprehensive analysis of JavaScript code is performed, then detection accuracy is improved, but the analysis process becomes slow and cannot keep up with the volume of JavaScript in modern WWW traffic

Engineering Contradiction:
Improvedetection accuracyVSAvoidanalysis throughput
Core Design Contradiction:
Measurement precisionVSProductivity

Solution Approach 1:

The patent replaces slow mechanical analysis methods with virtual machine-based execution, which can rapidly evaluate JavaScript code by actually running it in a controlled environment. This substitution maintains high detection accuracy through dynamic behavior analysis while achieving the processing speed necessary to handle the volume of JavaScript traffic in modern web environments.

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

Solution Approach 2:

The patent uses dynamic execution analysis within the virtual machine to achieve both accuracy and speed. Rather than performing static, time-consuming code review, the system dynamically executes the code and observes its behavior in real-time. This dynamic approach provides comprehensive analysis accuracy while maintaining high productivity by leveraging the virtual machine's efficient execution engine.

Inventive Principle:
Principle #15Dynamics

Data Source

PatentUS20240121266A1Malicious script detection
Publication Date: 2024.04.11 BLUVECTOR INC
  • US20240121266A1 patent drawing
  • US20240121266A1 patent drawing
  • US20240121266A1 patent drawing

AI summary

Systems and methods for detecting malicious or potentially malicious script data are provided. Script data is extracted from a data stream at the network level and emulated in a controlled environment. Based upon a comparison of features extracted from emulation of the script to a set of heuristics, malicious script data can be identified for further analysis or processing.