Container Security Introspection via Layered File System Snapshots

Resolve Bottlenecks,
Find Innovative Solutions
Generate Solutions

Solution Overview

Problem

Current security threat detection methods in cloud environments, particularly in containers, are inefficient due to the overhead of large security scanners, leading to potential prolonged undetected infections and damage, as these scanners are often not deployed in containers to maintain scalability and flexibility.

Innovation Solution

Implementing a runtime non-intrusive container security introspection and remediation system that uses a layered file system to create snapshots of container modifications, forwarding deltas to a security inspection service for threat analysis, allowing for threat detection and remediation with minimal impact on container performance, and instructing the container engine to respond to threatening states.

Engineering Contradictions & Design Principles

VSEngineering Contradiction Analysis

1Reliability

If large security scanners are deployed in containers, then security threat detection capability is improved, but container scalability and flexibility deteriorate due to performance overhead

Engineering Contradiction:
Improvesecurity threat detection capabilityVSAvoidcontainer scalability and flexibility
Core Design Contradiction:
ReliabilityVSProductivity

Solution Approach 1:

The system segments the security scanning function from the container runtime environment. Instead of embedding full security scanners within containers, the patent creates external watcher services that monitor container file system changes and forward deltas to separate security inspection services. This segmentation allows containers to remain lightweight and scalable while security scanning capability is preserved in external components.

Inventive Principle:
Principle #1Segmentation

Solution Approach 2:

The patent introduces intermediary components (watcher services and delta forwarding mechanisms) that bridge the gap between containers and security inspection services. These intermediaries capture file system changes, package them as deltas, and forward them to security scanners, enabling indirect security monitoring without the performance penalty of direct scanner deployment within containers.

Inventive Principle:
Principle #24Intermediary (Mediator)

2Productivity

If security scanners are not deployed in containers, then container scalability is maintained, but security threat detection efficiency deteriorates leading to prolonged undetected infections

Engineering Contradiction:
Improvecontainer scalabilityVSAvoidsecurity threat detection efficiency
Core Design Contradiction:
ProductivityVSReliability

Solution Approach 1:

The system performs preliminary security inspection by capturing file system changes as they occur and forwarding them to security scanners for analysis. Rather than waiting for threats to manifest or using resource-intensive continuous scanning, the patent proactively monitors and forwards deltas, enabling efficient threat detection without compromising container scalability.

Inventive Principle:
Principle #10Preliminary action

3Reliability

If runtime security monitoring is implemented, then security threat detection is improved, but container performance deteriorates due to monitoring overhead

Engineering Contradiction:
Improvesecurity threat detectionVSAvoidcontainer performance
Core Design Contradiction:
ReliabilityVSProductivity

Solution Approach 1:

The patent uses copying mechanisms to create snapshots of the container file system at different points in time. Instead of continuously monitoring and analyzing the entire file system, the system captures changes by comparing snapshots and forwards only the deltas (changes) to security inspection services. This copying approach minimizes performance overhead while maintaining effective security monitoring.

Inventive Principle:
Principle #26Copying

Solution Approach 2:

The system performs partial security monitoring by focusing only on file system changes rather than continuously analyzing all container activities. By forwarding only the necessary deltas (partial action) to security scanners, the patent achieves effective threat detection with minimal performance impact on container operations.

Inventive Principle:
Principle #16Partial or excessive action

Data Source

PatentUS10503895B2Runtime non-intrusive container security introspection and remediation
Publication Date: 2019.12.10 RED HAT INC
  • US10503895B2 patent drawing
  • US10503895B2 patent drawing
  • US10503895B2 patent drawing

AI summary

Runtime non-intrusive container security introspection and remediation is disclosed. For example, a persistent storage associated with a container has a write protected lower system layer and an upper system layer, and a first snapshot of the upper system layer is created. A first request to modify data in the persistent storage is detected. A first requested modification is forwarded to a security inspection service. A threat state of the container based is determined on the first requested modification, where the threat state is one of a threatening state and a non-threatening state. In response to determining that the container is in the non-threatening state, the container is notified that the first requested modification is non-threatening and a second snapshot of the upper system layer is created. In response to determining that the container is in the threatening state, a container engine is instructed to respond to the threatening state.