RNN Malware Detection in Sandboxes via Behavior Sequence Analysis

Resolve Bottlenecks,
Find Innovative Solutions
Generate Solutions

Solution Overview

Problem

Current malware detection methods, such as virus scanning and sandboxing, are resource-intensive and inefficient in identifying malicious files during runtime, as they require full execution and consume significant resources.

Innovation Solution

Implementing a system that uses recursive neural networks (RNNs) to analyze behavior sequences in a virtual runtime environment without full execution, allowing for on-the-fly identification of malware by tracking behavior over time and terminating execution once malicious behavior is detected, thus conserving resources and improving scanning efficiency.

Engineering Contradictions & Design Principles

VSEngineering Contradiction Analysis

1Reliability

If sandboxing a file for full execution is performed to detect malware, then detection accuracy is improved, but resource consumption increases

Engineering Contradiction:
Improvemalware detection accuracyVSAvoidresource consumption
Core Design Contradiction:
ReliabilityVSUse of energy by moving object

Solution Approach 1:

The system performs partial execution of the file in a sandbox environment, monitoring behavior sequences to detect malware indicators before completing full execution. This allows detection of malicious patterns without consuming resources required for complete file runtime, achieving reliable detection with reduced resource usage.

Inventive Principle:
Principle #16Partial or excessive action

Solution Approach 2:

The system executes preliminary behavior analysis in a sandbox before allowing full file execution. By pre-screening files for malicious behavior sequences and establishing risk profiles beforehand, the system can block potentially harmful files without requiring their complete execution, thus improving detection reliability while conserving computational resources.

Inventive Principle:
Principle #10Preliminary action

2Measurement precision

If full file execution is performed in sandbox to identify malware behavior, then detection precision is improved, but execution time increases

Engineering Contradiction:
Improvebehavior analysis precisionVSAvoidscanning time
Core Design Contradiction:
Measurement precisionVSLoss of time

Solution Approach 1:

The system skips the requirement for complete file execution by monitoring behavior sequences during partial runtime. When malicious patterns are detected in the behavior sequence, the system can terminate analysis early, achieving precise malware identification without the time cost of full execution.

Inventive Principle:
Principle #21Skipping (Rushing through)

Solution Approach 2:

The system performs partial execution with continuous behavior monitoring, extracting sufficient precision data from incomplete runtime to identify malware. This approach achieves high detection precision by capturing critical malicious behaviors early in the execution process without requiring the file to complete its entire execution cycle.

Inventive Principle:
Principle #16Partial or excessive action

3Reliability

If virtual runtime environments are allocated for each file analysis, then detection reliability is improved, but device complexity increases

Engineering Contradiction:
Improveisolation securityVSAvoidsandbox management complexity
Core Design Contradiction:
ReliabilityVSDevice complexity

Solution Approach 1:

The system creates a single shared sandbox environment that can be reused across multiple file analyses. This virtual runtime environment serves multiple functions: isolating different files, monitoring behavior sequences, and providing a controlled execution context. By making the sandbox universal rather than creating dedicated environments for each file, the system maintains isolation security while reducing the complexity of managing numerous separate virtual environments.

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

Data Source

PatentUS11968228B2Early malware detection in on-the-fly security sandboxes using recursive neural networks (RNNs)to capture relationships in behavior sequences on data communication networks
Publication Date: 2024.04.23 FORTINET INC
  • US11968228B2 patent drawing
  • US11968228B2 patent drawing
  • US11968228B2 patent drawing

AI summary

A file copy is executed in a virtual runtime environment that tracks behavior using RNN taking runtime behavior of at least a first time into account with current runtime behavior at a second time. This is responsive to not finding a known signature for suspicious activity during virus scanning. A behavior sequence is identified on-the-fly during file copy execution that is indicative of malware, prior to completing the execution, the behavior sequence involving at least two actions taken at different times during file copy execution. Responsive to the identification, the execution is terminated and the virtual runtime environment is returned to the pool of available virtual runtime environments.