# US 2017/0293761 A1 · Extraction and comparison of hybrid program binary features

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

- Number: US 2017/0293761 A1
- Document ID: US20170293761A1
- Status: Published application
- Kind: A1
- Application number: 15/479,928
- Filed: 2017-04-05
- Published: 2017-10-12
- Earliest claimed: 2016-04-06
- Assignees: NEC Laboratories America, Inc.
- Applicants: NEC Laboratories America, Inc.
- Inventors: Junghwan Rhee; Zhichun Li; Zhenyu Wu; Kangkook Jee; Guofei Jiang
- Web page: https://patentgrep.com/patent/US20170293761A1

## CPC

- G06F 21/563: {by source code analysis}
- G06F 11/3688: {for test execution, e.g. scheduling of test suites}
- G06F 11/3692: {for test results analysis}
- G06F 21/564: {by virus signature recognition}
- G06F 2221/033: Test or assess software
- G06F: ELECTRIC DIGITAL DATA PROCESSING (computer systems based on specific computational models G06N)

## Abstract

Systems and methods for identifying similarities in program binaries, including extracting program binary features from one or more input program binaries to generate corresponding hybrid features. The hybrid features include a reference feature, a resource feature, an abstract control flow feature, and a structural feature. Combinations of a plurality of pairs of binaries are generated from the extracted hybrid features, and a similarity score is determined for each of the pairs of binaries. A hybrid difference score is generated based on the similarity score for each of the binaries combined with input hybrid feature parameters. A likelihood of malware in the input program is identified based on the hybrid difference score.

## Claims

### Claim 1

A method for identifying similarities in program binaries, comprising:
extracting program binary features from one or more input program binaries to generate corresponding hybrid features, the hybrid features including a reference feature, a resource feature, an abstract control flow feature, and a structural feature;
generating combinations of a plurality of pairs of binaries from the extracted hybrid features;
determining a similarity score for each of the pairs of binaries;
generating a hybrid difference score based on the similarity score for each of the binaries combined with input hybrid feature parameters; and
identifying a likelihood of malware in the input program binaries based on the hybrid difference score.

### Claim 2 (depends on 1)

The method as recited in claim 1, wherein the plurality of pairs of binaries includes all possible pairs of binaries for the extracted hybrid features.

### Claim 3 (depends on 1)

The method as recited in claim 1, further comprising updating malware definition libraries in anti-malware software if a predetermined threshold hybrid difference score is reached.

### Claim 4 (depends on 1)

The method as recited in claim 1, wherein the reference feature comprises at least one of a list of referenced programs and referenced functions from the input program.

### Claim 5 (depends on 1)

The method as recited in claim 1, wherein the resource feature includes at least one of global data, program metadata, program icon, strings, and debug symbols.

### Claim 6 (depends on 1)

The method as recited in claim 1, further comprising disassembling the input program, and iterating each of a plurality of instructions to determine the abstract control flow feature.

### Claim 7 (depends on 6)

The method as recited in claim 6, wherein if the instructions are control dependent, only op-code is retrieved and included in the abstract control flow feature.

### Claim 8 (depends on 1)

The method as recited in claim 1, wherein the structural feature comprises at least one of a list of the names of binary sections and the sizes of binary sections.

### Claim 9 (depends on 1)

The method as recited in claim 1, wherein the hybrid feature parameters are a set of predetermined rates which set forth a contribution amount of each of the features when generating the hybrid difference score.

### Claim 10

A system for identifying similarities in program binaries, comprising: a processor coupled to a memory, the processor being configured to:
extract program binary features from one or more input program binaries to generate corresponding hybrid features, the hybrid features including a reference feature, a resource feature, an abstract control flow feature, and a structural feature;
generate combinations of a plurality of pairs of binaries from the extracted hybrid features;
determine a similarity score for each of the pairs of binaries;
generate a hybrid difference score based on the similarity score for each of the binaries combined with input hybrid feature parameters; and
identify a likelihood of malware in the input program binaries based on the hybrid difference score.

### Claim 11 (depends on 10)

The system as recited in claim 10, wherein the plurality of pairs of binaries includes all possible pairs of binaries for the extracted hybrid features.

### Claim 12 (depends on 10)

The system as recited in claim 10, wherein the processor is further configured to update malware definition libraries in anti-malware software if a predetermined threshold hybrid difference score is reached.

### Claim 13 (depends on 10)

The system as recited in claim 10, wherein the reference feature comprises at least one of a list of referenced programs and referenced functions from the input program.

### Claim 14 (depends on 10)

The system as recited in claim 10, wherein the resource feature includes at least one of global data, program metadata, program icon, strings, and debug symbols.

### Claim 15 (depends on 10)

The system as recited in claim 10, wherein the processor is further configured to disassemble the input program, and iterating each of a plurality of instructions to determine the abstract control flow feature.

### Claim 16 (depends on 15)

The system as recited in claim 15, wherein if the instructions are control dependent, only op-code is retrieved and included in the abstract control flow feature.

### Claim 17 (depends on 10)

The system as recited in claim 10, wherein the structural feature comprises at least one of a list of the names of binary sections and the sizes of binary sections.

### Claim 18 (depends on 10)

The system as recited in claim 10, wherein the hybrid feature parameters are a set of predetermined rates which set forth a contribution amount of each of the features when generating the hybrid difference score.

### Claim 19

A non-transitory computer readable storage medium comprising a computer readable program for identifying similarities in program binaries, wherein the computer readable program when executed on a computer causes the computer to perform the steps of:
extracting program binary features from one or more input program binaries to generate corresponding hybrid features, the hybrid features including a reference feature, a resource feature, an abstract control flow feature, and a structural feature;
generating combinations of a plurality of pairs of binaries from the extracted hybrid features;
determining a similarity score for each of the pairs of binaries;
generating a hybrid difference score based on the similarity score for each of the binaries combined with input hybrid feature parameters; and
identifying a likelihood of malware in the input program binaries based on the hybrid difference score.

### Claim 20 (depends on 19)

The non-transitory computer readable storage medium as recited in claim 19, further comprising updating malware definition libraries in anti-malware software if a predetermined threshold hybrid difference score is reached.
