Fileless Malware Detection via Memory Page Table Interception

Resolve Bottlenecks,
Find Innovative Solutions
Generate Solutions

Solution Overview

Problem

Current methods fail to effectively detect fileless malware, as these malicious programs execute in memory without being written to disk, evading traditional antivirus detection.

Innovation Solution

A system and method for fileless malware detection that intercepts executable code in memory, checks the NX bit in Page Table Entries, and analyzes executable code for maliciousness, using a Check-on-Execute mechanism to suspend execution and scan code before allowing execution based on scan results.

Engineering Contradictions & Design Principles

VSEngineering Contradiction Analysis

1Reliability

If traditional antivirus software is used to scan files on disk, then file-based malware can be detected, but fileless malware executing in memory cannot be detected

Engineering Contradiction:
Improvemalware detection capabilityVSAvoiddetection coverage against different malware types
Core Design Contradiction:
ReliabilityVSAdaptability or versatility

Solution Approach 1:

The patent transitions detection from the traditional file system dimension to the memory execution dimension. By intercepting executable code in memory at the page table level and analyzing it before execution, the system detects malware in the dimension where fileless attacks actually operate, rather than relying solely on disk-based scanning.

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

Solution Approach 2:

The patent introduces an intermediary detection layer between the memory and the CPU execution unit. The check program acts as a mediator that intercepts executable code, performs security analysis, and decides whether to allow execution based on the analysis results, without disrupting normal system operation.

Inventive Principle:
Principle #24Intermediary (Mediator)

2Measurement precision

If executable code is intercepted and analyzed before execution, then malware detection accuracy improves, but system execution speed decreases

Engineering Contradiction:
Improvemalware detection accuracyVSAvoidsystem execution speed
Core Design Contradiction:
Measurement precisionVSSpeed

Solution Approach 1:

The patent performs security analysis in advance by intercepting executable code at the page table entry level before it reaches the CPU for execution. This preliminary action allows the system to identify and block malicious code before it can execute, preventing security incidents rather than responding to them after execution.

Inventive Principle:
Principle #10Preliminary action

Solution Approach 2:

The patent applies selective analysis only to specific memory pages that contain executable code, rather than scanning entire memory or all code. By focusing analysis on local executable sections identified through page table interception, the system maintains high detection accuracy while minimizing impact on overall execution speed.

Inventive Principle:
Principle #3Local quality

3Reliability

If NX bit checking is implemented to detect fileless malware, then detection rate increases, but system complexity increases

Engineering Contradiction:
Improvefileless malware detection rateVSAvoiddetection system complexity
Core Design Contradiction:
ReliabilityVSDevice complexity

Solution Approach 1:

The patent leverages the existing NX bit mechanism that is already part of the system's memory management infrastructure. Rather than introducing a completely new detection mechanism, the system repurposes the existing page table and NX bit functionality to enable malware detection, reducing the need for additional complex components.

Inventive Principle:
Principle #25Self-service

Solution Approach 2:

The patent makes the page table and NX bit mechanism serve dual purposes: their original function of memory management and protection, plus the additional function of malware detection. This multi-functionality allows the system to gain detection capabilities without adding separate dedicated detection hardware or software components.

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

Data Source

PatentUS12079338B2System and method of fileless malware detection and non-transitory computer readable medium
Publication Date: 2024.09.03 NAT CENT UNIV
  • US12079338B2 patent drawing
  • US12079338B2 patent drawing
  • US12079338B2 patent drawing

AI summary

The present disclosure provides a system and a method of fileless malware detection, and the method of the fileless malware detection includes steps as follows. The execution of the writable section in the memory is intercepted; the executable code corresponding to the execution is extracted from the writable section; whether the executable code is malicious is analyzed.