# US 2023/0409710 A1 · Allow list of container images based on deployment configuration at a container orchestration service

> Agents: this data is available as JSON from the patentgrep API and MCP server — see https://patentgrep.com/llms.txt

- Number: US 2023/0409710 A1
- Document ID: US20230409710A1
- Status: Published application
- Kind: A1
- Application number: 17/807,234
- Filed: 2022-06-16
- Published: 2023-12-21
- Earliest claimed: 2022-05-26
- Assignees: Microsoft Technology Licensing, LLC
- Applicants: Microsoft Technology Licensing, LLC
- Inventors: Idan HEN; Eran GOLDSTEIN; Dotan PATRICH
- Web page: https://patentgrep.com/patent/US20230409710A1

## CPC

- G06F 21/53: by executing in a restricted environment, e.g. sandbox or secure virtual machine
- G06F 21/562: {Static detection}
- G06F 8/63: {Image based installation; Cloning; Build to order}
- G06F 9/45558: {Hypervisor-specific management and integration aspects}
- G06F 21/51: at application loading time, e.g. accepting, rejecting, starting or inhibiting executable software based on integrity or source reliability
- G06F 21/554: {involving event detection and direct action}
- H04L 63/20: {for managing network security; network security policies in general (filtering policies H04L63/0227)}
- G06F 2009/45562: {Creating, deleting, cloning virtual machine instances}
- G06F 2009/45575: {Starting, stopping, suspending or resuming virtual machine instances}
- G06F 2221/033: Test or assess software
- G06F: ELECTRIC DIGITAL DATA PROCESSING (computer systems based on specific computational models G06N)
- H04L: TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION (arrangements common to telegraphic and telephonic communication H04M)

## Abstract

A computing system is configured for detecting anomalies in deployment configurations of container images at a container network. One or more datasets associated with deployment configurations of a container imager are collected, and a plurality of features are extracted based on the one or more datasets for an ID of the container image. A probability score is then generated based on the plurality of features, using a machine-learning model trained on datasets associated with historical deployment configurations of the container image that have been performed via the container orchestration service. The probability score indicates a probability of whether the deployment configurations of the container image are anomalous or not anomalous when compared historical deployment configurations of the container image. An allow list is generated that includes container images and their respective IDs that have a majority of their deployment configurations that are not anomalous.

## Claims

### Claim 1

A computing system comprising:
one or more processors; and
one or more computer-readable hardware storage devices having stored thereon computer-executable instructions that are structured such that, when executed by the one or more processors, the computer-executable instructions cause the computing system to perform at least:
collect one or more datasets associated with one or more deployment configurations of a container image via a container orchestration service;
extract a plurality of features based on the one or more datasets for an ID of the container image;
generate a probability score based on the plurality of features, using one or more machine-learning models trained on datasets associated with one or more historical deployment configurations of the container image that have been performed via the container orchestration service, the probability score indicating a probability of whether the one or more deployment configurations of the container image are anomalous or not anomalous when compared to the one or more historical deployment configurations of the container image; and
generate an allow list that includes container images and their respective IDs that have one or more deployment configurations that are not anomalous.

### Claim 2 (depends on 1)

The computing system of claim 1, wherein the computing system is further configured to:
remove a container image and its respective ID that were previously included on the allow list when it is determined that the container image subsequently has one or more deployment configurations that are anomalous.

### Claim 3 (depends on 1)

The computing system of claim 1, wherein the computing system is further configured to:
in response to determining that the one or more deployment configurations of the container image are anomalous, generate a security alert.

### Claim 4 (depends on 1)

The computing system of claim 1, wherein collecting one or more datasets includes collecting a dataset from at least one of (1) a client device, (2) a manifest file, (3) an audit log that records different events associated with the deployment of the container image, or (4) a registry that stores the container image.

### Claim 5 (depends on 1)

The computing system of claim 1, wherein the one or more deployment configurations of the container image include at least one of (1) one or more mounting points for the container image in storage of a host system, (2) permissions for an underlying application of the container image in a host system, (3) service accounts that the underlying application of container image will be associated with, or (4) whether the underlying application of the container image will be privileged or not in the system.

### Claim 6 (depends on 1)

The computing system of claim 1, the computing system further configured to:
group the plurality of features into a plurality of collections of features;
for each of the plurality of collections of features, generate a probability score, using a machine-learning model trained on the one or more datasets associated with the historical deployment configurations of the container image that have been performed via the container orchestration service, the probability score indicating a probability that the deployment configurations are an anomaly;
generate an overall consistency score based on the plurality of probability scores; and
in response to determining the overall score is greater than a predetermined threshold, perform at least one of (1) add the container image to the allow list or (2) generate a security alert.

### Claim 7 (depends on 6)

The computing system of claim 6, wherein generating an overall consistency score based on the plurality of probability scores includes:
assigning a weight to each of the plurality of probability scores; and
generating a weighted overall score based on the plurality of probability scores and the corresponding weights.

### Claim 8 (depends on 1)

The computing system of claim 1, wherein the one or more deployment configurations of the container image are anomalous when the probability score is greater than a threshold.

### Claim 9 (depends on 1)

