# US 2022/0292199 A1 · System and method for modeling a shared resource in a multi-layer reasoning graph based on configuration security

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

- Number: US 2022/0292199 A1
- Document ID: US20220292199A1
- Status: Published application
- Kind: A1
- Application number: 17/199,988
- Filed: 2021-03-12
- Published: 2022-09-15
- Earliest claimed: 2021-03-12
- Assignees: Palo Alto Research Center Incorporated
- Applicants: Palo Alto Research Center Incorporated
- Inventors: Marc E. Mosko
- Web page: https://patentgrep.com/patent/US20220292199A1

## CPC

- G06F 21/577: {Assessing vulnerabilities and evaluating computer system security}
- H04L 63/1433: {Vulnerability analysis}
- G06F 2221/034: Test or assess a computer or a system
- 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

Embodiments provide a system and method for modeling a shared resource in a multi-layer reasoning graph based on configuration security. During operation, the system can obtain a multi-layer graph for a system with a plurality of components that can include a set of subgroups of components. The system can generate, based on the multi-layer graph, an abstract component to represent a shared resource model for a respective subgroup of components. The shared resource model can be associated with a set of resource constraints. The system can generate a set of values for resource configuration parameters that satisfy the resource constraints. The system can map the shared resource model to a respective component and can then determine, based on the mapping and the set of values for the resource configuration parameters, a set of values for the component configuration parameters thereby facilitating optimization of a security objective function.

## Claims

### Claim 1

A computer-implemented method, comprising:
obtaining a multi-layer graph for a system with a plurality of components, wherein the plurality of components includes a set of subgroups of components with each component associated with a set of component configuration parameters;
generating, based on the multi-layer graph, an abstract component to represent a shared resource model for a respective subgroup of components, wherein the shared resource model is associated with a set of resource configuration parameters and a set of resource constraints indicating relationships between the resource configuration parameters;
generating a set of values for the resource configuration parameters to satisfy the resource constraints;
applying a mapping between the shared resource model and a respective component in the subgroup of components; and
determining, based on the mapping and the set of values for the resource configuration parameters, a set of values for the component configuration parameters, thereby facilitating optimization of a security objective function.

### Claim 2 (depends on 1)

The computer-implemented method of claim 1, wherein a component includes one or more of: a software component; a hardware component; a middleware component; and a networking component.

### Claim 3 (depends on 1)

The computer-implemented method of claim 1, wherein generating the set of resource configuration parameter values that satisfy the resource constraints, comprises:
determining a set of allowed values for a respective resource configuration parameter;
determining a set of relationships between the set of resource configuration parameters;
applying, based on the set of relationships, the set of resource constraints on the set of resource configuration parameters, wherein the constraints include security constraints and functionality constraints, wherein the functionality constraints represent functionality requirements associated with the shared resource model.

### Claim 4 (depends on 1)

The computer-implemented method of claim 1, wherein the security objective function comprises reducing a size of an attack surface of the system.

### Claim 5 (depends on 1)

The method of claim 1, wherein determining, based on the mapping and the set of values for the resource configuration parameters, the set of values for the component configuration parameters, thereby facilitating optimization of the security objective function, comprises:
determining a set of allowed values for each component configuration parameter in the set of component configuration parameters;
determining a set of relationships between the set of component configuration parameters;
determining an implication of the set of resource configuration parameters on the set of component configuration parameters;
applying, based on the set of relationships, a set of component constraints to the set of component configuration parameters, wherein the component constraints include security constraints and functionality constraints, and wherein the functionality constraints positively express functionality requirements associated with the component.

### Claim 6 (depends on 5)

The computer-implemented method of claim 5, wherein the security constraints include one or more of:
a positive expression of known security vulnerabilities or negation of predicates corresponding to the known security vulnerabilities, wherein the known security vulnerabilities are obtained from a public or a proprietary database;
a positive expression of bad security practices or a negation of predicates corresponding to the bad security practices; and
a positive expression of best security practices or a negation of predicates corresponding to the best security practices.

### Claim 7 (depends on 1)

The computer-implemented method of claim 1, wherein determining, based on the mapping and the set of values for the resource configuration parameters, the set of values for the component configuration parameters thereby facilitating optimization of the security objective function comprises:
applying a Satisfiability Modulo Theory (SMT) solver.

### Claim 8 (depends on 7)

