Vulnerable Root Certificate Detection in Container Images

Resolve Bottlenecks,
Find Innovative Solutions
Generate Solutions

Solution Overview

Problem

Existing security solutions are unable to detect vulnerabilities in software container images, particularly in base images and root certificates, which can lead to malicious activities such as HTTPS man-in-the-middle attacks, as they cannot process the layered structure of container images.

Innovation Solution

A method and system for detecting vulnerable root certificates in container images by scanning the contents of the image layers, generating lists of included and trusted certificates, and comparing them to identify mismatched certificates, which are then validated for integrity and potential vulnerabilities.

Engineering Contradictions & Design Principles

VSEngineering Contradiction Analysis

1Measurement precision

If existing security solutions are used to scan container images, then general security scanning is provided, but they cannot detect vulnerabilities in root certificates within the layered structure of container images

Engineering Contradiction:
Improvevulnerability detection capabilityVSAvoidability to process layered container image structure
Core Design Contradiction:
Measurement precisionVSAdaptability or versatility

Solution Approach 1:

The container image is divided into multiple layers that are scanned separately. The system extracts and scans each layer's contents individually, allowing detailed inspection of root certificates in each layer while maintaining the ability to process the complete multi-layer structure.

Inventive Principle:
Principle #1Segmentation

Solution Approach 2:

A certificate scanning module acts as an intermediary between the existing security solution and the container image layers. This module specifically handles the extraction and scanning of root certificates from the layered structure, bridging the gap between general security scanning capabilities and the specialized need to detect vulnerable certificates within containers.

Inventive Principle:
Principle #24Intermediary (Mediator)

2Reliability

If container images are executed without scanning, then execution speed is maintained, but vulnerable root certificates can be exploited for malicious activities

Engineering Contradiction:
Improvesecurity against malicious activitiesVSAvoidscanning time before execution
Core Design Contradiction:
ReliabilityVSLoss of time

Solution Approach 1:

The system performs preliminary scanning of container images before they are executed. Root certificates are extracted and scanned in advance, and vulnerability results are cached so that subsequent executions of the same image do not require repeated scanning, thus maintaining execution speed while ensuring security.

Inventive Principle:
Principle #10Preliminary action

Solution Approach 2:

The scanning process uses parameter changes to optimize performance - such as scanning only relevant file types (certificate files) rather than all files, and using hash-based caching to avoid re-scanning unchanged images. This reduces scanning time while maintaining comprehensive security checking.

Inventive Principle:
Principle #35Parameter changes

3Measurement precision

If all root certificates are scanned and compared against trusted lists, then accurate vulnerability detection is achieved, but computational complexity increases

Engineering Contradiction:
Improvecertificate vulnerability identification accuracyVSAvoidscanning and comparison process complexity
Core Design Contradiction:
Measurement precisionVSDevice complexity

Solution Approach 1:

The system extracts only the root certificates from the container image layers, separating them from other files. This extraction focuses the scanning process on only the relevant certificates, reducing the complexity of processing while maintaining accurate vulnerability detection through targeted comparison with trusted certificate lists.

Inventive Principle:
Principle #2Taking out (Extraction)

Solution Approach 2:

Different parts of the container image are processed with different levels of scrutiny. Root certificates receive intensive scanning and comparison against trusted lists, while other non-certificate files are either skipped or processed with simpler checks. This local differentiation of processing quality reduces overall complexity while maintaining high accuracy for security-critical elements.

Inventive Principle:
Principle #3Local quality

Data Source

PatentUS10778446B2Detection of vulnerable root certificates in software containers
Publication Date: 2020.09.15 PALO ALTO NETWORKS INC
  • US10778446B2 patent drawing
  • US10778446B2 patent drawing
  • US10778446B2 patent drawing

AI summary

A method and system for detecting vulnerable root certificates in container images are provided. The method includes receiving an event to scan at least one container image hosted in a host device, wherein the least one container image includes resources utilized to execute, by the host device, at least a respective software application container; extracting contents of layers of the at least one container image; scanning the extracted contents to generate a first list designating all root certificates included in the at least one container image; generating a second list designating all root certificates trusted by the host device; comparing the first list to the second list to detect at least one root certificate designated in the first list but not in the second; and determining the at least one detected root certificate as vulnerable.