Electronic control device, authentication method, and authentication program
Patent Information
- Application Number
- JP2023065145
- Authority / Receiving Office
- JP · JP
- Patent Type
- Applications
- Current Assignee / Owner
- Filing Date
- 2023-04-12
- Publication Date
- 2024-10-25
- Estimated Expiration
- 2043-04-12
AI Technical Summary
【0010】 上述のような構成により、本開示の電子制御装置等によれば、グリッチ攻撃を受けた場合であっても、認証処理をスキップせずに実行することが可能となる。
Smart Images

Figure 2024151636000001_ABST
Abstract
Description
[Technical field]
[0001] The present invention mainly relates to an electronic control unit that performs authentication processing, and an authentication method and an authentication program executed in the electronic control unit. [Background technology]
[0002] With the development of the so-called IoT (Internet of Things), which connects various devices to networks, the need for measures against cyber attacks is increasing. One type of cyber attack is a glitch attack, which is a type of fault injection attack. A glitch attack is known as an attack that causes a device to malfunction by injecting an abnormality called a glitch into the device. For example, an attacker injects a voltage or clock as a glitch into an electronic control device. When such a glitch attack occurs, the process that was scheduled to be executed at that clock may be skipped.
[0003] One possible countermeasure against glitch attacks is to equip the device with a voltage sensor or a clock sensor. The voltage sensor or clock sensor can detect a glitch injected by an attack, thereby detecting a glitch attack. For example, Patent Document 1 discloses that a supply voltage glitch detector provided in a monolithic integrated circuit device detects a glitch in the supply voltage.
[0004] Another countermeasure against glitch attacks is to perform two authentication processes at the same time, which significantly reduces the possibility of the attack succeeding because the attacker needs to perform a glitch attack at each of the two authentication processes. [Prior art documents] [Patent documents]
[0005] [Patent Document 1] JP 2015-228639 A Summary of the Invention [Problem to be solved by the invention]
[0006] Here, the present inventors have conducted detailed studies and found the following problems. In the method of detecting glitches using a voltage sensor or the like, it is necessary to provide a voltage sensor or the like in the device, which entails hardware modifications, and therefore increases the introduction cost. Furthermore, although this method can detect glitch attacks, it cannot prevent the glitch attacks themselves. On the other hand, in the method of preventing glitch attacks by doubling the authentication process, in addition to increasing the communication time required for authentication by performing the authentication process twice, it is necessary to modify the communication specifications and rewrite the programs not only in the device performing the authentication process but also in the device receiving the authentication. Therefore, it is desirable to prevent glitch attacks without modifying the hardware or increasing the communication time.
[0007] Therefore, an object of the present invention is to realize an electronic control device or the like that can prevent glitch attacks using a simple method without modifying hardware or increasing communication time. [Means for solving the problem]
[0008] An electronic control device (100) according to one embodiment of the present disclosure includes a request acquisition unit (101) that acquires an authentication request from another device (10), a timing determination unit (102) that, when the authentication request is acquired, randomly determines the timing of performing authentication processing for the authentication request, and an authentication unit (103) that performs the authentication processing at the timing determined by the timing determination unit.
[0009] 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
[0010] With the above-described configuration, the electronic control device and the like disclosed herein can execute the authentication process without skipping it even when a glitch attack is performed. [Brief description of the drawings]
[0011] [Figure 1] FIG. 1 is a diagram illustrating the arrangement of electronic control devices and related devices according to each embodiment. [Diagram 2] FIG. 1 is a diagram for explaining a configuration example of an electronic control device according to a first embodiment; [Diagram 3] FIG. 1 is a diagram for explaining the operation of the electronic control device according to the first embodiment; [Figure 4] FIG. 1 is a diagram for explaining the operation of the electronic control device and the connected device according to the first embodiment; [Diagram 5] A diagram explaining the relationship between the authentication process of an electronic control device and glitch attacks. [Figure 6] FIG. 11 is a diagram for explaining the operation of the electronic control device according to the second embodiment. [Figure 7] FIG. 11 is a diagram for explaining the operation of the electronic control device according to the second embodiment. [Figure 8] FIG. 1 is a diagram for explaining a configuration example of an electronic control system according to a modified example of each embodiment. [Figure 9] FIG. 1 is a diagram for explaining a configuration example of an electronic control device included in an electronic control system according to a modified example of each embodiment. DETAILED DESCRIPTION OF THE PREFERRED EMBODIMENTS
[0012] Hereinafter, an embodiment of the present invention will be described with reference to the drawings.
[0013] 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.
[0014] 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.
[0015] 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.
[0016] 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.
[0017] 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.
[0018] 1. Layout of the electronic control device common to each embodiment and its relationship with related devices Fig. 1 is a diagram for explaining the arrangement of the electronic control device 100 in each embodiment and the relationship with related devices. As shown in Fig. 1(a), for example, the electronic control device 100 is assumed to be "mounted" on a vehicle, which is a "moving body," together with a connected device 10, and as shown in Fig. 1(b), the electronic control device 100 is mounted on the vehicle and the connected device 10 is a device provided outside the vehicle.
[0019] Here, the term "mobile body" refers to an object that can move and can move at any speed. It also includes cases where the mobile body is stationary. For example, it includes, but is not limited to, automobiles, motorcycles, bicycles, and objects mounted on these vehicles. "Mounted" includes not only the case where it is directly fixed to the moving body, but also the case where it is not fixed to the moving body but moves with the moving body. For example, it can be carried by a person riding in a vehicle that is a moving body, or it can be mounted on cargo placed on the moving body.
[0020] The electronic control 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. The electronic control device 100 can be configured to perform the functions of each functional block shown in Fig. 2 described later by executing software on this hardware. Of course, the electronic control device 100 may be realized by dedicated hardware such as an LSI.
[0021] In the following embodiments, the electronic control device 100 is assumed to be in the form of a semi-finished electronic control device, 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, a microcomputer, or a system board, and the form of a finished product may be a server, a workstation, a personal computer (PC), a tablet, a mobile router, a smartphone, a mobile phone, or a navigation system. The electronic control device 100 may be composed of a single ECU or multiple ECUs.
[0022] The connection device 10 may take any form as long as it is communicably connected to the electronic control device 100. That is, like the electronic control device 100, the connection device 10 may be a part, a semi-finished product, or a finished product. For example, in the example shown in FIG. 1(a), the connection device 10 is another electronic control device mounted on a vehicle, and in the example shown in FIG. 1(b), the connection device 10 may be a server, a mobile terminal, or a digital key for the vehicle.
[0023] 2. First embodiment (1) Configuration of Electronic Control Unit 100 An example of the configuration of the electronic control unit 100 will be described with reference to Fig. 2. The electronic control unit 100 includes a request acquisition unit 101, a timing determination unit 102, an authentication unit 103, a communication unit 104, and an application execution unit 105.
[0024] The request acquisition unit 101 acquires an authentication request from a connection device (corresponding to “another device”) 10 connected to the electronic control device 100.
[0025] In this embodiment, a case will be described in which the connection device 10 requests authentication from the electronic control device 100 in order to execute an application installed in the electronic control device 100, but the present invention is not limited to this example. For example, if the electronic control device 100 is a device that provides an interface for accessing a resource for debugging, authentication may be required to prevent unauthorized access to the resource. Therefore, the connection device 10 may request authentication from the electronic control device 100 in order to use a debugging function that the electronic control device 100 has.
[0026] When the request acquisition unit 101 acquires an authentication request from the connection device 10, the timing determination unit 102 randomly determines the "timing" for performing authentication processing for the authentication request. Hereinafter, the timing determined by the timing determination unit 102 is referred to as authentication timing. The timing determination unit 102 randomly determines the authentication timing using, for example, a random number generation function (not shown).
[0027] The timing determination unit 102 may determine the authentication timing by randomly determining the time when the authentication unit 103 executes the authentication process, or may determine the authentication timing by randomly determining the "period" from when the electronic control device 100 executes a predetermined process until when the authentication unit 103 executes the authentication process. The authentication timing will be described later in detail.
[0028] Here, determining the "timing" includes determining the specific time at which the authentication process is to be performed, as well as determining the length of time until the authentication process is to be performed. The "period" may refer to any time interval, and includes not only time but also the number of clock pulses.
[0029] The authentication unit 103 performs authentication processing at the authentication timing determined by the timing determination unit 102. In this embodiment, an example is described in which the authentication unit 103 performs authentication processing using a challenge-response method. However, the authentication unit 103 can perform authentication processing using any method. For example, the authentication unit 103 may perform authentication processing using a method such as a digital signature method, a Message Authentication Code (MAC) method, or a Salted Challenge Response Authentication Mechanism (SCRAM) method.
[0030] The communication unit 104 communicates with the connection device 10 based on an instruction from the authentication unit 103. For example, when the authentication unit 103 performs authentication processing using a challenge-response method, the communication unit 104 transmits challenge information generated by the authentication unit 103 to the connection device 10 based on an instruction from the authentication unit 103, and receives response information transmitted from the connection device 10.
[0031] If the authentication process by the authentication unit 103 is successful, the application execution unit 105 executes the application.
[0032] Next, the authentication timing determined by the timing determination unit 102 will be described. As described above, the authentication unit 103 of this embodiment performs authentication processing using a challenge-response method. Therefore, the timing determination unit 102 of this embodiment determines the period from when challenge information is transmitted to the connected device 10 until when authentication processing is performed as the authentication timing. As an example, the timing determination unit 102 determines the authentication timing by setting the time corresponding to a random number generated by a random number generation function as the time from when challenge information is transmitted until when authentication processing is performed.
[0033] In another example, the timing determination unit 102 may determine the time from when the request acquisition unit 101 acquires an authentication request to when the authentication process is performed as the authentication timing. As in the above example, the timing determination unit 102 determines the authentication timing by setting the time corresponding to the random number generated by the random number generation function as the time from when the authentication request is acquired to when the authentication process is performed.
[0034] In yet another example, the timing determination unit 102 may determine, as the authentication timing, a period that is a difference between a reference timing, which is a reference timing for the authentication unit 103 to perform the authentication process, and the timing when the authentication unit 103 actually performs the authentication process. For example, it is assumed that the reference timing for the authentication unit 103 to perform the authentication process is set to 100 msec after the request acquisition unit 101 acquires an authentication request. In this case, the timing determination unit 102 randomly determines the period that is a difference between the reference timing and the timing when the authentication unit 103 performs the authentication process. For example, if the period randomly determined by the timing determination unit 102 is 5 msec, the authentication timing is determined to be 5 msec after the reference timing.
[0035] In yet another example, the timing determination unit 102 may determine the authentication timing based on the number of clock pulses instead of time. The electronic control device 100 operates in response to clock pulses. The timing determination unit 102 determines, as the authentication timing, the number of clock pulses from when challenge information is transmitted to the connected device 10 until when authentication processing is performed, the number of clock pulses from when an authentication request is obtained until when the authentication unit 103 performs authentication processing, or the number of clock pulses that is the difference between a reference timing and the timing when the authentication unit 103 performs authentication processing.
[0036] In some cases, a time limit is set for the time from when an authentication request is obtained until the authentication process is completed. In such a case, if the authentication process is not completed within the time limit, the authentication process is determined to have failed. Therefore, when a time limit is set, the timing determination unit 103 may randomly determine the authentication timing so that the authentication process is completed within the predetermined time limit.
[0037] (2) Operation of the Electronic Control Unit 100 Next, the operation of the electronic control device 100 and the connection device 10 connected to the electronic control device 100 will be described with reference to Figs. 3 and 4. Figs. 3 and 4 not only show an authentication method executed by the electronic control device 100, but also show a processing procedure of an authentication program executable by the electronic control device 100. The order of these processes is not limited to the order shown in Figs. 3 and 4. That is, 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. Moreover, the processes common to Figs. 3 and 4 will be described with the same reference numerals. The same applies to Figs. 6 and 7 described later.
[0038] The request acquisition unit 101 acquires an authentication request from the connection device 10 (S101). The timing determination unit 102 randomly determines the timing for performing the authentication process for the authentication request acquired in S101 (S102). For example, the timing determination unit 102 determines the period from when the communication unit 104 transmits the challenge information to when the authentication unit 103 performs the authentication process as the authentication timing. The authentication unit 103 generates challenge information in order to perform authentication processing using the challenge-response method (S103). Based on an instruction from the authentication unit 103, the communication unit 104 transmits the challenge information generated in S102 to the connection device 10 (S104). At this time, the authentication unit 103 starts measuring the period from when the challenge information was transmitted in S104.
[0039] When the connection device 10 receives the challenge information from the electronic control device 100, the connection device 10 generates response information using the received challenge information (S11). Then, the connection device 10 transmits the generated response information to the electronic control device 100.
[0040] The communication unit 104 receives the response information from the connection device 10 (S105). Here, if the authentication timing has arrived (S106: Y), that is, if the period determined in S102 has elapsed since the communication unit 104 transmitted challenge information to the connection device 10 in S103, the authentication unit 103 executes authentication processing (S107).
[0041] If the authentication unit 103 executes the authentication process in S107 and the authentication is successful (S108), the application execution unit 105 executes the application (S109).
[0042] 3 and 4 show an example of the operation of the electronic control device 100 when the authentication unit 103 performs authentication processing using a challenge-response method. Therefore, when the authentication unit 103 performs authentication processing using a different method, the processing shown in Fig. 3 and 4 is appropriately changed depending on the method. For example, when a method other than the challenge-response method is used, the processing of S103 to S105 in Fig. 3 and 4 is not executed.
[0043] (3) Relationship between the electronic control device 100 and glitch attacks Next, the relationship between the electronic control device 100 and a glitch attack will be described with reference to Fig. 5. Fig. 5(a) is a diagram for explaining a conventional authentication process, and Fig. 5(b) is a diagram for explaining the authentication process according to this embodiment.
[0044] Fig. 5(a) shows an outline of a series of processes in which authentication is performed a predetermined period after the communication unit 104 sends challenge information to the connection device 10, and an application is executed if the authentication is successful. Fig. 5(a) also shows a voltage change caused by a glitch attack and a clock pulse caused by the voltage change.
[0045] In the conventional authentication process, the authentication process is executed after a predetermined period has elapsed since the electronic control device 100 sent the challenge information, so there is a possibility that a glitch attack will be made targeting the timing of the execution of the authentication process. FIG. 5(a) shows a case where a glitch attack is made at the timing of the execution of the authentication process. For example, when a voltage is applied by a power supply glitch attack, an abnormal clock pulse is generated. Alternatively, an abnormal clock pulse may be directly generated by a clock glitch attack. In this case, the process that was scheduled to be executed at the corresponding clock may be skipped. In FIG. 5(a), the authentication process was scheduled to be executed at the corresponding clock, but the authentication process is skipped due to the generation of an abnormal clock pulse. As a result, the application is executed regardless of whether the authentication process is successful or not.
[0046] In contrast, Fig. 5(b) shows the authentication process according to this embodiment. As described above, in this embodiment, the period from when the communication unit 104 transmits the challenge information to when the authentication unit 103 executes the authentication process is randomly determined by the timing determination unit 102. Therefore, an attacker cannot predict the timing of execution of the authentication process, and the possibility of a glitch attack occurring at the timing of execution of the authentication process is low. As a result, the authentication process is executed normally because the timing of the glitch attack, and therefore the timing of the generation of an abnormal clock pulse, differs from the timing of execution of the authentication process.
[0047] Note that the period from when the communication unit 104 transmits the challenge information to when the authentication process is executed is longer than the predetermined period shown in FIG. 5(a) in the randomly determined period of this embodiment shown in FIG. 5(b). Therefore, a waiting time occurs from when the communication unit 104 receives the response information to when the authentication unit 103 executes the authentication process. Therefore, the application execution unit 105 may advance the processing required for the execution of the application during the waiting time until the authentication unit 103 executes the authentication process. However, since the processing performed by the application execution unit 105 during the waiting time is before the authentication process is executed by the authentication unit 103, it is desirable that the processing performed by the application execution unit 105 during the waiting time does not affect the security of the electronic control device 100.
[0048] (4) Summary As described above, according to this embodiment, by randomly determining the timing of performing the authentication process, it is possible to avoid a glitch attack timed to the authentication process, and ultimately to prevent the authentication process from being skipped due to a glitch attack. Furthermore, according to this embodiment, it is possible to prevent the authentication process from being skipped not only in the case of a clock glitch attack but also in the case of a power glitch attack in which an abnormal voltage is applied.
[0049] 3. Second embodiment In the first embodiment, the electronic control device 100 that performs authentication processing in the authentication unit 103 at the timing determined by the timing determination unit 102 has been described. In this embodiment, a configuration in which the electronic control device 100 performs authentication processing at a determined timing in response to an acquired authentication request, or performs authentication processing immediately, will be described. Since the configuration of the electronic control device 100 of this embodiment is basically the same as that of the electronic control device 100 of the first embodiment, differences from the first embodiment will be mainly described with reference to FIG. 2.
[0050] The request acquisition unit 101 of this embodiment acquires a plurality of different authentication requests. In the following embodiment, an example will be described in which the request acquisition unit 101 acquires two authentication requests, that is, a first authentication request and a second authentication request. The first authentication request is, for example, an authentication request for a predetermined "message," and the second authentication request is an authentication request for a message different from the predetermined message.
[0051] Here, a "message" is a group of data transmitted and received between electronic control devices, and includes what are called data frames and data blocks.
[0052] The electronic control device 100 performs the same process as in the first embodiment for the first authentication request. That is, the timing determination unit 102 randomly determines the timing for performing the authentication process, and the authentication unit 103 performs the authentication process at the authentication timing determined by the timing determination unit 102.
[0053] On the other hand, for the second authentication request, the timing determination unit 102 does not determine the authentication timing. Then, the authentication unit 103 performs authentication processing for the authentication request "immediately." For example, the authentication unit 103 may perform authentication processing without delay after acquiring the authentication request, or, when the authentication unit 103 performs authentication processing using a challenge-response method, may perform authentication processing without delay after receiving response information from the connected device 10.
[0054] Here, "immediately" includes the case where the authentication process is performed after necessary preparations have been made.
[0055] That is, in this embodiment, the electronic control unit 100 may execute the authentication process at a specific authentication timing after obtaining an authentication request, or may execute the authentication process immediately after obtaining an authentication request.
[0056] The predetermined message is, for example, a message of high importance. If a message related to vehicle driving control is spoofed by an attacker and authentication processing is not performed by a glitch attack, the vehicle driving control may be hijacked by a malicious attacker. Therefore, it is desirable to reliably perform authentication processing for messages of high importance such as messages related to vehicle driving control. Therefore, in the case of an authentication request for a message of higher importance than a predetermined threshold, the authentication processing is performed at an authentication timing randomly determined by the timing determination unit 102, as described in the first embodiment. Note that a determination unit (not shown) of the electronic control unit 100 may determine whether the importance of the message for which authentication is requested is higher than a predetermined threshold according to the contents of the message, but may also store in advance the identification information or CAN-ID of a message of higher importance than the predetermined threshold. In this case, when the identification information or CAN-ID of the message for which authentication is requested corresponds to the identification information or CAN-ID stored in advance, the determination unit can determine that the authentication request is for a message of higher importance than the predetermined threshold. The identification information or CAN-ID of the message is stored by a dealer or a vehicle manufacturer.
[0057] Here, "than" includes both cases where the value is the same as the comparison target and cases where it is not.
[0058] Another example of a predetermined message is a message that has no constraints on the speed or time of authentication processing. For example, when authentication processing is performed at the authentication timing determined by the timing determination unit 102, the time required to complete the authentication processing is longer than when authentication processing is performed immediately. Therefore, for a message that requires immediate authentication processing, authentication processing is performed immediately, and for a message that has no constraints on the speed or time of authentication processing, authentication processing is performed at an authentication timing randomly determined by the timing determination unit 102.
[0059] In yet another example, the predetermined message is, for example, a message transmitted from the connection device 10 located outside the vehicle. When the connection device 10 is located outside the vehicle, the authentication request is more likely to be transmitted from a malicious attacker than when the connection device 10 is located inside the vehicle. Therefore, as shown in FIG. 1(a), it is desirable to reliably execute authentication processing for an authentication request transmitted from the connection device 10 located outside the vehicle. Therefore, when the authentication request is for a message transmitted from outside the vehicle, the authentication processing is performed at an authentication timing randomly determined by the timing determination unit 102, as described in the first embodiment. In contrast, as shown in FIG. 1(b), when the authentication request is transmitted from the connection device 10 located inside the vehicle, the authentication processing is performed immediately after the authentication request is acquired.
[0060] The operation of the electronic control device 100 of this embodiment will be described with reference to Figures 6 and 7. The processes common to Figures 3 and 4 are given the same reference numerals as in Figures 3 and 4, and the description thereof will be omitted.
[0061] The request acquisition unit 101 determines whether or not the authentication request acquired from the connection device 10 is an authentication request for a predetermined message (S201). Here, if the authentication request acquired in S101 is an authentication request for a predetermined message (S201: Y), the process from S102 onwards is carried out as in the first embodiment.
[0062] On the other hand, if the message is not an authentication request for a predetermined message (S201:N), the process shown in Fig. 7 is performed. Specifically, the authentication unit 103 generates challenge information to perform authentication processing using the challenge-response method (S211), and the communication unit 104 transmits the challenge information generated in S211 to the connection device 10 based on an instruction from the authentication unit 103 (S212). Then, the communication unit 104 receives response information from the connection device 10 (S213). Note that the processes of S211, S212, and S213 are the same as the processes of S103, S104, and S105 shown in Fig. 6.
[0063] As described above, according to this embodiment, the electronic control unit 100 can perform the authentication process at random timing or immediately depending on the message.
[0064] 4. Variations Next, modified examples of the first and second embodiments will be described with reference to Fig. 8 and Fig. 9. Fig. 8 is a schematic diagram of an electronic control system S mounted on a vehicle, which is a moving body. The electronic control system S is composed of a plurality of electronic control devices including an electronic control device 100. The electronic control system S shown in Fig. 8 employs a multi-layer defense system that protects the security of the vehicle.
[0065] Defense in depth is known as a defense method that provides security functions in a hierarchical and multi-layered manner as a countermeasure against attacks. In a system that employs defense in depth, if an attack occurs and one countermeasure (i.e., the first layer) is breached, the next countermeasure (i.e., the second layer) defends against the attack, and if the next countermeasure is breached, the next countermeasure (i.e., the third layer) defends against the attack, thereby enhancing the defense. In other words, a system that employs defense in depth is provided with multiple layers divided according to "security levels." In the electronic control system S shown in Figure 8, three layers (first layer, second layer, and third layer) are provided.
[0066] Here, the "security level" is an index showing safety against attacks or defensive capability against attacks.
[0067] 8, the electronic control device 100 is the electronic control device 100 described in the first and second embodiments. Therefore, when the request acquisition unit 101 (corresponding to a "first request acquisition unit") acquires an authentication request (corresponding to a "first authentication request"), the timing determination unit 102 randomly determines the authentication timing, and the authentication unit (corresponding to a "first authentication unit") 103 performs authentication processing (corresponding to a "first authentication processing") at the authentication timing determined by the timing determination unit 102.
[0068] In contrast, a configuration example of the electronic control device 200 constituting the electronic control system S will be described with reference to Fig. 9. The electronic control device 200 includes a request acquisition unit 201, an authentication unit 203, a communication unit 204, and an application execution unit 205, and each component has the same function as the corresponding component of the electronic control device 100. However, unlike the electronic control device 100 shown in Fig. 2, the electronic control device 200 does not include a timing determination unit. Therefore, in the electronic control device 200, when the request acquisition unit 201 (corresponding to a "second request acquisition unit") acquires an authentication request (corresponding to a "second authentication request"), the authentication unit 203 (corresponding to a "second authentication unit") immediately performs authentication processing (corresponding to a "second authentication processing") for the authentication request.
[0069] Therefore, the electronic control system S is a system having an electronic control device 100 (corresponding to the "first electronic control device") that performs authentication processing at random timing, and an electronic control device 200 (corresponding to the "second electronic control device") that performs authentication processing immediately upon receiving an authentication request.
[0070] In the example shown in FIG. 8, the electronic control device 100 belongs to the first layer, and the electronic control device 200 belongs to the second layer or the third layer. The first layer in the defense in depth is the layer with the lowest security level, and therefore has a high possibility of being attacked. In addition, the electronic control device in the first layer is often an electronic control device that communicates with the outside of the vehicle, and is therefore highly likely to receive an authentication request sent from an attacker. In contrast, the second and third layers in the defense in depth have a higher security level than the first layer, and are less likely to be attacked than the first layer. Therefore, the electronic control device 100 is provided in the first layer and performs authentication processing reliably, thereby preventing attacks from the outside. In contrast, the electronic control device 200 that does not perform authentication processing at random timing is provided in layers with high security levels, such as the second and third layers.
[0071] 8, an example in which the electronic control device 100 is provided on the first layer and the electronic control devices 200 are provided on the second and third layers has been described, but the present invention is not limited to this example. For example, the electronic control device 100 may be provided on the second layer.
[0072] 8 has been described as an example in which the electronic control system S includes the electronic control device 100 and the electronic control device 200 having a different configuration from the electronic control device 100. However, the electronic control system S may be configured only with the electronic control device 100. In this case, the electronic control device 100 belonging to the second layer or the third layer is configured to immediately perform authentication processing without the timing determination unit 102 determining the authentication timing.
[0073] 5. Summary The features of the electronic control device and the like in each embodiment of the present invention have been described above.
[0074] The terms used in each embodiment are merely examples and may be replaced with synonymous terms or terms having the same functions.
[0075] 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.
[0076] 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.
[0077] 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.
[0078] Moreover, examples of the form of the electronic control 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.
[0079] Furthermore, necessary functions such as an antenna and a communication interface may be added to the electronic control device.
[0080] 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.
[0081] 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]
[0082] The electronic control device of the present invention is generally applicable to any product that includes a microcomputer. [Explanation of symbols]
[0083] 100 Electronic control device, 101 Request acquisition unit, 102 Timing determination unit, 103 Authentication unit, 10 Connected device
Claims
1. A request acquisition unit (101) that acquires an authentication request from another device (10); a timing determination unit (102) that, when receiving the authentication request, randomly determines a timing for performing an authentication process for the authentication request; an authentication unit (103) that performs the authentication process at the timing determined by the timing determination unit; An electronic control device (100).
2. The timing determination unit determines, as the timing, a period from when the authentication request is acquired to when the authentication process is performed. The electronic control device according to claim 1.
3. the timing determination unit determines, as the timing, a period that is a difference between a reference timing that is a reference for performing the authentication process and a timing for performing the authentication process. The electronic control device according to claim 1.
4. the authentication unit performs the authentication process using a challenge-response method, the timing determination unit determines, as the timing, a period from when challenge information is transmitted to the other device until when the authentication process is performed. The electronic control device according to claim 1.
5. the request acquisition unit further acquires a second authentication request different from the first authentication request that is the authentication request; the authentication unit immediately performs authentication processing in response to the second authentication request; The electronic control device according to claim 1.
6. the first authentication request is an authentication request for a predetermined message; the second authentication request is an authentication request for a message different from the predetermined message; 6. The electronic control device according to claim 5.
7. The predetermined message is a message having an importance higher than a predetermined threshold.
7. The electronic control device according to claim 6.
8. The electronic control device is mounted on a moving object, The predetermined message is a message transmitted from outside the mobile unit.
7. The electronic control device according to claim 6.
9. An electronic control system having a first electronic control unit (100) and a second electronic control unit (100, 200), The first electronic control unit includes: A first request acquisition unit (101) that acquires a first authentication request; a timing determination unit (102) that, when the first authentication request is acquired, randomly determines a timing for performing an authentication process for the first authentication request; a first authentication unit (103) that performs the first authentication process at the timing determined by the timing determination unit; The second electronic control unit includes: A second request acquisition unit (101, 201) that acquires a second authentication request; a second authentication unit (103, 203) that immediately performs a second authentication process for the second authentication request when the second authentication request is acquired; Electronic control system.
10. The electronic control system has a plurality of layers into which the electronic control system is divided according to security levels, The first electronic control device belongs to a layer having a lower security level than a layer to which the second electronic control device belongs.
10. The electronic control system of claim 9.
11. 1. An authentication method performed in an electronic control device, comprising: An authentication request is received from another device (S101); When the authentication request is received, a timing for performing authentication processing in response to the authentication request is randomly determined (S102); The authentication process is performed at the determined timing (S107). Authentication method.
12. An authentication program executable on an electronic control device, An authentication request is received from another device (S101); When the authentication request is received, a timing for performing authentication processing in response to the authentication request is randomly determined (S102); The authentication process is performed at the determined timing (S107). Certification program.
Citation Information
Patent Citations
Systems and methods for secure access to vehicle ECUs from external devices
CN111431901B
Communication method
JP2007153021A
Authentication system, authentication method, authentication device, and authenticated device
JP2015122620A
IC module, IC card, and manufacturing method for IC card
JP2016045864A
Clock period randomization for defense against cryptographic attacks
JP2018535606A
