# US 2022/0284108 A1 · Security assessment apparatus, security assessment method, and non-transitory computer readable medium

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

- Number: US 2022/0284108 A1
- Document ID: US20220284108A1
- Status: Published application
- Kind: A1
- Application number: 17/634,299
- Filed: 2019-08-23
- Published: 2022-09-08
- Earliest claimed: 2019-08-23
- Assignees: NEC Corporation
- Applicants: NEC Corporation
- Inventors: Taniya SINGH; Masafumi WATANABE
- Web page: https://patentgrep.com/patent/US20220284108A1

## CPC

- G06F 21/577: {Assessing vulnerabilities and evaluating computer system security}
- G06F 21/54: by adding security routines or objects to programs
- G06F 21/554: {involving event detection and direct action}
- G06F 2221/034: Test or assess a computer or a system
- G06F: ELECTRIC DIGITAL DATA PROCESSING (computer systems based on specific computational models G06N)

## Abstract

The present disclosure provides a security assessment apparatus (8) of a facility to be controlled using a controller, the security assessment apparatus (8) including: a binary tree generating unit (5) configured to generate a binary tree from controller program code of the controller; a transition rules generating unit (6) configured to generate transition rules from the binary tree; and a controller rules generating unit configured to generate controller rules from the transition rules, the controller rules modeling the actual behavior of the controller.

## Claims

### Claim 1

A security assessment apparatus of a facility to be controlled using a controller, the security assessment apparatus comprising:
a binary tree generating unit configured to generate a binary tree from controller program code of the controller;
a transition rules generating unit configured to generate transition rules from the binary tree; and
a controller rules generating unit configured to generate controller rules from the transition rules, the controller rules modeling behavior of the controller.

### Claim 2 (depends on 1)

The security assessment apparatus according to claim 1, wherein:
the binary tree generating unit receives the controller program code and the type information of actuator, and converts the controller program code into a binary tree structure using the type information;
the transition rules generating unit receives the binary tree and the type information to generate the transition rules; and
the controller rules generating unit converts the transition rules into the controller rules using the type information.

### Claim 3 (depends on 1)

The security assessment apparatus according to claim 1, wherein the transition rules generating unit comprising:
a dependency identifier configured to generate dependent variables for plurality of actuators in the controller;
a value generator configured to generate possible values of the dependent variables;
a combination generator configured to generate possible combination of values of the dependent variables;
a code snippet generator configured generate the code snippets for the plurality of the actuators using the possible values and the possible combinations; and
a code snippet running unit configured to run the code snippet to generate the transition rules.

### Claim 4 (depends on 3)

The security assessment apparatus according to claim 3, wherein:
the dependency identifier receives the binary tree and the type information and generates dependent variables for each of the actuators in the controller.
the value generator receives the binary tree and the dependent variables and generates all the possible values for each of the dependent variables;
the value generator receives the binary tree and all the possible values of the dependent variables and generates all the possible combination of values of the dependent variables in each of the actuators of the controller.
the code snippet generator receives all the possible values, all the possible combination and binary tree to extract the code snippet of each actuator separately from the controller program code.
the code snippet running function receives all the possible values and all the possible combination to separately generate the transition rules for each actuator.

### Claim 5 (depends on 1)

The security assessment apparatus for a controller according to claim 1, further
comprising an attack scenario generator configured to generate potential attack scenarios in the controller using the controller rules.

### Claim 6

A security assessment method of a facility to be controlled using a controller, the security assessment method comprising:
generating a binary tree from controller program code of the controller;
generating transition rules from the binary tree; and
generating controller rules from the transition rules, the controller rules modeling behavior of the controller.

### Claim 7 (depends on 6)

The security assessment method according to claim 6, wherein:
the binary tree is generated by converting the controller program code into the binary tree with using type information of the actuator;
the transition rules are generated by converting the binary tree into the transition rules with using the type information; and
the controller rules are generated by converting the transition rules into the controller rules with using the type information.

### Claim 8 (depends on 6)

The security assessment method according to claim 6, wherein;
dependent variables for plurality of actuators are generated;
possible values for each of the dependent variables are generated;
possible combinations of values of the dependent variables are generated;
the code snippets for the plurality of the actuators are generated by extracting the code of the actuator from the controller program code; and
the transition rules are generated by running the code snippets.

### Claim 9 (depends on 8)

The security assessment method according to claim 8, wherein:
by using the binary tree and the type information, the dependent variables for each of the actuators in the controller are generated;
by using the binary tree and the dependent variables, all the possible values for each of the dependent variables are generated;
by using the binary tree and the all the possible values all the possible combinations of the values of the dependent variables in each of the actuators of the controller are generated;
by using the all the possible values, all the possible combination and binary tree, the code snippets are separately generated for each of the actuators; and
by using the all the possible values and all the possible combination, the transition rules are separately generated for each of the actuators.

### Claim 10 (depends on 6)

The security assessment method according to claim 6, further comprising generating potential attack scenarios in the controller using the controller rules.

### Claim 11

A non-transitory computer readable medium storing a program for causing a computer to execute a security assessment method of a facility to be controlled using a controller, the security assessment method comprising:
generating a binary tree from controller program code of the controller;
generating transition rules from the binary tree; and
generating controller rules from the transition rules, the controller rules modeling behavior of the controller.

### Claim 12 (depends on 11)

The non-transitory computer readable medium according to claim 11, wherein:
the binary tree is generated by converting the controller program code into the binary tree with using type information of the actuator;
the transition rules are generated by converting the binary tree into transition rules with using the type information; and
the controller rules are generated by converting the transition rules into the controller rules with using the type information.

### Claim 13 (depends on 11)

The non-transitory computer readable medium according to claim 11, wherein,
dependent variables for plurality of actuators are generated;
possible values for each of the dependent variables are generated;
possible combinations of values of the dependent variables are generated;
the code snippets for the plurality of the actuators are generated by extracting the code of the actuator from the controller program code; and
the transition rules are generated by running the code snippets.

### Claim 14 (depends on 13)

The non-transitory computer readable medium according to claim 13, wherein,
by using the binary tree and the type information, the dependent variables for each of the actuators in the controller are generated;
by using the binary tree and the dependent variables, all the possible values for each of the dependent variables are generated;
by using the binary tree and the all the possible values all the possible combinations of the values of the dependent variables in each of the actuators of the controller are generated;
by using the all the possible values and all the possible combination and binary tree, the code snippets are separately generated for each of the actuators; and
by using the all the possible values and all the possible combination, the transition rules are separately generated for each of the actuators.

### Claim 15 (depends on 11)

The non-transitory computer readable medium according to claim 11, further comprising generating potential attack scenarios in the controller using the controller rules.
