# US 9,355,257 B2 · Sanitization of virtual machine images

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

- Number: US 9,355,257 B2
- Document ID: US9355257B2
- Status: Granted
- Kind: B2
- Application number: 13/964,770
- Filed: 2013-08-12
- Published: 2015-01-29
- Granted: 2016-05-31
- Earliest claimed: 2013-07-24
- Assignees: International Business Machines Corporation
- Applicants: International Business Machines Corporation
- Inventors: Suresh N. Chari; Ashish Kundu
- Web page: https://patentgrep.com/patent/US9355257B2

## CPC

- G06F 21/604: {Tools and structures for managing or administering access control systems}
- G06F 9/45558: {Hypervisor-specific management and integration aspects}
- G06F 21/53: by executing in a restricted environment, e.g. sandbox or secure virtual machine
- G06F 21/60: Protecting data
- H04L 63/105: {Multiple levels of security}
- G06F 2009/45587: {Isolation or security of virtual machine instances}
- G06F 2221/2113: Multi-level security, e.g. mandatory access control
- G06F 2221/2149: Restricted operating environment
- 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

Sanitizing a virtual machine image of sensitive data is provided. A label for a sensitivity level is attached to identified sensitive data contained within each software component in a plurality of software components of a software stack in a virtual machine image based on labeling policies. In response to receiving an input to perform a sanitization of the identified sensitive data having attached sensitivity level labels contained within software components of the software stack in the virtual machine image, the sanitization of the identified sensitive data having the attached sensitivity level labels contained within the software components of the software stack in the virtual machine image is performed based on sanitization policies.

## Claims

### Claim 1

A computer system for sanitizing a virtual machine image of sensitive data, the computer system comprising:
a bus system;
a storage device connected to the bus system, wherein the storage device stores computer readable program code; and
a processor unit connected to the bus system, wherein the processor unit executes the computer readable program code to insert a labeler module and a sanitizer module into each software component in a plurality of software components of a software stack in the virtual machine image; identify labeling dependencies and sanitization dependencies between the plurality of software components of the software stack in the virtual machine image based on labeling execution policies located in the labeler module and sanitization execution policies located in the sanitizer module, respectively; attach using the labeler module a sensitivity level label of a plurality of sensitivity labels to identified sensitive data from the sensitive data contained within the plurality of software components of the software stack in the virtual machine image based on the identified labeling dependencies between the plurality of software components of the software stack; and perform using the sanitizer module a sanitization of the identified sensitive data having attached sensitivity level labels contained within the plurality of software components of the software stack in the virtual machine image based on the identified sanitization dependencies between the plurality of software components of the software stack in response to receiving an input to perform the sanitization of the identified sensitive data having the attached sensitivity level labels contained within the plurality of software components of the software stack in the virtual machine image.

### Claim 2 (depends on 1)

The computer system of claim 1, wherein the processor unit further executes the computer readable program code to execute a labeling program in the each software component in the plurality of software components of the software stack in the virtual machine image based on the labeling execution policies.

### Claim 3 (depends on 2)

The computer system of claim 2, wherein the processor unit further executes the computer readable program code to identify a partial order in the labeling execution policies, wherein the labeling program is executed in the partial order; and handle failures during labeling of the virtual machine image.

### Claim 4 (depends on 1)

The computer system of claim 1, wherein the processor unit further executes the computer readable program code to execute a sanitization program in the each software component in the plurality of software components of the software stack in the virtual machine image based on the sanitization execution policies.

### Claim 5 (depends on 4)

The computer system of claim 4, wherein the processor unit further executes the computer readable program code to identify a partial order in the sanitization execution policies, wherein the sanitization program is executed in the partial order; and handle failures during sanitization of the virtual machine image.

### Claim 6 (depends on 1)

The computer system of claim 1, wherein the sensitivity level label of the plurality of sensitivity labels is one of a high sensitivity level label, a medium sensitivity level label, and a low sensitivity level label.

### Claim 7 (depends on 1)

The computer system of claim 1, wherein the plurality of software components of the software stack in the virtual machine image is an applications software component, a middleware software component, a guest operating system software component, and a virtual storage software component.