The computing system of claim 1, the computing system further configured to:
generate a first probability score based on the plurality of features, using a first machine learning model trained on a first set of historical data associated with an ID of a specific version of the container image;
generate a second probability score based on the plurality of features, using a second machine learning model trained on a second set of historical data associated with an ID of all versions of the container image;
generate an overall consistency score based on the first probability score and the second probability score; and
in response to determining that the consistency overall score is greater than a predetermined threshold, perform at least one of perform at least one of (1) add the container image to the allow list or (2) generate a security alert.

### Claim 10 (depends on 9)

The computing system of claim 9, wherein generating an overall consistency score based on the first probability score and the second probability score includes:
assigning a first weight to the first probability score;
assigning a second weight to the second probability score; and
generating a weighted overall probability score based on the first probability score, the first weight, the second probability score, and the second weight.

### Claim 11

A method implemented at a computing system for detecting anomalies in deployment configurations of container images at a container network, the method comprising:
collecting one or more datasets associated with one or more deployment configurations of a container image via a container orchestration service;
extracting a plurality of features based on the one or more datasets for an ID of the container image;
generating a probability score based on the plurality of features, using one or more machine-learning models trained on datasets associated with one or more historical deployment configurations of the container image that have been performed via the container orchestration service, the probability score indicating a probability of whether the one or more deployment configurations of the container image are anomalous or not anomalous when compared to the one or more historical deployment configurations of the container image; and
generating an allow list that includes container images and their respective IDs that have one or more deployment configurations that are not anomalous.

### Claim 12 (depends on 11)

The method of claim 11, further comprising:
removing a container image and its respective ID that was previously included on the allow list when it is determined that the container image subsequently has one or more deployment configurations that are anomalous.

### Claim 13 (depends on 11)

The method of claim 11, further comprising:
in response to determining that the one or more deployment configurations of the container image are anomalous, generating a security alert.

### Claim 14 (depends on 11)

The method of claim 11, wherein collecting one or more datasets includes collecting a dataset from at least one of (1) a client device, (2) a manifest file, (3) an audit log that records different events associated with the deployment of the container image, or (4) a registry that stores the container image.

### Claim 15 (depends on 11)

The method of claim 11, wherein the one or more deployment configurations of the container image include at least one of (1) one or more mounting points for the container image in storage of a host system, (2) permissions for an underlying application of the container image in a host system, (3) service accounts that the underlying application of container image will be associated with, or (4) whether the underlying application of the container image will be privileged or not in the system.

### Claim 16 (depends on 11)

The method of claim 11, wherein the one or more deployment configurations of the container image are anomalous when the probability score is greater than a threshold.

### Claim 17 (depends on 11)

The method of claim 11, further comprising:
generating a first probability score based on the plurality of features, using a first machine learning model trained on a first set of historical data associated with an ID of a specific version of the container image;
generating a second probability score based on the plurality of features, using a second machine learning model trained on a second set of historical data associated with an ID of all versions of the container image;
generating an overall consistency score based on the first probability score and the second probability score; and
in response to determining that the overall consistency score is greater than a predetermined threshold, performing at least one of perform at least one of (1) add the container image to the allow list or (2) generate a security alert.

### Claim 18 (depends on 17)

The method of claim 17, wherein generating an overall consistency score based on the first probability score and the second probability score includes:
assigning a first weight to the first probability score;
assigning a second weight to the second probability score; and
generating a weighted overall probability score based on the first probability score, the first weight, the second probability score, and the second weight.

### Claim 19

A computing system comprising:
one or more processors; and
one or more computer-readable hardware storage devices having stored thereon computer-executable instructions that are structured such that, when executed by the one or more processors, the computer-executable instructions cause the computing system to perform at least:
obtain training data associated with historical deployment configurations of a container image via a container orchestration service;
extract a plurality of features for the historical deployment configurations of container images based on the training data;
select one or more collections of features among the plurality of features; and
for each of the one or more collections of features, train an anomaly detection model using machine learning, such that the anomaly detection model is configured to generate a probability score for a given dataset associated with one or more deployment configurations of the container image via the container orchestration service, indicating a probability that the one or more deployment configurations of the container image are anomalous compared to the historical deployment configurations.

### Claim 20 (depends on 19)

The computing system of claim 19, wherein the training data associated with the historical deployment configurations of a container image includes first data associated with a first plurality of historical deployment configurations of a specific version of the container image and second data associated with a second plurality of historical deployment configurations of all versions of the container image,
wherein the computing system is further configured to:
train a first anomaly detection model based on the first data;
train a second anomaly detection model based on the second data;
generate a combined model configured to generate an overall consistency score,
wherein in response to receiving a dataset associated with deployment configurations of a container image,
the first anomaly detection model is configured to generate a first probability score, indicating a first probability that the deployment configurations of the specific version of the container image is anomalous compared to the first plurality of historical deployment configurations,
the second anomaly detection model is configured to generate a second probability score, indicating a second probability that the deployment configurations of all versions of the container image are anomalous compared to the second plurality of historical deployment configurations, and
the combined model is configured to generate a combined score based on the first probability score and the second probability score.
