Backdoor detection device, backdoor detection method, and program

The backdoor detection device increases detection accuracy by comparing test and operational firmware flows to identify unauthorized input/output operations, enhancing system security against malicious triggers.

JP7556477B2Active Publication Date: 2024-09-26NEC CORP
View PDF 3 Cites 0 Cited by

Patent Information

Application Number
JP2023555943
Authority / Receiving Office
JP · JP
Patent Type
Patents
Current Assignee / Owner
Filing Date
2021-10-27
Publication Date
2024-09-26
Estimated Expiration
2041-10-27

AI Technical Summary

Technical Problem

Existing backdoor detection methods may fail to identify unauthorized functions due to normal calling relationships being compromised by backdoors, leading to undetected malicious triggers that impact system security.

Method used

A backdoor detection device that executes firmware in a test environment to acquire regular input/output flow information, compares it with operational flow information from an actual environment, and determines the presence of backdoors based on discrepancies.

Benefits of technology

Enhances the detection rate of backdoors by identifying unauthorized input/output flows triggered by attackers, thereby improving system security.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure 0007556477000006
    Figure 0007556477000006
  • Figure 0007556477000004
    Figure 0007556477000004
  • Figure 0007556477000005
    Figure 0007556477000005
Patent Text Reader

Abstract

A backdoor detection device according to the present disclosure is equipped with: a normal flow acquisition means that executes, in a test environment, firmware of a device to be monitored, and acquires normal input / output flow information including an input / output flow related to an observed input / output; an operation flow acquisition means that executes the firmware in an actual operating environment, and acquires operation input / output flow information including an input / output flow relating to an observed input / output; a backdoor determination means that determines whether a backdoor is present on the basis of a comparison between the acquired normal input / output flow information and the operation input / output flow information; and an output means that outputs the result of the determination by the backdoor determination means.
Need to check novelty before this filing date? Find Prior Art

Description

[Technical field]

[0001] The present disclosure relates to a backdoor detection device, a backdoor detection method, and a recording medium. [Background technology]

[0002] One of the supply chain risk countermeasures when procuring devices from outside is technology to detect malicious functions within programs, such as backdoors.

[0003] For example, Patent Document 1 discloses an anomaly detection device that compares a normal call relationship between functions until a specific function to be monitored is called by an application program with a call relationship between functions until the specific function to be monitored is called by an application program in response to an event that calls the specific function to be monitored. If the call relationships do not match as a result of comparing the above relationships, this anomaly detection device detects the function call operation associated with the event as an abnormal operation. [Prior art documents] [Patent documents]

[0004] [Patent Document 1] JP 2011-258019 A Summary of the Invention [Problem to be solved by the invention]

[0005] However, in unauthorized access using a backdoor, information known only to the attacker is often used as a trigger to execute an input / output flow that has a serious impact on the system. In the invention described in the above-mentioned Patent Document 1, there is a possibility that a normal call relationship includes an unauthorized function using a backdoor.

[0006] An example of an objective of the present disclosure is to provide a backdoor detection device capable of increasing the detection rate of a backdoor. [Means for solving the problem]

[0007] A backdoor detection device in one aspect of the present disclosure includes: a normal flow acquisition means for acquiring normal input / output flow information including an input / output flow related to input / output observed by executing firmware of a device to be monitored in a test environment; an operational flow acquisition means for acquiring operational input / output flow information including an input / output flow related to input / output observed by executing the firmware in an actual operational environment; a backdoor determination means for determining whether or not a backdoor exists based on a comparison between the acquired normal input / output flow information and the operational input / output flow information; and an output means for outputting a result of the determination made by the backdoor determination means.

[0008] A backdoor detection method in one aspect of the present disclosure acquires, in a test environment, regular input / output flow information including an input / output flow related to the input / output observed by executing firmware of a device to be monitored, and acquires, in an actual operational environment, operational input / output flow information including an input / output flow related to the input / output observed by executing the firmware, determines whether or not a backdoor exists based on a comparison between the acquired regular input / output flow information and the operational input / output flow information, and outputs the result of the determination.

[0009] A recording medium in one aspect of the present disclosure stores a program that causes a computer to execute the following: in a test environment, acquire regular input / output flow information including an input / output flow related to the input / output observed by executing firmware of a device to be monitored; in an actual operational environment, acquire operational input / output flow information including an input / output flow related to the input / output observed by executing the firmware; determine whether or not a backdoor exists based on a comparison between the acquired regular input / output flow information and the operational input / output flow information; and output the result of the determination. Effect of the Invention

