# US 2021/0288975 A1 · Apparatus for generating heterogeneous functional equivalent and method thereof

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

- Number: US 2021/0288975 A1
- Document ID: US20210288975A1
- Status: Published application
- Kind: A1
- Application number: 16/330,691
- Filed: 2017-09-01
- Published: 2021-09-16
- Earliest claimed: 2016-09-27
- Assignees: Shanghai Hongzhen Information Science & Technology Co. Ltd; China National Digital Switching System Engineering & Technological R&D Center
- Applicants: Shanghai Hongzhen Information Science & Technology Co.Ltd; China National Digital Switching System Engineering & Technological R & D Center
- Inventors: Jiangxing WU; Hongchang CHEN; Peng YI; Hailong MA; Lei HE; Junfei LI; Jianmin PANG
- Web page: https://patentgrep.com/patent/US20210288975A1

## CPC

- G06F 21/14: against software analysis or reverse engineering, e.g. by obfuscation
- H04L 63/145: {the attack involving the propagation of malware through the network, e.g. viruses, trojans or worms}
- H04L 63/1416: {Event detection, e.g. attack signature detection}
- H04L 63/1425: {Traffic logging, e.g. anomaly detection}
- H04L 63/1441: {Countermeasures against malicious traffic (countermeasures against attacks on cryptographic mechanisms H04L9/002)}
- 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

An apparatus for generating heterogeneous functional equivalent and method thereof includes: a heterogeneous functional equivalent generator and an element pool connected to the heterogeneous functional equivalent generator, where the element pool includes at least one element. The heterogeneous functional equivalent generator is configured to obtain a generation policy and is further configured to select element sets corresponding to the number from the element pool according to the generation policy. The heterogeneous functional equivalent generator is further configured to generate the number of heterogeneous functional equivalents based on the selected element sets. Because the elements for constructing heterogeneous functional equivalents are different, the relationship between element and service response output by the heterogeneous functional equivalent to outside is uncertain, thereby making it uneasy to sniff an unknown defect or a backdoor of the heterogeneous functional equivalent, and lowering the success rate of an intruder's attack on the heterogeneous functional equivalent.

## Claims

### Claim 1

An apparatus for generating heterogeneous functional equivalent, comprising: a heterogeneous functional equivalent generator and an element pool connected to the heterogeneous functional equivalent generator, where the element pool comprises at least one element, wherein
the heterogeneous functional equivalent generator is configured to obtain a generation policy, wherein the generation policy comprises a function list for selecting an element according to a function and a number of the heterogeneous functional equivalents to be generated;
the heterogeneous functional equivalent generator is further configured to select element sets corresponding to the number from the element pool according to the generation policy, wherein each of the element sets is a set comprising at least one element for constructing a heterogeneous functional equivalent; and
the heterogeneous functional equivalent generator is further configured to generate the number of heterogeneous functional equivalents based on the selected element sets.

### Claim 2 (depends on 1)

The apparatus according to claim 1, wherein the apparatus further comprises a template pool comprising at least one template, and the generation policy further comprises at least one template selected from the template pool, wherein
the heterogeneous functional equivalent generator is further configured to combine or compile the element sets selected from the element pool and the selected at least one template, to generate the number of heterogeneous functional equivalents.

### Claim 3 (depends on 1)

The apparatus according to claim 1, wherein the heterogeneous functional equivalent generator is further configured to search in the element pool according to the function list in the generation policy, and select the element sets corresponding to the number.

### Claim 4 (depends on 2)

The apparatus according to claim 2, wherein the heterogeneous functional equivalent generator is further configured to:
obtain the attribute value of each element and the heterogeneous degree between any two elements in the element pool, and the attribute value of the template and the heterogeneous degree between two templates; and
select the element sets corresponding to the number from the element pool according to the generation policy, the attribute value of each element and the heterogeneous degree between any two elements with a same function, and the attribute value of the template and the heterogeneous degree between the two templates, wherein the attribute value of each element comprises reliability, complexity, or use frequency of the each element, and the heterogeneous degree indicates a difference degree between the any two elements with the same function.

### Claim 5 (depends on 1)

The apparatus according to claim 1, wherein the template comprises a same template or different templates, and the different templates indicate different templates used to generate heterogeneous functional equivalents with a same function.

### Claim 6 (depends on 1)

