Attack analysis device, attack analysis method, and attack analysis program
The attack analysis device enhances the accuracy of estimating attack routes in vehicle cyberattacks by integrating survival signals and prediction tables, improving the reliability of the estimation process.
Patent Information
- Application Number
- JP2021109150
- Authority / Receiving Office
- JP · JP
- Patent Type
- Patents
- Current Assignee / Owner
- Filing Date
- 2021-06-30
- Publication Date
- 2024-08-21
- Estimated Expiration
- 2041-06-30
AI Technical Summary
Existing methods for estimating attack paths in vehicle cyberattacks based on security log information have limitations in accuracy.
An attack analysis device that utilizes a security log acquisition unit, survival signal acquisition unit, prediction table storage unit, and attack route estimation unit to enhance the accuracy of attack route estimation by incorporating survival signals and prediction tables.
The device improves the accuracy of estimating attack routes and damage assessment in vehicle cyberattacks by using survival signals to validate the operational status of security sensors, thereby enhancing the reliability of the estimation process.
Smart Images

Figure 0007537382000008 
Figure 0007537382000002 
Figure 0007537382000005
Abstract
Description
[Technical field]
[0001] The present invention relates to an attack analysis device, an attack analysis method, and an attack analysis program for analyzing attacks against electronic control systems mounted on mobile objects such as automobiles. [Background technology]
[0002] In recent years, technologies for driving assistance and autonomous driving control, including V2X (vehicle-to-vehicle communication and vehicle-to-infrastructure communication), have been attracting attention. As a result, vehicles are equipped with communication functions, and so-called connected vehicles are becoming more common. As a result, the possibility of vehicles being subject to cyber attacks such as unauthorized access is increasing. Therefore, it is necessary to analyze cyber attacks against vehicles and develop countermeasures.
[0003] There are various methods for detecting abnormalities that occur in a vehicle and analyzing cyber attacks based on the detected abnormalities. For example, Patent Document 1 describes a method for collecting detected abnormality data and identifying the type of attack corresponding to the abnormality by comparing the combination of items in which the abnormality was detected with an abnormality detection pattern that is specified in advance for each attack. [Prior art documents] [Patent documents]
[0004] [Patent Document 1] JP 2020-123307 A Summary of the Invention [Problem to be solved by the invention]
[0005] Here, the present inventors have found the following problem. When a cyber attack occurs against an electronic control system installed in a vehicle, the attack path can be estimated based on the security log generated by the security sensor that constitutes the electronic control system. However, there is a limit to the accuracy of estimating the attack path when only the information in the security log is used.
[0006] Therefore, an object of the present invention is to realize an attack analysis device or the like that can estimate an attack path with higher accuracy when an electronic control system is subjected to a cyber attack. [Means for solving the problem]
[0007] The attack analysis device of the present disclosure comprises: a security log acquisition unit (101) that acquires a security log generated by a security sensor mounted on an electronic control device constituting an electronic control system and that includes an abnormality detection signal indicating that the security sensor has detected an abnormality; a survival signal acquisition unit (102) for acquiring a survival signal of the security sensor; a prediction table storage unit (103) that stores a prediction table indicating a correspondence relationship between a predicted attack path in the electronic control system and a predicted anomaly detection signal that is predicted to be generated by the security sensor; an attack path estimation unit (104) that estimates an attack path of an attack on the electronic control system from the abnormality detection signal and the survival signal included in the security log using the prediction table; an attack information output unit (105) that outputs attack information indicating the attack path; has.
[0008] In addition, the claims and the numbers in parentheses attached to the constituent elements of the invention described in this section indicate the correspondence between the present invention and the embodiments described below, and are not intended to limit the present invention. Effect of the Invention
[0009] With the above-described configuration, the attack analysis device of the present disclosure is able to estimate the attack path with greater accuracy when an electronic control system is subjected to a cyber attack. [Brief description of the drawings]
[0010] [Figure 1] FIG. 1 is an explanatory diagram illustrating the arrangement of an attack analysis device according to the first embodiment. [Diagram 2] FIG. 1 is a block diagram illustrating an example of the configuration of an electronic control system according to a first embodiment. [Diagram 3] FIG. 1 is a block diagram showing an example of the configuration of an attack analysis device according to a first embodiment. [Figure 4] FIG. 1 is an explanatory diagram for explaining a prediction table stored in a prediction table storage unit of an attack analysis device according to the first embodiment. [Diagram 5] FIG. 1 is an explanatory diagram for explaining a reliability calculation method of a reliability calculation unit in Example 1 of the first embodiment. [Figure 6] FIG. 11 is an explanatory diagram for explaining a reliability calculation method of the reliability calculation unit in Example 2 of the first embodiment. [Figure 7] FIG. 11 is an explanatory diagram for explaining a reliability calculation method of the reliability calculation unit in Example 3 of the first embodiment. [Figure 8] 1 is a flowchart showing the operation of an attack analysis device according to the first embodiment. DETAILED DESCRIPTION OF THE PREFERRED EMBODIMENTS
[0011] Hereinafter, an embodiment of the present invention will be described with reference to the drawings.
[0012] The present invention means the invention described in the claims or in the Summary of the Invention section, and is not limited to the following embodiments. Furthermore, at least the words in quotation marks mean the words described in the claims or in the Summary of the Invention section, and are not limited to the following embodiments.
[0013] The configurations and methods described in the dependent claims are optional configurations and methods in the invention described in the independent claims. The configurations and methods of the embodiments corresponding to the configurations and methods described in the dependent claims, and the configurations and methods described only in the embodiments without being described in the claims, are optional configurations and methods in the present invention. The configurations and methods described in the embodiments when the description of the claims is broader than the description of the embodiments are also optional configurations and methods in the present invention in the sense that they are examples of the configurations and methods of the present invention. In either case, by being described in the independent claims, they become essential configurations and methods of the present invention.
[0014] The effects described in the embodiments are effects obtained when the configurations of the embodiments are provided as examples of the present invention, and are not necessarily effects that the present invention possesses.
[0015] When there are multiple embodiments, the configurations disclosed in each embodiment are not limited to each embodiment, but can be combined across the embodiments. For example, a configuration disclosed in one embodiment may be combined with another embodiment. Also, configurations disclosed in each of the multiple embodiments may be collected and combined.
[0016] The problem described in the section on problems that the invention is intended to solve is not a publicly known problem, but was discovered independently by the inventor, and this, together with the configuration and method of the present invention, is a fact that affirms the inventive step of the invention.
[0017] 1. First embodiment (1) Arrangement of the attack analysis device 100 and the electronic control system S 1 is a diagram illustrating the arrangement of an attack analysis device 100 according to this embodiment. The attack analysis device 100 detects a cyber-attack against an electronic control system S, and estimates the attack path of the cyber-attack received by the electronic control system S. The attack analysis device 100 may be arranged in any manner that allows it to obtain necessary information from the electronic control system S. Hereinafter, cyber attacks will be abbreviated to "attacks." Also, from the perspective of the electronic control system S that is affected by the attacks, attacks may be described as abnormalities.
[0018] For example, as shown in FIG. 1(a), the electronic control system S and the attack analysis device 100 may be "mounted" on a vehicle, which is a "moving body," and as shown in FIG. 1(b), the electronic control system S may be "mounted" on a vehicle, which is a "moving body," and the attack analysis device 100 may be realized by a server device installed outside the vehicle. Where: "Mobile object" refers to an object that can move and can move at any speed. It also includes cases where the mobile object is stationary. For example, it includes, but is not limited to, automobiles, motorcycles, bicycles, pedestrians, ships, aircraft, and objects mounted on these. "Mounted" includes not only the case where the device is directly fixed to the moving body, but also the case where the device is not fixed to the moving body but moves with the moving body, such as the case where the device is carried by a person riding on the moving body, or the case where the device is mounted on cargo placed on the moving body.
[0019] 1(a), the attack analysis device 100 and the electronic control system S are connected by an in-vehicle network such as a Controller Area Network (CAN) or a Local Interconnect Network (LIN). Alternatively, the connection can be made using any communication method, whether wired or wireless, such as Ethernet (registered trademark), Wi-Fi (registered trademark), or Bluetooth (registered trademark). As another example, the functions of the attack analysis device 100 can be built into at least one of the electronic control devices constituting the electronic control system S.
[0020] In the case of FIG. 1(a), when the electronic control system S is attacked, the attack analysis device 100 can analyze the cyber attack without delay, and thus can quickly respond to the cyber attack.
[0021] 1(b), the attack analysis device 100 and the electronic control system S can be connected using a communication means consisting of a wireless communication method such as IEEE802.11 (Wi-Fi (registered trademark)), IEEE802.16 (WiMAX (registered trademark)), W-CDMA (Wideband Code Division Multiple Access), HSPA (High Speed Packet Access), LTE (Long Term Evolution), LTE-A (Long Term Evolution Advanced), 4G, 5G, etc. Alternatively, DSRC (Dedicated Short Range Communication) can be used. When the vehicle is parked in a parking lot or in a repair shop, a wired communication system can be used instead of a wireless communication system, for example, a LAN (Local Area Network), the Internet, or a fixed telephone line.
[0022] In the case of Fig. 1(b), when an electronic control system S mounted on a vehicle is attacked, the server device receives from the vehicle, via a wireless communication network, a security log generated by a security sensor mounted on an electronic control device constituting the electronic control system S. Therefore, compared to when the attack analysis device 100 is mounted on the vehicle, it takes more time to analyze the attack and feed back the analysis results to the vehicle, but it is possible to reduce the processing load on the vehicle side. In addition, since the abundant resources of the server device can be used, it is possible to execute complex and large-volume calculations.
[0023] Other possible arrangements include the following examples. The electronic control system S may not be mounted on a vehicle but on a stationary object. In addition, the electronic control system S and the attack analysis device 100 may be mounted in different vehicles and communicate with each other directly or indirectly via a base station or the like.
[0024] (2) Configuration of electronic control system S (a) Overall configuration 2 is a diagram illustrating an example of the configuration of the electronic control system S. The electronic control system S includes a TCU 11, an IVI 12, a CGW 13, an ECU 14, an ECU 15, an ECU 16, and an ECU 17.
[0025] The TCU 11 (Telematics Control Unit) is an electronic control unit (ECU: Electric Control Unit) with a communication function, and transmits and receives information by communicating with an external information storage server or via the Internet. The TCU 11 is called an entry point because it can be an entrance for an attack from outside by communicating with the outside of the electronic control system S.
[0026] The IVI 12 (In-Vehicle Infotainment system) is an ECU that has the function of providing information and entertainment, but like the TCU 11, it has a communication function and transmits and receives information by communicating with an external information storage server or via the Internet. The IVI 12 also communicates with the outside of the electronic control system S, and therefore can be an entrance for external attacks, and is therefore called an entry point.
[0027] The CGW 13 (Central GateWay) is an ECU that mainly has a gateway (GW) function. For example, the CGW 13 transfers information received by the TCU 11 or the IVI 12 to the ECUs 14 to 17 connected via an in-vehicle network such as CAN or LIN, or a communication network such as Ethernet (ETH). The CGW 13 also transfers information transmitted from the ECUs 14 to 17 to the TCU 11 or the IVI 12. The CGW13 can also be equipped with functions other than the gateway function. In addition, an attack analysis device 100 , which will be described later, can also be installed as a function of the CGW 13 .
[0028] The ECUs 14 to 17 are ECUs connected to the CGW 13 via a network. In FIG. 2, the ECUs 14 and 15 are connected via Ethernet. The ECUs 16 and 17 are connected via CAN, which is an in-vehicle network. The ECUs 14 to 17 are any ECUs that realize various functions of the vehicle, and examples of the ECUs include drive system electronic control devices that control the engine, steering, brakes, etc., body electronic control devices that control meters, power windows, etc., information system electronic control devices such as a navigation device, and safety control system electronic control devices that perform control to prevent collisions with obstacles or pedestrians.
[0029] In the following description, when attention is not focused on the unique features of the above-mentioned TCU 11, IVI 12, CGW 13, ECU 14, ECU 15, ECU 16, and ECU 17, they will each be referred to as an ECU, or simply as an ECU.
[0030] (b) Defense in depth and layers Many electronic control systems S employ defense in depth to improve security against attacks. According to defense in depth, by providing security functions in a hierarchical and multi-layered manner as a countermeasure against attacks, even if one countermeasure (i.e., the first layer) is breached during an attack, the next countermeasure (i.e., the second layer) can defend against the attack, thereby improving the defensive capabilities of the electronic control system. Therefore, an electronic control system S that employs defense in depth has multiple layers with different security levels. Therefore, the electronic control system S is divided into multiple layers according to security level, and each ECU is classified into one of the layers.
[0031] 2 has three defense layers. In this example, the TCU 11 and the IVI 12 belong to the first layer, the CGW 13 belongs to the second layer, and the ECUs 14 to 17 belong to the third layer. The TCU 11 and the IVI 12 are ECUs that have a function for communicating with the outside, and these ECUs are equipped with a security function for monitoring data coming into the vehicle from the outside. The area monitored by the ECUs with such security functions is defined as the first layer. The CGW 13 is an ECU with a gateway function that is equipped with a security function for monitoring data communicated between a network to an ECU connected to an external device of the vehicle and a network to an ECU that controls the vehicle. The CGW 13 implements security measures different from those of the TCU 11 and the IVI 12, and the area monitored by the CGW 13 can be said to have a different security level from the first layer, which is the area protected by the TCU 11 and the IVI 12. Therefore, the area monitored by the CGW 13 is referred to as the second layer. The ECUs 14 to 17 communicate only data that has passed through the security function of the CGW 13, and can be considered as an area having a security level different from that of the second layer. Therefore, the area to which the ECUs 14 to 17 belong is defined as the third layer.
[0032] Although the present embodiment has three layers of defense, four or more layers of defense may be provided. For example, an ECU connected via a sub-gateway ECU may be the fourth layer.
[0033] Although the hierarchy described in this embodiment is a physical hierarchy starting from an entry point, a functional hierarchy may be used instead of all or part of this hierarchy, for example, when a master-slave relationship is set between ECUs.
[0034] (c) Security Sensor Each ECU constituting the electronic control system S is equipped with one or more security sensors that monitor the inside of the ECU and the network to which the ECU is connected. When a security sensor detects an abnormality that has occurred inside the ECU or in the network, it generates and outputs a security log. The security log includes an abnormality detection signal that indicates that the security sensor has detected an abnormality.
[0035] Examples of security sensors include firewalls, proxies, CAN-IDS, CAN filters, TLS, MAC verification, file access monitoring, secure boot, secure repro, CFI, sandboxing, and authentication.
[0036] In addition to the abnormality detection signal, the security log may include abnormality location information indicating the location where the abnormality detected by the security sensor occurred, identification information identifying the electronic control system S, identification information identifying the ECU in which the security sensor is installed, identification information of the security sensor that detected the abnormality, the time the abnormality was detected, the number of times the abnormality was detected, the order in which the abnormality was detected, the content of the data received before the abnormality was detected, and information on the IP addresses (source and destination), etc.
[0037] (d) Survival signal The security sensor of each ECU generates a survival signal and transmits it to the network to which the ECU is connected. The survival signal is also called keep-alive information or heartbeat information.
[0038] The survival signal is a specific signal that is generated and transmitted at a specific period, and is used to determine whether the security sensor is operating and / or whether the security sensor is operating normally. For example, if the survival signal is not transmitted at all, it can be determined that the security sensor is not operating. Also, if the survival signal is transmitted at a period other than the specific period or is transmitted irregularly, it can be determined that the security sensor itself is operating but not operating normally. If the survival signal is not a specific signal, it can also be determined that the security sensor itself is operating but not operating normally.
[0039] In this embodiment, the content of the survival signal uses a predetermined signal, for example, a known sequence, but information specific to the security sensor, setting information of the security sensor, or other information with meaningful content may be used. For example, when setting information of the security sensor is used as the content of the survival signal, examples of the information include an abnormal pattern of the security sensor, a white list, a black list, a transmission cycle, version information of the security sensor, and a certificate. By using the content of the survival signal, the accuracy of estimating the attack path can be further improved.
[0040] In this embodiment, the timing for transmitting the survival signal is at a predetermined cycle, but instead of or in addition to this, the signal may be transmitted when the setting information of the security sensor is changed, when a request is made from another process, or when a specified security event is detected.
[0041] In this embodiment, the entity that sends the survival signal is a security sensor whose life or death is determined by the survival signal, but instead, another process or ECU that monitors the security sensor may send the monitoring results of the security sensor's operating status as a survival signal.
[0042] (3) Configuration of the Attack Analysis Device 100 The attack analysis device 100 of this embodiment will be described with reference to Fig. 3. The attack analysis device 100 is a device that detects and analyzes attacks against the above-mentioned electronic control system S. The attack analysis device 100 has a security log acquisition unit 101, a survival signal acquisition unit 102, a prediction table storage unit 103, an attack path estimation unit 104, and an attack information output unit 105. In addition, the attack path estimation unit 104 is made up of a predicted attack path candidate selection unit 106 and a reliability calculation unit 107.
[0043] When the attack analysis device 100 is provided in a vehicle, it may be provided by connecting it to the electronic control system S via an in-vehicle network. Alternatively, it may be provided inside the electronic control system S. For example, it may be provided as one function of the CGW 13 or the TCU 11.
[0044] The attack analysis device 100 can be configured with a general-purpose CPU (Central Processing Unit), volatile memory such as RAM, non-volatile memory such as ROM, flash memory, or hard disk, various interfaces, and an internal bus connecting these. Then, by executing software on this hardware, it can be configured to perform the functions of each functional block shown in FIG. 3. Of course, the attack analysis device 100 may be realized by dedicated hardware such as an LSI.
[0045] In this embodiment, the attack analysis device 100 is assumed to be in the form of an electronic control device (ECU (Electric Control Unit), hereinafter abbreviated as ECU) as a semi-finished product, but is not limited to this. For example, the form of a component may be a semiconductor circuit or a semiconductor module, the form of a semi-finished product may be an electronic control device, an electronic control unit, or a system board, and the form of a finished product may be a server, a workstation, a personal computer (PC), a tablet, a smartphone, a mobile phone, or a navigation system. The attack analysis device 100 may be configured with a single ECU or multiple ECUs.
[0046] The security log acquisition unit 101 acquires a security log that is generated by a "security sensor" mounted on an ECU constituting the electronic control system S and includes an abnormality detection signal indicating that the security sensor has detected an abnormality. For example, in the case of the arrangement shown in FIG. 1(a), the security log is acquired by receiving the security log output by the security sensor mounted on the TCU11, CGW13, or ECUs 14-17, etc. of the electronic control system S to the in-vehicle network, by the security log acquisition unit 101 connected to the in-vehicle network. In the case of the arrangement shown in FIG. 1(b), the security log is output by the security sensor mounted on the TCU11, CGW13, or ECUs 14-17, etc. of the electronic control system S to the in-vehicle network, and transmitted from the TCU11 using wireless communication, by receiving the security log by the security log acquisition unit 101 connected to a network such as the Internet.
[0047] Here, the term "security sensor" refers to a function that monitors the electronic control devices and networks that constitute the electronic control system and outputs a security log when a security event occurs, and the means for achieving this is not important.
[0048] The survival signal acquisition unit 102 acquires a "survival signal" from a security sensor mounted in an ECU constituting the electronic control system S. For example, in the case of the arrangement shown in FIG. 1(a), the survival signal acquired is obtained by receiving the survival signal output by the security sensor mounted in the TCU 11, CGW 13, or ECUs 14 to 17, etc. of the electronic control system S to the in-vehicle network, at the survival signal acquisition unit 102 connected to the in-vehicle network. In the case of the arrangement shown in FIG. 1(b), the survival signal acquired is obtained by receiving the survival signal output by the security sensor mounted in the TCU 11, CGW 13, or ECUs 14 to 17, etc. of the electronic control system S to the in-vehicle network and transmitted from the TCU 11 using wireless communication, at the survival signal acquisition unit 102 connected to a network such as the Internet.
[0049] Here, the "alive signal" refers to a signal that directly or indirectly indicates whether or not a security sensor is operating and / or whether or not the security sensor is operating normally.
[0050] The security log acquisition unit 101 and the alive signal acquisition unit 102 may be realized by a single acquisition unit.
[0051] The prediction table storage unit 103 stores a prediction table indicating a correspondence relationship between a predicted attack path specified by a predicted attack starting point and a predicted attack target in the electronic control system S, and a predicted anomaly detection signal predicted to be generated by a security sensor. The prediction table is sometimes called a pattern matching table or a matching table.
[0052] Fig. 4 is a diagram showing an example of a prediction table. The prediction table in Fig. 4 associates which security sensor mounted on each ECU will detect an abnormality when an attack is made from a predicted attack starting point to a predicted attack target. In Fig. 4, 1 represents a state in which an abnormality is detected, and 0 represents a state in which an abnormality is not detected. In other words, the predicted attack starting point and the predicted attack target in Fig. 4 correspond to a "predicted attack path", and 0 or 1 of each security sensor corresponds to a "predicted abnormality detection signal". For example, event E1 indicates that when the predicted attack path has an external attack starting point and a predicted attack target of CGW 13, security sensors E, F, and G of CGW 13 detect an anomaly, i.e., output a predicted anomaly detection signal. Events E2 and E3 are also associated with the predicted attack path and the predicted anomaly detection signal by the same rule.
[0053] In this embodiment, the predicted attack path is determined by the predicted attack starting point and the predicted attack target, but may also include information on the ECUs that are passed through between the predicted attack starting point and the predicted attack target.
[0054] In this embodiment, the patterns of predicted abnormality detection signals from the security sensors of the TCU 11, CGW 13, and ECU 14 are used, but the patterns of predicted abnormality detection signals from security sensors mounted on the other ECUs may also be used.
[0055] Returning to FIG. 3, the attack path estimation unit 104 uses a prediction table to estimate the attack path of the attack on the electronic control system from the abnormality detection signal and survival signal contained in the security log.
[0056] Preferably, the attack path estimation unit 104 includes a predicted attack path candidate selection unit 106 . More preferably, the attack path estimation unit 104 includes a reliability calculation unit 107 .
[0057] The predicted attack path candidate selection unit 106 uses the prediction table to compare the anomaly detection signal with the predicted anomaly detection signal, thereby selecting predicted attack path candidates from the predicted attack paths. The reliability calculation unit 107 uses the survival signal to calculate the "reliability" indicating the likelihood of a predicted attack path candidate.
[0058] Here, the "reliability" is sufficient as long as it indicates the degree of certainty, and includes cases where it is indicated by a numerical value, a normalized value, a symbol, or a set.
[0059] The attack information output unit 105 outputs attack information indicating the attack path estimated by the attack path estimation unit 104. Desirably, the attack information output unit 105 outputs the attack information as an estimated attack path, which is the predicted attack path candidate selected by the predicted attack path candidate selection unit 106. More preferably, the attack information output unit 105 outputs the attack information as an attack path estimated from the predicted attack path candidates selected by the predicted attack path candidate selection unit 106 and the reliability calculated by the reliability calculation unit 107.
[0060] Hereinafter, as an embodiment, a specific estimation method of the attack path estimation unit 104 and the contents of the attack information output by the attack information output unit 105 will be described with reference to Fig. 5 to Fig. 7. Fig. 5 to Fig. 7 are diagrams for explaining a method of selecting predicted attack path candidates and a method of calculating reliability using the prediction table in Fig. 4.
[0061] (a) Example 1 In this embodiment, the reliability calculated from the prediction table is corrected using a survival signal. The process will be described below with reference to FIG.
[0062] It is assumed that the security sensor F of the CGW 13 outputs an abnormality detection signal, and that the security log acquisition unit 101 receives this abnormality detection signal. It is also assumed that the security sensor A of the TCU 11 outputs a survival signal indicating that the operation of the security sensor A itself is abnormal, and that the survival signal acquisition unit 102 receives this survival signal.
[0063] The predicted attack path candidate selection unit 106 selects an event in which the security sensor F detects a predicted anomaly detection signal from the prediction table by comparing the anomaly detection signal with the predicted anomaly detection signal. In the case of Fig. 5, the events in which the security sensor F detects a predicted anomaly detection signal are event E1 and event E3, so event E1 and event E3 are selected as predicted attack path candidates.
[0064] The reliability calculation unit 107 calculates the reliability of the predicted attack path candidates selected by the predicted attack path candidate selection unit 106. For example, the reliability is calculated using the ratio of the anomaly detection signal of each predicted attack path candidate to the predicted anomaly detection signal, weighting based on the importance of the sensor, or other predetermined calculation. For the event E1, the reliability is set to 0.5 by a predetermined calculation, considering that the anomaly detection signal is only from security sensor F, while the predicted anomaly detection signal is from security sensors E, F, and G. For the event E3, the reliability is set to 0.4 by a predetermined calculation, considering that the anomaly detection signal is only from security sensor F, while the predicted anomaly detection signal is from security sensors A, D, F, and G.
[0065] Furthermore, since the survival signal indicates that "the operation of security sensor A itself is abnormal," the reliability calculation unit 107 performs processing to increase the reliability of predicted attack path candidates in which the TCU11 having security sensor A (corresponding to "abnormal security sensor") is included in the path. In the case of FIG. 5, since event E3 is the event that definitely includes the TCU11 between the predicted attack starting point and the predicted attack target, a predetermined value, α in this embodiment, is added to the reliability of event E3, and this is set as the new reliability of event E3. α may be a constant or a variable that changes depending on conditions. Note that event E1 may pass through IVI12 as an entry point, and it cannot be said that TCU11 is definitely included in the path, so the reliability is not corrected.
[0066] Here, "the operation of the security sensor itself is abnormal" means that the security sensor is not working or is not working normally.
[0067] The attack information output unit 105 outputs attack information with the events E1 and E3, which are predicted attack path candidates, as attack paths. At this time, the attack path may also include the reliability of the event E1 (0.5) and the reliability of the circumstance E3 (0.4+α).
[0068] In the explanation of this embodiment, the case where a survival signal of security sensor A is received is taken as an example, but if the survival signal is not received, the same processing is performed assuming that security sensor A is not operating. In other words, the concept of "the case where the survival signal indicates that the operation of the security sensor itself is abnormal" also includes "the case where the failure to receive a survival signal indicates that the operation of the security sensor itself is abnormal." The same applies to the embodiment 2 described below.
[0069] In addition, in the description of this embodiment, the reliability is first calculated without using the survival signal, and then the reliability is corrected using the survival signal, but the reliability may be calculated without using such two-stage calculation. The same applies to the embodiment 3 described later.
[0070] According to this embodiment, since the reliability is obtained using a survival signal in addition to the conventional anomaly detection signal, the accuracy of the estimation by the attack path estimation unit 104 can be improved. Furthermore, the reliability calculation method takes into account the possibility that the security sensor may be operating abnormally due to an attack, thereby improving the accuracy of estimating the attack path.
[0071] (b) Example 2 In this embodiment, a survival signal is used to determine the reliability by limiting the portion of the prediction table to be used. The process will be described below with reference to FIG.
[0072] The received abnormality detection signal and survival signal are the same as those in the embodiment 1. That is, it is assumed that the security sensor F of the CGW 13 outputs an abnormality detection signal, and the security log acquisition unit 101 receives this abnormality detection signal. It is also assumed that the security sensor A of the TCU 11 outputs a survival signal indicating that the operation of the security sensor A itself is abnormal, and the survival signal acquisition unit 102 receives this survival signal.
[0073] The operation of the predicted attack path candidate selection unit 106 is also the same as in the first embodiment. That is, the predicted attack path candidate selection unit 106 selects an event in which the security sensor F detects a predicted anomaly detection signal from the prediction table by comparing the anomaly detection signal with the predicted anomaly detection signal. In the case of Fig. 6, the events in which the security sensor F detects a predicted anomaly detection signal are the events E1 and E3, so the events E1 and E3 are selected as predicted attack path candidates.
[0074] The reliability calculation unit 107 calculates the reliability of the predicted attack path candidates selected by the predicted attack path candidate selection unit 106. However, if the survival signal indicates that "the operation of security sensor A itself is abnormal", the predicted anomaly detection signal corresponding to security sensor A (corresponding to "abnormal security sensor") is not used in calculating the reliability.
[0075] In this embodiment, the reliability is calculated using the same calculation as in the first embodiment. For event E1, the abnormality detection signal is only from security sensor F, while the predicted abnormality detection signals are from security sensors E, F, and G, so the reliability is set to 0.5 using a predetermined calculation. In contrast, for event E3, the abnormality detection signal is only from security sensor F, while the predicted abnormality detection signals are from security sensors A, D, F, and G. However, since the survival signal indicates that the operation of security sensor A itself is abnormal, the predicted abnormality detection signal of security sensor A is not used in calculating the reliability. As a result, the reliability is set to 0.5.
[0076] The attack information output unit 105 outputs attack information with the events E1 and E3, which are predicted attack path candidates, as attack paths. At this time, the attack path may also include the reliability of the event E1 (0.5) and the reliability of the circumstance E3 (0.5).
[0077] According to this embodiment, since the reliability is obtained using a survival signal in addition to the conventional anomaly detection signal, the accuracy of the estimation by the attack path estimation unit 104 can be improved. Furthermore, the reliability calculation method takes into account the possibility that the security sensor may be operating abnormally due to an attack, thereby improving the accuracy of estimating the attack path.
[0078] (c) Example 3 This embodiment is an example of a case where the security sensor indicates that it is operating normally, unlike the first and second embodiments. The process will be described below with reference to FIG.
[0079] The received abnormality detection signal is the same as in the first embodiment. That is, it is assumed that the security sensor F of the CGW 13 outputs an abnormality detection signal, and the security log acquisition unit 101 receives this abnormality detection signal. In contrast, in this embodiment, it is assumed that the security sensor J of the ECU 14 outputs a survival signal indicating that the operation of the security sensor J itself is normal, and the survival signal acquisition unit 102 receives this survival signal.
[0080] The operation of the predicted attack path candidate selection unit 106 is the same as in the first embodiment. That is, the predicted attack path candidate selection unit 106 selects an event in which the security sensor F detects a predicted anomaly detection signal from the prediction table by comparing the anomaly detection signal with the predicted anomaly detection signal. In the case of Fig. 7, the events in which the security sensor F detects a predicted anomaly detection signal are the events E1 and E3, so the events E1 and E3 are selected as predicted attack path candidates.
[0081] The method of calculating the reliability in reliability calculation unit 107 is the same as in the first embodiment. That is, the reliability of event E1 is 0.5, and the reliability of event E3 is 0.4.
[0082] Furthermore, since the survival signal indicates that "the operation of the security sensor J itself is normal," the reliability calculation unit 107 performs processing to increase the reliability of predicted attack path candidates that do not include the ECU 14 having the security sensor J (corresponding to a "normal security sensor"). In the case of FIG. 7, events E1 and E3 are events that do not include the ECU 14 between the predicted attack starting point and the predicted attack target, so a predetermined value, α in this embodiment, is added to the reliability of events E1 and E3, and this is set as the new reliability of events E1 and E3. α may be a constant or a variable that changes depending on conditions.
[0083] Here, "the security sensor itself is operating normally" means that the security sensor is operating and is operating normally.
[0084] The attack information output unit 105 outputs attack information with the events E1 and E3, which are predicted attack path candidates, as attack paths. At this time, the attack path may also include the reliability of the event E1 (0.5+α) and the reliability of the circumstance E3 (0.4+α).
[0085] According to this embodiment, since the reliability is obtained using a survival signal in addition to the conventional anomaly detection signal, the accuracy of the estimation by the attack path estimation unit 104 can be improved. Furthermore, since the reliability calculation method takes into account that the security sensor is operating normally, the accuracy of estimating the attack path can be improved.
[0086] (d) Other Examples In the first embodiment, whether or not the reliability needs to be corrected is determined based on whether or not an ECU equipped with a security sensor whose operation is abnormal is included in the predicted attack path. This is equivalent to determining whether or not the reliability needs to be corrected based on whether or not the security sensor whose operation is abnormal itself is included in the predicted attack path. In the first embodiment, the necessity of correcting the reliability may be determined based on whether a layer including an ECU equipped with a security sensor that is operating abnormally is included in the predicted attack path. The same applies to the third embodiment.
[0087] In the first to third embodiments, all of the predicted attack path candidates selected by the predicted attack path candidate selection unit 106 are output as attack paths from the attack information output unit 105, but only a part of the predicted attack path candidates may be output as attack paths. For example, the predicted attack path candidates with the third highest reliability may be output as attack paths.
[0088] In the first to third embodiments, only events having predicted attack paths in the prediction table are taken up, but in addition to this, a false reaction of the security sensor itself may be added to the events. In the case of Figs. 4 to 7, E5 is an event indicating a false reaction of the security sensor itself.
[0089] (4) Operation of the Attack Analysis Device 100 The operation of the attack analysis device 100 will be described with reference to Fig. 8. Fig. 8 not only shows an attack analysis method executed by the attack analysis device 100, but also shows the processing procedure of an attack analysis program that can be executed by the attack analysis device 100. The order of these processes is not limited to the order shown in Fig. 8. In other words, the order may be changed as long as there is no constraint such as a relationship in which a certain step utilizes the result of the previous step.
[0090] The attack analysis device 100 has a prediction table storage unit (103) that stores a prediction table showing the correspondence between a predicted attack path identified by a predicted attack starting point and a predicted attack target in the electronic control system S, and a predicted anomaly detection signal predicted to be generated by a security sensor.
[0091] A security log is acquired which is generated by a security sensor mounted on an electronic control device constituting an electronic control system S and which includes an abnormality detection signal indicating that the security sensor has detected an abnormality (S101).
[0092] A survival signal from a security sensor is acquired (S102).
[0093] The prediction table is read from the prediction table storage unit 103, and the attack path of the attack on the electronic control system S is estimated from the abnormality detection signal included in the security log acquired in S101 and the survival signal acquired in S102 (S103).
[0094] Attack information indicating the attack path estimated in S103 is output (S104).
[0095] (5) Summary As described above, according to the attack analysis device 100 of the present disclosure, when the electronic control system S is subjected to a cyber-attack, the reliability of the estimated attack path is obtained using the survival signal of the security sensor mounted on the electronic control device constituting the electronic control system S. The survival signal is a signal that allows objective evaluation of the aliveness of the security sensor's function and whether the security sensor's operation is normal or abnormal, so by using the survival signal to evaluate the reliability of the attack path, it is possible to estimate the attack path more accurately than when only the conventional abnormality detection signal is used. The survival signal can also be used to estimate the damage caused by an attack, for example, if a security sensor is disabled or if an ECU is manipulated by an attacker.
[0096] 2.Other inventions In the first embodiment, the reliability of the attack path is calculated using the survival signal or the contents of the survival signal. However, the setting information of the security sensor exemplified as the contents of the survival signal can be output to the in-vehicle network as a signal separate from the survival signal. When using such setting information of the security sensor, it is not necessary to use the survival signal to calculate the reliability of the attack path. Examples of the security sensor configuration information include the abnormality pattern of the security sensor, a white list, a black list, a transmission cycle, version information of the security sensor, and a certificate.
[0097] When the setting information of the security sensor is used instead of the survival signal, the following invention can be understood.
[0098] a security log acquisition unit (101) that acquires a security log generated by a security sensor mounted on an electronic control device constituting an electronic control system and that includes an abnormality detection signal indicating that the security sensor has detected an abnormality; a survival signal acquisition unit that acquires setting information of the security sensor; a prediction table storage unit (103) that stores a prediction table indicating a correspondence relationship between a predicted attack path in the electronic control system and a predicted anomaly detection signal that is predicted to be generated by the security sensor; an attack path estimation unit (104) that estimates an attack path of an attack on the electronic control system from the abnormality detection signal and the setting information included in the security log using the prediction table; and an attack information output unit (105) that outputs attack information indicating the attack path. An attack analysis device (100).
[0099] 3. Summary The features of the attack analysis device and the like in each embodiment of the present invention have been described above.
[0100] The terms used in each embodiment are merely examples and may be replaced with synonymous terms or terms having the same functions.
[0101] The block diagrams used to explain the embodiments classify and organize the configuration of the device by function. The blocks showing the respective functions are realized by any combination of hardware or software. In addition, since the block diagrams show the functions, they can also be understood as disclosures of a method invention and a program invention that realizes the method.
[0102] The order of the functional blocks that can be understood as the processes, flows, and methods described in each embodiment may be changed as long as there are no constraints such as a relationship in which one step utilizes the results of another step prior to it.
[0103] The terms first, second, through Nth (N is an integer) used in each embodiment and in the claims are used to distinguish two or more configurations or methods of the same type, and do not limit the order or superiority or inferiority.
[0104] Each embodiment is based on a vehicle attack analysis device for analyzing attacks against electronic control systems installed in a vehicle, but the present invention also includes dedicated or general-purpose devices other than those for vehicles, unless otherwise limited in the claims.
[0105] Moreover, examples of the form of the attack analysis device of the present invention include the following. Examples of the component form include a semiconductor element, an electronic circuit, a module, and a microcomputer. Examples of semi-finished products include electronic control units (ECUs (Electric Control Units)) and system boards. Finished product forms include mobile phones, smartphones, tablets, personal computers (PCs), workstations, and servers. Other examples include devices with communication functions, such as video cameras, still cameras, and car navigation systems.
[0106] Additionally, necessary functions such as an antenna and a communication interface may be added to the attack analysis device.
[0107] It is assumed that the attack analysis device of the present invention will be used, particularly on the server side, for the purpose of providing various services. In providing such services, the attack analysis device of the present invention will be used, the method of the present invention will be used, and / or the program of the present invention will be executed.
[0108] In addition, the present invention can be realized not only by dedicated hardware having the configuration and functions described in each embodiment, but also as a combination of a program for realizing the present invention recorded on a recording medium such as a memory or a hard disk, and general-purpose hardware having a dedicated or general-purpose CPU and memory capable of executing the program.
[0109] A program stored in a non-transient physical recording medium (for example, an external storage device (hard disk, USB memory, CD / BD, etc.) or an internal storage device (RAM, ROM, etc.)) of dedicated or general-purpose hardware can be provided to the dedicated or general-purpose hardware via a recording medium, or via a communication line from a server without using a recording medium. This makes it possible to always provide the latest functions through program upgrades. [Industrial Applicability]
[0110] The attack analysis device of the present invention is intended primarily for analyzing cyber-attacks received by electronic control systems installed in automobiles, but may also be intended for analyzing attacks against normal systems not installed in automobiles. [Explanation of symbols]
[0111] 100 Attack analysis device, 101 Security log acquisition unit, 102 Survival signal acquisition unit, 103 Prediction table storage unit, 104 Attack path estimation unit, 105 Attack information output unit, 106 Predicted attack path candidate selection unit, 107 Reliability calculation unit
Claims
1. a security log acquisition unit (101) that acquires a security log generated by a security sensor mounted on an electronic control device constituting an electronic control system and that includes an abnormality detection signal indicating that the security sensor has detected an abnormality; a survival signal acquisition unit (102) for acquiring a survival signal of the security sensor; a prediction table storage unit (103) for storing a prediction table indicating a correspondence relationship between a predicted attack path in the electronic control system and a predicted anomaly detection signal predicted to be generated by the security sensor; an attack path estimation unit (104) that estimates an attack path of an attack on the electronic control system from the abnormality detection signal and the survival signal included in the security log using the prediction table; an attack information output unit (105) that outputs attack information indicating the attack path; The attack path estimation unit is a predicted attack path candidate selection unit (106) that selects predicted attack path candidates from the predicted attack paths by comparing the anomaly detection signal with the predicted anomaly detection signal using the prediction table; a reliability calculation unit (107) that uses the survival signal to calculate a reliability indicating the likelihood of the predicted attack path candidate, the attack information output unit outputs the attack information, the predicted attack path candidates and the reliability as the attack paths. Attack analysis device (100).
2. If the alive signal indicates that the security sensor itself is operating abnormally, The reliability calculation unit performs a process of increasing the reliability of a predicted attack path candidate whose path includes the anomaly security sensor, which is the security sensor. The attack analysis device according to claim 1 .
3. If the alive signal indicates that the security sensor itself is operating abnormally, the reliability calculation unit does not use the predicted anomaly detection signal corresponding to the anomaly security sensor that is the security sensor in calculating the reliability, The attack analysis device according to claim 1 .
4. If the alive signal indicates that the security sensor itself is operating normally, The reliability calculation unit performs a process of increasing the reliability of a predicted attack path candidate in which a normal security sensor, which is the security sensor, is not included in the path. The attack analysis device according to claim 1 .
5. The alive signal is transmitted from the security sensor at a predetermined period. The attack analysis device according to any one of claims 1 to 4.
6. The predicted attack path is specified by a predicted attack starting point and a predicted attack target. The attack analysis device according to claim 1 .
7. The electronic control system and the attack analysis device are mounted on a moving object. The attack analysis device according to any one of claims 1 to 6.
8. The electronic control system is mounted on a moving object, The attack analysis device is a server device installed outside the mobile object. The attack analysis device according to any one of claims 1 to 6.
9. An attack analysis method executed by an attack analysis device, the attack analysis device having a prediction table storage unit (103) for storing a prediction table indicating a correspondence relationship between a predicted attack path in an electronic control system and a predicted anomaly detection signal predicted to be generated by a security sensor, The attack analysis method includes: A security log is acquired (S101), which is generated by the security sensor mounted on the electronic control device constituting the electronic control system and includes an abnormality detection signal indicating that the security sensor has detected an abnormality. Acquire a survival signal from the security sensor (S102); The prediction table is read, and an attack path of the attack on the electronic control system is estimated from the abnormality detection signal and the survival signal included in the security log (S103). Outputting attack information indicating the attack path (S104); It is an attack analysis method, The attack path estimation is selecting predicted attack path candidates from the predicted attack paths by comparing the anomaly detection signal with the predicted anomaly detection signal using the prediction table; Using the survival signal, a reliability indicating the likelihood of the predicted attack path candidate is calculated; and outputting the attack information by using the predicted attack path candidates and the reliability as the attack paths. Attack analysis method.
10. An attack analysis program executable by an attack analysis device, the attack analysis device having a prediction table storage unit (103) for storing a prediction table indicating a correspondence relationship between a predicted attack path in an electronic control system and a predicted anomaly detection signal predicted to be generated by a security sensor, The attack analysis program: A security log is acquired (S101), which is generated by the security sensor mounted on the electronic control device constituting the electronic control system and includes an abnormality detection signal indicating that the security sensor has detected an abnormality. Acquire a survival signal from the security sensor (S102); The prediction table is read, and an attack path of the attack on the electronic control system is estimated from the abnormality detection signal and the survival signal included in the security log (S103). Outputting attack information indicating the attack path (S104); It is an attack analysis program, The attack path estimation is selecting predicted attack path candidates from the predicted attack paths by comparing the anomaly detection signal with the predicted anomaly detection signal using the prediction table; Using the survival signal, a reliability indicating the likelihood of the predicted attack path candidate is calculated; and outputting the attack information by using the predicted attack path candidates and the reliability as the attack paths. Attack analysis program.
Citation Information
Patent Citations
Vehicle controller
JP2019028506A
On-vehicle communication device, on-vehicle communication system, and on-vehicle communication method
JP2019080119A
System for vehicle and control method
JP2019125344A
Abnormality detection device, abnormality detection method, and program
JP2019174426A
Security device, attack specification method, and program
JP2020123307A
