Log management device and center device

The log management device addresses high communication loads and log deletion risks by implementing internal and external transmission rules to selectively transmit and retain logs, improving cybersecurity in vehicles.

JP7571844B2Active Publication Date: 2024-10-23DENSO CORP
View PDF 5 Cites 0 Cited by

Patent Information

Application Number
JP2023172112
Authority / Receiving Office
JP · JP
Patent Type
Patents
Current Assignee / Owner
Filing Date
2023-10-03
Publication Date
2024-10-23
Estimated Expiration
2040-07-14

AI Technical Summary

Technical Problem

Vehicles equipped with communication functions experience high communication loads due to the constant transmission of logs to the center device, even when no cyber attacks are occurring, and there is a risk of necessary logs being deleted.

Method used

A log management device that collects and manages logs based on internal and external transmission rules, reducing unnecessary log transmission to the center device and ensuring retention of potentially necessary logs.

Benefits of technology

Reduces the number of logs sent from the vehicle to the center device and prevents the deletion of potentially necessary logs, enhancing cybersecurity by optimizing log management.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure 0007571844000001
    Figure 0007571844000001
  • Figure 0007571844000002
    Figure 0007571844000002
  • Figure 0007571844000003
    Figure 0007571844000003
Patent Text Reader

Abstract

To solve the problem in which vehicles with communication functions are constantly placed under a high communication load, because many logs are transmitted from the vehicle side to a center device even when no cyber attacks are occurring.SOLUTION: A log management device 100 of the present invention collects and manages logs from an electronic control device that constitutes an in-vehicle device. The log management device includes: a log collection management unit 102 that collects logs based on internal transmission rules that define logs to be transmitted from the electronic control device to the log management device; a storage unit 104 that stores the logs collected by the log collection management unit; an external transmission management unit 103 that determines logs to be transmitted to the center device based on external transmission rules that define logs to be transmitted to the outside of a vehicle in which the in-vehicle device is mounted; and a transmission unit 105 that transmits the logs determined by the external transmission management unit.SELECTED DRAWING: Figure 2
Need to check novelty before this filing date? Find Prior Art

Description

[Technical field]