The computer-implemented method of claim 7, wherein applying the Satisfiability Modulo Theory (SMT) solver comprises:
satisfying the component constraints and the resource constraints for at least a subset of the set of component configuration parameters and a corresponding set of values allowed by a surjective mapping.

### Claim 9 (depends on 1)

The computer-implemented method of claim 1, wherein the shared resource model includes one or more of:
an intersection of two or more shared resource models; and
a union of two or more shared resource models.

### Claim 10 (depends on 1)

The computer-implemented method of claim 1, wherein applying a mapping between the shared resource model and the respective component in the subgroup of components comprises one or more of:
an injective mapping from a respective component in the subgroup of components to the shared resource model; and
a surjective mapping from the shared resource model to the respective component.

### Claim 11

A computer system, comprising:
a processor;
a storage device storing instructions that when executed by the processor cause the processor to perform a method, the method comprising:
obtaining a multi-layer graph for a system with a plurality of components, wherein the plurality of components includes a set of subgroups of components with each component associated with a set of component configuration parameters;
generating, based on the multi-layer graph, an abstract component to represent a shared resource model for a respective subgroup of components, wherein the shared resource model is associated with a set of resource configuration parameters and a set of resource constraints indicating relationships between the resource configuration parameters;
generating a set of values for the resource configuration parameters that satisfy the resource constraints;
applying a mapping between the shared resource model and a respective component in the subgroup of components; and
determining, based on the mapping and the set of values for the resource configuration parameters, a set of values for the component configuration parameters thereby facilitating optimization of a security objective function.

### Claim 12 (depends on 11)

The computer system of claim 11, wherein a component includes one or more of: a software component; a hardware component; a middleware component; and a networking component.

### Claim 13 (depends on 11)

The computer system of claim 11, wherein generating the set of resource configuration parameter values that satisfy the resource constraints, comprises:
determining a set of allowed values for a respective resource configuration parameter;
determining a set of relationships between the set of resource configuration parameters;
applying, based on the set of relationships, the set of resource constraints on the set of resource configuration parameters, wherein the constraints include security constraints and functionality constraints, wherein the functionality constraints represent functionality requirements associated with the shared resource model.

### Claim 14 (depends on 11)

The computer system of claim 11, wherein the security objective function comprises reducing a size of an attack surface of the system.

### Claim 15 (depends on 11)

The computer system of claim 11, wherein determining, based on the mapping and the set of values for the resource configuration parameters, the set of values for the component configuration parameters thereby facilitating optimization of the security objective function, comprises:
determining a set of allowed values for each component configuration parameter in the set of component configuration parameters;
determining a set of relationships between the set of component configuration parameters;
determining an implication of the set of resource configuration parameters on the set of component configuration parameters;
applying, based on the set of relationships, a set of component constraints to the set of component configuration parameters, wherein the component constraints include security constraints and functionality constraints, and wherein the functionality constraints represent functionality requirements associated with the component.

### Claim 16 (depends on 15)

The computer system of claim 15, wherein the security constraints include one or more of:
a positive expression of known security vulnerabilities or negation of predicates corresponding to the known security vulnerabilities, wherein the known security vulnerabilities are obtained from a public or a proprietary database;
a positive expression of bad security practices or a negation of predicates corresponding to the bad security practices; and
a positive expression of best security practices or a negation of predicates corresponding to the best security practices.

### Claim 17 (depends on 11)

The computer system of claim 11, wherein determining, based on the mapping and the set of values for the resource configuration parameters, the set of values for the component configuration parameters thereby facilitating optimization of the security objective function comprises:
applying a Satisfiability Modulo Theory (SMT).

### Claim 18 (depends on 17)

The computer system of claim 17, wherein applying the Satisfiability Modulo Theory (SMT) solver comprises:
satisfying the component constraints and the resource constraints for at least a subset of the set of component configuration parameters and a corresponding set of values allowed by a surjective mapping.

### Claim 19 (depends on 11)

The computer system of claim 11, wherein the shared resource model includes one or more of:
an intersection of two or more shared resource models; and
a union of two or more shared resource models.

### Claim 20 (depends on 11)

The computer system of claim 11, wherein applying a mapping between the shared resource model and the respective component in the subgroup of components comprises one or more of:
an injective mapping from a respective component in the subgroup of components to the shared resource model; and
a surjective mapping from the shared resource model to the respective component.