[0010] One example of the effect of the present disclosure is that it can provide a backdoor detection device that can increase the detection rate of a backdoor. [Brief description of the drawings]

[0011] [Figure 1] FIG. 1 is a block diagram showing the configuration of a backdoor detection device according to the first embodiment. [Diagram 2] FIG. 2 is a diagram showing a hardware configuration in which the backdoor detection device according to the first embodiment is realized by a computer device and its peripheral devices. [Diagram 3] FIG. 3 is a diagram for explaining regular input / output flow information in the first embodiment. [Figure 4] FIG. 4 is a diagram for explaining operation input / output flow information in the first embodiment. [Diagram 5] FIG. 5 is a flowchart showing the backdoor detection in the first embodiment. [Figure 6] FIG. 6 is a block diagram showing the configuration of a backdoor detection device according to the second embodiment. [Figure 7] FIG. 7 is a flowchart showing the backdoor detection operation in the second embodiment. DETAILED DESCRIPTION OF THE PREFERRED EMBODIMENTS

[0012] Next, an embodiment will be described in detail with reference to the drawings.

[0013] [First embodiment] The backdoor detection device 100 in the first embodiment is a device for detecting whether the firmware of a device provided by an external business operator contains any unauthorized functions such as a backdoor when the device is incorporated into one's own system.

[0014] Fig. 1 is a block diagram showing the configuration of a backdoor detection device 100 in the first embodiment. Referring to Fig. 1, the backdoor detection device 100 includes a normal flow acquisition unit 101, an operational flow acquisition unit 102, a backdoor determination unit 103, and an output unit 104. The backdoor detection device 100, which is an essential component of this embodiment, will be described in detail below.

[0015] 2 is a diagram showing an example of a hardware configuration in which the backdoor detection device 100 in the first embodiment of the present disclosure is realized by a computer device 500 including a processor. As shown in FIG. 2, the backdoor detection device 100 includes a central processing unit (CPU) 501, memories such as a read only memory (ROM) 502 and a random access memory (RAM) 503, a storage device 505 such as a hard disk for storing a program 504, a communication interface (I / F) 508 for network connection, and an input / output interface 511 for inputting and outputting data. In the first embodiment, input / output flow information of firmware acquired by the regular flow acquisition unit 101 and the operational flow acquisition unit 102 is input to the backdoor detection device 100 via the input / output interface 511.

[0016] The CPU 501 operates an operating system to control the entire backdoor detection device 100 according to the first embodiment of the present invention. The CPU 501 also reads programs and data from a recording medium 506 mounted in, for example, a drive device 507 into a memory. The CPU 501 also functions as the regular flow acquisition unit 101, the operational flow acquisition unit 102, the backdoor determination unit 103, and the output unit 104 in the first embodiment, or as part of these units, and executes processing or commands in the flowchart shown in FIG. 6, which will be described later, based on the program.

[0017] The recording medium 506 is, for example, an optical disk, a flexible disk, a magneto-optical disk, an external hard disk, or a semiconductor memory. A recording medium that is a part of the storage device is a non-volatile storage device, and the program is recorded therein. The program may also be downloaded from an external computer (not shown) that is connected to a communication network.

[0018] The input device 509 is realized by, for example, a mouse, a keyboard, built-in key buttons, etc., and is used for input operations. The input device 509 is not limited to a mouse, a keyboard, or built-in key buttons, and may be, for example, a touch panel. The output device 510 is realized by, for example, a display, and is used to check the output.

[0019] As described above, the first embodiment shown in FIG. 1 is realized by the computer hardware shown in FIG. 2. However, the means for realizing each part of the backdoor detection device 100 in FIG. 1 is not limited to the configuration described above. The backdoor detection device 100 may be realized by one physically combined device, or may be realized by two or more physically separated devices connected by wire or wirelessly. For example, the input device 509 and the output device 510 may be connected to the computer device 500 via a network. The backdoor detection device 100 in the first embodiment shown in FIG. 1 may also be configured by cloud computing or the like.

[0020] In FIG. 1, the normal flow acquisition unit 101 is a means for acquiring normal input / output flow information including input / output flows related to input / output observed by executing firmware of a device to be monitored under a test environment. The normal input / output flow information is information on input / output flows that are assumed to be related to normal operation of the firmware without intervention from an attacker. The test environment is an environment in which the function of the firmware is tested after delivery of the device and before operation. In this embodiment, the test environment is, for example, an environment that is cut off from an external network and does not involve input from the outside. For example, the normal flow acquisition unit 101 executes the firmware only at a portion including a flow related to input / output of data. The input / output related input / output flow is a flow related to input / output of data among flows executed by the firmware. The normal flow acquisition unit 101 monitors the start of the firmware under the test environment. For example, when the normal flow acquisition unit 101 detects the start of the firmware, it acquires input / output flow information observed during the execution of the firmware. The input / output flow information can be acquired by conventional software for performing program analysis or the like.

