# US 2023/0056770 A1 · Security Scanning of Image for Virtual Machine Creation

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

- Number: US 2023/0056770 A1
- Document ID: US20230056770A1
- Status: Published application
- Kind: A1
- Application number: 17/407,740
- Filed: 2021-08-20
- Published: 2023-02-23
- Earliest claimed: 2021-08-20
- Assignees: Sap SE
- Applicants: Sap SE
- Inventors: Andreas Meier; Thomas Grimmeisen
- Web page: https://patentgrep.com/patent/US20230056770A1

## CPC

- G06F 21/54: by adding security routines or objects to programs
- G06F 21/53: by executing in a restricted environment, e.g. sandbox or secure virtual machine
- G06F 21/554: {involving event detection and direct action}
- G06F 21/566: {Dynamic detection, i.e. detection performed at run-time, e.g. emulation, suspicious activities}
- G06F 21/568: {eliminating virus, restoring damaged files}
- G06F 21/577: {Assessing vulnerabilities and evaluating computer system security}
- G06F: ELECTRIC DIGITAL DATA PROCESSING (computer systems based on specific computational models G06N)

## Abstract

Embodiments provide automated security scanning of incoming images for use in creating containers such as a Virtual Machines. Based upon attribute(s) of metadata of the incoming image, a security engine chooses from amongst stored scripts for mounting and execution by installation logic. Such scripts can relate to the scanning itself, and/or pre-scanning considerations (such as scan frequency). In one example, the meta data attribute identifies a relevant Operating System (OS) of the incoming image. Other meta data attributes such •as scan frequency, •most recent passed scan, •log information, and •contact information (for issuance of a possible alert), may also be considered as part of the processing of an incoming image. Embodiments may enhance security by avoiding introduction of vulnerabilities through image instantiation. Embodiments may also impart flexibility to conserve resources by selectively scanning according to a frequency and/or date of last successful passage of the image.

## Claims

### Claim 1

A method comprising:
receiving an image;
referencing a first attribute of image meta data to choose a security scan script stored in a non-transitory computer-readable storage medium; and
mounting the security scan script from the database for execution by an installation logic to create a container from the image, such that installation of the image is stopped where the security scan script issues an error.

### Claim 2 (depends on 1)

A method as in claim 1 wherein the first attribute identifies an operating system (OS).

### Claim 3 (depends on 1)

A method as in claim 1 wherein the container comprises a Virtual Machine.

### Claim 4 (depends on 1)

A method as in claim 1 further comprising:
referencing the first attribute to choose a security pre-scan script stored in the non-transitory computer readable storage medium; and
mounting the security pre-scan script for execution by the installation logic, such that execution of the security scan script is bypassed based upon a second attribute of image meta data.

### Claim 5 (depends on 4)

A method as in claim 4 wherein:
the first attribute identifies an operating system (OS); and
the second attribute indicates a frequency.

### Claim 6 (depends on 4)

A method as in claim 4 wherein:
the first attribute identifies an operating system (OS); and
the second attribute indicates a last good security scan of the image.

### Claim 7 (depends on 1)

A method as in claim 1 further comprising:
referencing the first attribute to choose a security pre-scan script stored in the non-transitory computer readable storage medium; and
mounting the security pre-scan script for execution by the installation logic, such that the pre-scan script causes an alert to be issued to a contact identified by a second attribute of image meta data.

### Claim 8 (depends on 1)

A method as in claim 1 wherein:
the non-transitory computer readable storage medium comprises an in-memory database; and
the referencing is performed by an in-memory database engine of the in-memory database.

### Claim 9 (depends on 8)

A method as in claim 8 wherein:
the image is received from an archive; and
the archive comprises the in-memory database.

### Claim 10

A non-transitory computer readable storage medium embodying a computer program for performing a method, said method comprising:
receiving an image;
referencing a first attribute of image meta data to choose a security scan script stored in a non-transitory computer readable storage medium;
referencing the first attribute to choose a security pre-scan script stored in the non-transitory computer readable storage medium;
mounting the security scan script from the database for execution by an installation logic to create a container from the image, such that installation of the image is stopped where the security scan script issues an error; and
mounting the security pre-scan script for execution by the installation logic, such that execution of the security scan script is bypassed based upon a second attribute of image meta data.

### Claim 11 (depends on 10)

A non-transitory computer readable storage medium as in claim 10 wherein:
the first attribute identifies an operating system; and
the second attribute indicates a frequency.

### Claim 12 (depends on 10)

A non-transitory computer readable storage medium as in claim 10 wherein:
the first attribute identifies an operating system; and
the second attribute indicates a last good security scan of the image.

### Claim 13 (depends on 10)

A non-transitory computer readable storage medium as in claim 10 wherein the container comprises a Virtual Machine (VM).

### Claim 14 (depends on 10)

A non-transitory computer readable storage medium as in claim 10 wherein:
the non-transitory computer readable storage medium comprises an in-memory database;
the image is received from an archive stored in the in-memory database; and
the referencing is performed by an in-memory database engine of the in-memory database.

### Claim 15

A computer system comprising:
one or more processors;
a software program, executable on said computer system, the software program configured to cause an in-memory database engine of an in-memory database to:
receive an image;
reference a first attribute of image meta data to choose a security scan script stored in the in-memory database; and
mount the security scan script from the database for execution by an installation logic to create a container from the image, such that installation of the image is stopped where the security scan script issues an error.

### Claim 16 (depends on 15)

A computer system as in claim 15 wherein the first attribute identifies an operating system.

### Claim 17 (depends on 15)

A computer system as in claim 15 wherein the container comprises a virtual machine.

### Claim 18 (depends on 15)

A computer system as in claim 15 wherein the in-memory database engine is further configured to:
reference the first attribute to choose a security pre-scan script stored in the in-memory database; and
mount the security pre-scan script for execution by the installation logic, such that execution of the security scan script is bypassed based upon a second attribute of image meta data.

### Claim 19 (depends on 18)

A computer system as in claim 18 wherein the second attribute indicates a frequency.

### Claim 20 (depends on 18)

A computer system as in claim 18 wherein the second attribute indicates a last good security scan of the image.
