Container Filesystem Security Profiles for Runtime Violation Detection

Resolve Bottlenecks,
Find Innovative Solutions
Generate Solutions

Solution Overview

Problem

Existing security solutions are inadequate for detecting vulnerabilities in software container images, as they cannot predict how container images behave during execution and fail to prevent malicious code execution, leading to risks of malware and DDoS attacks.

Innovation Solution

A method and system for securing software containers using security profiles, which involves generating a security profile based on permissible filesystem actions, monitoring runtime operations, and detecting violations to enforce secure execution.

Engineering Contradictions & Design Principles

VSEngineering Contradiction Analysis

1Reliability

If existing security solutions are used to scan container images, then basic security scanning is provided, but they cannot detect vulnerabilities related to runtime behavior and filesystem actions

Engineering Contradiction:
Improvesecurity detection capabilityVSAvoidability to detect runtime behaviors
Core Design Contradiction:
ReliabilityVSAdaptability or versatility

Solution Approach 1:

The system performs preliminary analysis of container images before execution to generate security profiles that predict runtime filesystem actions. This preliminary action captures the container's intended behavior patterns before the container actually runs, enabling the security system to have expectations about what filesystem operations should occur during execution.

Inventive Principle:
Principle #10Preliminary action

Solution Approach 2:

The system continuously monitors runtime filesystem actions and compares them against the pre-generated security profile expectations. When deviations are detected, the system provides feedback by triggering security events or alerts, creating a closed-loop security monitoring system that adapts to actual runtime behavior.

Inventive Principle:
Principle #23Feedback

2Ease of operation

If container images are allowed to execute without restrictions, then execution flexibility is maintained, but malicious code execution and security threats cannot be prevented

Engineering Contradiction:
Improvecontainer execution flexibilityVSAvoidmalicious code execution risk
Core Design Contradiction:
Ease of operationVSObject-affected harmful factors

Solution Approach 1:

The system applies security restrictions locally to specific filesystem actions rather than imposing blanket restrictions on entire container executions. Each filesystem operation is evaluated against the security profile to determine if it should be permitted, allowing legitimate operations to proceed while blocking only the harmful ones.

Inventive Principle:
Principle #3Local quality

Solution Approach 2:

The security profile acts as an intermediary layer between the container execution environment and the host filesystem. This mediator translates container requests into security decisions, allowing the system to maintain execution flexibility while preventing malicious actions through the intermediary security layer.

Inventive Principle:
Principle #24Intermediary (Mediator)

3Reliability

If comprehensive monitoring of container runtime operations is implemented, then security violations can be detected, but system complexity and computational overhead increase

Engineering Contradiction:
Improvesecurity violation detectionVSAvoidmonitoring system complexity
Core Design Contradiction:
ReliabilityVSDevice complexity

Solution Approach 1:

The system extracts only the critical security-relevant filesystem actions from the container's runtime operations for monitoring. Rather than monitoring all container activities, it focuses specifically on filesystem operations that could indicate security violations, reducing the monitoring burden while maintaining detection effectiveness.

Inventive Principle:
Principle #2Taking out (Extraction)

Solution Approach 2:

The security profile is generated in advance before container execution, establishing the baseline of expected filesystem actions. This preliminary action reduces runtime complexity by providing pre-computed security criteria that simplify real-time monitoring decisions during container execution.

Inventive Principle:
Principle #10Preliminary action

Data Source

PatentUS11068585B2Filesystem action profiling of containers and security enforcement
Publication Date: 2021.07.20 PALO ALTO NETWORKS INC
  • US11068585B2 patent drawing
  • US11068585B2 patent drawing
  • US11068585B2 patent drawing

AI summary

A system and method for securing execution of software containers using security profiles. The method includes exporting a container image to a host device from a container image source, wherein the container image includes resources utilized to execute a corresponding application container; generating a security profile for the container image, wherein the generated security profile indicates at least a list of permissible filesystem actions, wherein each permissible filesystem action is an action performed with respect to at least one filesystem resource; monitoring an operation of a runtime execution of the application container; and detecting a violation of the security profile based on the monitored operation.