Container Threat Detection via Segmented Scanning Agents

Resolve Bottlenecks,
Find Innovative Solutions
Generate Solutions

Solution Overview

Problem

The increasing use of containerized software applications in data centers poses a challenge in providing adequate security without significantly impacting performance, as existing security agents consume resources and are prone to errors that can affect customer workloads.

Innovation Solution

The solution involves splitting the responsibility between a collection agent in each container and a scanner container, where the collection agent filters and collects event data, which is then analyzed by the scanner agent to identify and mitigate threats, thereby offloading the scanning process and isolating potential errors from impacting customer containers.

Engineering Contradictions & Design Principles

VSEngineering Contradiction Analysis

1Reliability

If a security agent is deployed in each container to monitor and detect threats, then security coverage is improved, but resource consumption increases and performance is impacted

Engineering Contradiction:
Improvesecurity coverageVSAvoidresource consumption
Core Design Contradiction:
ReliabilityVSUse of energy by moving object

Solution Approach 1:

The system segments the security function by separating the collection agent (deployed in each container) from the scanner agent (deployed in a dedicated scanner container). This segmentation allows lightweight event collection in containers while consolidating resource-intensive scanning operations in a dedicated container, reducing resource consumption in each individual container while maintaining comprehensive security coverage.

Inventive Principle:
Principle #1Segmentation

Solution Approach 2:

The scanner container acts as an intermediary between the collection agents in customer containers and the scanning engine. Collection agents in containers only perform lightweight event collection and transfer data to the scanner container, avoiding the need for heavy scanning operations within each container. This intermediary architecture reduces resource consumption in containers while maintaining security monitoring.

Inventive Principle:
Principle #24Intermediary (Mediator)

2Reliability

If a security agent is deployed in each container to detect threats, then security monitoring is improved, but errors in the agent can affect customer workloads

Engineering Contradiction:
Improvesecurity monitoringVSAvoiderrors affecting customer workloads
Core Design Contradiction:
ReliabilityVSObject-affected harmful factors

Solution Approach 1:

The system segments security functions into collection agents (in containers) and scanner agents (in dedicated scanner containers). This segmentation isolates errors: collection agents can fail or misbehave without affecting customer workloads, and scanner agents run in isolated scanner containers that can be restarted or replaced without impacting customer container operations. This resolves the contradiction by containing potential errors within isolated components.

Inventive Principle:
Principle #1Segmentation

Solution Approach 2:

The scanner container contains a copy of the scanning engine isolated from customer containers. If the scanner agent encounters errors or needs updates, the isolated scanner container can be restarted or replaced without affecting customer workloads. This copying and isolation mechanism protects customer workloads from agent errors while maintaining continuous security monitoring.

Inventive Principle:
Principle #26Copying

3Reliability

If scanning operations are performed within each container, then detection capability is improved, but processing overhead increases

Engineering Contradiction:
Improvedetection capabilityVSAvoidprocessing overhead
Core Design Contradiction:
ReliabilityVSProductivity

Solution Approach 1:

The system extracts the resource-intensive scanning operations from within customer containers and consolidates them in a dedicated scanner container. Collection agents in containers only perform lightweight event collection and data transfer, while the scanner container performs comprehensive scanning analysis. This extraction reduces processing overhead in customer containers while maintaining strong detection capability through the dedicated scanning environment.

Inventive Principle:
Principle #2Taking out (Extraction)

Solution Approach 2:

The scanner container serves as an intermediary that receives event data from collection agents and performs comprehensive scanning analysis. This intermediary architecture allows containers to focus on their primary functions with minimal overhead, while the scanner container handles resource-intensive detection operations, optimizing the balance between detection capability and processing overhead.

Inventive Principle:
Principle #24Intermediary (Mediator)

Data Source

PatentUS11861007B1Detecting container threats through extracting kernel events to process in reserved scanner containers
Publication Date: 2024.01.02 AMAZON TECH INC
  • US11861007B1 patent drawing
  • US11861007B1 patent drawing
  • US11861007B1 patent drawing

AI summary

Techniques for detecting container threats are described. A method of detecting container threats includes receiving, by a scanning agent on a scanner container on a host in a provider network, event data from a plurality of collection agents corresponding to a plurality of customer containers on the host, determining, by the scanning agent, the event data matches at least one known threat, and generating, by the scanning agent, event findings associated with the event data.