[0021] 3 is a diagram for explaining normal input / output flow information in the first embodiment. In the example of FIG. 3, an input / output flow of "command input→socket communication→file output" and an input / output flow of "command input→socket communication→screen output" are observed. The normal flow acquisition unit 101 outputs the observed input / output flow information to the backdoor determination unit 103. In addition, the normal flow acquisition unit 101 may acquire a file containing normal input / output flow information created by another business operator and output the file to the backdoor determination unit 103.

[0022] The operational flow acquisition unit 102 is a means for acquiring operational input / output flow information including input / output flows related to input / output observed by executing firmware of a monitored device under a real operational environment. The operational input / output flow information is information on input / output flows that may involve intervention from an attacker and may include flows related to a backdoor. The real operational environment is an environment when a device is incorporated into an actual system. In this embodiment, the real operational environment is, for example, an environment in which communication with an external network is possible, input from the outside is involved, and input from an attacker may be involved. Specifically, for example, it is an environment in which data output to an external server and writing to external data are possible. The operational flow acquisition unit 102 executes firmware only at a portion including a flow related to data input / output. The operational flow acquisition unit 102 monitors the start of firmware under a real operational environment. For example, when the operational flow acquisition unit 102 detects the start of firmware, it acquires input / output flow information observed during the execution of firmware. The acquisition of input / output flow information can be performed by conventional software for program analysis or the like.

[0023] 4 is a diagram for explaining the operation input / output flow information in the first embodiment. In the example of Fig. 4, in addition to the input / output flow "command input → socket communication → file output" and the input / output flow "command input → socket communication → screen output", an input / output flow of "password read → log output" that was not observed in the test environment is observed. The operation flow acquisition unit 102 outputs the operation input / output flow information acquired in this way to the backdoor determination unit 103.

[0024] The backdoor determination unit 103 is a means for determining whether or not a backdoor exists based on a comparison between the acquired regular input / output flow information and the operational input / output flow information. When the regular input / output flow information from the regular flow acquisition unit 101 and the operational input / output flow information from the operational flow acquisition unit 102 are input, the backdoor determination unit 103 compares the input / output flows and determines that a backdoor exists if the operational input / output flow information contains an input / output flow that is not included in the regular input / output flow information. In the example of FIG. 4, the operational input / output flow information contains an input / output flow "password read->log output" that is not included in the regular input / output flow information, so the backdoor determination unit 103 determines that a backdoor exists.

[0025] Furthermore, the backdoor determination unit 103 may determine that a backdoor exists if the operational input / output flow information contains a predetermined number of input / output flows that are not included in the regular input / output flow information. The predetermined number of input / output flows refers to the case where the operational input / output flow information contains a plurality of input / output flows (e.g., two flows) or more that are different from the regular input / output flow information. The backdoor determination unit 103 may determine that a backdoor exists if a different input / output flow exists at least once, as long as the input / output is related to highly confidential data.

[0026] The output unit 104 is a means for outputting the result of the evaluation by the backdoor determination unit 103. When the backdoor determination unit 103 determines that a backdoor is present, the output unit 104 outputs an alert signal. The output unit 104 may display the alert on the output device 510 of the backdoor detection device 100 or may present the alert by voice.

[0027] The operation of the backdoor detection device 100 configured as above will be described with reference to the flowchart of FIG.

[0028] 5 is a flowchart showing an outline of the operation of the backdoor detection device 100 in the first embodiment. Note that the processing according to this flowchart may be executed based on program control by the above-mentioned processor.

[0029] As shown in FIG. 5, first, the regular flow acquisition unit 101 acquires regular input / output flow information observed by executing the firmware under a test environment (step S101). Next, the operational flow acquisition unit 102 acquires operational input / output flow information observed by executing the firmware under a real operational environment (step S102). Next, if there is an input / output flow not included in the regular input / output flow information among the acquired operational input / output flow information, it is determined that a backdoor exists (step S103; YES). On the other hand, if there is no input / output flow not included in the regular input / output flow information among the acquired operational input / output flow information, the backdoor determination unit 103 determines that there is no backdoor exists (step S103; NO), and repeats a series of flows at regular intervals. Finally, when the backdoor determination unit 103 determines that there is a backdoor, it outputs an alert signal (step S104). With the above, the backdoor detection device 100 ends the backdoor detection operation.