The apparatus according to claim 1, wherein the heterogeneous functional equivalent generator is configured to obtain the generation policy by reception from outside, generation from inside or in a manner of combining reception from outside and generation from inside.

### Claim 7

A method for generating heterogeneous functional equivalent, comprising:
obtaining a generation policy, wherein the generation policy comprises a function list for selecting an element according to a function and a number of the heterogeneous functional equivalents to be generated;
selecting element sets corresponding to the number from the element pool according to the generation policy, wherein each of the element sets is a set comprising at least one element for constructing a heterogeneous functional equivalent; and
generating the number of heterogeneous functional equivalents based on the selected element sets.

### Claim 8 (depends on 7)

The method according to claim 7, wherein if the generation policy further comprises at least one template selected from a template pool, combining the selected element sets to generate the number of heterogeneous functional equivalents comprises:
combining or compiling the element sets selected from the element pool and the selected at least one template, to generate the number of heterogeneous functional equivalents.

### Claim 9 (depends on 7)

The method according to claim 7, wherein selecting element sets corresponding to the number from the element pool according to the generation policy comprises:
searching in the element pool according to the function list in the generation policy, and selecting the element sets corresponding to the number.

### Claim 10 (depends on 8)

The method according to claim 8, wherein selecting element sets corresponding to the number from the element pool according to the generation policy further comprises:
obtaining an attribute value of each element and a heterogeneous degree between any two elements in the element pool, and an attribute value of the template and a heterogeneous degree between two templates; and
selecting the element sets corresponding to the number from the element pool according to the generation policy, the attribute value of each element and the heterogeneous degree between any two elements with a same function, and the attribute value of the template and the heterogeneous degree between the two templates, wherein the attribute value of each element comprises reliability, complexity, or use frequency of the each element, and the heterogeneous degree indicates a difference degree between any two elements with the same function.

### Claim 11 (depends on 7)

The method according to claim 7, wherein the template comprises a same template or different templates, and the different templates indicate different templates used to generate heterogeneous functional equivalents with a same function.

### Claim 12 (depends on 7)

The method according to claim 7, wherein obtaining a generation policy comprises:
obtaining the generation policy by reception from outside, generation from inside or in a manner of combining reception from outside and generation from inside.

### Claim 13

An element pool, wherein the element pool is connected to a heterogeneous functional equivalent generator, and configured to provide an element set to the heterogeneous functional equivalent generator according to a generation policy, wherein the element pool comprises at least one element, each element has a function, and the element set is a set comprising at least one element for constructing a heterogeneous functional equivalent.

### Claim 14

A template pool, wherein the template pool is connected to a heterogeneous functional equivalent generator, and configured to provide a template to the heterogeneous functional equivalent generator, wherein the template pool comprises at least one template, and each template is used to combine or compile the elements selected from an element pool, so that the generated heterogeneous functional equivalents have at least one function.

### Claim 15

A heterogeneous functional equivalent generator, comprising a transceiver and a processor, wherein
the transceiver is configured to obtain a generation policy, wherein the generation policy comprises a function list for selecting an element according to a function and a number of the heterogeneous functional equivalents to be generated; and
the processor is configured to select element sets corresponding to the number from an element pool according to the generation policy, and generate the number of heterogeneous functional equivalents based on the selected element sets, wherein each of the element sets is a set comprising at least one element for constructing a heterogeneous functional equivalent.

### Claim 16 (depends on 15)

The generator according to claim 15, wherein if the generation policy further comprises at least one template selected from a template pool, the processor is further configured to combine or compile the element sets selected from the element pool and the selected at least one template, to generate the number of heterogeneous functional equivalents.

### Claim 17 (depends on 15)

The generator according to claim 15, wherein
the processor is configured to select the element sets corresponding to the number from the element pool according to the generation policy, an attribute value of each element and a heterogeneous degree between any two elements with a same function, and an attribute value of the template and a heterogeneous degree between two templates, wherein the attribute value of each element comprises reliability, complexity, or use frequency of each element, and the heterogeneous degree indicates a difference degree between the any two elements with the same function.

### Claim 18 (depends on 15)

The generator according to claim 15, further comprising a memory, wherein the memory stores an attribute value database and a heterogeneous degree database, wherein
the attribute value database is configured to store the attribute value of each element in the element pool; and
the heterogeneous degree database is configured to store the heterogeneous degree between any two elements with a same function.
