Container Infection Detection via Memory Page Comparison

Resolve Bottlenecks,
Find Innovative Solutions
Generate Solutions

Solution Overview

Problem

In virtualized operating system environments, the sharing of resources among containers increases security vulnerabilities, particularly the risk of unauthorized access and infection, which existing technologies fail to adequately address.

Innovation Solution

A system with a shared kernel hosting an active Intrusion Detection System (IDS) that scans memory pages for infections, compares them to prior versions, identifies infected containers, and performs remedial actions such as cleaning or disabling them, while utilizing unique namespaces and kernel tools for container management.

Engineering Contradictions & Design Principles

VSEngineering Contradiction Analysis

1Productivity

If containers share resources on a single operating system kernel, then resource utilization efficiency is improved, but security vulnerabilities increase due to potential unauthorized access and infections

Engineering Contradiction:
Improveresource utilization efficiencyVSAvoidsecurity vulnerabilities
Core Design Contradiction:
ProductivityVSObject-affected harmful factors

Solution Approach 1:

The system segments the monolithic operating system security model into container-level security domains. Each container is isolated with its own namespace and security context, allowing resource sharing while preventing cross-container attacks. The IDS further segments monitoring functions to track each container independently, enabling targeted remediation without affecting other containers.

Inventive Principle:
Principle #1Segmentation

Solution Approach 2:

The Intrusion Detection System acts as an intermediary between containers and the shared kernel resources. It monitors memory pages, process activities, and system calls to detect malicious behavior before it can compromise the shared kernel. The IDS mediates security decisions by allowing legitimate resource sharing while blocking potentially harmful operations.

Inventive Principle:
Principle #24Intermediary (Mediator)

2Reliability

If an Intrusion Detection System is deployed on the shared kernel to detect infections, then security detection capability is improved, but system complexity increases

Engineering Contradiction:
Improvesecurity detection capabilityVSAvoidsystem complexity
Core Design Contradiction:
ReliabilityVSDevice complexity

Solution Approach 1:

The IDS is designed as a multi-functional system that performs multiple security tasks within a single architecture: memory page scanning, process behavior monitoring, infection detection, container identification, and remediation coordination. This universal approach avoids the complexity of deploying separate specialized security tools for each function while maintaining comprehensive detection capability.

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

Solution Approach 2:

The IDS implements self-service mechanisms by automatically scanning memory pages, comparing them against known infection patterns, identifying affected containers, and executing remediation actions without requiring constant human intervention. The system serves itself by maintaining its own detection rules and automatically responding to threats, reducing operational complexity.

Inventive Principle:
Principle #25Self-service

3Measurement precision

If memory pages are scanned and compared to prior versions to detect infections, then detection precision is improved, but processing time increases

Engineering Contradiction:
Improvedetection precisionVSAvoidprocessing time
Core Design Contradiction:
Measurement precisionVSLoss of time

Solution Approach 1:

The system performs preliminary actions by pre-scanning memory pages and establishing baseline versions before infections occur. Known good versions of critical memory pages are cached and prepared in advance, allowing rapid comparison when detection is needed. This preliminary preparation enables fast detection without requiring full analysis of every memory page from scratch during threat events.

Inventive Principle:
Principle #10Preliminary action

Data Source

PatentUS9977898B1Identification and recovery of vulnerable containers
Publication Date: 2018.05.22 INTERNATIONAL BUSINESS MACHINE CORPORATION
  • US9977898B1 patent drawing
  • US9977898B1 patent drawing
  • US9977898B1 patent drawing

AI summary

The present embodiments relate to security in a virtualized operating system environment with an active host based Intrusion Detection System (IDS). More specifically, the IDS identifies any infected container operating on the shared kernel and remedies the infected container. In an operating system virtualization, one or more containers are started in virtual memory utilizing the same operating system kernel. When a container starts any resource not specified in the container configuration is shared with the host operating system. The shared IDS provides security of the namespaces of all containers operating on the shared kernel.