[0001] The present invention relates to a device for detecting and analyzing cyber attacks, and relates to a log management device or a center device provided in an in-vehicle device. [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 progressing. As a result, the possibility of vehicles being subject to cyber attacks is increasing. Since a cyber attack may result in loss of control of the vehicle, more robust defense measures against cyber attacks are required.

[0003] Regarding cyber attacks on vehicles, for example, Patent Document 1 discloses a device that changes a communication path with the outside, a log storage destination, and logs to be stored depending on the depth of the attack. [Prior art documents] [Patent documents]

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

[0005] Here, the present inventors have found the following problem. In vehicles equipped with communication functions, even when no cyber attacks are occurring, the vehicles send many logs to the center device, so the communication load is always high.

[0006] An object of the present invention is to reduce the number of logs transmitted from the vehicle to the center device by narrowing down the logs transmitted from the vehicle to those that are likely to be needed. Another object of the present invention is to prevent logs that may be needed from being deleted by keeping them in an appropriate location. [Means for solving the problem]

[0007] The log management device (100) of the present disclosure includes: A log management device that collects and manages logs from an electronic control device constituting an in-vehicle device, a log collection management unit (102) that collects the logs based on an internal transmission rule that specifies the logs to be transmitted from the electronic control device to the log management device; a storage unit (104) for storing the logs collected by the log collection management unit; an external transmission management unit (103) that determines the log to be transmitted to a center device based on an external transmission rule that specifies the log to be transmitted to the outside of the vehicle in which the on-vehicle device is installed; a transmission unit (105) for transmitting the log determined by the external transmission management unit; 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 number of logs transmitted from the vehicle to the center device can be reduced. It also helps to prevent logs that may be needed from being erased. [Brief description of the drawings]

[0010] [Figure 1] FIG. 1 is a diagram illustrating a configuration example of a cyber-attack detection system according to an embodiment of the present disclosure. [Diagram 2] FIG. 1 is a block diagram illustrating a configuration example of a log management device according to an embodiment of the present disclosure. [Diagram 3] FIG. 2 is a block diagram showing a configuration example of a center device according to an embodiment of the present disclosure. [Figure 4] FIG. 1 is an explanatory diagram illustrating components and layers in an error log according to an embodiment of the present disclosure. [Diagram 5] FIG. 1 is an explanatory diagram illustrating components and layers in a normal log according to an embodiment of the present disclosure. [Figure 6A] FIG. 2 is an explanatory diagram for explaining the contents of the external transmission rule determined according to an embodiment of the present disclosure. [Figure 6B] FIG. 2 is an explanatory diagram for explaining the contents of the external transmission rule determined according to an embodiment of the present disclosure. [Figure 6C] FIG. 2 is an explanatory diagram for explaining the contents of the external transmission rule determined according to an embodiment of the present disclosure. [Figure 7] A flowchart showing the operation of the center device and the log management device according to an embodiment of the present disclosure. 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. Embodiment 1 (1) Overall configuration of the cyber attack detection system Using Figure 1, we will first explain the overall configuration of the cyber attack detection system.

[0018] The cyber attack detection system 1 is composed of an in-vehicle device 150 that is "mounted" on a vehicle, which is a "mobile body," and a center device 200. The in-vehicle device 150 is composed of a log management device 100, one or more "electronic control devices" (ECUs (Electric Control Units), hereinafter abbreviated as ECUs), and an in-vehicle network that connects these. The log management device 100 is also an ECU in the broad sense. Here, the term "mobile body" refers to an object that can move and can move at any speed. It also includes cases where the moving body is stationary. For example, it includes, but is not limited to, automobiles, motorcycles, bicycles, pedestrians, ships, aircraft, 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 on the moving body, or it can be mounted on cargo placed on the moving body. An "electronic control device" is a device that processes information and performs a specific function, and can be called by any name. For example, it may be a device called an information processing device, information processing circuit, control unit, control device, calculation device, etc. The form of the device is also arbitrary, and it may be in the form of a semiconductor circuit or semiconductor module as a part, an electronic control device or electronic control unit as a semi-finished product, or a server, workstation, personal computer (PC), smartphone, mobile phone, or navigation system as a finished product.

[0019] The vehicle-mounted device 150 is connected to a center device 200 via a communication network 2 .

[0020] In the case of a wireless communication system, the communication network 2 may use, for example, IEEE802.11 (WiFi (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) may be used. In the case of a wired communication system, the communication network may be, for example, a LAN (Local Area Network), the Internet, or a fixed telephone line. The wireless communication network may combine wireless communication and wired communication. For example, the vehicle-mounted device 150 and a base station device in a cellular system may be connected by a wireless communication method, and the base station device and the center device 200 may be connected by a wired communication method such as a trunk line of a telecommunications carrier or the Internet.

[0021] (2) Configuration of the in-vehicle device The configuration of the in-vehicle device 150 of this embodiment will be described with reference to FIG.

[0022] The in-vehicle device 150 includes the log management device 100, and an ECU2, an ECU3, and an ECU4 that are connected to the log management device 100 via an in-vehicle network. The ECU2, ECU3, and ECU4 are collectively referred to as each ECU. The log management device 100 comprises a control unit 101, a storage unit 104, a transmission unit 105, and a reception unit .

[0023] The log management device 100 and each ECU constituting the in-vehicle device 150 can be configured with a general-purpose CPU (Central Processing Unit), a volatile memory such as a RAM, a non-volatile memory such as a ROM, a flash memory, or a hard disk, various interfaces, and an internal bus connecting these. Then, by executing software on these hardware, the functions of each functional block shown in Fig. 2 can be realized. The same is true for the center device 200 shown in Fig. 3 described later. Of course, these devices may be realized by dedicated hardware such as an LSI.

[0024] In this embodiment, the log management device 100 is assumed to be in the form of an electronic control device as a semi-finished product, but is not limited to this. For example, the form of a part may be a semiconductor circuit or a semiconductor module, and the form of a finished product may be a personal computer (PC), a smartphone, a mobile phone, or a navigation system. The log management device 100 may be configured with a single ECU or multiple ECUs. For example, the transmission unit 105 and the reception unit 106 may be managed by a communication ECU. In this case, the log management device 100 is configured with multiple ECUs including the communication ECU.

[0025] In this embodiment, each ECU, including the log management device 100, belongs to a layer. In the case of Fig. 2, the log management device 100 is the first layer, ECU2 is the second layer ECU, ECU3 is the third layer ECU, and ECU4 is the fourth layer ECU. In this specification, the layer to which each ECU belongs is referred to as the "layer in which the electronic control unit (ECU) is defined."

[0026] In this embodiment, when the communication ECU, which is the contact point with the outside, is used as a reference, the layers become deeper as they move away from the communication ECU. For example, if the communication ECU is defined as the first layer, a central gateway ECU (CECU) that is connected to the communication ECU and is also connected to multiple individual ECUs and manages the individual ECUs can be defined as the second layer, and the individual ECUs can be defined as the third layer and onward. In addition, further division into domains and sub-networks using sub-gateway ECUs or the like may be provided to provide further hierarchies. The log management device 100 of this embodiment is configured to be included in the communication ECU, which is the first layer, but may also be configured to be included in the CECU, which is the second layer.

[0027] The in-vehicle network can use any communication method, such as CAN (Controller Area Network) or LIN (Local Interconnect Network), as well as Ethernet (registered trademark), Wi-Fi (registered trademark), Bluetooth (registered trademark), etc.

[0028] Each ECU may be any ECU, but examples include drive system electronic control devices that control the engine, steering, brakes, etc., vehicle body electronic control devices that control meters, power windows, etc., information system electronic control devices such as navigation devices, and safety control system electronic control devices that perform control to prevent collisions with obstacles or pedestrians. Furthermore, ECUs may not be parallel, but may be classified as master and slave.

[0029] The control unit 101 controls the operations of the storage unit 104, the transmission unit 105, and the reception unit 106. The control unit 101 also realizes a log collection management unit 102 and an external transmission management unit 103 by itself.

[0030] The log collection management unit 102 collects logs from each ECU and the log management device 100 itself. The logs to be collected are defined in internal transmission rules, and the log collection management unit instructs each ECU to transmit its log by referring to the internal transmission rules. The internal transmission rules define the logs to be transmitted from the ECU to the log management device 100. The internal transmission rules are also called log transmission rules. The internal transmission rules will be described in detail later.

[0031] The log collection and management unit 102 rewrites the internal transmission rules based on an instruction from the center device 200 .

[0032] The storage unit 104 stores the logs collected by the log collection management unit 102. The storage unit 104 may also store internal transmission rules and external transmission rules, which will be described next. The storage unit 104 is configured with a non-volatile memory or a volatile memory.

[0033] The external transmission management unit 103 refers to the external transmission rule to determine the log to be transmitted to the center device 200. The external transmission rule specifies the log to be transmitted to the outside of the vehicle-mounted device 150. The external transmission rule is also called a log upload rule. The external transmission rule will be described in detail later.

[0034] The external transmission management unit 103 rewrites the external transmission rules based on an instruction from the center device 200 .

[0035] The transmitting unit 105 transmits the log determined by the external transmission managing unit 103 to the center device 200 via an antenna A. In addition, when a communication ECU in charge of external communication is provided separately from the log management device 100, the transmission unit 105 transmits the log to the communication ECU. However, even in this case, the transmission unit 105 transmits the log to the center device 200 via the communication ECU.

[0036] The receiving unit 106 receives an instruction from the center device 200 via an antenna A.

[0037] Each ECU and the log management device 100 have the following configuration, however, it is not necessary for all ECUs to be equipped with these configurations.

[0038] The security sensor 111 monitors whether there are any abnormalities in communications or in the vehicle's internal processing, and generates a security log if any abnormalities are detected.

[0039] The vehicle control unit 112 controls a vehicle, which is a moving body. The logs generated by the vehicle control unit are normal logs and are generated constantly, but abnormal logs may also be generated. In the case of a constant log, for example, a CAN log or CAN data corresponds to this.

[0040] The alive monitoring unit 113 monitors whether the security sensor 111 and the vehicle control unit 112 are operating normally. If an abnormality is detected, an abnormality log is generated.

[0041] The storage area 114 stores logs generated by the security sensor 111, the vehicle control unit 112, and the alive / dead monitoring unit 113. When the log management device 100 is provided with the security sensor 111, the vehicle control unit 112, and the alive / dead monitoring unit 113, the storage area 114 may be substituted by the storage unit 104. The storage unit 104 of the log management device 100 has a larger storage capacity than the normal storage area 114 .

[0042] Based on an instruction from the log collection management unit 102, the log notification unit 115 reads the log from the storage area 114 and transmits it to the log management device 100. However, it is also possible to store internal transmission rules in the storage area 114 and transmit logs defined in the internal transmission rules independently of an instruction from the log collection management unit 102.

[0043] (3) Center Device Configuration The configuration of the center device 200 of this embodiment will be described with reference to FIG.

[0044] The center device 200 includes a receiving unit 201 , a control unit 202 , a storage unit 206 , and a transmitting unit 207 .

[0045] In this embodiment, the center device 200 is assumed to be in the form of a server device as a finished product, but is not limited to this. For example, examples of the finished product include a workstation and a personal computer (PC), a semi-finished product includes an ECU, and a component includes a semiconductor circuit element.

[0046] The receiving unit 201 receives the abnormality log and normality log transmitted from the in-vehicle device 150 via an antenna A. An abnormality log is a log that is generated when an abnormality occurs, and examples of such logs include a proxy log, an IDS log, and a process monitoring log. A normal log is a log that is periodically generated and includes, for example, a security sensor / ECU alive monitoring log, an in-vehicle communication log such as CAN or Ethernet, etc. The logs transmitted from the in-vehicle device 150 are selected based on external transmission rules that define logs to be transmitted outside the in-vehicle device 150. The external transmission rules will be described in detail later.

[0047] The control unit 202 controls the operations of the receiving unit 201, the storage unit 206, and the transmitting unit 207. In addition, the control unit 202 itself realizes a log analysis unit 203, an external transmission rule update determination unit 204, and an internal transmission rule update determination unit 205.

[0048] The log analysis unit 203 detects the occurrence of a cyber attack by analyzing the log received by the receiving unit 201. A known method can be used for analyzing the log.

[0049] When the log analysis unit 203 detects a cyber-attack, the external transmission rule update decision unit 204 decides to update the external transmission rules based on the detection result. More specifically, it decides whether or not the external transmission rules need to be updated, and if it is determined that the update is necessary, it decides the update content. Then, it generates an external transmission rule update instruction for instructing the in-vehicle device 150 to update the external transmission rules. An example of updating the external transmission rules will be described later.

[0050] When the log analysis unit 203 detects a cyber-attack, the internal transmission rule update decision unit 205 decides to update the internal transmission rules based on the detection result. More specifically, it decides whether or not the internal transmission rules need to be updated, and if it is determined that an update is necessary, it decides what to update. Then, it generates an internal transmission rule update instruction for instructing the in-vehicle device 150 to update the internal transmission rules.

[0051] The update of the internal transmission rule does not necessarily have to be based directly on the detection result of a cyber attack. For example, when the update content of the external transmission rule is determined, the update content of the internal transmission rule may be determined based on the update content of the external transmission rule. Details of the internal transmission rule will be described later. An example of updating the internal transmission rule will be described later.

[0052] The storage unit 206 stores the log received by the receiving unit 201. In addition, the storage unit 206 may store the updated contents of the external transmission rules and the updated contents of the internal transmission rules. The storage unit 206 is configured with a non-volatile memory or a volatile memory.

[0053] The transmitting unit 207 transmits the external transmission rule update instruction and / or the internal transmission rule update instruction to the in-vehicle device 150 via the antenna A.

[0054] (4) Log type, layer, and attack depth In this embodiment, the "layer" in which the "component" constituting the in-vehicle device is defined is an ECU, but other examples of the component include a security sensor that the ECU has, an OSI reference model, etc. Alternatively, the log itself, CAN data, and CANID can also be components. Here, a "component" refers to hardware, software, or data, such as an electronic control device, a security sensor, an OSI reference model, a log, CAN data, or a CANID. In addition, "layer" refers to a physical or functional hierarchy; an example of the former is the distance from the communication ECU that has contact with the outside world, or the number of points on the route from the communication ECU; an example of the latter is a master-slave relationship.

[0055] 4 is a diagram illustrating components and layers when the external transmission target or the internal transmission target is an error log. In the case of FIG. 4, the components are an ECU, a security sensor included in the ECU, or an OSI reference model.

[0056] When an ECU is a component, for example when there is an external connection ECU, a central ECU, and an internal ECU, they are the first layer, the second layer, and the third layer, respectively, with the layers becoming deeper in that order.

[0057] When the security sensors installed in each ECU are components, among multiple security sensors, the layer depth increases in the order of security sensor A, security sensor B, etc. The layer to which each security sensor belongs and the relative depth of the layer can be determined by the function and the monitored object.

[0058] When the OSI reference model included in each security sensor is a component, the depth of layers increases in the following order: L2: data link layer, L3: network layer, L4: transport layer, and L7: application layer.

[0059] 5 is a diagram illustrating components and layers when the external transmission target or the internal transmission target is a normal log. In the case of FIG. 5, the components are an ECU, a type of log, or a CANID.

[0060] When the ECU is a component, the process is the same as in FIG.

[0061] When the type of log is a component, in the case of Figure 4, the layer depth increases in the order of CAN log, ECU alive monitoring result log, and security sensor alive monitoring result log. The layer to which each log belongs and the relativity of the layer depth can be determined by the function or monitored object.

[0062] When the CANID is a component, the larger the CANID identification number, the deeper the layer.

[0063] In addition to the layer depth for each component, the layer depth can also be defined between components as shown in Figures 4 and 5. For example, in Figure 4, the layer depth of L2: data link layer of security sensor C of the central ECU is deeper than the layer depth of L7: application layer of security sensor A of the external connection ECU.

[0064] (5) External transmission rules and examples of updates The external transmission rule has a significance in terms of the level to which the center device 200 should collect information for detecting a cyber-attack and information for taking countermeasures when a cyber-attack is detected.

[0065] In order to detect cyber-attacks, it is necessary to detect them early and before the damage becomes serious, and it is also necessary to reduce the amount of communication during peacetime. Therefore, if there is a layer in which the components that make up the in-vehicle device 150 are defined, it is desirable to collect logs from a shallow layer when detecting cyber-attacks.

[0066] On the other hand, when a cyberattack is detected, in order to prevent the damage from spreading, it is necessary to collect logs from layers deeper than the layer where the cyberattack was detected and take countermeasures. In other words, when a cyberattack is detected, it is desirable to collect logs from deeper layers.

[0067] From the above, the external transmission rule update determination unit 204 sets, as the target for external transmission, the log generated in a deeper layer among the "layers" in which the "components" constituting the in-vehicle device 150 are defined, as the deeper "attack depth" of the cyber-attack. For example, the external transmission target is a log generated in a layer deeper than the layer in which the ECU in which the cyber-attack occurred is defined in the in-vehicle device 150. Here, "depth of attack" refers not only to the distance of the ECU that is the target of a cyber attack from the communication ECU that has contact with the outside world or the number of points through which the attack passes, but also to the severity of the attack on the in-vehicle device.

[0068] For example, in the case of an ECU configuration as shown in FIG. 2, the external update rule update determination unit 204 specifies the logs of the first layer ECU as targets for external transmission during peacetime, and updates the external transmission rule so that, in addition to the first layer, the logs of the second and third layer ECUs are targets for external transmission when a cyber attack is detected. As another example, in FIG. 2, the external update rule update determination unit 204 specifies that the logs of the first layer ECU are to be transmitted externally during peacetime, and when a cyber-attack is detected in the first layer ECU, updates the external transmission rule so that the logs of the second and third layer ECUs, which are layers deeper than the first layer where the cyber-attack occurred, are to be transmitted externally.

[0069] In addition, if the depth of a cyber attack is taken into account along with the severity of the attack, it can be updated with the following content: When an attack on an externally connected ECU is detected, the external transmission rule update determination unit 204 determines the update contents of the external transmission rule depending on the severity of the attack, as shown in FIG.

[0070] When an attack on an externally connected ECU in the first layer is detected and there is a possibility that control of the first layer may have been taken over (corresponding to "deeper than the first level"), the external transmission rules are updated to include logs from all central ECUs in the second layer as targets for external transmission, as shown in Figure 6(A). When an attack on an externally connected ECU in the first layer is detected and there is a possibility that the first layer has been infiltrated (corresponding to a case "between the first and second levels"), the external transmission rules are updated to include the logs of security sensor C, among the central ECUs in the second layer, as targets for external transmission, as shown in Figure 6(B). When an attack on an externally connected ECU in the first layer is detected and unauthorized communication is found in the first layer (corresponding to "shallower than the second level"), the external transmission rules are updated so that logs up to L4 (transport layer) of the OSI model from security sensor C of the central ECU in the second layer are subject to external transmission, as shown in Figure 6 (C).

[0071] In this way, by determining the target of external transmission using different components depending on the depth of the cyber-attack, it is possible to collect appropriate and necessary logs according to the circumstances of the cyber-attack.

[0072] Fig. 6 shows an example in the case of the abnormal log in Fig. 4, but the same processing can be performed for the normal log in Fig. 5. In other words, the target of external transmission may be determined in units of ECU, log type, or CANID depending on the depth of the cyber-attack.

[0073] Furthermore, instead of the external transmission rule, the internal transmission rule for the abnormal log or normal log can be updated in the same manner.

[0074] (6) Internal sending rules and examples of updates The internal transmission rule is significant in that it extends the storage period of logs collected by each ECU. In other words, it is significant in that it takes advantage of the fact that the storage capacity of the storage unit 104 is larger than the storage capacity of the storage area 114 of each ECU to secure in advance information required to take countermeasures in the event that a cyber attack is detected in the future.

[0075] For example, in the case of an ECU configuration as shown in Fig. 2, the internal transmission rule update determination unit 205 of the center device 200 sets the logs of the ECUs in the first and second layers as targets for internal transmission in peacetime. In other words, the logs generated in a layer deeper than the external transmission targets determined by the external transmission rule update determination unit 204 are set as targets for internal transmission. This makes it possible to obtain the logs of the ECUs in the second layer going back in time if a cyber attack is detected in the first layer in the future.

[0076] Furthermore, when a cyber-attack is detected, the internal transmission rule update determination unit 205 updates the internal transmission rules so that ECU logs in the third layer, in addition to the first and second layers, are subject to internal transmission.

[0077] When viewed from the viewpoint of the log management device 100, this is as follows. The number of logs that are targets for collection by the log collection management unit 102 under the internal transmission rule (the same as those targets for internal transmission) is greater than the number of logs that are targets for external transmission by the external transmission management unit 103 under the external transmission rule. In other words, in preparation for the detection of a cyber attack in the future, logs generated by components lower in rank than the logs that have already been targeted for external transmission are also targeted for internal transmission. In other words, an ECU (corresponding to the "second electronic control unit") that generates a log that is not subject to external transmission under the external transmission rule and is subject to collection under the internal transmission rule is located in a lower layer than an ECU (corresponding to the "first electronic control unit") that generates a log that is subject to external transmission under the external transmission rule.

[0078] (7) Methods and programs The operations of the log management device 100 and the center device 200 of this embodiment will be described with reference to the flowchart of FIG. The following operations do not only indicate methods executed by the log management device 100 and the center device 200, but also indicate the processing procedures of programs that can be executed by these devices. Furthermore, these processes are not limited to the order shown in Fig. 7. In other words, the order may be changed as long as there is no constraint such as a relationship in which a step uses the result of a previous step.

[0079] The log collection management unit 102 of the log management device 100 collects logs based on the internal transmission rules (S101).

[0080] The storage unit 104 stores the logs collected by the log collection management unit 102 (S102).

[0081] The external transmission management unit 103 determines the log to be transmitted to the center device 200 based on the external transmission rule (S103).

[0082] The transmitting unit 105 transmits the log determined by the external transmission management unit 103 to the center device 200 (S104).

[0083] The receiving unit 201 of the center device 200 receives the log transmitted from the log management device 100 (S201).

[0084] The log analysis unit 203 analyzes the log received by the receiving unit 201 and detects the occurrence of a cyber attack (S202).

[0085] The external transmission rule update determining unit 204 and the internal transmission rule determining unit 205 determine updates to the external transmission rules and the internal transmission rules, respectively, based on the detection results (S203).

[0086] The transmitting unit 207 transmits an external transmission rule update instruction and an internal transmission rule update instruction (S204).

[0087] The receiving unit 106 of the log management device 100 receives the external transmission rule update instruction and the internal transmission rule update instruction, and the log collection management unit 102 rewrites the internal transmission rule and the external transmission management unit 103 rewrites the external transmission rule (S105).

[0088] 2. Other embodiments In this embodiment, the center device 200 determines the update contents of the external transmission rules and the update contents of the internal transmission rules and issues update instructions to the log management device 100. Alternatively, the center device 200 may only issue update instructions and the update contents may be determined by the log management device 100. Furthermore, the update contents of the external transmission rule may be determined by the center device 200, and the update contents of the internal transmission rule may be determined by the log management device 100.

[0089] 3. Summary The cyber-attack detection system, the log management device, and the center device in each embodiment of the present invention have been described above.

[0090] The terms used in each embodiment are merely examples and may be replaced with synonymous terms or terms having the same functions.

[0091] 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.

[0092] 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.

[0093] 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.

[0094] Each embodiment is based on an on-board device for a vehicle that is installed in a vehicle, but the present invention also includes dedicated or general-purpose devices other than for vehicles, unless otherwise limited in the claims.

[0095] In each embodiment, the in-vehicle device disclosed in each embodiment has been described on the assumption that it is mounted on a vehicle, but it may also be carried by a pedestrian.

[0096] Moreover, examples of the form of the log management device and center device of the present invention are as follows. 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.

[0097] Furthermore, necessary functions such as an antenna and a communication interface may be added to the in-vehicle device and the center device.

[0098] It is assumed that the center device of the present invention is used for the purpose of providing various services. In providing such services, the center device of the present invention is used, the method of the present invention is used, and / or the program of the present invention is executed.

[0099] 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.

[0100] 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]

[0101] The on-board device of the present invention has been described primarily as an electronic control device for a vehicle mounted on an automobile, but it can also be applied to all moving objects, including motorcycles, motorized bicycles, trains, pedestrians, ships, aircraft, etc. The present invention can also be applied to devices used for a variety of purposes, such as mobile phones, tablets, and game consoles. [Explanation of symbols]

[0102] 100 Log management device, 102 Log collection management unit, 103 External transmission management unit, 104 Storage unit, 105 Transmission unit, 106 Reception unit, 200 Center device, 201 Reception unit, 203 Log analysis unit, 204 External transmission rule update determination unit, 205 Internal transmission rule update determination unit, 206 Storage unit, 207 Transmission unit

Claims

1. A log management device mounted on a vehicle that collects and manages logs from an electronic control device constituting an in-vehicle device, a log collection management unit (102) that collects the logs based on an internal transmission rule that specifies the logs to be transmitted from the electronic control device to the log management device; a storage unit (104) for storing the logs collected by the log collection management unit; an external transmission management unit (103) that determines the log to be transmitted to a center device based on an external transmission rule that specifies the log to be transmitted to the outside of the vehicle in which the on-board device is installed; a transmission unit (105) that transmits the log determined by the external transmission management unit, When a cyber-attack is detected, the external transmission rule and the internal transmission rule are updated so as to transmit the log generated by a component located in a deeper layer among layers in which the components constituting the in-vehicle device are defined, and the log that is the target of internal transmission under the internal transmission rule is generated by a component located in a deeper layer than the log that is the target of external transmission under the external transmission rule. Log management device (100).

2. A log management device mounted on a vehicle that collects and manages logs from electronic control devices constituting an on-board device, comprising: a log collection management unit (102) that collects the logs based on an internal transmission rule that specifies the logs to be transmitted from the electronic control device to the log management device; a storage unit (104) for storing the logs collected by the log collection management unit; an external transmission management unit (103) that determines the log to be transmitted to a center device based on an external transmission rule that specifies the log to be transmitted to the outside of the vehicle in which the on-board device is installed; a transmission unit (105) that transmits the log determined by the external transmission management unit, When the external transmission rule is updated, the internal transmission rule is updated based on the updated content of the external transmission rule. Log management device (100).

3. a second electronic control device in which the log that is not subject to external transmission under the external transmission rule and is subject to collection under the internal transmission rule is generated is located in a lower layer than a first electronic control device in which the log that is subject to external transmission under the external transmission rule is generated; 3. The log management device according to claim 1 or 2.

4. The storage unit has a larger storage capacity than a storage area in which the electronic control device stores the log.

4. The log management device according to claim 3.

5. Further, a receiving unit (106) for receiving an instruction from the center device is provided, the log collection management unit and the external transmission management unit rewrite the internal transmission rule and the external transmission rule, respectively, based on the instruction.

2. The log management device according to claim 1.

6. The instruction is transmitted when the center device detects a cyber attack in the in-vehicle device.

6. The log management device according to claim 5.

7. A log management method executed by a log management device mounted on a vehicle, which collects and manages logs from an electronic control device constituting an in-vehicle device, comprising: Collecting the logs based on an internal transmission rule that specifies the logs to be transmitted from the electronic control device to the log management device; Save the collected logs; determining the log to be transmitted to a center device based on an external transmission rule that defines the log to be transmitted to the outside of the vehicle-mounted device; A log management method for transmitting the determined log, comprising: When a cyber-attack is detected, the external transmission rule and the internal transmission rule are updated so as to transmit the log generated by a component located in a deeper layer among layers in which the components constituting the in-vehicle device are defined, and the log that is the target of internal transmission under the internal transmission rule is generated by a component located in a deeper layer than the log that is the target of external transmission under the external transmission rule. Log management methods.

8. A log management program executable by a log management device mounted on a vehicle, the log management device collecting and managing logs from an electronic control device constituting an in-vehicle device, Collecting the logs based on an internal transmission rule that specifies the logs to be transmitted from the electronic control device to the log management device; Save the collected logs; determining the log to be transmitted to a center device based on an external transmission rule that defines the log to be transmitted to the outside of the vehicle-mounted device; A log management program for transmitting the determined log, When a cyber-attack is detected, the external transmission rule and the internal transmission rule are updated so as to transmit the log generated by a component located in a deeper layer among layers in which the components constituting the in-vehicle device are defined, and the log that is the target of internal transmission under the internal transmission rule is generated by a component located in a deeper layer than the log that is the target of external transmission under the external transmission rule. Log management program.

9. A log management method executed by a log management device mounted on a vehicle, which collects and manages logs from electronic control devices constituting an in-vehicle device, comprising: Collecting the logs based on an internal transmission rule that specifies the logs to be transmitted from the electronic control device to the log management device; Save the collected logs; determining the log to be transmitted to a center device based on an external transmission rule that defines the log to be transmitted to the outside of the vehicle-mounted device; A log management method for transmitting the determined log, comprising: When the external transmission rule is updated, the internal transmission rule is updated based on the updated content of the external transmission rule. Log management methods.

10. A log management program executable by a log management device mounted on a vehicle, the log management device collecting and managing logs from electronic control devices constituting an in-vehicle device, comprising: Collecting the logs based on an internal transmission rule that specifies the logs to be transmitted from the electronic control device to the log management device; Save the collected logs; determining the log to be transmitted to a center device based on an external transmission rule that defines the log to be transmitted to the outside of the vehicle-mounted device; A log management program for transmitting the determined log, When the external transmission rule is updated, the internal transmission rule is updated based on the updated content of the external transmission rule. Log management program.

Citation Information

Patent Citations

  • On-vehicle device and log collection system

    JP2018032254A

  • Evaluation program, evaluation device and evaluation method

    JP2019012344A

  • On-vehicle communication apparatus, log collection method, and log collection program

    JP2019016248A

  • Information processing device and information processing method

    JP2019061726A

  • System for vehicle and control method

    JP2019125344A