[0030] In the backdoor detection device 100 in this embodiment, the backdoor determination unit 103 determines whether or not a backdoor exists based on a comparison between the acquired regular input / output flow information and the operational input / output flow information. The regular input / output flow information acquired by the regular flow acquisition unit 101 in this embodiment is flow information observed in a test environment in which no external input is involved. Moreover, the operational input / output flow information acquired by the operational flow acquisition unit 102 is a means observed in an actual environment in which an external input is involved. Therefore, by comparing the regular input / output flow information with the operational input / output flow information, for example, it is possible to detect a backdoor triggered by an external input that is included in the operational input / output flow information and that is known only to an attacker. Therefore, it is possible to increase the detection rate of a backdoor.

[0031] [Second embodiment] Next, a second embodiment of the present disclosure will be described in detail with reference to the drawings. Below, the description of the second embodiment will be omitted to the extent that the description of the present embodiment is not unclear. Each component in each embodiment of the present disclosure can be realized not only by hardware but also by a computer device based on program control and firmware, as in the computer device shown in FIG. 2.

[0032] FIG. 6 is a block diagram showing a configuration of a backdoor detection device 110 according to a second embodiment of the present disclosure. With reference to FIG. 6, the backdoor detection device 110 according to the second embodiment will be described, focusing on the parts different from the backdoor detection device 100 according to the first embodiment. The backdoor detection device 110 according to the second embodiment includes a normal flow acquisition unit 111, an operational flow acquisition unit 112, a backdoor determination unit 113, a backdoor identification unit 114, an output unit 115, and a control unit 116. The configurations and functions of the normal flow acquisition unit 111, the operational flow acquisition unit 112, and the backdoor determination unit 113 in this embodiment are similar to those of the normal flow acquisition unit 101, the operational flow acquisition unit 102, and the backdoor determination unit 103 in the first embodiment, and therefore will not be described here.

[0033] The backdoor identification unit 114 identifies an input / output flow that has been determined to be a backdoor when the backdoor determination unit 113 determines that a backdoor exists. The backdoor identification unit 114 compares the regular input / output flow information with the operational input / output flow information, and identifies an input / output flow that is not included in the regular input / output flow information, among the input / output flows included in the operational input / output flow information, as a backdoor.

[0034] Returning to FIG. 4, an input / output flow identified as a backdoor in the second embodiment will be described. In the example of FIG. 4, when comparing the regular input / output flow information with the operational input / output flow information, one of the input / output flows branching at "command input", "password read-out -> log output", does not exist in the regular input / output flow information. Therefore, the backdoor determination unit 113 identifies the input / output flow "password read-out -> log output" as an input / output flow including a backdoor. The input / output flow "password read-out -> log output" outputs a password file read log, and is an input / output flow that has a significant impact on the system in terms of information leakage. Another example of an input / output flow including a backdoor is an unauthorized intrusion into a system such as "input of information known only to an attacker (socket communication) -> promotion of authority -> execution of a shell program". Among these input / output flows, the promotion of authority and the execution of a shell program can be detected by observing the program execution screen. The backdoor identification unit 114 outputs the identified input / output flow information to the output unit 115 and the control unit 116.

[0035] The output unit 115 outputs the input / output flow information identified by the backdoor identification unit 114 together with the alert to the output device 510 or the like.

[0036] The control unit 116 exercises control so as not to execute the input / output flow identified by the backdoor identification unit 114. When the control unit 116 receives input / output flow information identified as a backdoor from the backdoor identification unit 114, the control unit 116 updates the program code, for example, so as not to execute the identified input / output flow.

[0037] The operation of the information processing system 11 configured as above will be described with reference to the flowchart of FIG.

[0038] 7 is a flowchart showing an outline of the operation of the backdoor detection device 110 in the second embodiment. The process according to this flowchart may be executed based on program control by the above-mentioned processor. Steps S201 to S203 in the second embodiment are similar to steps S101 to S103 in the first embodiment, so a description thereof will be omitted.

[0039] As shown in Fig. 7, when the backdoor determination unit 113 determines that a backdoor exists (step S203; YES), the backdoor identification unit 114 identifies the input / output flow determined to include a backdoor (step S204). Next, the output unit 115 outputs the identified input / output flow information (step S205). Finally, the control unit 116 exercises control so as not to execute the input / output flow identified by the backdoor identification unit 114 (step S206). With this, the backdoor detection device 110 ends the backdoor detection operation.

