Container Packet Inspection via Dynamic Agent Switching

Resolve Bottlenecks,
Find Innovative Solutions
Generate Solutions

Solution Overview

Problem

Conventional security methods for packet inspection in dynamic computing environments, such as cloud and containerized systems, are ineffective due to unpredictable access levels and changing configurations, leading to performance and resource inefficiencies, as traditional methods like kernel modules and proxies may fail to function correctly across different deployment scenarios.

Innovation Solution

A system comprising a design time agent and a runtime agent that dynamically monitors and adjusts packet inspection methods based on predefined rules and environmental parameters, allowing for the installation, reconfiguration, or retirement of security modules, including C library hooking, kernel modules, and proxy services, to ensure optimal security and performance across various deployment scenarios.

Engineering Contradictions & Design Principles

VSEngineering Contradiction Analysis

1Reliability

If a kernel module is used for packet inspection in a container, then security inspection capability is provided, but the solution fails in environments without privileged access (e.g., AWS Fargate)

Engineering Contradiction:
Improvepacket inspection reliabilityVSAvoidenvironment compatibility
Core Design Contradiction:
ReliabilityVSAdaptability or versatility

Solution Approach 1:

The system dynamically selects and switches between different packet inspection mechanisms (kernel module, C library hook, proxy) based on the runtime environment's capabilities and privileges. This dynamic adaptation ensures reliable packet inspection across diverse containerized environments including those without privileged access.

Inventive Principle:
Principle #15Dynamics

Solution Approach 2:

The system changes operational parameters by detecting environment-specific conditions (privileged access availability, mesh framework presence) and adjusting the inspection mechanism accordingly. This parameter-based adaptation resolves the contradiction between reliability and environment compatibility.

Inventive Principle:
Principle #35Parameter changes

2Reliability

If a proxy is used for packet inspection, then packet inspection is achieved, but latency increases due to intensive memory copying and substantial RAM consumption

Engineering Contradiction:
Improvepacket inspection capabilityVSAvoidpacket inspection latency
Core Design Contradiction:
ReliabilityVSLoss of time

Solution Approach 1:

The system applies partial action by selectively using proxy-based inspection only when necessary (when other methods are unavailable), rather than always using the most comprehensive method. This reduces unnecessary latency while maintaining inspection capability.

Inventive Principle:
Principle #16Partial or excessive action

Solution Approach 2:

The system introduces an intermediary layer that intelligently routes packets through different inspection methods based on their characteristics and environment, minimizing the use of resource-intensive proxy inspection and reducing overall latency.

Inventive Principle:
Principle #24Intermediary (Mediator)

3Quantity of substance

If a C library hook is used for packet inspection, then memory consumption is minimized, but the solution is unpredictable in cloud environments without administrative access

Engineering Contradiction:
Improvememory consumptionVSAvoidpacket inspection reliability
Core Design Contradiction:
Quantity of substanceVSReliability

Solution Approach 1:

The system performs self-service by automatically detecting the cloud environment's capabilities and selecting the appropriate inspection method without manual configuration. This self-adaptation ensures reliable operation across different cloud providers and environments.

Inventive Principle:
Principle #25Self-service

Solution Approach 2:

The system uses feedback from environment detection (checking for privileged access, mesh framework presence) to dynamically adjust the inspection method, ensuring reliability while optimizing resource usage based on actual operational conditions.

Inventive Principle:
Principle #23Feedback

4Ease of manufacture

If a static security method is deployed, then deployment simplicity is achieved, but the solution becomes ineffective when container configurations change dynamically

Engineering Contradiction:
Improvedeployment simplicityVSAvoiddynamic environment adaptability
Core Design Contradiction:
Ease of manufactureVSAdaptability or versatility

Solution Approach 1:

The system transitions from static to dynamic security methods by continuously monitoring container configurations and automatically adapting the inspection mechanism. This maintains deployment simplicity while achieving adaptability through automated dynamic adjustment.

Inventive Principle:
Principle #15Dynamics

Data Source

PatentUS11843614B2Methods and system for packet control and inspection in containers and meshed environments
Publication Date: 2023.12.12 CHECK POINT SOFTWARE TECH LTD
  • US11843614B2 patent drawing
  • US11843614B2 patent drawing
  • US11843614B2 patent drawing

AI summary

An instantiated application includes both a runtime instantiation of an application image, and an administrative service operable to install in the instantiated application at least one security module during runtime of the instantiated application in a container. Prior to runtime, a design time agent can access the application image in a repository, examine the application image, and based on the examining, adding at least one security module to the application image prior to instantiation. During runtime, a runtime agent can query parameters of the container, such as static and dynamic variables available on the machine on which the container is running. The runtime agent processes these parameters in conjunction with predefined rules to determine an action such as starting, stopping, adding, and/or changing the security module, such as the method of packet inspection.