# US 9,355,256 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,256 B2
- Document ID: US9355256B2
- Status: Granted
- Kind: B2
- Application number: 13/950,014
- Filed: 2013-07-24
- 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/US9355256B2

## 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-implemented method for sanitizing a virtual machine image of sensitive data, the computer-implemented method comprising:
inserting, by a computer, 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;
identifying, by the computer, 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;
attaching, by the computer 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
responsive to the computer receiving an input to perform 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, performing, by the computer using the sanitizer module, 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 based on the identified sanitization dependencies between the plurality of software components of the software stack.

### Claim 2 (depends on 1)

The computer-implemented method of claim 1, further comprising:
executing, by the computer, 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-implemented method of claim 2, further comprising:
identifying, by the computer, a partial order in the labeling execution policies, wherein the labeling program is executed in the partial order; and
handling, by the computer, failures during labeling of the virtual machine image.

### Claim 4 (depends on 1)

The computer-implemented method of claim 1, further comprising:
executing, by the computer, 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-implemented method of claim 4, further comprising:
identifying, by the computer, a partial order in the sanitization execution policies, wherein the sanitization program is executed in the partial order; and
handling, by the computer, failures during sanitization of the virtual machine image.

### Claim 6 (depends on 1)

The computer-implemented method 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-implemented method 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-implemented method 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-implemented method 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 (depends on 1)

The computer-implemented method of claim 1, 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.
