Log management device, electronic control system, log management method, and log management program

The log management device simplifies the management of security sensors in vehicle electronic control systems by using life-and-death monitoring logs to identify and invalidate unobtained records, reducing the complexity of sensor management and computational load.

JP2024139499APending Publication Date: 2024-10-09DENSO CORP +1
View PDF 4 Cites 0 Cited by

Patent Information

Application Number
JP2023050463
Authority / Receiving Office
JP · JP
Patent Type
Applications
Current Assignee / Owner
Filing Date
2023-03-27
Publication Date
2024-10-09

AI Technical Summary

Technical Problem

Existing attack identification methods for vehicle electronic control systems require specifying the type and number of security sensors installed, which varies by vehicle model, grade, and destination, necessitating complex management configurations.

Method used

A log management device that acquires, records, and manages life-and-death monitoring logs from security sensors, identifies unobtained logs, and invalidates records after a predetermined period, minimizing the need for advance knowledge of sensor types and numbers.

Benefits of technology

This approach simplifies the management of security sensors by identifying removed or failed ECUs and reduces the number of targets for anomaly detection, thereby minimizing computational resources and storage requirements.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure 2024139499000001_ABST
    Figure 2024139499000001_ABST
Patent Text Reader

Abstract

To provide a log management device, method, and program that minimize management of the kinds or number of security sensors for each electronic control system.SOLUTION: A log management device 100 comprises: a log acquisition unit 101 that acquires a life-and-death monitor log indicating that a security sensor of an electronic control device 10 loaded on a vehicle works; a life-and-death monitor log record unit 103 that records the acquisition of the life-and-death monitor log in a life-and-death monitor table; a non-acquisition life-and-death monitor log record unit 104 that identifies a non-acquisition life-and-death monitor log that the log acquisition unit does not acquires, and records a non-acquisition period when the non-acquisition life-and-death monitor log is not acquired, in the life-and-death monitor table; an invalidation unit 106 that, when the non-acquisition period of the non-acquisition life-and-death monitor log is equal to or longer than a prescribed period, invalidates the record of the non-acquisition life-and-death monitor log of the life-and-death monitor table; and an output unit 107 that, when a non-reception period of the non-acquisition life-and-death monitor log is equal to or longer than a prescribed period, transmits a detection log to an external device.SELECTED DRAWING: Figure 6
Need to check novelty before this filing date? Find Prior Art

Description

[Technical field]

[0001] The present invention relates to an apparatus, method, and program for managing alive monitoring logs generated by security sensors of electronic control devices mounted on mobile objects such as automobiles. [Background technology]

[0002] In recent years, technologies for driving assistance and autonomous driving control, including V2X (vehicle-to-vehicle communication and vehicle-to-infrastructure communication), have been attracting attention. As a result, vehicles are equipped with communication functions, and so-called connected vehicles are becoming more common. As a result, the possibility of vehicles being subject to cyber attacks such as unauthorized access is increasing. Therefore, it is necessary to analyze cyber attacks against vehicles and develop countermeasures.

[0003] There are various methods for detecting abnormalities that occur in a vehicle and analyzing cyber attacks based on the detected abnormalities. For example, Patent Document 1 describes a method for detecting abnormalities that occur due to attacks on a network, collecting data on the detected abnormalities, and comparing the combination of items in which the abnormality was detected with an abnormality detection pattern that is specified in advance for each attack to identify the type of cyber attack corresponding to the abnormality. [Prior art documents] [Patent documents]

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

[0005] Here, the present inventors have found the following problem. In existing attack identification methods such as that described in Patent Document 1, it is necessary to specify in advance the type and number of security sensors installed in the electronic control device that constitutes the electronic control system installed in the vehicle. However, since the type and number of installed electronic control devices may differ depending on the vehicle model and grade, and even the destination, it is necessary to manage the configuration of the electronic control system for each of these specifications.

[0006] Therefore, an object of the present invention is to realize a log management device etc. that can minimize the management of the types and number of security sensors for each electronic control system. [Means for solving the problem]

[0007] The log management device (100, 200, 300) of the present disclosure includes: A log acquisition unit (101) for acquiring a monitoring log indicating that a security sensor of an electronic control device (10) mounted on a vehicle is operating; a health monitoring log recording unit (103) for recording the acquisition of the health monitoring log in a health monitoring table; an unacquired alive / dead monitoring log recording unit (104) that identifies an unacquired alive / dead monitoring log that has not been acquired by the log acquisition unit and records an unacquired period during which the unacquired alive / dead monitoring log has not been acquired in the alive / dead monitoring table; and an invalidation unit (106, 206) that invalidates the record of the unacquired alive-or-dead monitoring log in the alive-or-dead monitoring table when the unacquired period of time of the unacquired alive-or-dead monitoring log is equal to or longer than a predetermined period.