[0040] In the second embodiment of the present disclosure, the output unit 115 outputs the input / output flow information identified by the backdoor identification unit 114 to the output device 510 or the like. This allows a firmware analyst to analyze the location where the backdoor is embedded in more detail. Also, in the second embodiment of the present disclosure, the control unit 116 controls so as not to execute the input / output flow identified by the backdoor identification unit 114. This makes it possible to prevent the damage caused by the backdoor from spreading.

[0041] Although the present invention has been described above with reference to the embodiments, the present invention is not limited to the above-mentioned embodiments. Various modifications that can be understood by those skilled in the art can be made to the configuration and details of the present invention within the scope of the present invention.

[0042] For example, although a number of operations are described in a sequence in the form of a flowchart, the sequence does not limit the order in which the operations are performed. Therefore, when implementing each embodiment, the sequence of the operations can be changed as long as it does not affect the content.

[0043] In the first embodiment, the backdoor determination unit 103 determines that a backdoor exists when an input / output flow not included in the regular input / output flow information exists in the operation input / output flow information. However, the backdoor determination unit 103 may determine that a backdoor exists when an input / output flow not included in the acquired regular input / output flow information exists in the operation input / output flow information and when there are many input / output flows not included in the regular input / output flow information compared with the operation input / output flow information at a predetermined time in the past. In this case, the operation flow acquisition unit 102 stores the operation input / output flow information at a predetermined time in the past in the storage device 505, and when backdoor detection is performed, acquires the operation input / output flow at the predetermined time in the past from the storage device 505. As a result, the backdoor determination unit 103 determines that a backdoor exists when the propagation of an unauthorized function is confirmed compared with the past operation input / output flow information. Therefore, it is possible to suppress the output unit 104 from frequently outputting an alert signal. [Explanation of symbols]

[0044] 100, 110 Back door detection device 101, 111 Regular flow acquisition section 102, 112 Operation flow acquisition unit 103, 113 Backdoor detection unit 104, 115 Output section 114 Backdoor Identification Department 116 Control Unit

Claims

1. A normal input / output flow acquisition means for acquiring normal input / output flow information including an input / output flow related to input / output observed by executing firmware of a device to be monitored under a test environment; an operational flow acquisition means for acquiring operational input / output flow information including an input / output flow related to input / output observed by executing the firmware under an actual operational environment; a backdoor determination means for determining whether or not a backdoor exists based on a comparison between the acquired normal input / output flow information and the acquired operational input / output flow information; and an output means for outputting a result of the determination made by the backdoor determination means.

2. 2. The backdoor detection device according to claim 1, wherein the backdoor determination means determines that a backdoor is present when a predetermined number or more of input / output flows are present in the acquired operational input / output flow information that are not included in the acquired normal input / output flow information.

3. The operational flow acquisition means further acquires operational input / output flow information at a predetermined point in time in the past, 2. The backdoor detection device according to claim 1, wherein the backdoor determination means determines that a backdoor exists when the acquired operational input / output flow information contains an input / output flow that is not included in the acquired regular input / output flow information, and when compared with operational input / output flow information at a specified point in the past, there are more input / output flows that are not included in the regular input / output flow information.

4. The backdoor detection device according to any one of claims 1 to 3, wherein the operational flow acquisition means executes only a portion of the firmware that includes a flow related to data input and output, and acquires the observed input / output flow as the operational input / output flow information.

5. A backdoor identification unit is further provided for identifying the input / output flow determined to be a backdoor, 5. The backdoor detection device according to claim 1, wherein the output means further outputs input / output flow information determined to be a backdoor.

6. The backdoor detection device according to claim 5 , further comprising a control means for controlling the specified input / output flow so as not to be executed.

7. A computer comprising: Under a test environment, execute the firmware of the device to be monitored to obtain regular input / output flow information including input / output flows related to the input / output observed; Acquiring operational input / output flow information including input / output flows related to input / output observed by executing the firmware under an actual operational environment; determining whether a backdoor exists based on a comparison between the acquired normal input / output flow information and the operational input / output flow information; The backdoor detection method outputs the determined result.

8. Under a test environment, execute the firmware of the device to be monitored to obtain regular input / output flow information including input / output flows related to the input / output observed; Acquiring operational input / output flow information including input / output flows related to input / output observed by executing the firmware under an actual operational environment; determining whether a backdoor exists based on a comparison between the acquired normal input / output flow information and the operational input / output flow information; A program for causing a computer to execute the steps of: outputting the result of the determination.

Citation Information

Patent Citations

  • Abnormality detection device, abnormality detection program and abnormality detection method

    JP2011258019A

  • Systems and methods for automatically detecting backdoors

    US8990944B1

  • Backdoor test device, method, and non-transitory computer-readable medium

    WO2021028989A1