Virtual Machine MBR Detection for Bootkit Viruses

Resolve Bottlenecks,
Find Innovative Solutions
Generate Solutions

Solution Overview

Problem

Conventional security software struggles to detect deformed malicious programs, especially MBR-based Bootkit viruses, as they use junk or deformation codes that bypass traditional characteristic code detection methods.

Innovation Solution

A method and apparatus that simulate the execution of the MBR in virtual memory using a virtual CPU and virtual hard disk, detecting modifications to the virtual memory to identify malicious programs without relying on characteristic code detection.

Engineering Contradictions & Design Principles

VSEngineering Contradiction Analysis

1Measurement precision

If traditional characteristic code detection is used, then simple viruses can be detected, but deformed malicious programs (such as MBR-based Bootkit viruses using junk or deformation codes) cannot be detected

Engineering Contradiction:
Improvedetection accuracyVSAvoiddetection coverage
Core Design Contradiction:
Measurement precisionVSAdaptability or versatility

Solution Approach 1:

The patent creates a virtual copy of the MBR (Master Boot Record) in virtual memory and simulates its execution in a controlled environment. Instead of directly analyzing the MBR code for characteristic patterns, the system copies the MBR to a virtual disk image and executes it in a virtual machine, allowing observation of actual behavior rather than relying on code pattern matching. This enables detection of deformed viruses that modify their characteristic codes while maintaining the same functional behavior.

Inventive Principle:
Principle #26Copying

2Productivity

If characteristic code detection is used, then detection speed is fast, but detection of deformed viruses is impossible

Engineering Contradiction:
Improvedetection speedVSAvoiddetection reliability
Core Design Contradiction:
ProductivityVSReliability

Solution Approach 1:

The patent introduces a virtual machine as an intermediary layer between the MBR execution and the detection system. The virtual machine acts as a mediator that executes the MBR in a controlled, isolated environment and captures its behavior. This intermediary approach allows the system to maintain fast detection speeds while achieving reliable detection of deformed viruses, as the virtual machine can efficiently simulate CPU execution and memory operations without requiring complex code analysis.

Inventive Principle:
Principle #24Intermediary (Mediator)

3Reliability

If virtual memory simulation is used to detect MBR viruses, then deformed viruses can be detected, but system resources are consumed

Engineering Contradiction:
Improvedetection capabilityVSAvoidsystem resource consumption
Core Design Contradiction:
ReliabilityVSUse of energy by moving object

Solution Approach 1:

The patent segments the detection process into distinct virtualized components: a virtual CPU that simulates instruction execution, a virtual memory system that provides isolated execution space, and a virtual disk that stores the MBR image. This segmentation allows the detection system to allocate resources only when needed for simulation, rather than continuously consuming system resources. The virtualized environment can be activated on-demand for suspicious MBRs and deactivated when not in use, reducing overall resource consumption while maintaining reliable detection capability.

Inventive Principle:
Principle #1Segmentation

Data Source

PatentUS10146938B2Method, apparatus and virtual machine for detecting malicious program
Publication Date: 2018.12.04 BEIJING QIHOOD TECHNOLOGY CO LTD
  • US10146938B2 patent drawing
  • US10146938B2 patent drawing
  • US10146938B2 patent drawing

AI summary

A method, an apparatus and a virtual machine for detecting a malicious program(s) are disclosed. The method comprises: setting a virtual memory (301); reading a Master Boot Record (MBR) and storing the MBR in the virtual memory (302); and executing each instruction of the MBR in the virtual memory simulatedly, and detecting whether the virtual memory is modified after executing each instruction (303); if so, a malicious program is found, otherwise, continuing to execute the next instruction simulatedly until completing simulation execution of all instructions of the MBR. The technical solution can find the deformed malicious program(s).