### Claim 8 (depends on 1)

The computer system of claim 1, wherein the virtual machine image is one of a virtual machine instance, a virtual machine snapshot, or a virtual machine clone.

### Claim 9 (depends on 1)

The computer system of claim 1, wherein the sanitization of the identified sensitive data having the attached sensitivity level labels is one of a delete sanitization action, an overwrite sanitization action, an encrypt sanitization action, and a backup deleted or overwritten data sanitization action.

### Claim 10

A computer program product stored on a computer readable storage medium having computer readable program code encoded thereon that is executable by a computer for sanitizing a virtual machine image of sensitive data, the computer program product comprising:
computer readable program code for inserting a labeler module and a sanitizer module into each software component in a plurality of software components of a software stack in the virtual machine image;
computer readable program code for identifying labeling dependencies and sanitization dependencies between the plurality of software components of the software stack in the virtual machine image based on labeling execution policies located in the labeler module and sanitization execution policies located in the sanitizer module, respectively;
computer readable program code for attaching using the labeler module a sensitivity level label of a plurality of sensitivity labels to identified sensitive data from the sensitive data contained within the plurality of software components of the software stack in the virtual machine image based on the identified labeling dependencies between the plurality of software components of the software stack; and
computer readable program code for performing using the sanitizer module a sanitization of the identified sensitive data having attached sensitivity level labels contained within the plurality of software components of the software stack in the virtual machine image based on the identified sanitization dependencies between the plurality of software components of the software stack in response to receiving an input to perform the sanitization of the identified sensitive data having the attached sensitivity level labels contained within the plurality of software components of the software stack in the virtual machine image.

### Claim 11 (depends on 10)

The computer program product of claim 10, further comprising:
computer readable program code for executing a labeling program in the each software component in the plurality of software components of the software stack in the virtual machine image based on the labeling execution policies.

### Claim 12 (depends on 11)

The computer program product of claim 11, further comprising:
computer readable program code for identifying a partial order in the labeling execution policies, wherein the labeling program is executed in the partial order; and
computer readable program code for handling failures during labeling of the virtual machine image.

### Claim 13 (depends on 10)

The computer program product of claim 10, further comprising:
computer readable program code for executing a sanitization program in the each software component in the plurality of software components of the software stack in the virtual machine image based on the sanitization execution policies.

### Claim 14 (depends on 13)

The computer program product of claim 13, further comprising:
computer readable program code for identifying a partial order in the sanitization execution policies, wherein the sanitization program is executed in the partial order; and
computer readable program coded for handling failures during sanitization of the virtual machine image.

### Claim 15 (depends on 10)

The computer program product of claim 10, wherein the sensitivity level label of the plurality of sensitivity labels is one of a high sensitivity level label, a medium sensitivity level label, and a low sensitivity level label.

### Claim 16 (depends on 10)

The computer program product of claim 10, wherein the plurality of software components of the software stack in the virtual machine image is an applications software component, a middleware software component, a guest operating system software component, and a virtual storage software component.

### Claim 17 (depends on 10)

The computer program product of claim 10, wherein the virtual machine image is one of a virtual machine instance, a virtual machine snapshot, or a virtual machine clone.

### Claim 18 (depends on 10)

The computer program product of claim 10, wherein the sanitization of the identified sensitive data having the attached sensitivity level labels is one of a delete sanitization action, an overwrite sanitization action, an encrypt sanitization action, and a backup deleted or overwritten data sanitization action.

### Claim 19 (depends on 1)

The computer system of claim 1, wherein the processor unit identifies the labeling dependencies using a directed acyclic graph of labeling dependencies in the labeling execution policies and identifies the sanitization dependencies using a directed acyclic graph of sanitization dependencies in the sanitization execution policies.

### Claim 20 (depends on 10)

The computer program product of claim 10, wherein the computer identifies the labeling dependencies using a directed acyclic graph of labeling dependencies in the labeling execution policies and identifies the sanitization dependencies using a directed acyclic graph of sanitization dependencies in the sanitization execution policies.