[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 log management device etc. disclosed herein can minimize the management of the types and number of security sensors for each electronic control system by using the alive monitoring log. [Brief description of the drawings]

[0010] [Figure 1] FIG. 2 is an explanatory diagram illustrating the arrangement of the log management device and the relationship with related devices according to each embodiment. [Diagram 2] FIG. 2 is an explanatory diagram illustrating the arrangement of the log management device and the relationship with related devices according to each embodiment. [Diagram 3] FIG. 2 is an explanatory diagram illustrating an example of the configuration of an electronic control system according to each embodiment. [Figure 4] FIG. 2 is an explanatory diagram illustrating the configuration of an electronic control device according to each embodiment. [Diagram 5] FIG. 2 is an explanatory diagram for explaining a security log generated by a security sensor of an electronic control device according to each embodiment. [Figure 6] FIG. 1 is a block diagram showing an example of the configuration of a log management device according to a first embodiment; [Figure 7] FIG. 1 is an explanatory diagram for explaining a live / dead monitoring table used in the log management device of the first embodiment. [Figure 8] 1 is a flowchart for explaining the operation of the log management device according to the first embodiment. [Figure 9] FIG. 11 is a block diagram showing a configuration example of a log management device according to a second embodiment. [Figure 10] FIG. 11 is an explanatory diagram for explaining a masking table used in the log management device of the second embodiment. [Figure 11] FIG. 11 is a block diagram showing a configuration example of a log management device according to a third embodiment. [Figure 12] FIG. 11 is an explanatory diagram for explaining a live / dead monitoring table output from an external input / output unit of a log management device according to a third embodiment. [Figure 13] 11 is a flowchart for explaining the operation of the log management device according to the third embodiment. DETAILED DESCRIPTION OF THE PREFERRED EMBODIMENTS

[0011] Hereinafter, an embodiment of the present invention will be described with reference to the drawings.

[0012] The present invention means the invention described in the claims or in the Summary of the Invention section, and is not limited to the following embodiments. Furthermore, at least the words in quotation marks mean the words described in the claims or in the Summary of the Invention section, and are not limited to the following embodiments.

[0013] The configurations and methods described in the dependent claims are optional configurations and methods in the invention described in the independent claims. The configurations and methods of the embodiments corresponding to the configurations and methods described in the dependent claims, and the configurations and methods described only in the embodiments without being described in the claims, are optional configurations and methods in the present invention. The configurations and methods described in the embodiments when the description of the claims is broader than the description of the embodiments are also optional configurations and methods in the present invention in the sense that they are examples of the configurations and methods of the present invention. In either case, by being described in the independent claims, they become essential configurations and methods of the present invention.

[0014] The effects described in the embodiments are effects obtained when the configurations of the embodiments are provided as examples of the present invention, and are not necessarily effects that the present invention possesses.

[0015] When there are multiple embodiments (including modified examples), 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. Configuration underlying each embodiment (1) Location of the log management device and its relationship with other devices 1 and 2 are diagrams for explaining the arrangement of the log management device in each embodiment and the relationship with related devices. For example, as shown in FIG. 1, a case is assumed in which the log management device 100, the log management device 200, or the log management device 300 (hereinafter, these are collectively referred to as the log management device 100, etc.) is "mounted" on a "vehicle" together with an electronic control device 10 constituting an electronic control system S, and as shown in FIG. 2, a case is assumed in which the electronic control device 10 constituting the electronic control system S is "mounted" on a "vehicle" and the log management device 100, etc. is realized by a server device or the like provided outside the vehicle. In each embodiment described later, a case is explained in which the log management device 100, etc. is mounted on a vehicle as shown in FIG. 1. Even when the log management device 100, etc. is not mounted on a vehicle as shown in FIG. 2, the same is true of each embodiment except for the communication method with the electronic control device 10. Therefore, the description of each embodiment will be quoted. Where: "Vehicle" refers to a movable object that can move at any speed. It also includes a vehicle that is stationary. Examples of the vehicle include, but are not limited to, automobiles, motorcycles, bicycles, and items mounted thereon. "Mounted" includes not only the case where the device is directly fixed to the vehicle, but also the case where the device is not fixed to the vehicle but moves with the vehicle, such as when the device is carried by a person in the vehicle or when the device is mounted on cargo placed on the vehicle.

[0018] The log management device 100 and the like are connected to "electronic control devices" (hereinafter referred to as ECUs (Electronic Control Units)) constituting an electronic control system. The log management device 100 and the like are devices that acquire and manage security logs generated by security sensors mounted on multiple ECUs 10 constituting the electronic control system S. Here, the "electronic control device" may be a physically independent electronic control device, or a virtualized electronic control device realized using virtualization technology.

[0019] The external device 20 is any device provided outside the vehicle, and an example of the external device 20 is a Security Operations Center (SOC) that detects and analyzes cyber attacks.

[0020] In FIG. 1, the electronic control system S and the external device 20 are connected via a communication network using a wireless communication method such as IEEE802.11 (Wi-Fi (registered trademark)), IEEE802.16 (WiMAX (registered trademark)), W-CDMA (Wideband Code Division Multiple Access), HSPA (High Speed ​​Packet Access), LTE (Long Term Evolution), LTE-A (Long Term Evolution Advanced), 4G, or 5G. Alternatively, DSRC (Dedicated Short Range Communication) can be used. When the vehicle is parked in a parking lot or housed in a repair shop, a wired communication method can be used instead of the wireless communication method. For example, a LAN (Local Area Network), the Internet, or a fixed telephone line can be used. Alternatively, the line may be a combination of a wireless communication system and a wired communication system. For example, the electronic control system S and a base station device in a cellular system may be connected by a wireless communication system such as 4G, and the base station device and the external device 20 may be connected by a wired communication system such as a trunk line of a telecommunications carrier or the Internet. A gateway device may be provided at the junction between the trunk line and the Internet.

[0021] In FIG. 2, the electronic control system S and the log management device 100 and the like provided outside the vehicle are also connected via a communication network using the above-mentioned wireless communication method or wired communication method. In FIG. 2, the log management device 100 and the external device 20 are shown as separate devices connected via a communication network, but the log management device 100 and the external device 20 may be realized as the same device.

[0022] (2) Configuration of Electronic Control System S Fig. 3 is a diagram showing an example of the configuration of an electronic control system S. The electronic control system S is made up of a plurality of ECUs 10 and an in-vehicle network connecting these. Fig. 2 shows eight ECUs (ECU10a to ECU10h) as an example, but the electronic control system S is naturally made up of any number of ECUs. In the following explanation, when describing a single or a plurality of electronic control devices as a whole, they will be described as ECU10 or each ECU10, and when describing each individual electronic control device specifically, they will be described as ECU10a, ECU10b, ECU10c, ....

[0023] 3, the ECUs 10 are connected to each other via an in-vehicle communication network such as a Controller Area Network (CAN) or a Local Interconnect Network (LIN). Alternatively, the ECUs 10 may be connected to each other using any communication method, whether wired or wireless, such as Ethernet (registered trademark), Wi-Fi (registered trademark), or Bluetooth (registered trademark). In addition, a connection refers to a state in which data can be exchanged, and includes not only cases in which different hardware is connected via a wired or wireless communication network, but also cases in which virtual ECUs (also called virtual machines) realized on the same hardware are virtually connected to each other.

[0024] The electronic control system S shown in FIG. 3 includes an integrated ECU 10a, an external communication ECU 10b, zone ECUs (10c, 10d), and individual ECUs (10e to 10h).

[0025] The integrated ECU 10a is an ECU that has a function of controlling the entire electronic control system S and also has a gateway function of mediating communication between the ECUs. The integrated ECU 10a is also called a gateway ECU (G-ECU) or a mobility computer (MC). The integrated ECU 10a may also be a relay device or a gateway device.

[0026] The external communication ECU 10b is an ECU having a communication unit that communicates with an external device 20 provided outside the vehicle. The communication method used by the external communication ECU 10b is the wireless communication method or wired communication method described above. In order to realize a plurality of communication methods, a plurality of external communication ECUs 10b may be provided. Also, instead of providing the external communication ECU 10b, the integrated ECU 10a may include the function of the external communication ECUb.

[0027] The zone ECUs (10c, 10d) are ECUs equipped with a gateway function that is appropriately arranged according to the location and function of the individual ECU. For example, the zone ECU 10c is an ECU having a gateway function that mediates communication between the individual ECUs 10e and 10f arranged at the front of the vehicle and other ECUs 10, and the zone ECU 10d is an ECU having a gateway function that mediates communication between the individual ECUs 10g and 10h arranged at the rear of the vehicle and other ECUs 10.

[0028] The individual ECUs (10e to 10h) can be configured with ECUs having any desired functions. For example, they can be 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, or safety control system electronic control devices that perform control to prevent collisions with obstacles or pedestrians. Also, the ECUs may not be parallel to each other, but may be classified as master and slave.

[0029] In the electronic control system S in Fig. 3, each ECU 10 other than the ECU 10h is equipped with a security sensor (abbreviated as SS in the figure). In this way, it is not necessary for all ECUs 10 constituting the electronic control system S to be equipped with a security sensor. The security log generated by the security sensor will be described later.

[0030] In each embodiment, the log management device 100 and the like are provided in the integrated ECU 10a. However, the log management device 100 and the like may be provided in the external communication ECU 10b, the zone ECU (10c, 10d), or the individual ECU (10e to 10h). When provided in one of the individual ECUs (10e to 10h), it is preferable to use a dedicated ECU for realizing the log management device 100 and the like.

[0031] (3) Detection logs and alive monitoring logs 4 is a block diagram showing a configuration of an ECU (10a to 10g) equipped with a security sensor. The ECU (10a to 10g) includes a log generating unit 11 and a transmitting unit 12.

[0032] The log generating unit 11 generates two types of security logs: a detection log and an alive / dead monitoring log. FIG. 5 is a diagram showing a specific example of a security log. The security log has fields of an ECU ID indicating identification information of the ECU 10 in which the security sensor is mounted, a sensor ID indicating identification information of the security sensor, an event ID indicating identification information of a security event, a counter indicating the number of times the event has occurred, a timestamp indicating the time when the event occurred, and context data indicating details of the output of the security sensor. The security log may further have a header storing information indicating the version of the protocol and the state of each field.

[0033] The detection log is a security log that is generated when a cyber-attack is detected against each ECU 10 equipped with a security sensor. That is, the detection log is generated when a cyber-attack is detected.

[0034] In contrast, a life / death monitoring log is a security log that indicates that a security sensor is operating. A life / death monitoring log is a security log that is generated to take advantage of the fact that the security sensor is operating because the fact that a log is being generated indicates that the security sensor is operating.

[0035] The timing of the alive monitoring log generation is not related to the detection of a cyber attack. For example, the alive monitoring log is generated at a "fixed cycle," for example, every 10 seconds. Alternatively, the alive monitoring log may be generated at a specific timing, for example, when the vehicle ignition is turned on. Here, the "constant cycle" includes a cycle that is always constant as well as a cycle that is determined by conditions.

[0036] Also, to distinguish the alive monitoring log from the detection log, it is desirable to assign an ID to the alive monitoring log different from that to the detection log. For example, if the event ID is composed of 16 bits, the upper 4 bits may be set to 1 (that is, in hexadecimal notation, 0xF*** (* is an arbitrary number)) to indicate that it is an alive monitoring log. Also, an ID different from that to the detection log may be assigned to IDs other than the event ID, that is, ECU IDs and sensor IDs, or any combination of the three IDs. It is not necessary to provide a field for context data in the alive monitoring log.

[0037] 4, the transmission unit 12 transmits the security log generated by the log generation unit 11 to the log management device 100, etc., via the in-vehicle network. When the security sensor and the log management device 100, etc., are mounted on the same ECU 10, the security log is output directly to the hardware or software that realizes the log management device 100, etc., without passing through the in-vehicle network.

[0038] The security log generated by the security sensor is called SEv, and the filtered and qualified security log is called QSEv. For example, the security sensor generates an SEv and reports it to an intrusion detection system manager (IdsM), and when the SEv passes through a certification filter in the IdsM and meets a specified criterion, the SEv is transmitted from an intrusion detection reporter to the outside of the vehicle. The security log in each embodiment is a concept that includes both SEv and QSEv. When the security log is QSEv, the range including the intrusion detection system manager (IdsM) corresponds to the log generation unit 11 , and the intrusion detection reporter corresponds to the transmission unit 12 .

[0039] 2. Embodiment 1 (1) Configuration of the Log Management Device 100 6 is a block diagram showing the configuration of a log management device 100 in this embodiment. The log management device 100 includes a log acquisition unit 101, a control unit 102, an output unit 107, an alive / dead monitoring table storage unit 108, and a security log storage unit 109. The control unit 102 realizes an alive / dead monitoring log recording unit 103, an unacquired alive / dead monitoring log recording unit 104, and a deletion unit 106 by hardware and / or software.

[0040] The log acquisition unit 101 acquires security logs, i.e., detection logs and alive monitoring logs, generated by security sensors mounted on each of the multiple ECUs 10 constituting the electronic control system S. The log acquisition unit 101 acquires the security logs generated by the security sensors mounted on the ECUs 10 other than the integrated ECU 10a on which the log management device 100 is mounted via an in-vehicle network, and the log acquisition unit 101 acquires the security logs generated by the security sensors mounted on the integrated ECU 10a directly without via the in-vehicle network.

[0041] The alive / dead monitoring log recording unit 103 "records" in the alive / dead monitoring "table" that the log acquisition unit 101 has "acquired the alive / dead monitoring log." Where: "Recording the acquisition of a life / death monitoring log" includes not only recording the fact that a life / death monitoring log was acquired, but also recording indirect facts that can lead to the fact that a life / death monitoring log was acquired. For example, in addition to recording identification information that identifies the life / death monitoring log, it also includes recording information such as the number of times a life / death monitoring log was acquired, the acquisition time, or a flag indicating that the log was acquired. A "table" is any collection of data and is not limited to a tabular format.

[0042] Fig. 7 is a diagram showing the alive monitoring table. The ECU ID, sensor ID, and event ID in Fig. 7 are recorded as the ECU ID, sensor ID, and event ID of the alive monitoring log acquired by the log acquisition unit 101. Hereinafter, the ECU ID, sensor ID, and event ID may be collectively referred to as an event identification ID. In FIG. 7, the ECU ID is 12 bits, the sensor ID is 8 bits, and the event ID is 16 bits, but this is just an example and the length of each ID may be other than these. Incidentally, instead of the event ID of the alive monitoring log, the event ID of the corresponding detection log may be recorded.

[0043] The current trip number (A) indicates the current number of a trip, which is the period from start to end of the log management device 100 or the period from the vehicle ignition ON to the ignition OFF. For example, the current trip number is updated by overwriting the previously recorded trip number with a trip number incremented at the timing of the ignition ON. In FIG. 7, the current trip number is 10.

[0044] The trip number at the time of acquisition (B) indicates the trip number when the log acquisition unit 101 acquired the alive / dead monitoring log. For example, when an alive / dead monitoring log is acquired during the current trip, the current trip number (A) is copied, i.e., recorded, to the trip number at the time of acquisition (B). In FIG. 7, the log acquisition unit 101 acquires alive / dead monitoring logs #1, #2, and #3 for the trip with trip number 10. In contrast, the log acquisition unit 101 acquires alive / dead monitoring log #4 for the trip with trip number 5, and does not acquire alive / dead monitoring log #4 thereafter until the trip with trip number 10. Also, the log acquisition unit 101 acquires alive / dead monitoring log #5 for the trip with trip number 9, and does not acquire alive / dead monitoring log #5 for the trip with trip number 10.

[0045] In this embodiment, when the log acquisition unit 101 acquires a live / dead monitoring log that has not been acquired before, the live / dead monitoring log recording unit 103 newly records the event identification ID of the acquired live / dead monitoring log in the live / dead monitoring table. In addition, when the log acquisition unit 101 acquires a live / dead monitoring log, the live / dead monitoring log recording unit 103 records the trip number at the time of acquisition of the live / dead monitoring log in the trip number at acquisition (B) in the live / dead monitoring table.

[0046] Returning to Figure 6, the unacquired alive / dead monitoring log recording unit 104 identifies unacquired alive / dead monitoring logs that have not been acquired by the log acquisition unit 101, and records the "unacquired period" during which the unacquired alive / dead monitoring log was not acquired in the alive / dead monitoring table. Here, the "unacquired period" is sufficient if the length of time can be specified, and includes the time, duration, or number of times.

[0047] In FIG. 7, the number of unacquired trips (C) indicates the number of consecutive trips for which the log acquisition unit 101 has not acquired an alive / dead monitoring log. For example, the value obtained by subtracting the trip number at the time of acquisition (B) from the current trip number (A) is the number of unacquired trips (C). In FIG. 7, the log acquisition unit 101 has acquired alive / dead monitoring logs #1, #2, and #3 for the current trip number 10, so the number of unacquired trips (C) is 0. In contrast, the log acquisition unit 101 has not acquired alive / dead monitoring log #4 since trip number 5, so the number of unacquired trips (C) is 5. In addition, the log acquisition unit 101 has not acquired alive / dead monitoring log #5 since trip number 9, so the number of unacquired trips (C) is 1.

[0048] In this embodiment, when the number of unacquired trips calculated by subtracting the trip number at acquisition (B) from the current trip number (A) in the alive / dead monitoring table is equal to or greater than 1, the unacquired alive / dead monitoring log recording unit 104 identifies an alive / dead monitoring log that has not been acquired by the log acquiring unit 101, i.e., an unacquired alive / dead monitoring log. Then, the unacquired alive / dead monitoring log recording unit 104 subtracts the trip number at acquisition (B) from the current trip number (A) and records the result as the number of unacquired trips (C), thereby recording the unacquired period during which an unacquired alive / dead monitoring log has not been acquired. The subtraction and recording may be performed in real time, or may be performed all at once when the ignition is turned off or the next time the ignition is turned on.

[0049] It is possible to identify an ECU 10 that does not constitute an electronic control system by identifying an unacquired alive / dead monitoring log in the unacquired alive / dead monitoring log recording unit 104. That is, an ECU 10 having the same ECU ID or sensor ID as an unacquired alive / dead monitoring log is an ECU that does not constitute an electronic control system, such as an ECU 10 that was removed from the electronic control system S midway or a broken ECU 10.

[0050] Returning to Fig. 6, the deletion unit 106 (corresponding to an "invalidation unit") "invalidates" the record of the unacquired alive / dead monitoring log in the alive / dead monitoring table when the unacquired period of time for the unacquired alive / dead monitoring log is "a predetermined period" or "longer than that." In this embodiment, the deletion unit 106 invalidates the record of the unacquired alive / dead monitoring log by deleting it from the alive / dead monitoring table. Where: The "predetermined period" may be anything that directly or indirectly indicates a length of time, such as time or a number of times. The period may be constant or may vary depending on conditions. The term "equal to or greater than" encompasses both cases where the period is the same as the specified period being compared, and cases where the period is not the same. To "invalidate" means to treat the alive-check log recorded in the alive-check table as if it does not exist.

[0051] In this embodiment, the predetermined period is defined as a trip, which is the period from start to end of the log management device 100 or the period from ignition ON to ignition OFF of a vehicle. The predetermined period is defined as a predetermined number of trips, for example, five consecutive trips.

[0052] 7, for example, the last trip acquired for alive / dead monitoring log #4 was trip number 5, and as the number of unacquired trips (C) indicates, five consecutive trips occurred for which alive / dead monitoring log #4 was not acquired. Therefore, the deletion unit 106 deletes the column for alive / dead monitoring log #4 from the alive / dead monitoring table.

[0053] When the predetermined period is set to a short period, not only the removed ECU 10 or the failed ECU 10 but also the ECU 10 having a temporary malfunction can be detected. When the predetermined period is set to a long period, the ECU 10 having a temporary malfunction can be excluded from the detection target. For example, when the predetermined period is the number of trips, if it is one trip, the ECU 10 having a temporary malfunction can be detected as well. When it is set to two or more trips, each ECU 10 is reset after each trip, so that temporary malfunctions often do not occur in consecutive trips, and therefore only the removed ECU 10 and the failed ECU 10 can be detected.

[0054] When the period during which the unacquired alive / dead monitoring log has not been received is equal to or longer than a predetermined period, the output unit 107 transmits a detection log to the external device 20. For example, in FIG. 7, five consecutive trips have occurred during which the alive / dead monitoring log #4 has not been received, so the output unit outputs a detection log reporting this fact to the external device 20. The detection log may be generated and transmitted in the format of FIG. 5. In this case, the event identification ID of the alive / dead monitoring log #4 is recorded in the context data of the detection log. Also, an identifier identifying an event for which the alive / dead monitoring log has not been received for a predetermined period or longer is recorded in the event ID of the detection log. In this embodiment, the predetermined period used for the determination of the deletion unit 106 is the same as the predetermined period used for the determination of the output unit 107, but they may be different periods. For example, by setting the former predetermined period to be longer than the latter predetermined period, it is possible to report to the external device 20 before deleting the record of the unacquired alive / dead monitoring log from the alive / dead monitoring table, so that the determination of the external device 20 can be intervened before deleting the record of the unacquired alive / dead monitoring log.

[0055] The alive / dead check table storage unit 108 stores the alive / dead check table. The security log storage unit 109 stores the security log acquired by the log acquisition unit 101 . Alive / dead monitoring table storage unit 108 and security log storage unit 109 may be either an external storage device (hard disk, USB memory, CD / BD, etc.) or an internal storage device (RAM, etc.). In addition, they may be volatile or non-volatile, but since it is particularly desirable to manage the alive / dead monitoring table as non-volatile data, it is desirable for alive / dead monitoring table storage unit 108 that stores this to be non-volatile.

[0056] (2) Operation of the Log Management Device 100 Next, the operation of the log management device 100 will be described with reference to Fig. 8. Fig. 8 not only shows a log management method executed by the log management device 100, but also shows the processing procedure of a log management program executable by the log management device 100. The order of these processes is not limited to the order shown in Fig. 8. In other words, the order may be changed as long as there are no constraints such as a relationship in which a certain step utilizes the result of the previous step. The same applies to other embodiments.

[0057] The log acquisition unit 101 acquires a live / dead monitoring log indicating that the security sensor of the ECU 10 mounted on the vehicle is operating (S101). The acquired live / dead monitoring log is stored in the security log storage unit 109. The alive / dead monitoring log recording unit 103 records the acquisition of the alive / dead monitoring log by the log acquisition unit 101 in the alive / dead monitoring table stored in the alive / dead monitoring table storage unit 108 (S102). The unacquired alive / dead monitoring log recording unit 104 identifies an unacquired alive / dead monitoring log that has not been acquired by the log acquisition unit 101, and records the unacquired period during which the unacquired alive / dead monitoring log has not been acquired in the alive / dead monitoring table stored in the alive / dead monitoring table storage unit 108 (S103). The deletion unit 106 compares the unacquired period of the unacquired monitoring log with a predetermined period (S104). If the unacquired period is equal to or longer than the predetermined period (S104: Y), the deletion unit 106 invalidates, that is, deletes, the record of the unacquired alive monitoring log in the alive monitoring table (S105). If the unacquired period is shorter than the predetermined period (S104: N), the process ends.

[0058] (3) Summary As described above, according to this embodiment, since the electronic control devices constituting the electronic control system are identified using the alive monitoring log, it is not necessary to have information on the electronic control devices constituting the electronic control system in advance. In addition, by identifying unobtained alive monitoring logs from the acquisition status of alive monitoring logs, it is possible to identify ECUs that have been removed from the electronic control system or ECUs that have failed. Furthermore, if the period during which an unobtained alive / dead monitoring log has not been obtained is longer than a predetermined period, the record of the unobtained monitoring log is deleted from the alive / dead monitoring table, thereby reducing the size of the alive / dead monitoring table and preventing pressure on the capacity of the alive / dead monitoring table storage section and internal storage devices such as RAM. Furthermore, the electronic control devices that actually constitute the electronic control system can be identified from the alive / dead monitoring logs recorded in the alive / dead monitoring table after deleting the records of unobtained alive / dead monitoring logs, thereby reducing the number of targets for determining the anomaly detection patterns of cyber attacks and the amount of calculations required to identify the type of cyber attack.

[0059] (4) Variation 1 In this embodiment, the predetermined period is the number of consecutive trips for which no alive monitoring log is received, but instead, the predetermined period may be "measured." Here, "measuring" includes not only measuring time, but also detecting the occurrence of a triggering event and determining the duration or number of occurrences.

[0060] 6, the period measurement unit 105 measures a predetermined period. For example, in addition to measuring a fixed time such as 24 hours, the period measurement unit 105 may also measure a non-fixed time such as the time from starting to shutting down the log management device 100 or the time from turning the ignition on to turning the ignition off.

[0061] In addition, when a trip is defined as the period from startup to shutdown of the log management device 100 or the period from ignition ON to ignition OFF, as in this embodiment, the period measurement unit 105 may measure, i.e., count, the number of trips in units of trips.

[0062] (5) Variation 2 The alive / dead check table in this embodiment is assumed to be empty when the vehicle is first started, i.e., when the vehicle is new. The alive / dead check table is not reset when a trip ends or starts, but the alive / dead check table at the end of the previous trip is used as is.

[0063] Generally, the types and number of ECUs installed in high-priced, high-performance vehicles are greater than the types and number of ECUs installed in vehicles in the volume zone. In addition, there are ECUs that are installed only in the former vehicles, as well as ECUs that are installed only in the latter vehicles. Therefore, in the alive-or-dead monitoring table of this modified example, at the time of the initial startup of the vehicle, all known alive-or-dead monitoring logs of ECUs 10 that may be installed are registered.

[0064] Even if such a alive / dead monitoring table is used, it is possible to identify ECUs 10 that do not constitute an electronic control system by identifying unacquired alive / dead monitoring logs. Then, the deletion unit 106 can obtain the same results as in the first embodiment by deleting alive / dead monitoring logs corresponding to unacquired alive / dead monitoring logs from the alive / dead monitoring table.

[0065] 3. Embodiment 2 (1) Configuration of the Log Management Device 200 The log management device 100 of the first embodiment invalidates the record of the unacquired alive / dead monitoring log by deleting it from the alive / dead monitoring table. In the present embodiment, the record of the unacquired alive / dead monitoring log is not deleted from the alive / dead monitoring table, but is invalidated by recording it in a masking table.

[0066] Fig. 9 is a block diagram showing the configuration of a log management device 200 in this embodiment. The same components as those in the log management device 100 of the first embodiment shown in Fig. 6 are given the same reference numerals as in Fig. 6, and the description of the first embodiment will be quoted. The log management device 200 includes a log acquisition unit 101, a control unit 202, an output unit 107, an alive / dead monitoring table storage unit 108, a security log storage unit 109, and a mask table storage unit 210. The control unit 202 realizes the alive / dead monitoring log recording unit 103, the unacquired alive / dead monitoring log recording unit 104, and the masking unit 206 by hardware and / or software.

[0067] The masking unit 206 (corresponding to an "invalidation unit") "invalidates" the recording of the unacquired alive / dead monitoring log in the alive / dead monitoring table when the unacquired period of time for the unacquired alive / dead monitoring log is "a predetermined period" or "longer." In this embodiment, the masking unit 206 invalidates the unacquired alive / dead monitoring log by recording it in a masking "table" that masks elements of the alive / dead monitoring table. Here, a "table" is not limited to a tabular format as long as it is a collection of data.

[0068] FIG. 10 is a diagram showing a masking table. 7, for example, alive / dead monitoring log #4 was last acquired for trip number 5, and as the number of unacquired trips (C) indicates, five consecutive trips occurred in which alive / dead monitoring log #4 was not acquired. Therefore, the masking unit 206 records alive / dead monitoring log #4 in the masking table to mask the column of alive / dead monitoring log #4 in the masking table.

[0069] The contents to be recorded in the masking table may be, for example, recorded as alive / dead monitoring log #4 by writing 0 in the column corresponding to alive / dead monitoring log #4 in Fig. 7. Then, by overlapping a masking table on the alive / dead monitoring table, the recording of alive / dead monitoring log #4 in the alive / dead monitoring table is invalidated.

[0070] (2) Operation of the Log Management Device 200 The operation of the log management device 200 is basically the same as that of the log management device 100 of the first embodiment shown in FIG. 8 except for the specific operations of S104 and S105, so the description of the first embodiment and FIG. 8 will be cited.

[0071] The masking unit 206 compares the unacquired period of the unacquired monitoring log with a predetermined period (S104). If the unacquired period is equal to or longer than the predetermined period (S104: Y), the masking unit 206 invalidates the record of the unacquired alive / dead monitoring log in the alive / dead monitoring table, that is, records the unacquired alive / dead monitoring log in the masking table (S105). If the unacquired period is shorter than the predetermined period (S104: N), the process ends.

[0072] (3) Summary As described above, according to this embodiment, since the electronic control devices constituting the electronic control system are identified using the alive monitoring log, it is not necessary to have information on the electronic control devices constituting the electronic control system in advance. In addition, by identifying unobtained alive monitoring logs from the acquisition status of alive monitoring logs, it is possible to identify ECUs that have been removed from the electronic control system or ECUs that have failed. Furthermore, if the period during which an unobtained alive monitoring log has not been obtained is longer than a predetermined period, the unobtained monitoring log is recorded in the masking table. Therefore, by using the alive monitoring table and the masking table in combination, it is possible to identify the electronic control devices that actually constitute the electronic control system, thereby reducing the number of targets for which cyber-attack anomaly detection patterns are judged and reducing the amount of calculations required to identify the type of cyber-attack.

[0073] (4) Variations Modifications 1 and 2 of the first embodiment can also be applied to this embodiment.

[0074] 4. Embodiment 3 (1) Configuration of the Log Management Device 300 The log management device 300 of this embodiment is obtained by adding the configuration of an external input unit 308 to the log management device 100 of the first embodiment or the log management device 200 of the second embodiment.

[0075] Fig. 11 is a block diagram showing the configuration of a log management device 300 in this embodiment. The same components as those in the log management device 100 of the first embodiment shown in Fig. 6 are assigned the same reference numerals as in Fig. 6, and the description of the first embodiment will be quoted. The log management device 300 includes a log acquisition unit 101, a control unit 102, an output unit 107, an external input / output unit 308, an alive / dead monitoring table storage unit 108, and a security log storage unit 109.

[0076] The external input / output unit 308 is an interface for accessing the alive monitoring table from outside the vehicle, and associated software, modules, etc. For example, a diagnostic tool used to diagnose the electronic control system S is connected by a method using wired communication. Alternatively, a remote diagnostic device that performs diagnosis from a remote location by communication is connected by a method using wireless communication. FIG. 11 illustrates a case where the external input / output unit 308 is directly connected to devices outside the vehicle without going through the in-vehicle network, but the external input / output unit 308 may be connected to devices outside the vehicle using other communication devices such as the external communication ECU 10b via the in-vehicle network.

[0077] In this embodiment, when the external input / output unit 308 accesses the alive / dead monitoring table from outside the vehicle using a method that uses wireless communication, the external input / output unit 308 permits reading of the alive / dead monitoring table but prohibits erasure of the alive / dead monitoring table. Furthermore, the external input / output unit 308 may also prohibit modification of the alive / dead monitoring table. Note that other settings, such as prohibiting reading, may also be used.

[0078] In this embodiment, when the external input / output unit 308 accesses the alive / dead monitoring table from outside the vehicle using a method of wired communication, the external input / output unit 308 permits reading and erasing of the alive / dead monitoring table. Furthermore, the external input / output unit 308 may permit modification of the alive / dead monitoring table. Note that other settings, such as prohibiting erasure, may also be used.

[0079] In this way, by setting permission or prohibition of reading, erasing, and changing the alive-or-dead check table according to the communication method used by external input / output unit 308, it is possible to prevent tampering or destruction of the alive-or-dead check table by spoofing.

[0080] When the alive / dead monitoring table is read from outside the vehicle via external input / output unit 308, external input / output unit 308 outputs the alive / dead monitoring table stored in alive / dead monitoring table storage unit 107. External input / output unit 308 may output the alive / dead monitoring table as is, or may convert it into a format used for communication with the outside and output it.

[0081] Furthermore, the external input / output unit 308 may output the alive-or-dead check table including the number of event-specific IDs (corresponding to "identification information") recorded in the alive-or-dead check table. 12 is an example of a health check table output from the external input / output unit 308. In this example, the number of event specific IDs recorded in the health check table to be output is three, so the external input / output unit 308 outputs 3 as the number of event specific IDs. The event specific IDs are then output in numerical order of the health check logs recorded in the health check table. In this way, by outputting the number of event specific IDs, it is possible to check whether there are any gaps in the alive check table received on the diagnostic tool side.

[0082] In this embodiment, the number of event identification IDs is generated by the external input / output unit 308, but the alive / dead monitoring log recording unit 103 may generate the number.

[0083] (2) Operation of the Log Management Device 300 Next, the operation of the log management device 300 will be described with reference to FIG. FIG. 13 shows the operation when there is access from an external device or the like via the external input / output unit 308. The external input / output unit 308 detects whether the connected external device or the like is accessing using a method using wireless communication or a method using wired communication (S301). If the access is using a method using wireless communication (S301: wireless), the external input / output unit 308 detects the purpose of the access (S302). If the purpose of the access is reading (S302: reading), the external input / output unit 308 sets the number of event specific IDs recorded in the alive / dead monitoring table stored in the alive / dead monitoring table storage unit 107, and outputs the alive / dead monitoring table including this (S303). If the purpose of the access is erasure (S302: erasure), the external input / output unit 308 prohibits erasure of the alive / dead monitoring table, and does not permit the access. On the other hand, when access is made by a method using wired communication (S301: wired), the external input / output unit 308 detects the purpose of the access (S304). When the purpose of the access is to read (S304: read), the external input / output unit 308 performs the same process as S303. When the purpose of the access is to erase (S304: erase), the external input / output unit 308 permits erasure of the alive / dead monitoring table, and the alive / dead monitoring table is erased.

[0084] (3) Summary As described above, according to this embodiment, by setting permission or prohibition of reading and erasing of the alive check table depending on the communication method used by the external input / output unit, it is possible to prevent tampering or destruction of the alive check table through spoofing.

[0085] 5. Summary The features of the log management device and the like in each embodiment of the present invention have been described above.

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

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

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

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

[0090] Moreover, examples of the form of the log management 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.

[0091] Furthermore, necessary functions such as an antenna and a communication interface may be added to the log management device.

[0092] It is assumed that the log management device of the present invention will be used, particularly on the server side, for the purpose of providing various services. In providing such services, the log management device of the present invention will be used, the method of the present invention will be used, and / or the program of the present invention will be executed.

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

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

[0095] The log management device of the present invention is intended primarily as a device for analyzing cyber-attacks received by electronic control systems installed in automobiles, but it may also be intended as a device for analyzing attacks against normal systems not installed in automobiles. [Explanation of symbols]

[0096] 10 ECU, 100, 200, 300 log management device, 101 log acquisition unit, 102, 202 control unit, 103 alive monitoring log recording unit, 104 unacquired alive monitoring log recording unit, 105 period measurement unit, 106 deletion unit, 107 output unit, 108 alive monitoring table storage unit, 109 security log storage unit, 206 masking unit, 210 masking table storage unit, 20 external device

Claims

1. A log acquisition unit (101) for acquiring a monitoring log indicating that a security sensor of an electronic control device (10) mounted on a vehicle is operating; a live / dead monitoring log recording unit (103) for recording the acquisition of the live / dead monitoring log in a live / dead monitoring table; an unacquired alive / dead monitoring log recording unit (104) that identifies an unacquired alive / dead monitoring log that has not been acquired by the log acquisition unit and records an unacquired period during which the unacquired alive / dead monitoring log has not been acquired in the alive / dead monitoring table; and an invalidation unit (106, 206) that invalidates a record of the unacquired alive / dead monitoring log in the alive / dead monitoring table when the unacquired period of time of the unacquired alive / dead monitoring log is equal to or longer than a predetermined period. Log management device (100, 200, 300).

2. the invalidation unit invalidates the record of the unacquired alive-or-dead monitoring log by deleting it from the alive-or-dead monitoring table.

2. The log management device according to claim 1.

3. the invalidation unit invalidates the unacquired alive-or-dead monitoring log by recording it in a masking table that masks elements of the alive-or-dead monitoring table.

2. The log management device according to claim 1.

4. The alive / dead monitoring table is empty when the vehicle is first started.

2. The log management device according to claim 1.

5. The alive / dead monitoring table has a known alive / dead monitoring log registered therein at the time of initial startup of the vehicle.

2. The log management device according to claim 1.

6. The predetermined period is in units of a trip, which is a period from start to end of the log management device or a period from ignition ON to ignition OFF of the vehicle.

2. The log management device according to claim 1.

7. The predetermined period is when the trip occurs a predetermined number of times in succession.

7. The log management device according to claim 6.

8. Further, a period measurement unit (105) for measuring the predetermined period is provided.

2. The log management device according to claim 1.

9. The alive monitoring log is generated by the security sensor at regular intervals.

2. The log management device according to claim 1.

10. the alive / dead monitoring log recording unit records identification information of the alive / dead monitoring log in the alive / dead monitoring table; 2. The log management device according to claim 1.

11. an output unit (107) outputs a detection log to an external device (20) when the unreceived period of the unacquired alive monitoring log is equal to or longer than a predetermined period; 2. The log management device according to claim 1.

12. Further, an external input / output unit (308) for accessing the alive / dead monitoring table from outside the vehicle is provided.

2. The log management device according to claim 1.

13. When the external input / output unit accesses the alive / dead monitoring table from outside the vehicle by a method using wireless communication, or when the external input / output unit accesses the alive / dead monitoring table from outside the vehicle by a method using wired communication, reading of the alive / dead monitoring table is permitted.

13. The log management device according to claim 12.

14. When the external input / output unit accesses the alive-or-dead monitoring table from outside the vehicle by a method using wireless communication, erasure of the alive-or-dead monitoring table is prohibited; When the external input / output unit accesses the alive-or-dead monitoring table from outside the vehicle by a method using wired communication, erasure of the alive-or-dead monitoring table is permitted.

13. The log management device according to claim 12.

15. When the alive-or-death check table is read out via the external input / output unit, the external input / output unit outputs the alive-or-death check table including the number of pieces of identification information of the alive-or-death check logs recorded in the alive-or-death check table.

15. The log management device according to claim 13 or 14.

16. The log management device is mounted on the vehicle.

2. The log management device according to claim 1.

17. An electronic control system having an electronic control device (10) mounted on a vehicle and a log management device (100, 200, 300) connected to the electronic control device, The electronic control device includes: A log generating unit (11) that generates a alive monitoring log indicating that the security sensor is operating; A transmission unit (12) that transmits the alive monitoring log, The log management device includes: A log acquisition unit (101) for acquiring the alive monitoring log; a live / dead monitoring log recording unit (103) for recording the acquisition of the live / dead monitoring log in a live / dead monitoring table; an unacquired alive / dead monitoring log recording unit (104) that identifies an unacquired alive / dead monitoring log that has not been acquired by the log acquisition unit and records an unacquired period during which the unacquired alive / dead monitoring log has not been acquired in the alive / dead monitoring table; and an invalidation unit (106, 206) that invalidates a record of the unacquired alive / dead monitoring log in the alive / dead monitoring table when the unacquired period of time of the unacquired alive / dead monitoring log is equal to or longer than a predetermined period. Electronic control system.

18. A log management method executed by a log management device (100, 200, 300), comprising: A monitoring log indicating that a security sensor of an electronic control unit mounted on a vehicle is operating is acquired (S101). The fact that the alive-or-dead monitoring log has been acquired is recorded in the alive-or-dead monitoring table (S102). Identifying an unobtained alive monitoring log and recording an unobtained period during which the unobtained alive monitoring log was not obtained in the alive monitoring table (S103); When the unacquired period of time of the unacquired alive-or-dead monitoring log is equal to or longer than a predetermined period of time, the record of the unacquired alive-or-dead monitoring log in the alive-or-dead monitoring table is invalidated (S104, S105). Log management methods.

19. A log management program executable on a log management device (100, 200, 300), A monitoring log indicating that a security sensor of an electronic control unit mounted on a vehicle is operating is acquired (S101). The fact that the alive-or-dead monitoring log has been acquired is recorded in the alive-or-dead monitoring table (S102). Identifying an unobtained alive monitoring log and recording an unobtained period during which the unobtained alive monitoring log was not obtained in the alive monitoring table (S103); When the unacquired period of time of the unacquired alive-or-dead monitoring log is equal to or longer than a predetermined period of time, the record of the unacquired alive-or-dead monitoring log in the alive-or-dead monitoring table is invalidated (S104, S105). Log management program.

Citation Information

Patent Citations

  • Tampering-detection electronic control unit, electronic control unit, onboard network system, tampering-detection method, and computer program

    JP2018111468A

  • Log management device and center device

    JP2022017995A

  • Attack analysis device, attack analysis method, and attack analysis program

    JP2023006513A

  • Security device, attack specification method, and program

    JP2020123307A