# US 10,956,580 B2 · Identifying computer program security access control violations using static analysis

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

- Number: US 10,956,580 B2
- Document ID: US10956580B2
- Status: Granted
- Kind: B2
- Application number: 16/676,035
- Filed: 2019-11-06
- Published: 2020-03-12
- Granted: 2021-03-23
- Earliest claimed: 2017-05-15
- Assignees: International Business Machines Corporation
- Applicants: International Business Machines Corporation
- Inventors: Matthias Daniel Dietsch; Pietro Ferrara; Marco Pistoia; Omer Tripp
- Web page: https://patentgrep.com/patent/US10956580B2

## CPC

- G06F 21/577: {Assessing vulnerabilities and evaluating computer system security}
- G06F 21/52: during program execution, e.g. stack integrity {; Preventing unwanted data erasure; Buffer overflow}
- G06F 30/33: Design verification, e.g. functional simulation or model checking
- G06F 2221/033: Test or assess software
- G06F: ELECTRIC DIGITAL DATA PROCESSING (computer systems based on specific computational models G06N)

## Abstract

Techniques for identifying computer program security access control violations using static program analysis are provided. In one example, a computer-implemented method comprises generating, by a device operatively coupled to a processor, a mathematical model of a computer program product, wherein the mathematical model defines data flows through nodes of the computer program product that reach a secure node corresponding to a secure resource. The computer implemented method further comprises evaluating, by the device, a security protocol of the computer program product using static program analysis of the mathematical model to determine whether any of the data flows provides access to the secure node without proceeding through one or more security nodes corresponding to the security protocol, wherein the one or more security nodes are included in the nodes of the computer program product.

## Claims

### Claim 1

A computer-implemented method, comprising:
generating, by a device operatively coupled to a processor, a mathematical model of a computer program product, wherein the mathematical model defines data flows through nodes of the computer program product that reach a secure node corresponding to a secure resource; and
evaluating, by the device, a security protocol of the computer program product using static program analysis of the mathematical model to determine whether any of the data flows provide a path to the secure node that does not proceed through security nodes in an order corresponding to the security protocol, wherein the order comprises flow through an authentication node prior to flow through an authorization node.

### Claim 2 (depends on 1)

The computer-implemented method of claim 1, wherein the using the static program analysis comprises evaluating the data flows as an interprocedural control-flow graph reachability problem using an interprocedural, finite, distributive, subset (IFDS) algorithm.

### Claim 3 (depends on 1)

The computer-implemented method of claim 1, further comprising:
a notification component configured to generate a notification based on a determination that one or more data flows of the data flows provides the path to the secure node that does not proceed through the security nodes in the order corresponding to the security protocol.

### Claim 4 (depends on 3)

The computer-implemented method of claim 3, wherein the notification comprises information indicating the computer program product has a security access control issue associated with the secure resource.

### Claim 5 (depends on 3)

The computer-implemented method of claim 3, wherein the notification comprises information identifying an amount of the one or more data flows that provides the path to the secure node that does not proceed through the security nodes in the order corresponding to the security protocol.

### Claim 6 (depends on 3)

The computer-implemented method of claim 3, wherein the notification comprises information identifying the one or more data flows.

### Claim 7 (depends on 1)

The computer-implemented method of claim 1, further comprising:
a report component that generates report output information regarding whether any of the data flows provides the path to the secure node that does not proceed through the security nodes in the order corresponding to the security protocol.

### Claim 8

A computer program product that facilitates identification of security access control violations associated with a second computer program product, the computer program product comprising a computer readable storage medium having program instructions embodied therewith, the program instructions executable by a processor to cause the processor to:
generate, by the processor, a mathematical model of a computer program product, wherein the mathematical model defines data flows through nodes of the computer program product that reach a secure node corresponding to a secure resource; and
evaluate, by the processor, a security protocol of the computer program product using static program analysis of the mathematical model to determine whether any of the data flows provide a path to the secure node that does not proceed through security nodes in an order corresponding to the security protocol, wherein the order comprises flow through an authentication node prior to flow through an authorization node.

### Claim 9 (depends on 8)

The computer program product of claim 8, wherein the using the static program analysis comprises evaluating the data flows as an interprocedural control-flow graph reachability problem using an interprocedural, finite, distributive, subset (IFDS) algorithm.

### Claim 10 (depends on 8)

The computer program product of claim 8, wherein the program instructions are further executable to cause the processor to:
generate, by the processor, a notification based on a determination that one or more data flows of the data flows provides the path to the secure node that does not proceed through the security nodes in the order corresponding to the security protocol.

### Claim 11 (depends on 10)

The computer program product of claim 10, wherein the notification comprises information indicating the computer program product has a security access control issue associated with the secure resource.

### Claim 12 (depends on 10)

The computer program product of claim 10, wherein the notification comprises information identifying an amount of the one or more data flows that provides the path to the secure node that does not proceed through the security nodes in the order corresponding to the security protocol.

### Claim 13 (depends on 10)

The computer program product of claim 10, wherein the notification comprises information identifying the one or more data flows.

### Claim 14 (depends on 8)

The computer program product of claim 8, wherein the program instructions are further executable to cause the processor to:
generate, by the processor, report output information regarding whether any of the data flows provides the path to the secure node that does not proceed through the security nodes in the order corresponding to the security protocol.

### Claim 15

A system, comprising:
a memory that stores computer executable components;
a processor that executes the computer executable components stored in the memory,
wherein the computer executable components comprise:
a modeling component that generates a mathematical model of a computer program product, wherein the mathematical model defines data flows through nodes of the computer program product that reach a secure node corresponding to a secure resource; and
a security evaluation component that evaluates a security protocol of the computer program product using static program analysis of the mathematical model to determine whether any of the data flows provide a path to the secure node that does not proceed through security nodes in an order corresponding to the security protocol, wherein the order comprises flow through an authentication node prior to flow through an authorization node.

### Claim 16 (depends on 15)

The system of claim 15, wherein the using the static program analysis comprises evaluating the data flows as an interprocedural control-flow graph reachability problem using an interprocedural, finite, distributive, subset (IFDS) algorithm.

### Claim 17 (depends on 15)

The system of claim 15, further comprising:
a notification component that generates a notification based on a determination that one or more data flows of the data flows provides the path to the secure node that does not proceed through the security nodes in the order corresponding to the security protocol.

### Claim 18 (depends on 17)

The system of claim 17, wherein the notification comprises information indicating the computer program product has a security access control issue associated with the secure resource.

### Claim 19 (depends on 17)

The system of claim 17, wherein the notification comprises information identifying an amount of the one or more data flows that provides the path to the secure node that does not proceed through the security nodes in the order corresponding to the security protocol.

### Claim 20 (depends on 17)

The system of claim 17, wherein the notification comprises information identifying the one or more data flows.
