In-Memory Scanning for Fileless Malware Detection

Resolve Bottlenecks,
Find Innovative Solutions
Generate Solutions

Solution Overview

Problem

Existing malware prevention systems are ineffective against fileless malware, which evades detection by residing in endpoint memory without leaving traces in the filesystem, as they are configured to scan files rather than memory.

Innovation Solution

A computerized method and system where an anti-malware scanner on a host device processes malware scan requests from virtual computing instances by scanning script data directly from memory buffers, preventing the execution of malware by notifying the virtual computing instances if malware is detected.

Engineering Contradictions & Design Principles

VSEngineering Contradiction Analysis

1Reliability

If malware prevention systems scan files in the filesystem, then they can detect traditional malware, but they cannot detect fileless malware that resides only in memory

Engineering Contradiction:
Improvemalware detection capabilityVSAvoiddetection scope
Core Design Contradiction:
ReliabilityVSAdaptability or versatility

Solution Approach 1:

The patent transitions the detection scope from the traditional filesystem dimension to the memory dimension. The AMSI provider intercepts script execution in memory by receiving script data from the VCI's memory buffer, scanning it for malware, and returning results. This dimensional shift from file-based to memory-based detection enables the system to detect fileless malware while maintaining compatibility with traditional file-based detection mechanisms.

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

2Reliability

If malware prevention systems scan memory directly, then they can detect fileless malware, but it increases complexity of the scanning system

Engineering Contradiction:
Improvefileless malware detectionVSAvoidscanning system architecture
Core Design Contradiction:
ReliabilityVSDevice complexity

Solution Approach 1:

The AMSI provider is designed with multi-functionality to handle both traditional file-based malware scanning and memory-based fileless malware scanning through a unified interface. The same scanning mechanism processes script data regardless of its source, whether from filesystem or memory buffer. This universal approach reduces system complexity by avoiding separate scanning pathways while maintaining comprehensive detection capabilities.

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

3Productivity

If multiple virtual computing instances execute scripts, then computational productivity increases, but the risk of malware execution increases

Engineering Contradiction:
Improvecomputational outputVSAvoidmalware execution risk
Core Design Contradiction:
ProductivityVSObject-affected harmful factors

Solution Approach 1:

The system performs preliminary malware scanning of script data before allowing execution in any VCI. The AMSI provider intercepts script data from the VCI's memory buffer, scans it for malware content, and only allows execution if the scan is clean. This preliminary security check is performed once per script, enabling multiple VCIs to safely execute the same validated script without repeating full security checks, thus maintaining productivity while reducing malware risk.

Inventive Principle:
Principle #10Preliminary action

Data Source

PatentUS12079339B2In-memory scanning for fileless malware on a host device
Publication Date: 2024.09.03 VMWARE INC
  • US12079339B2 patent drawing
  • US12079339B2 patent drawing
  • US12079339B2 patent drawing

AI summary

The disclosure herein describes the processing of malware scan requests from VCIs by an anti-malware scanner (AMS) on a host device. A malware scan request is received by the AMS from a VCI, the malware scan request including script data of a script from a memory buffer of the VCI. The AMS scans the script data of the malware scan request, outside of the VCI, and determines that the script includes malware. The AMS notifies the VCI that the script includes malware, whereby the VCI is configured to prevent execution of the script or take other mitigating action. The AMS provides scanning for fileless malware to VCIs on a host device without consuming or otherwise affecting resources of the VCIs.