Container Image Verification Flow for Malicious Code Screening

Resolve Bottlenecks,
Find Innovative Solutions
Generate Solutions

Solution Overview

Problem

Existing technologies fail to effectively analyze and process malicious code for container images, particularly in verifying integrity and security policies, leading to potential damage to servers and users.

Innovation Solution

A method involving copying a container image to a temporary directory, performing integrity verification, image analysis, and policy analysis, and determining abnormalities based on the results to allow or deny download requests.

Engineering Contradictions & Design Principles

VSEngineering Contradiction Analysis

1Reliability

If container images are directly downloaded from the database without copying to temporary directory, then download speed is improved, but security verification and integrity checking cannot be performed

Engineering Contradiction:
Improvesecurity verificationVSAvoiddownload time
Core Design Contradiction:
ReliabilityVSLoss of time

Solution Approach 1:

The system performs preliminary actions by copying the container image to a temporary directory before downloading, and conducts integrity verification and security analysis on this copy first. This preliminary verification ensures that only secure images are allowed to be downloaded, preventing malicious code execution while maintaining efficient download processes for verified images.

Inventive Principle:
Principle #10Preliminary action

Solution Approach 2:

The temporary directory serves as an intermediary between the database and the user. It holds a copy of the container image that can be verified for integrity and security before being made available for download. This intermediary mechanism allows the system to verify security without blocking the entire download process, as verified images can be served directly from the temporary directory.

Inventive Principle:
Principle #24Intermediary (Mediator)

2Reliability

If integrity verification and security analysis are performed on every container image, then security is improved, but processing time and system complexity increase

Engineering Contradiction:
Improveintegrity verificationVSAvoidprocessing complexity
Core Design Contradiction:
ReliabilityVSDevice complexity

Solution Approach 1:

The system segments the verification process into distinct phases: copying to temporary directory, integrity verification, image analysis, and policy analysis. Each phase can be independently configured and executed, allowing the system to perform comprehensive security checks without overwhelming complexity. The segmentation enables modular processing that can be optimized based on specific security requirements.

Inventive Principle:
Principle #1Segmentation

Solution Approach 2:

By creating a copy of the container image in a temporary directory, the system enables verification processes to work on the copy rather than the original. This copying mechanism allows multiple verification operations (integrity checking, malware scanning, policy validation) to be performed in parallel or sequence without affecting the original image or the database, reducing processing complexity and enabling flexible verification strategies.

Inventive Principle:
Principle #26Copying

3Measurement precision

If comprehensive analysis processes are implemented for container images, then detection accuracy of malicious code is improved, but processing speed decreases

Engineering Contradiction:
Improvemalicious code detection accuracyVSAvoidprocessing speed
Core Design Contradiction:
Measurement precisionVSProductivity

Solution Approach 1:

The system performs preliminary copying and integrity verification before conducting comprehensive analysis. This preliminary action ensures that only images passing basic integrity checks undergo full analysis, reducing the overall processing load while maintaining high detection accuracy for malicious codes. The preliminary verification acts as a filter that prevents obviously safe images from undergoing time-consuming comprehensive analysis.

Inventive Principle:
Principle #10Preliminary action

Solution Approach 2:

The analysis process is made dynamic by adjusting the depth and scope of analysis based on the specific container image and its characteristics. The system can perform comprehensive analysis when needed (e.g., for suspicious images or first-time downloads) and use faster verification methods for known safe images, optimizing the balance between detection accuracy and processing speed in real-time.

Inventive Principle:
Principle #15Dynamics

Data Source

PatentUS12572653B2Method and device for analyzing and processing malicious code for container image, and computer-readable recording medium
Publication Date: 2026.03.10 SGA SOLUTIONS CO LTD
  • US12572653B2 patent drawing
  • US12572653B2 patent drawing
  • US12572653B2 patent drawing

AI summary

The present invention relates to a method for analyzing and processing a malicious code for a container image, includes: a container image storage step of storing a container image in a temporary directory by copying the container image to the database; a verification analysis process starting step of starting an integrity verification process for the container image, and starting an image analysis process and a policy analysis process; an abnormality determination step of determining an abnormality for the container image based on first analysis result information and second analysis result information when the first analysis result information and the second analysis result information have been acquired; and a download allowance step of allowing the user account to download the container image by allowing a download of the container image, when it is determined that the container image is normal by performing a function of the abnormality determination step.