Malware Termination via Command Hooking and Return Value Simulation

Resolve Bottlenecks,
Find Innovative Solutions
Generate Solutions

Solution Overview

Problem

Existing verification devices fail to detect malware with anti-analysis functions, allowing such malware to evade detection and infect terminal devices despite being executed on a debugger, as they terminate their operations to avoid analysis, leading to potential unauthorized access and data theft.

Innovation Solution

A device and method that include a processor and memory configured to hook commands transmitted from the operating system to hardware, storing known malware commands and responding with information that causes the malware to terminate its operation, thereby preventing malicious activity by simulating the environment of a previous non-malicious execution, ensuring the malware does not start malignant operations.

Engineering Contradictions & Design Principles

VSEngineering Contradiction Analysis

1Reliability

If malware with anti-analysis functions is executed on a verification device, then the malware terminates its operation to avoid detection, but this causes the verification device to fail in detecting and preventing the malware

Engineering Contradiction:
Improvemalware detection reliabilityVSAvoiddifficulty of detecting anti-analysis malware
Core Design Contradiction:
ReliabilityVSDifficulty of detecting and measuring

Solution Approach 1:

The verification device performs preliminary actions by storing command information and return value information in advance before the malware executes. When the malware runs, the device compares the actual commands and return values against the pre-stored information to detect discrepancies that indicate anti-analysis behavior, enabling detection before the malware can terminate its operation.

Inventive Principle:
Principle #10Preliminary action

Solution Approach 2:

The verification device implements feedback by continuously monitoring and comparing the malware's actual command execution and return values against the expected values stored in advance. This feedback mechanism allows the device to identify when the malware is behaving abnormally (terminating due to anti-analysis detection) and take appropriate countermeasures.

Inventive Principle:
Principle #23Feedback

2Ease of operation

If the verification device executes malware in a standard debugging environment, then the malware may detect the debugging environment and terminate, but executing without detection mechanisms allows malware to run undetected

Engineering Contradiction:
Improveease of malware executionVSAvoidmalware detection reliability
Core Design Contradiction:
Ease of operationVSReliability

Solution Approach 1:

The verification device segments the detection process into distinct components: command interception, return value comparison, and anomaly detection. By dividing the verification process into these separate functional segments, the device can maintain a standard debugging environment while systematically checking for malware anti-analysis behavior through command and return value validation.

Inventive Principle:
Principle #1Segmentation

3Measurement precision

If the verification device stores and compares command information, then it can detect malware behavior, but this increases the complexity of the verification system

Engineering Contradiction:
Improvemalware behavior measurement precisionVSAvoidverification device complexity
Core Design Contradiction:
Measurement precisionVSDevice complexity

Solution Approach 1:

The verification device creates copies of command information and return value data for comparison purposes. By storing these informational copies in advance and comparing them against actual runtime values, the device achieves precise malware behavior detection without requiring complex analysis algorithms, thereby reducing overall system complexity while maintaining high measurement precision.

Inventive Principle:
Principle #26Copying

Data Source

PatentUS10339314B2Device, method and storage medium for terminating operation of software that is not successfully verified
Publication Date: 2019.07.02 FUJITSU LTD
  • US10339314B2 patent drawing
  • US10339314B2 patent drawing
  • US10339314B2 patent drawing

AI summary

A device includes: a memory configured to store in advance a command transmitted from malware to hardware via an operating system; and a processor coupled to the memory and configured to: hook a first command transmitted from the operating system to the hardware, and transmit information that causes the malware to determine to terminate operation of the malware to the operating system when the hooked first command corresponds with the command stored in the memory.