# US 2022/0092199 A1 · Information processing device, information processing method, and computer program product

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

- Number: US 2022/0092199 A1
- Document ID: US20220092199A1
- Status: Published application
- Kind: A1
- Application number: 17/184,959
- Filed: 2021-02-25
- Published: 2022-03-24
- Earliest claimed: 2020-09-18
- Assignees: Kabushiki Kaisha Toshiba
- Applicants: Kabushiki Kaisha Toshiba
- Inventors: Dan JIANG; Takeshi KAWABATA
- Web page: https://patentgrep.com/patent/US20220092199A1

## CPC

- G06F 21/565: {by checking file integrity}
- G06F 21/6209: {to a single file or object, e.g. in a secure envelope, encrypted and accessed using a key, or with access control rules appended to the object itself}
- G06F 8/65: Updates (security arrangements therefor G06F21/57)
- G06F 21/572: {Secure firmware programming, e.g. of basic input output system [BIOS]}
- G06F: ELECTRIC DIGITAL DATA PROCESSING (computer systems based on specific computational models G06N)

## Abstract

An information processing device according to an embodiment includes a memory and one or more hardware processors. The memory includes a flag table storage area to store a flag table in which file information for individually identifying one or more pieces of software is associated with a flag used for execution control of a corresponding one of the pieces of software. When rewrite of first software is detected, the hardware processors: extract first file information being the file information corresponding to the first software; change a first flag corresponding to the first file information to a first value indicating that verification of integrity of the first software is required; change a file of the first software in an authorized manner; and change the first value, which has been changed, to a second value indicating permission of execution of the first software.

## Claims

### Claim 1

An information processing device comprising:
a memory including a flag table storage area to store a flag table in which file information for individually identifying one or more pieces of software is associated with a flag used for execution control of a corresponding one of the pieces of software; and
one or more hardware processors connected to the memory and configured to function as a rewrite processing unit and a software authorized change unit,
the rewrite processing unit being configured to, when rewrite of first software being one of the pieces of software is detected, extract first file information being the file information corresponding to the first software, and change a first flag corresponding to the first file information in the flag table to a first value indicating that verification of integrity of the first software for which rewrite is detected is required, based on the extracted first file information,
the software authorized change unit being configured to change a file of the first software in an authorized manner,
wherein, when the change of a file of the first software in an authorized manner is performed, the software authorized change unit changes the first value, which has been changed by the rewrite processing unit, to a second value indicating permission of execution of the first software.

### Claim 2 (depends on 1)

The device according to claim 1, wherein the change of a file of the first software in the authorized manner performed by the software authorized change unit is a recovery process of recovering a file of the first software or by an update process of updating a file of the first software.

### Claim 3 (depends on 1)

The device according to claim 1, wherein
the flag table storage area is used in a first execution environment that is accessible from outside,
the memory further includes a whitelist storage area used in a second execution environment that is inaccessible from outside,
the whitelist storage area stores a whitelist in which the file information, the flag, and a verification value are associated with each other for each of the pieces of software, the verification value being used for verification of integrity of a corresponding one of the pieces of software, and
the one or more hardware processors are configured to duplicate the flag table from the whitelist and store the duplicated flag table in the flag table storage area.

### Claim 4 (depends on 3)

The device according to claim 3, wherein the one or more hardware processors are configured to further function as a verification value update unit being configured to:
before performing the change in the first software in the authorized manner by the software authorized change unit, acquire, from the software authorized change unit, the first file information and the verification value of a file for performing the authorized change of a file of the first software; and
update a verification value corresponding to the first file information in the whitelist to the verification value of the file for performing the authorized change acquired from the software authorized change unit.

### Claim 5 (depends on 1)

The device according to claim 1, wherein the one or more hardware processors are configured to:
when beginning of execution of the first software is detected, extract the first file information of the first software for which execution is detected;
determine that verification of integrity of the first software is required when the first flag corresponding to the extracted first file information has the first value;
permit execution of the first software when the first flag has a second value; and
reject execution of the first software when the first flag has a third value.

### Claim 6 (depends on 5)

The device according to claim 5, wherein the one or more hardware processors are configured to:
when it is determined that verification of the integrity of the first software for which the execution is detected is required, acquire a file of the first software from the first file information of the first software for which the execution is detected;
calculate the verification value of the first software based on the acquired file; and
verify the integrity of the first software by comparing the verification value of the first software with the verification value corresponding to the first file information in the whitelist.

### Claim 7 (depends on 6)

The device according to claim 6, wherein the one or more hardware processors are configured to:
determine that verification of the integrity of the first software is successfully performed when the verification value of the first software matches the verification value corresponding to the first file information in the whitelist;
determine that verification of the integrity of the first software fails when the verification values do not match;
change a value of the first flag to the second value in response to determining that verification of the integrity of the first software is successfully performed; and
perform a recovery process for the first software in response to determining that the verification of the integrity of the first software fails.

### Claim 8 (depends on 7)

The device according to claim 7, wherein the one or more hardware processors are configured to set a value of the flag corresponding to the first file information in the whitelist to the value of the first flag in the flag table corresponding to the first file information.

### Claim 9 (depends on 8)

The device according to claim 8, wherein the one or more hardware processors are configured to:
when the first flag in the flag table has the second value or the third value, reflect the value of the first flag in the flag corresponding to the first file information in the whitelist;
when the first flag in the flag table has the first value, acquire the file of the first software from file information of the first software and calculate the verification value of the first software based on the acquired file; and
verify the integrity of the first software by comparing the verification value of the first software with the verification value corresponding to the first file information in the whitelist.

### Claim 10 (depends on 9)

The device according to claim 9, wherein the one or more hardware processors are configured to:
determine that verification of the integrity of the first software is successfully performed when the verification value of the first software matches the verification value corresponding to the first file information in the whitelist;
determine and determines that verification of the integrity of the first software fails when the verification values do not match;
change the value of the first flag to the second value in response to determining that verification of the integrity of the first software is successfully performed;
change the value of the first flag to the third value in response to determining that the verification of the integrity of the first software fails; and
change the flag corresponding to the first software in the whitelist to the value of the changed first flag.

### Claim 11

An information processing method implemented by a computer, the method comprising:
storing, to a memory, a flag table in which file information for individually identifying one or more pieces of software is associated with a flag used for execution control of a corresponding one of the pieces of software;
when rewrite of first software being one of the pieces of software is detected, performing a rewrite process of extracting first file information being the file information corresponding to the first software and changing a first flag corresponding to the first file information in the flag table to a first value indicating that verification of integrity of the first software for which rewrite is detected is required, based on the extracted first file information; and
performing a software authorized change process of changing a file of the first software in an authorized manner,
wherein the software authorized change process includes changing, when the changing a file of the first software in an authorized manner is performed, the first value, which has been changed by the rewrite processing, to a second value indicating permission of execution of the first software.

### Claim 12

A computer program product comprising a non-transitory computer-readable recording medium on which an executable program is recorded, the program instructing a computer to:
store, to a memory, a flag table in which file information for individually identifying one or more pieces of software is associated with a flag used for execution control of a corresponding one of the pieces of software;
when rewrite of first software being one of the pieces of software is detected, perform a rewrite process of extracting first file information being the file information corresponding to the first software and changing a first flag corresponding to the first file information in the flag table to a first value indicating that verification of integrity of the first software for which rewrite is detected is required, based on the extracted first file information; and
perform a software authorized change process of changing the first software in an authorized manner,
wherein the software authorized change process includes changing, when the changing a file of the first software in an authorized manner is performed, the first value to a second value indicating permission of execution of the first software.
