Hypervisor Scanning Kernel Data Structure Tampering

Resolve Bottlenecks,
Find Innovative Solutions
Generate Solutions

Solution Overview

Problem

Detecting and deterring attacks on the operating system kernel of a computer system is challenging due to their location in the kernel space, which is difficult for applications to detect or interrupt without affecting legitimate operations.

Innovation Solution

The method involves scanning memory pages for kernel data structure characteristics, taking snapshots, and comparing them with the kernel data structure stored in the kernel space to identify tampering, using a hypervisor to monitor memory regions and maintain a score for administrative actions.

Engineering Contradictions & Design Principles

VSEngineering Contradiction Analysis

1Measurement precision

If applications attempt to detect or interrupt kernel operations, then attack detection capability is improved, but system stability deteriorates due to disruption of legitimate operations

Engineering Contradiction:
Improveattack detection capabilityVSAvoidsystem stability
Core Design Contradiction:
Measurement precisionVSReliability

Solution Approach 1:

The patent introduces a hypervisor as an intermediary layer between applications and the kernel. The hypervisor monitors kernel data structure characteristics and detects tampering attempts without requiring applications to directly interact with kernel space. This mediator approach enables attack detection while preserving kernel operations and system stability, as the hypervisor can identify malicious modifications through characteristic analysis without interrupting legitimate kernel functionality.

Inventive Principle:
Principle #24Intermediary (Mediator)

2Measurement precision

If kernel data structure characteristics are scanned continuously, then tampering detection accuracy is improved, but system performance deteriorates due to increased processing overhead

Engineering Contradiction:
Improvetampering detection accuracyVSAvoidsystem performance
Core Design Contradiction:
Measurement precisionVSProductivity

Solution Approach 1:

The patent implements periodic scanning of kernel data structure characteristics rather than continuous monitoring. The hypervisor scans memory pages at intervals to detect changes in kernel data structure characteristics, maintaining detection accuracy while reducing processing overhead. This periodic approach balances security monitoring requirements with system performance considerations by limiting scan frequency to necessary intervals.

Inventive Principle:
Principle #19Periodic action

Solution Approach 2:

The patent establishes baseline characteristics of kernel data structures in advance before monitoring begins. By pre-defining what normal kernel data structure characteristics should look like, the system can quickly compare current states against these baselines during scanning, improving detection accuracy while minimizing processing time during actual monitoring operations.

Inventive Principle:
Principle #10Preliminary action

3Measurement precision

If comprehensive kernel memory regions are monitored, then attack detection coverage is improved, but device complexity increases due to extended monitoring scope

Engineering Contradiction:
Improveattack detection coverageVSAvoidmonitoring system complexity
Core Design Contradiction:
Measurement precisionVSDevice complexity

Solution Approach 1:

The patent divides the kernel memory space into distinct segments or regions, each with specific characteristics that are monitored independently. Rather than monitoring all kernel memory uniformly, the hypervisor identifies and monitors specific memory pages containing kernel data structures based on their characteristics. This segmentation approach expands detection coverage to relevant areas while managing complexity by focusing monitoring efforts on specific segmented regions rather than the entire kernel space.

Inventive Principle:
Principle #1Segmentation

Data Source

PatentUS10706146B2Scanning kernel data structure characteristics
Publication Date: 2020.07.07 AMAZON TECH INC
  • US10706146B2 patent drawing
  • US10706146B2 patent drawing
  • US10706146B2 patent drawing

AI summary

A method and apparatus for detecting kernel data structure tampering are disclosed. In the method and apparatus, a memory region of a computer system is scanned for one or more characteristics of a kernel data structure of an operating system kernel. It is then determined, based at least in part on identifying whether the one or more characteristics are found in the memory region, whether the kernel data structure is stored in the memory region of the computer system for tampering with the kernel data structure.