# US 2020/0394028 A1 · Identification of components used in software binaries through approximate concrete execution

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

- Number: US 2020/0394028 A1
- Document ID: US20200394028A1
- Status: Published application
- Kind: A1
- Application number: 16/441,386
- Filed: 2019-06-14
- Published: 2020-12-17
- Earliest claimed: 2019-06-14
- Assignees: International Business Machines Corporation
- Applicants: International Business Machines Corporation
- Inventors: Anthony C. Byrne; Shripad Nadgowda; Seetharami R. Seelam
- Web page: https://patentgrep.com/patent/US20200394028A1

## CPC

- G06F 8/53: Decompilation; Disassembly
- G06F 8/44: {Encoding}
- G06F 8/52: Binary to binary
- G06F 9/45558: {Hypervisor-specific management and integration aspects}
- G06F 21/577: {Assessing vulnerabilities and evaluating computer system security}
- G06F 2009/45562: {Creating, deleting, cloning virtual machine instances}
- G06F: ELECTRIC DIGITAL DATA PROCESSING (computer systems based on specific computational models G06N)

## Abstract

Systems, computer-implemented methods, and computer program products that facilitate identifying computer software vulnerabilities, and more specifically, execute an approximate representation of software to produce a fingerprint are provided. In one example, a system is provided. The system can comprise a memory that stores computer executable components and a processor that executes the computer executable components stored in the memory. The computer executable components can include a filter component and an execution component. The filter component can filter a platform-independent intermediate representation to a filtered representation. The execution component can execute the filtered representation on a virtual machine to produce an output vector which can be used to identify computer software vulnerabilities.

## Claims

### Claim 1

A system, comprising:
a memory that stores computer executable components, and
a processor that executes the computer executable components stored in the memory, wherein the computer executable components comprise:
a filter component that filters a platform-independent intermediate representation to a filtered representation; and
an execution component that executes the filtered representation on a virtual machine to create an output vector.

### Claim 2 (depends on 1)

The system of claim 1, further comprising:
a disassembler component that disassembles a portion of binary code to disassembled code, wherein the portion of binary code is a function from one or more stripped binaries comprising one or more bounds provided by a function identifier.

### Claim 3 (depends on 2)

The system of claim 2, further comprising:
a translator component that translates the disassembled code to the platform-independent intermediate representation, wherein the platform-independent intermediate representation is in a meta-assembly language.

### Claim 4 (depends on 1)

The system of claim 1, further comprising:
a population component that populates a database with the output vector.

### Claim 5 (depends on 1)

The system of claim 1, wherein the filter component removes one or more complex instructions from the platform-independent intermediate representation and sorts the platform-independent intermediate representation to make the platform-independent intermediate representation compiler independent, wherein the one or more complex instructions comprise instructions related to control flow, addressing modes, or floating-point operations of the platform-independent intermediate representation.

### Claim 6 (depends on 1)

The system of claim 1, further comprising:
a virtual machine initializer component that initializes the virtual machine with a pattern of register values and memory values.

### Claim 7 (depends on 1)

The system of claim 1, wherein the output vector comprises register values and memory values.

### Claim 8

A computer-implemented method, comprising:
filtering, by a system operatively coupled to a processor, a platform-independent intermediate representation to a filtered representation; and
executing, by the system, the filtered representation on a virtual machine to create an output vector.

### Claim 9 (depends on 8)

The computer-implemented method of claim 8, further comprising:
disassembling, by the system, a portion of binary code to disassembled code, wherein the portion of binary code is a function from one or more stripped binaries comprising one or more bounds provided by a function identifier.

### Claim 10 (depends on 9)

The computer-implemented method of claim 9, further comprising:
translating, by the system, the disassembled code to the platform-independent intermediate representation, wherein the platform-independent intermediate representation is in a meta-assembly language.

### Claim 11 (depends on 8)

The computer-implemented method of claim 8, further comprising:
populating, by the system, a database with the output vector.

### Claim 12 (depends on 8)

The computer-implemented method of claim 8, wherein the filtering comprises:
removing one or more complex instructions from the platform-independent intermediate representation; and
sorting the platform-independent intermediate representation to make the platform-independent intermediate representation compiler independent.

### Claim 13 (depends on 12)

The computer-implemented method of claim 12, wherein the one or more complex instructions comprise instructions related to control flow, addressing modes, or floating-point operations of the platform-independent intermediate representation.

### Claim 14 (depends on 8)

The computer-implemented method of claim 8, further comprising:
initializing, by the system, the virtual machine a defined pattern of register values and memory values.

### Claim 15 (depends on 8)

The computer-implemented method of claim 8, wherein the output vector comprises register values and memory values.

### Claim 16

A computer program product for identifying code vulnerabilities, 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:
filter, by the processor, a platform-independent intermediate representation to a filtered representation; and
execute, by the processor, the filtered representation on a virtual machine to create an output vector.

### Claim 17 (depends on 16)

The computer program product of claim 16, wherein the program instructions executable by a processor further cause the processor to disassemble, by the processor, a portion of binary code to disassembled code, wherein the portion of binary code is a function, wherein the function is a function from one or more stripped binaries comprising one or more bounds provided by a function identifier.

### Claim 18 (depends on 17)

The computer program product of claim 17, wherein the program instructions executable by a processor further cause the processor to translate, by the processor, the disassembled code to the platform-independent intermediate representation, wherein the platform-independent intermediate representation is in a meta-assembly language.

### Claim 19 (depends on 16)

The computer program product of claim 16, wherein the program instructions executable by a processor to further cause the processor to populate, by the processor, a database with the output vector.

### Claim 20 (depends on 16)

The computer program product of claim 16, wherein the program instructions executable by a processor to further cause the processor to initialize, by the processor, the virtual machine; and wherein the platform-independent intermediate representation is filtered to a filtered representation by removing one or more complex instructions and sorting the platform-independent intermediate representation wherein the one or more complex instructions are removed to make the platform-independent intermediate representation compiler independent, wherein the one or more complex instructions comprise instructions related to control flow, addressing modes, or floating-point operations of the platform-independent intermediate representation, wherein the virtual machine is initialized with a known pattern of register values and memory values, wherein the output vector comprises register values and memory values.
