WO2018029905A1 - データ提供システム、データ保安装置、データ提供方法、及びコンピュータプログラム - Google Patents

データ提供システム、データ保安装置、データ提供方法、及びコンピュータプログラム Download PDF

Info

Publication number
WO2018029905A1
WO2018029905A1 PCT/JP2017/014794 JP2017014794W WO2018029905A1 WO 2018029905 A1 WO2018029905 A1 WO 2018029905A1 JP 2017014794 W JP2017014794 W JP 2017014794W WO 2018029905 A1 WO2018029905 A1 WO 2018029905A1
Authority
WO
WIPO (PCT)
Prior art keywords
data
electronic signature
vehicle
security device
ecu
Prior art date
Application number
PCT/JP2017/014794
Other languages
English (en)
French (fr)
Inventor
竹森 敬祐
誠一郎 溝口
歩 窪田
Original Assignee
Kddi株式会社
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Kddi株式会社 filed Critical Kddi株式会社
Priority to EP17838981.3A priority Critical patent/EP3499793B1/en
Priority to CN201780035430.9A priority patent/CN109314645B/zh
Priority to US16/307,394 priority patent/US11212109B2/en
Publication of WO2018029905A1 publication Critical patent/WO2018029905A1/ja

Links

Images

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L9/00Cryptographic mechanisms or cryptographic arrangements for secret or secure communications; Network security protocols
    • H04L9/32Cryptographic mechanisms or cryptographic arrangements for secret or secure communications; Network security protocols including means for verifying the identity or authority of a user of the system or for message authentication, e.g. authorization, entity authentication, data integrity or data verification, non-repudiation, key authentication or verification of credentials
    • H04L9/3247Cryptographic mechanisms or cryptographic arrangements for secret or secure communications; Network security protocols including means for verifying the identity or authority of a user of the system or for message authentication, e.g. authorization, entity authentication, data integrity or data verification, non-repudiation, key authentication or verification of credentials involving digital signatures
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F21/00Security arrangements for protecting computers, components thereof, programs or data against unauthorised activity
    • G06F21/50Monitoring users, programs or devices to maintain the integrity of platforms, e.g. of processors, firmware or operating systems
    • G06F21/57Certifying or maintaining trusted computer platforms, e.g. secure boots or power-downs, version controls, system software checks, secure updates or assessing vulnerabilities
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F21/00Security arrangements for protecting computers, components thereof, programs or data against unauthorised activity
    • G06F21/60Protecting data
    • G06F21/602Providing cryptographic facilities or services
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F21/00Security arrangements for protecting computers, components thereof, programs or data against unauthorised activity
    • G06F21/60Protecting data
    • G06F21/64Protecting data integrity, e.g. using checksums, certificates or signatures
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L63/00Network architectures or network communication protocols for network security
    • H04L63/12Applying verification of the received information
    • H04L63/123Applying verification of the received information received data contents, e.g. message integrity
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L9/00Cryptographic mechanisms or cryptographic arrangements for secret or secure communications; Network security protocols
    • H04L9/08Key distribution or management, e.g. generation, sharing or updating, of cryptographic keys or passwords
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L9/00Cryptographic mechanisms or cryptographic arrangements for secret or secure communications; Network security protocols
    • H04L9/08Key distribution or management, e.g. generation, sharing or updating, of cryptographic keys or passwords
    • H04L9/088Usage controlling of secret information, e.g. techniques for restricting cryptographic keys to pre-authorized uses, different access levels, validity of crypto-period, different key- or password length, or different strong and weak cryptographic algorithms
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L9/00Cryptographic mechanisms or cryptographic arrangements for secret or secure communications; Network security protocols
    • H04L9/30Public key, i.e. encryption algorithm being computationally infeasible to invert or user's encryption keys not requiring secrecy
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L9/00Cryptographic mechanisms or cryptographic arrangements for secret or secure communications; Network security protocols
    • H04L9/32Cryptographic mechanisms or cryptographic arrangements for secret or secure communications; Network security protocols including means for verifying the identity or authority of a user of the system or for message authentication, e.g. authorization, entity authentication, data integrity or data verification, non-repudiation, key authentication or verification of credentials
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L9/00Cryptographic mechanisms or cryptographic arrangements for secret or secure communications; Network security protocols
    • H04L9/32Cryptographic mechanisms or cryptographic arrangements for secret or secure communications; Network security protocols including means for verifying the identity or authority of a user of the system or for message authentication, e.g. authorization, entity authentication, data integrity or data verification, non-repudiation, key authentication or verification of credentials
    • H04L9/3234Cryptographic mechanisms or cryptographic arrangements for secret or secure communications; Network security protocols including means for verifying the identity or authority of a user of the system or for message authentication, e.g. authorization, entity authentication, data integrity or data verification, non-repudiation, key authentication or verification of credentials involving additional secure or trusted devices, e.g. TPM, smartcard, USB or software token
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L9/00Cryptographic mechanisms or cryptographic arrangements for secret or secure communications; Network security protocols
    • H04L9/32Cryptographic mechanisms or cryptographic arrangements for secret or secure communications; Network security protocols including means for verifying the identity or authority of a user of the system or for message authentication, e.g. authorization, entity authentication, data integrity or data verification, non-repudiation, key authentication or verification of credentials
    • H04L9/3236Cryptographic mechanisms or cryptographic arrangements for secret or secure communications; Network security protocols including means for verifying the identity or authority of a user of the system or for message authentication, e.g. authorization, entity authentication, data integrity or data verification, non-repudiation, key authentication or verification of credentials using cryptographic hash functions
    • H04L9/3242Cryptographic mechanisms or cryptographic arrangements for secret or secure communications; Network security protocols including means for verifying the identity or authority of a user of the system or for message authentication, e.g. authorization, entity authentication, data integrity or data verification, non-repudiation, key authentication or verification of credentials using cryptographic hash functions involving keyed hash functions, e.g. message authentication codes [MACs], CBC-MAC or HMAC
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W12/00Security arrangements; Authentication; Protecting privacy or anonymity
    • H04W12/03Protecting confidentiality, e.g. by encryption
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W12/00Security arrangements; Authentication; Protecting privacy or anonymity
    • H04W12/10Integrity
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W4/00Services specially adapted for wireless communication networks; Facilities therefor
    • H04W4/30Services specially adapted for particular environments, situations or purposes
    • H04W4/40Services specially adapted for particular environments, situations or purposes for vehicles, e.g. vehicle-to-pedestrians [V2P]
    • H04W4/44Services specially adapted for particular environments, situations or purposes for vehicles, e.g. vehicle-to-pedestrians [V2P] for communication between vehicles and infrastructures, e.g. vehicle-to-cloud [V2C] or vehicle-to-home [V2H]
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F8/00Arrangements for software engineering
    • G06F8/60Software deployment
    • G06F8/65Updates
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L2209/00Additional information or applications relating to cryptographic mechanisms or cryptographic arrangements for secret or secure communication H04L9/00
    • H04L2209/80Wireless
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L2209/00Additional information or applications relating to cryptographic mechanisms or cryptographic arrangements for secret or secure communication H04L9/00
    • H04L2209/84Vehicles

Definitions

  • the present invention relates to a data providing system, a data security device, a data providing method, and a computer program.
  • Non-Patent Document 1 discloses a security technique for an in-vehicle control system configured by connecting a plurality of ECUs to a CAN (Controller Area Network).
  • the present invention has been made in view of such circumstances, and a data providing system, a data security device, a data providing method, and a data providing system capable of improving the reliability of data applied to an in-vehicle computer such as an ECU, and the like It is an object to provide a computer program.
  • One aspect of the present invention includes a data providing device and a data security device mounted on a vehicle, and the data providing device is mounted on the vehicle and a vehicle interface that transmits and receives data to and from the vehicle.
  • An encryption processing unit that generates an electronic signature of application data applied to the in-vehicle computer using a secret key of the data providing device, and applies the application data with an electronic signature to which the electronic signature is attached to the application data
  • the data security device transmits to the vehicle by the vehicle interface, the data security device transmits and receives data to and from a device external to the data security device, and the application data with electronic signature received from the data providing device by the interface unit.
  • a cryptographic processing unit that verifies the electronic signature using a public key of the data providing device, and Transmitting to the onboard computer by the application data testimony have passed the interface unit, a data providing system.
  • the data security device determines whether the application data transmitted to the in-vehicle computer is applied to the in-vehicle computer by the interface unit.
  • the data providing system receives the data application result shown from the in-vehicle computer and transfers the result to the data providing apparatus.
  • the data security device may transmit the application data that has passed the verification of the electronic signature and a message authentication code for the application data to the in-vehicle computer through the interface unit. .
  • the message authentication code may be a message authentication code related to a packet that stores the application data that has passed verification of the electronic signature and transmits the data to the in-vehicle computer.
  • the data security device divides the applied data that has passed the verification of the electronic signature into a plurality of blocks, calculates the message authentication code for each block, and the block and the message An authentication code may be transmitted to the in-vehicle computer by the interface unit.
  • One aspect of the present invention is a data security device mounted on a vehicle, an interface unit that transmits / receives data to / from an external device of the data security device, and an electronic signature received from the data providing device by the interface unit
  • An encryption processing unit that verifies the electronic signature of the attached application data using the public key of the data providing device, and the application unit of the application data with the electronic signature that has passed the verification of the electronic signature
  • One aspect of the present invention is a data providing method of a data providing system including a data providing device and a data security device mounted on a vehicle, wherein the data providing device is mounted on the vehicle.
  • An electronic signature of application data applied to a computer is generated using a secret key of the data providing apparatus, and the data providing apparatus applies application data with an electronic signature obtained by attaching the electronic signature to the application data.
  • the application data with the electronic signature transmitted from the data providing device to the vehicle via a vehicle interface for sending and receiving data to and from the vehicle, and the data security device received from the data providing device by the interface unit for sending and receiving data to and from the device outside the data security device.
  • the electronic signature is verified using the public key of the data providing device, and the data security device verifies the electronic signature. Transmitting to the vehicle computer by the interface unit to the application data pass the a data providing method.
  • application data with an electronic signature received from a data providing device by an interface unit that transmits and receives data to and from an external device of the data security device is transmitted to a computer of a data security device mounted on a vehicle.
  • the electronic signature is verified using the public key of the data providing device, and the application data of the application data with the electronic signature that has passed the verification of the electronic signature is transmitted to the in-vehicle computer mounted on the vehicle by the interface unit.
  • This is a computer program that executes processing.
  • FIG. 1 is a diagram illustrating a configuration example of a data providing system and an automobile 1001 according to an embodiment. It is a figure which shows the structural example of the server apparatus 2000 which concerns on one Embodiment. It is a figure which shows the structural example of the data security apparatus 1010 which concerns on one Embodiment. It is a figure showing an example of composition of ECU1020 concerning one embodiment. It is a sequence chart which shows the example of the data provision method which concerns on one Embodiment. It is a flowchart which shows the Example of the data provision method which concerns on one Embodiment. It is a flowchart which shows the Example of the data provision method which concerns on one Embodiment. It is a flowchart which shows the Example of the data provision method which concerns on one Embodiment. It is a flowchart which shows the Example of the data provision method which concerns on one Embodiment. It is a flowchart which shows the Example of the data provision method which concerns on one Embodiment.
  • FIG. 1 is a diagram illustrating a configuration example of a data providing system and an automobile 1001 according to an embodiment.
  • an ECU electronic control device mounted on the automobile 1001 will be described as an example of the in-vehicle computer.
  • an automobile 1001 includes a data security device 1010 and a plurality of ECUs 1020.
  • the ECU 1020 is an in-vehicle computer provided in the automobile 1001.
  • ECU 1020 has a control function such as engine control of automobile 1001. Examples of the ECU 1020 include an ECU having an engine control function, an ECU having a handle control function, and an ECU having a brake control function.
  • the data security device 1010 has a data security (security) function applied to the ECU 1020 mounted on the automobile 1001. Note that any ECU mounted on the automobile 1001 may function as the data security device 1010.
  • the data security device 1010 and the plurality of ECUs 1020 are connected to a CAN (Controller Area Network) 1030 provided in the automobile 1001.
  • CAN 1030 is a communication network.
  • CAN is known as one of communication networks mounted on vehicles.
  • the data security device 1010 exchanges data with each ECU 1020 via the CAN 1030.
  • ECU 1020 exchanges data with other ECUs 1020 via CAN 1030.
  • a communication network other than CAN is provided in the automobile 1001, and data exchange between the data security device 1010 and the ECU 1020 and communication between the ECUs 1020 are performed via the communication network other than CAN. Data exchanges between them may be performed.
  • the automobile 1001 may be provided with LIN (Local Interconnect Network).
  • the automobile 1001 may include CAN and LIN.
  • the automobile 1001 may be provided with an ECU 1020 connected to the LIN.
  • the data security device 1010 may be connected to CAN and LIN.
  • the data security device 1010 exchanges data with the ECU 1020 connected to the CAN via the CAN, and exchanges data with the ECU 1020 connected to the LIN via the LIN. Also good. Further, the ECUs 1020 may exchange data via the LIN.
  • the in-vehicle computer system 1002 provided in the automobile 1001 is configured by connecting a data security device 1010 and a plurality of ECUs 1020 to a CAN 1030.
  • the in-vehicle computer system 1002 functions as an in-vehicle control system for the automobile 1001.
  • the gateway 1070 monitors communication between the inside and the outside of the in-vehicle computer system 1002.
  • the gateway 1070 is connected to the CAN 1030.
  • the gateway 1070 is connected to an infotainment device 1040, a TCU (Tele Communication Unit) 1050, and a diagnostic port 1060 as examples of devices external to the in-vehicle computer system 1002.
  • the data security device 1010 and the ECU 1020 communicate with devices outside the in-vehicle computer system 1002 via the gateway 1070.
  • the CAN 1030 may include a plurality of buses (communication lines), and the plurality of buses may be connected to the gateway 1070.
  • the plurality of buses may be connected to the gateway 1070.
  • one ECU 1020 or a plurality of ECUs 1020 is connected to one bus.
  • the data security device 1010 and the ECU 1020 may be connected to the same bus, or the bus to which the data security device 1010 is connected and the bus to which the ECU 1020 is connected may be separated.
  • the automobile 1001 has a diagnostic port 1060.
  • the diagnostic port 1060 for example, an OBD (On-board Diagnostics) port may be used.
  • a device outside the automobile 1001 can be connected to the diagnostic port 1060.
  • As an external device of the automobile 1001 that can be connected to the diagnosis port 1060 for example, there is a maintenance tool 2100 shown in FIG. Data is exchanged between the data security device 1010 and a device connected to the diagnostic port 1060, such as the maintenance tool 2100, via the diagnostic port 1060 and the gateway 1070.
  • the maintenance tool 2100 may have a function of a conventional diagnostic terminal connected to the OBD port.
  • the automobile 1001 includes an infotainment device 1040.
  • infotainment device 1040 examples include a navigation function, a location information service function, a multimedia playback function such as music and video, a voice communication function, a data communication function, and an Internet connection function.
  • the automobile 1001 includes a TCU 1050.
  • the TCU 1050 is a communication device.
  • the TCU 1050 includes a communication module 1051.
  • the communication module 1051 performs wireless communication using a wireless communication network.
  • the communication module 1051 includes a SIM (Subscriber Identity Module) 1052.
  • the SIM 1052 is a SIM in which information for using the wireless communication network is written.
  • the communication module 1051 can use the SIM 1052 to connect to the wireless communication network and perform wireless communication.
  • eSIM Embedded Subscriber Identity
  • the data security device 1010 exchanges data with the TCU 1050 via the gateway 1070.
  • the TCU 1050 and the data security device 1010 may be directly connected via a communication cable, and the TCU 1050 and the data security device 1010 may exchange data via the communication cable.
  • the TCU 1050 and the data security device 1010 may be directly connected via a USB (universal serial bus) cable, and the TCU 1050 and the data security device 1010 may exchange data via the USB cable.
  • the transmission-side apparatus may include a buffer that temporarily stores data to be transmitted to the reception-side apparatus.
  • the TCU 1050 may be connected to the infotainment device 1040, and the data security device 1010 may exchange data with the TCU 1050 via the gateway 1070 and the infotainment device 1040.
  • the TCU 1050 may be connected to the diagnostic port 1060, and the data security device 1010 may exchange data with the TCU 1050 connected to the diagnostic port 1060 via the gateway 1070 and the diagnostic port 1060.
  • the data security device 1010 may include a communication module 1051 including a SIM 1052. When the data security device 1010 includes the communication module 1051 including the SIM 1052, the automobile 1001 may not include the TCU 1050.
  • the data security device 1010 includes a main computing unit 1011 and an HSM (Hardware Security Module) 1012.
  • the main arithmetic unit 1011 executes a computer program for realizing the functions of the data security device 1010.
  • the HSM 1012 has a cryptographic processing function and the like.
  • HSM 1012 has tamper resistance.
  • the HSM 1012 is an example of a secure element (Secure Element: SE).
  • SE Secure Element
  • the HSM 1012 includes a storage unit 1013 that stores data.
  • the main arithmetic unit 1011 uses an HSM 1012.
  • the ECU 1020 includes a main computing unit 1021 and a SHE (Secure Hardware Extension) 1022.
  • the main computing unit 1021 executes a computer program for realizing the functions of the ECU 1020.
  • the SHE 1022 has a cryptographic processing function and the like.
  • SHE1022 has tamper resistance.
  • SHE1022 is an example of a secure element.
  • the SHE 1022 includes a storage unit 1023 that stores data.
  • the main computing unit 1021 uses SHE1022.
  • the server device 2000 transmits and receives data to and from the communication module 1051 of the TCU 1050 of the automobile 1001 via the communication line.
  • Server device 2000 transmits and receives data to and from communication module 1051 via a wireless communication network used by communication module 1051 of TCU 1050 of automobile 1001.
  • the server device 2000 may transmit / receive data to / from the communication module 1051 via a communication network such as the Internet and the wireless communication network.
  • the server apparatus 2000 and the communication module 1051 may be connected by a dedicated line such as a VPN (Virtual Private Network) line, and data may be transmitted and received through the dedicated line.
  • a dedicated line such as a VPN line may be provided by a wireless communication network corresponding to the SIM 1052.
  • Server device 2000 and automobile 1001 may be connected by a communication cable.
  • the server apparatus 2000 and the gateway 1070 of the automobile 1001 may be configured to be connected with a communication cable.
  • the server device 2000 provides the vehicle 1001 with an ECU code (ECU code) applied to the ECU 1020.
  • ECU code is an example of data applied to the ECU 1020.
  • the ECU code may be a computer program such as an update program installed in the ECU 1020, or may be setting data such as a parameter setting value set in the ECU 1020.
  • FIG. 2 is a diagram illustrating a configuration example of the server apparatus 2000.
  • the server apparatus 2000 includes a communication unit 2011, a storage unit 2012, an expected value calculation unit 2013, a verification unit 2014, and an encryption processing unit 2016.
  • the communication unit 2011 communicates with other devices via a communication line.
  • the communication unit 2011 corresponds to a vehicle interface.
  • the storage unit 2012 stores data.
  • the expected value calculation unit 2013 calculates an expected value for the ECU code.
  • the verification unit 2014 performs processing related to verification of the measurement value of the ECU 1020.
  • the cryptographic processing unit 2016 performs cryptographic processing.
  • the cryptographic processing of the cryptographic processing unit 2016 includes at least electronic signature generation processing.
  • the encryption processing of the encryption processing unit 2016 may further include data encryption processing and encryption data decryption processing.
  • the function of the server device 2000 is realized by a CPU (Central Processing Unit) included in the server device 2000 executing a computer program.
  • the server device 2000 may be configured using a general-purpose computer device, or may be configured as a dedicated hardware device.
  • FIG. 3 is a diagram illustrating a configuration example of the data security device 1010.
  • the data security device 1010 includes a main arithmetic unit 1011, an HSM 1012, and an interface unit 20.
  • the main computing unit 1011 includes a control unit 21 and a storage unit 22.
  • the HSM 1012 includes a storage unit 1013 and an encryption processing unit 32.
  • the interface unit 20 transmits / receives data to / from an external device of the own data security device 1010.
  • the interface unit 20 includes an interface that transmits and receives data via the CAN 1030.
  • the main computing unit 1011 transmits / receives data to / from devices other than the data security device 1010 via the interface unit 20.
  • the control unit 21 controls the data security device 1010.
  • the storage unit 22 stores data.
  • the storage unit 1013 stores data.
  • the cryptographic processing unit 32 performs cryptographic processing.
  • the cryptographic processing of the cryptographic processing unit 32 includes at least electronic signature verification processing.
  • the encryption processing of the encryption processing unit 32 may further include data encryption processing and encrypted data decryption processing.
  • FIG. 4 is a diagram illustrating a configuration example of the ECU 1020.
  • the ECU 1020 includes a main computing unit 1021, a SHE 1022, and an interface unit 40.
  • the main computing unit 1021 includes a control unit 41 and a storage unit 42.
  • the SHE 1022 includes a storage unit 1023, an encryption processing unit 52, and a measurement unit 53.
  • the interface unit 40 transmits / receives data to / from an external device of the own ECU 1020.
  • the interface unit 40 includes an interface that transmits and receives data via the CAN 1030.
  • the main computing unit 1021 transmits and receives data to and from devices other than its own ECU 1020 via the interface unit 40.
  • the control unit 41 controls the ECU 1020.
  • the storage unit 42 stores data.
  • the storage unit 1023 stores data.
  • the encryption processing unit 52 encrypts data and decrypts encrypted data.
  • the measurement unit 53 calculates a measurement value of data such as an ECU code, and verifies the measurement value based on an expected value.
  • HSM is used for the data security device 1010
  • SHE may be used in the data security device 1010 instead of HSM.
  • SHE it describes in the nonpatent literature 2, for example.
  • FIG. 5 is a sequence chart showing an example of a data providing method according to the present embodiment.
  • the server device 2000 stores a master key Master_Secret, an ECU code of the ECU 1020, and a secret key Kss of the server device 2000 in the storage unit 2012 in advance.
  • the ECU code of ECU 1020 includes an ECU code scheduled to be applied to ECU 1020.
  • the data security device 1010 stores the public key Kps of the server device 2000 in the storage unit 1013 of the HSM 1012 in advance.
  • the public key Kps may be stored in the storage unit 1013 as a public key certificate.
  • the ECU 1020 stores the signature key Kb in the storage unit 1023 of the SHE 1022 in advance.
  • the server apparatus 2000 communicates with the TCU 1050 of the automobile 1001 through the communication unit 2011, and transmits / receives data to / from the data security apparatus 1010 connected to the CAN 1030 of the automobile 1001 via the TCU 1050 and the gateway 1070.
  • An encrypted communication path may be used as a communication path between server device 2000 and data security device 1010.
  • the server apparatus 2000 and the data security apparatus 1010 may perform https (hypertext transfer transfer protocol secure) communication as an example of an encrypted communication path.
  • Step S101 The encryption processing unit 2016 of the server device 2000 generates an electronic signature for the ECU code applied to the ECU 1020 and the expected value of the ECU code using the secret key Kss.
  • the expected value of the ECU code is an expected value used in the secure boot of the ECU 1020.
  • the expected value of the ECU code is an example of data applied to the ECU 1020.
  • the expected value of the ECU code may be stored in advance in the storage unit 2012 in association with the ECU code, or the expected value calculation unit 2013 may calculate the expected value of the ECU code.
  • CMAC Cipher-based Message Authentication Code
  • the signature key Kb of the ECU 1020 is used for calculating the CMAC that is an expected value of the ECU code.
  • the signature key Kb of the ECU 1020 is shared between the ECU 1020 and the server device 2000 in advance.
  • Step S ⁇ b> 102 The server device 2000 transmits the ECU code applied to the ECU 1020, the expected value of the ECU code, and the electronic signature generated by the encryption processing unit 2016 to the data security device 1010 through the communication unit 2011.
  • the data security device 1010 receives the ECU code transmitted from the server device 2000, the expected value of the ECU code, and the electronic signature.
  • the electronic signature may be attached to both the ECU code and the expected value, or may be attached only to either the ECU code or the expected value.
  • Step S103 The control unit 21 of the data security device 1010 causes the HSM 1012 to verify the electronic signature received from the server device 2000.
  • the cryptographic processing unit 32 of the HSM 1012 verifies the electronic signature using the public key Kps stored in the storage unit 1013.
  • the HSM 1012 passes the verification result of the electronic signature to the control unit 21. If the verification result of the electronic signature is acceptable, the control unit 21 proceeds to step S104. On the other hand, when the verification result of the electronic signature fails, the control unit 21 ends the process of FIG.
  • the control unit 21 may execute predetermined error processing. For example, the control unit 21 may transmit an error message indicating that the verification result of the electronic signature is unacceptable to the server apparatus 2000.
  • the server device 2000 may execute predetermined error processing in response to the error message. For example, the server device 2000 retransmits the ECU code, the expected value of the ECU code, and the electronic signature to the data security device 1010, or regenerates the electronic signature, and then the ECU code and the expected value of the ECU code. And the electronic signature may be transmitted to the data security device 1010.
  • Step S ⁇ b> 1034 The control unit 21 of the data security device 1010 transmits the ECU code and the expected value, which have passed the verification of the electronic signature, to the ECU 1020 through the interface unit 20.
  • the ECU 1020 receives the ECU code and the expected value transmitted from the data security device 1010.
  • Step S105 The control unit 41 of the ECU 1020 applies the ECU code and the expected value received from the data security device 1010 to the own ECU 1020.
  • the control unit 41 sets the expected value in the SHE 1022 as an expected value used in secure boot.
  • the storage unit 1023 of the SHE 1022 stores the expected value.
  • Step S106 The control unit 41 of the ECU 1020 executes secure boot after the application of the ECU code.
  • the measurement unit 53 of the SHE 1022 calculates the measured value of the ECU code using the signature key Kb stored in the storage unit 1023.
  • CMAC is used as an example of the measurement value. Therefore, the measurement unit 53 calculates the CMAC of the ECU code using the signature key Kb stored in the storage unit 1023.
  • the measurement unit 53 compares the CMAC of the calculation result with the expected value stored in the storage unit 1023. As a result of comparison between the CMAC of the calculation result and the expected value, when the two match, the secure boot result is acceptable, and when the two do not coincide, the secure boot result is unacceptable.
  • the SHE 1022 passes the secure boot result to the control unit 41.
  • the control unit 41 advances the execution of the ECU code when the secure boot result is acceptable.
  • the control part 41 stops execution of ECU code, when a secure boot result is a failure.
  • the server apparatus 2000 supplies the ECU 1020 with an expected value that is used in secure boot, but the data security apparatus 1010 may supply the expected value to the ECU 1020.
  • the data security device 1010 has an expected value calculation unit, and calculates an expected value (CMAC) of the ECU code using the signature key Kb of the ECU 1020.
  • the signature key Kb of the ECU 1020 is shared between the ECU 1020 and the data security device 1010 in advance.
  • Step S ⁇ b> 107 The control unit 41 of the ECU 1020 transmits the secure boot result “pass or fail” to the data security device 1010 through the interface unit 40.
  • the data security device 1010 transfers the secure boot result “pass or fail” received from the ECU 1020 to the server device 2000.
  • the secure boot result “pass or fail” corresponds to a data application result indicating whether or not the ECU code is applied to the ECU 1020.
  • the server device 2000 receives the secure boot result “pass or fail” transmitted from the data security device 1010 via the communication unit 2011.
  • the server device 2000 executes a predetermined process according to the secure boot result “passed or failed” received from the data security device 1010. For example, if the secure boot result is acceptable, the fact is recorded. On the other hand, when the secure boot result is unacceptable, the server apparatus 2000 may execute predetermined error processing. For example, as error processing, the server device 2000 retransmits the ECU code, the expected value of the ECU code, and the electronic signature to the data security device 1010, or regenerates the electronic signature and then generates the ECU code and the ECU. The expected value of the code and the electronic signature may be transmitted to the data security device 1010. Further, the server apparatus 2000 may repeat the error processing until the secure boot result is passed, or may be repeated a predetermined number of times.
  • step S106 the secure boot after application of the ECU code in step S106 described above is not essential and may not be executed.
  • step S ⁇ b> 104 the data security device 1010 encrypts the ECU code by the encryption processing unit 32 of the HSM 1012 and transmits it to the ECU 1020.
  • the key used for this encryption is shared between the data security device 1010 and the ECU 1020 in advance.
  • the ECU 1020 obtains the ECU code by decrypting the encrypted data received from the data security device 1010 with the corresponding key stored in the storage unit 1023 by the encryption processing unit 52 of the SHE 1022.
  • step S ⁇ b> 104 the ECU code is stored in a packet of CAN 1030 and transmitted from the data security device 1010 to the ECU 1020.
  • the data security device 1010 further includes CMAC for the packet in the packet.
  • the key used for generating the CMAC is shared between the data security device 1010 and the ECU 1020 in advance.
  • the ECU 1020 verifies the CMAC included in the packet received from the data security device 1010 with the corresponding key.
  • the ECU 1020 applies the ECU code when the verification of the CMAC has passed. On the other hand, the ECU 1020 does not apply the ECU code when the CMAC verification fails.
  • CMAC about all or a part of the ECU code may be used as the CMAC included in the packet storing the ECU code.
  • the data security device 1010 may divide the ECU code into blocks of a certain size, calculate the CMAC for each block, and store the block and the CMAC in a packet.
  • the ECU 1020 acquires the ECU code while verifying the CMAC for each block.
  • the key used for generating the CMAC is shared between the data security device 1010 and the ECU 1020 in advance.
  • step S107 the secure boot result “pass or fail” transmitted from the ECU 1020 to the server device 2000 is set to a predetermined value. For example, the pass is “1” and the failure is “0”.
  • the secure boot result “pass or fail” transmitted from the ECU 1020 to the server device 2000 is the CMAC of the ECU code calculated in the secure boot in step S106.
  • the verification unit 2014 of the server device 2000 calculates the CMAC of the ECU code transmitted to the ECU 1020 in step S102.
  • the signature key Kb of ECU 1020 is shared between ECU 1020 and server device 2000 in advance.
  • the verification unit 2014 of the server device 2000 compares the CMAC of the calculation result with the CMAC of the secure boot result of the ECU 1020. As a result of the comparison, the verification unit 2014 of the server device 2000 determines that the secure boot result of the ECU 1020 is acceptable if both match, and if the both do not match, the secure boot result of the ECU 1020 fails. Judge that there is.
  • the server device 2000 supplies a verification value (for example, a random number) to the ECU 1020 in advance.
  • the ECU 1020 includes the verification value in the secure boot result “pass” if the secure boot result is acceptable, while the secure boot result “failed” if the secure boot result is unsuccessful. Do not include verification values.
  • the verification unit 2014 of the server device 2000 compares the verification value included in the secure boot result “pass” of the ECU 1020 with the original verification value supplied to the ECU 1020 in advance. As a result of the comparison, the verification unit 2014 of the server device 2000 determines that the secure boot result of the ECU 1020 is acceptable if both match, and if the both do not match, the secure boot result of the ECU 1020 fails. Judge that there is.
  • the ECU 1020 encrypts the secure boot result by the encryption processing unit 52 of the SHE 1022 and transmits it to the server device 2000.
  • the key used for this encryption is shared between server device 2000 and ECU 1020 in advance.
  • the server device 2000 uses the encryption processing unit 2016 to decrypt the encrypted data from the ECU 1020 with the corresponding key stored in the storage unit 2012, and obtains a secure boot result.
  • an encryption key that can be used by the SHE 1022 only when the secure boot result is acceptable may be used as the key used for the encryption.
  • the secure boot result “pass” may be encrypted with the encryption key.
  • 6 to 8 are flowcharts showing examples of the data providing method according to the present embodiment.
  • “Non-volatile server server memory programming process” of Chapter 15 described in Non-Patent Document 3 the procedure of “15.2.1.2 Programming stepof phase # 1”-“Download” of ”application” software ”and” data ”and“ 15.2. .1.3Post-Programming step of phase # 1-Re-synchronization of vehicle network ”procedure.
  • 6 and 7 show “graphically depicts the functionality embedded in the programming step of phase" of FIG.
  • FIG. 8 shows “graphicallypicdepicts the functionality embedded in the post-programming step ⁇ of” of FIG. 34 of “15.2.1.3-Post-Programming step of phase # 1 --Re-synchronization of vehicle network” described in Non-Patent Document 3. An application example of “phase # 1” is shown.
  • the step indicated by reference numeral S1001 corresponds to the security access (Security Access) processing of the data security device 1010.
  • the step indicated by reference numeral S ⁇ b> 1002 corresponds to the decryption process for each block of the ECU code of the data security device 1010 and the verification of the electronic signature.
  • the step indicated by reference numeral S1003 corresponds to the ECU 1020 ECU code verification process.
  • the step indicated by reference numeral S1004 corresponds to the secure boot process after the ECU code of the ECU 1020 is applied.
  • the data security device 1010 verifies the electronic signature provided together with the ECU code from the server device 2000, and transmits the ECU code that has passed the verification of the electronic signature to the ECU 1020. Thereby, the reliability of the ECU code applied to the ECU 1020 can be improved.
  • the server device 2000 corresponds to a data providing device.
  • the maintenance tool 2100 has the same function as that of the server device 2000, and is configured to provide the ECU code to the ECU 1020 via the diagnostic port 1060 and the data security device 1010 by the same data providing method as the server device 2000. May be.
  • the TCU 1050 or the gateway 1070 of the automobile 1001 may have the function of the data security device 1010.
  • HSM and SHE are used for the data security device 1010 and the ECU 1020, but cryptographic processing chips other than HSM and SHE may be used.
  • a cryptographic processing chip called “TPM (Trusted Platform Module) f” may be used.
  • TPMf has tamper resistance.
  • TPMf is an example of a secure element.
  • a cryptographic processing chip called “TPMt” may be used.
  • TPMt has tamper resistance.
  • TPMt is an example of a secure element.
  • the embodiment described above may be applied to an ECU mounted on a car in a car manufacturing process in a car manufacturing factory. Further, the above-described embodiment may be applied to an ECU mounted on an automobile in an automobile maintenance factory, a dealer, or the like.
  • an automobile is taken as an example of a vehicle, but the present invention can also be applied to other vehicles such as a motorbike and a railway vehicle.
  • a computer program for realizing the functions of each device described above may be recorded on a computer-readable recording medium, and the program recorded on the recording medium may be read into a computer system and executed.
  • the “computer system” herein may include an OS (Operating System) and hardware such as peripheral devices.
  • “Computer-readable recording medium” refers to a flexible disk, a magneto-optical disk, a ROM, a writable nonvolatile memory such as a flash memory, a portable medium such as a DVD (Digital Versatile Disc), and a built-in computer system.
  • a storage device such as a hard disk.
  • the “computer-readable recording medium” means a volatile memory (for example, DRAM (Dynamic DRAM) in a computer system that becomes a server or a client when a program is transmitted through a network such as the Internet or a communication line such as a telephone line. Random Access Memory)), etc. that hold a program for a certain period of time.
  • the program may be transmitted from a computer system storing the program in a storage device or the like to another computer system via a transmission medium or by a transmission wave in the transmission medium.
  • the “transmission medium” for transmitting the program refers to a medium having a function of transmitting information, such as a network (communication network) such as the Internet or a communication line (communication line) such as a telephone line.
  • the program may be for realizing a part of the functions described above. Furthermore, what can implement

Landscapes

  • Engineering & Computer Science (AREA)
  • Computer Security & Cryptography (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Signal Processing (AREA)
  • Theoretical Computer Science (AREA)
  • Computer Hardware Design (AREA)
  • General Engineering & Computer Science (AREA)
  • Software Systems (AREA)
  • General Physics & Mathematics (AREA)
  • Physics & Mathematics (AREA)
  • Health & Medical Sciences (AREA)
  • Bioethics (AREA)
  • General Health & Medical Sciences (AREA)
  • Computing Systems (AREA)
  • Power Engineering (AREA)
  • Stored Programmes (AREA)
  • Small-Scale Networks (AREA)

Abstract

データ提供システムは、データ提供装置と、車両に搭載されるデータ保安装置とを備える。前記データ提供装置は、前記車両とデータを送受する車両インタフェースと、前記車両に搭載される車載コンピュータに適用される適用データの電子署名を、前記データ提供装置の秘密鍵を使用して生成する暗号処理部と、を備え、前記適用データに前記電子署名を付した電子署名付き適用データを前記車両インタフェースにより前記車両に送信する。前記データ保安装置は、前記データ保安装置の外部の装置とデータを送受するインタフェース部と、前記インタフェース部により前記データ提供装置から受信した前記電子署名付き適用データの前記電子署名を、前記データ提供装置の公開鍵を使用して検証する暗号処理部と、を備え、前記電子署名の検証が合格した前記適用データを前記インタフェース部により前記車載コンピュータに送信する。

Description

データ提供システム、データ保安装置、データ提供方法、及びコンピュータプログラム
 本発明は、データ提供システム、データ保安装置、データ提供方法、及びコンピュータプログラムに関する。
 本願は、2016年8月10日に、日本に出願された特願2016-158120号に基づき優先権を主張し、その内容をここに援用する。
 従来、自動車は、ECU(Electronic Control Unit:電子制御装置)を有し、ECUによってエンジン制御等の機能を実現する。ECUは、コンピュータの一種であり、コンピュータプログラムによって所望の機能を実現する。複数のECUをCAN(Controller Area Network)に接続して構成される車載制御システムについてのセキュリティ技術が例えば非特許文献1に記載されている。
竹森敬祐、"セキュアエレメントを基点とした車載制御システムの保護 -要素技術の整理と考察-"、電子情報通信学会、信学技報、vol. 114、no. 508、pp. 73-78、2015年3月 STMicroelectronics、"AN4240 Application note"、[平成28年8月3日検索]、インターネット<URL:http://www.st.com/web/en/resource/technical/document/application_note/DM00075575.pdf> INTERNATIONAL STANDARD、ISO14229-1、「Road vehicles Unifieddiagnostic services (UDS) Part 1: Specification and requirements」、Second edition、2013-03-15
 自動車の車載制御システムのECUに適用される更新プログラム等のデータの信頼性を向上させることが一つの課題であった。
 本発明は、このような事情を考慮してなされたものであり、ECU等の車載コンピュータに適用されるデータの信頼性を向上させることができるデータ提供システム、データ保安装置、データ提供方法、及びコンピュータプログラムを提供することを課題とする。
(1)本発明の一態様は、データ提供装置と、車両に搭載されるデータ保安装置とを備え、前記データ提供装置は、前記車両とデータを送受する車両インタフェースと、前記車両に搭載される車載コンピュータに適用される適用データの電子署名を、前記データ提供装置の秘密鍵を使用して生成する暗号処理部と、を備え、前記適用データに前記電子署名を付した電子署名付き適用データを前記車両インタフェースにより前記車両に送信し、前記データ保安装置は、前記データ保安装置の外部の装置とデータを送受するインタフェース部と、前記インタフェース部により前記データ提供装置から受信した前記電子署名付き適用データの前記電子署名を、前記データ提供装置の公開鍵を使用して検証する暗号処理部と、を備え、前記電子署名の検証が合格した前記適用データを前記インタフェース部により前記車載コンピュータに送信する、データ提供システムである。
(2)本発明の一態様は、上記(1)のデータ提供システムにおいて、前記データ保安装置は、前記インタフェース部により、前記車載コンピュータに送信した前記適用データの前記車載コンピュータへの適用の合否を示すデータ適用結果を前記車載コンピュータから受信して前記データ提供装置へ転送する、データ提供システムである。
 本発明の一態様においては、前記データ保安装置は、前記電子署名の検証が合格した前記適用データと、当該適用データについてのメッセージ認証符号とを前記インタフェース部により前記車載コンピュータに送信してもよい。
 本発明の一態様においては、前記メッセージ認証符号は、前記電子署名の検証が合格した前記適用データを格納して前記車載コンピュータに伝送するパケットに関するメッセージ認証符号であってもよい。
 本発明の一態様においては、前記データ保安装置は、前記電子署名の検証が合格した前記適用データを複数のブロックに分割し、該ブロック毎に前記メッセージ認証符号を計算し、該ブロックと該メッセージ認証符号とを前記インタフェース部により前記車載コンピュータに送信してもよい。
(3)本発明の一態様は、車両に搭載されるデータ保安装置であり、前記データ保安装置の外部の装置とデータを送受するインタフェース部と、前記インタフェース部によりデータ提供装置から受信した電子署名付き適用データの電子署名を、前記データ提供装置の公開鍵を使用して検証する暗号処理部と、を備え、前記電子署名の検証が合格した前記電子署名付き適用データの適用データを前記インタフェース部により前記車両に搭載される車載コンピュータに送信する、データ保安装置である。
(4)本発明の一態様は、データ提供装置と、車両に搭載されるデータ保安装置とを備えるデータ提供システムのデータ提供方法であって、前記データ提供装置が、前記車両に搭載される車載コンピュータに適用される適用データの電子署名を、前記データ提供装置の秘密鍵を使用して生成し、前記データ提供装置が、前記適用データに前記電子署名を付した電子署名付き適用データを、前記車両とデータを送受する車両インタフェースにより前記車両に送信し、前記データ保安装置が、前記データ保安装置の外部の装置とデータを送受するインタフェース部により前記データ提供装置から受信した前記電子署名付き適用データの前記電子署名を、前記データ提供装置の公開鍵を使用して検証し、前記データ保安装置が、前記電子署名の検証が合格した前記適用データを前記インタフェース部により前記車載コンピュータに送信する、データ提供方法である。
(5)本発明の一態様は、車両に搭載されるデータ保安装置のコンピュータに、前記データ保安装置の外部の装置とデータを送受するインタフェース部によりデータ提供装置から受信した電子署名付き適用データの電子署名を、前記データ提供装置の公開鍵を使用して検証し、前記電子署名の検証が合格した前記電子署名付き適用データの適用データを前記インタフェース部により前記車両に搭載される車載コンピュータに送信する、処理を実行させるコンピュータプログラムである。
 本発明によれば、ECU等の車載コンピュータに適用されるデータの信頼性を向上させることができるという効果が得られる。
一実施形態に係るデータ提供システム及び自動車1001の構成例を示す図である。 一実施形態に係るサーバ装置2000の構成例を示す図である。 一実施形態に係るデータ保安装置1010の構成例を示す図である。 一実施形態に係るECU1020の構成例を示す図である。 一実施形態に係るデータ提供方法の例を示すシーケンスチャートである。 一実施形態に係るデータ提供方法の実施例を示すフローチャートである。 一実施形態に係るデータ提供方法の実施例を示すフローチャートである。 一実施形態に係るデータ提供方法の実施例を示すフローチャートである。
 以下、図面を参照し、本発明の実施形態について説明する。なお、以下に示す実施形態では、車両として自動車を例に挙げて説明する。
 図1は、一実施形態に係るデータ提供システム及び自動車1001の構成例を示す図である。本実施形態では、車載コンピュータの一例として、自動車1001に搭載されるECU(電子制御装置)を挙げて説明する。
 図1において、自動車1001は、データ保安装置1010と複数のECU1020とを備える。ECU1020は、自動車1001に備わる車載コンピュータである。ECU1020は、自動車1001のエンジン制御等の制御機能を有する。ECU1020として、例えば、エンジン制御機能を有するECU、ハンドル制御機能を有するECU、ブレーキ制御機能を有するECUなどがある。データ保安装置1010は、自動車1001に搭載されたECU1020に適用されるデータのセキュリティ(保安)の機能を有する。
 なお、自動車1001に搭載されたいずれかのECUをデータ保安装置1010として機能させてもよい。
 データ保安装置1010と複数のECU1020とは、自動車1001に備わるCAN(Controller Area Network)1030に接続される。CAN1030は通信ネットワークである。CANは車両に搭載される通信ネットワークの一つとして知られている。データ保安装置1010は、CAN1030を介して、各ECU1020との間でデータを交換する。ECU1020は、CAN1030を介して、他のECU1020との間でデータを交換する。
 なお、車両に搭載される通信ネットワークとして、CAN以外の通信ネットワークを自動車1001に備え、CAN以外の通信ネットワークを介して、データ保安装置1010とECU1020との間のデータの交換、及び、ECU1020同士の間のデータの交換が行われてもよい。例えば、LIN(Local Interconnect Network)が自動車1001に備えられてもよい。また、CANとLINとが自動車1001に備えられてもよい。また、自動車1001において、LINに接続するECU1020が備えられてもよい。また、データ保安装置1010は、CANとLINとに接続されてもよい。また、データ保安装置1010は、CANを介して該CANに接続されるECU1020との間でデータを交換し、また、LINを介して該LINに接続されるECU1020との間でデータを交換してもよい。また、ECU1020同士が、LINを介してデータを交換してもよい。
 自動車1001に備わる車載コンピュータシステム1002は、データ保安装置1010と複数のECU1020とがCAN1030に接続されて構成される。本実施形態において、車載コンピュータシステム1002は、自動車1001の車載制御システムとして機能する。
 ゲートウェイ1070は、車載コンピュータシステム1002の内部と外部の間の通信を監視する。ゲートウェイ1070はCAN1030に接続される。また、ゲートウェイ1070は、車載コンピュータシステム1002の外部の装置の例として、インフォテイメント機器1040、TCU(Tele Communication Unit)1050及び診断ポート1060と接続される。データ保安装置1010及びECU1020は、ゲートウェイ1070を介して、車載コンピュータシステム1002の外部の装置と通信を行う。
 なお、CAN1030の構成として、CAN1030が複数のバス(通信線)を備え、該複数のバスがゲートウェイ1070に接続されてもよい。この場合、一つのバスに、一つのECU1020又は複数のECU1020が接続される。また、同じバスにデータ保安装置1010とECU1020とが接続されてもよく、又は、データ保安装置1010が接続されるバスとECU1020が接続されるバスとが別個にされてもよい。
 自動車1001は診断ポート1060を備える。診断ポート1060として、例えばOBD(On-board Diagnostics)ポートが使用されてもよい。診断ポート1060には、自動車1001の外部の装置を接続可能である。診断ポート1060に接続可能な自動車1001の外部の装置として、例えば、図1に示されるメンテナンスツール2100などがある。データ保安装置1010と、診断ポート1060に接続された装置、例えばメンテナンスツール2100とは、診断ポート1060及びゲートウェイ1070を介して、データが交換される。メンテナンスツール2100は、OBDポートに接続される従来の診断端末の機能を有していてもよい。
 自動車1001はインフォテイメント(Infotainment)機器1040を備える。インフォテイメント機器1040として、例えば、ナビゲーション機能、位置情報サービス機能、音楽や動画などのマルチメディア再生機能、音声通信機能、データ通信機能、インターネット接続機能などを有するものが挙げられる。
 自動車1001は、TCU1050を備える。TCU1050は通信装置である。TCU1050は通信モジュール1051を備える。通信モジュール1051は、無線通信ネットワークを利用して無線通信を行う。通信モジュール1051は、SIM(Subscriber Identity Module)1052を備える。SIM1052は、無線通信ネットワークを利用するための情報が書き込まれたSIMである。通信モジュール1051は、SIM1052を使用することにより該無線通信ネットワークに接続して無線通信を行うことができる。なお、SIM1052として、eSIM(Embedded Subscriber Identity Module)が使用されてもよい。
 データ保安装置1010は、ゲートウェイ1070を介して、TCU1050とデータを交換する。なお、TCU1050とデータ保安装置1010とを通信ケーブルで直接接続し、TCU1050とデータ保安装置1010は該通信ケーブルを介してデータを交換してもよい。例えば、USB(universal serial bus)ケーブルでTCU1050とデータ保安装置1010とを直接接続し、TCU1050とデータ保安装置1010は該USBケーブルを介してデータを交換してもよい。また、TCU1050とデータ保安装置1010とをUSBケーブル等の通信ケーブルで直接接続し、該通信ケーブルを介してTCU1050とデータ保安装置1010間のデータの交換を行う場合、TCU1050とデータ保安装置1010とのうち送信側の装置は、受信側の装置に送信するデータを一時的に蓄えるバッファを備えてもよい。
 なお、TCU1050の他の接続形態として、例えば、TCU1050をインフォテイメント機器1040に接続し、データ保安装置1010が、ゲートウェイ1070及びインフォテイメント機器1040を介して、TCU1050とデータを交換してもよい。又は、TCU1050を診断ポート1060に接続し、データ保安装置1010が、ゲートウェイ1070及び診断ポート1060を介して、該診断ポート1060に接続されたTCU1050とデータを交換してもよい。又は、データ保安装置1010が、SIM1052を含む通信モジュール1051を備えてもよい。データ保安装置1010がSIM1052を含む通信モジュール1051を備える場合には、自動車1001はTCU1050を備えなくてもよい。
 データ保安装置1010は、メイン演算器1011とHSM(Hardware Security Module)1012とを備える。メイン演算器1011は、データ保安装置1010の機能を実現させるためのコンピュータプログラムを実行する。HSM1012は暗号処理機能等を有する。HSM1012は耐タンパー性(Tamper Resistant)を有する。HSM1012はセキュアエレメント(Secure Element:SE)の例である。HSM1012は、データを記憶する記憶部1013を備える。メイン演算器1011はHSM1012を使用する。
 ECU1020は、メイン演算器1021とSHE(Secure Hardware Extension)1022とを備える。メイン演算器1021は、ECU1020の機能を実現させるためのコンピュータプログラムを実行する。SHE1022は暗号処理機能等を有する。SHE1022は耐タンパー性を有する。SHE1022はセキュアエレメントの例である。SHE1022は、データを記憶する記憶部1023を備える。メイン演算器1021はSHE1022を使用する。
 サーバ装置2000は、通信回線を介して、自動車1001のTCU1050の通信モジュール1051とデータを送受する。サーバ装置2000は、自動車1001のTCU1050の通信モジュール1051が利用する無線通信ネットワークを介して、該通信モジュール1051とデータを送受する。又は、サーバ装置2000は、インターネット等の通信ネットワークと該無線通信ネットワークとを介して、該通信モジュール1051とデータを送受してもよい。また、例えば、サーバ装置2000と通信モジュール1051との間がVPN(Virtual Private Network)回線等の専用回線で接続され、該専用回線でデータが送受されてもよい。例えば、SIM1052に対応する無線通信ネットワークによって、VPN回線等の専用回線が提供されてもよい。なお、サーバ装置2000と自動車1001とが通信ケーブルで接続されてもよい。例えば、サーバ装置2000と自動車1001のゲートウェイ1070とが通信ケーブルで接続するように構成されてもよい。
 サーバ装置2000は、ECU1020に適用されるECUコード(ECU code)を自動車1001に提供する。ECUコードは、ECU1020に適用されるデータの例である。ECUコードは、ECU1020にインストールされる更新プログラム等のコンピュータプログラムであってもよく、又は、ECU1020に設定されるパラメータ設定値などの設定データであってもよい。
 図2は、サーバ装置2000の構成例を示す図である。図2において、サーバ装置2000は、通信部2011と記憶部2012と期待値計算部2013と検証部2014と暗号処理部2016とを備える。通信部2011は、通信回線を介して、他の装置と通信を行う。通信部2011は車両インタフェースに対応する。記憶部2012は、データを記憶する。期待値計算部2013は、ECUコードについての期待値を計算する。検証部2014は、ECU1020の測定値の検証に係る処理を行う。暗号処理部2016は、暗号処理を実行する。暗号処理部2016の暗号処理は、少なくとも、電子署名の生成処理を含む。暗号処理部2016の暗号処理は、さらに、データの暗号化処理及び暗号化データの復号処理を含んでもよい。
 サーバ装置2000の機能は、該サーバ装置2000が備えるCPU(Central Processing Unit)がコンピュータプログラムを実行することにより実現される。なお、サーバ装置2000として、汎用のコンピュータ装置を使用して構成されてもよく、又は、専用のハードウェア装置として構成されてもよい。
 図3は、データ保安装置1010の構成例を示す図である。図3において、データ保安装置1010は、メイン演算器1011とHSM1012とインタフェース部20とを備える。メイン演算器1011は、制御部21と記憶部22とを備える。HSM1012は、記憶部1013と暗号処理部32とを備える。
 インタフェース部20は、自データ保安装置1010の外部の装置とデータを送受する。インタフェース部20は、CAN1030を介してデータを送受するインタフェースを備える。メイン演算器1011は、インタフェース部20を介して、データ保安装置1010以外の他の装置とデータの送受を行う。
 制御部21は、データ保安装置1010の制御を行う。記憶部22は、データを記憶する。記憶部1013は、データを記憶する。暗号処理部32は、暗号処理を実行する。暗号処理部32の暗号処理は、少なくとも、電子署名の検証処理を含む。暗号処理部32の暗号処理は、さらに、データの暗号化処理及び暗号化データの復号処理を含んでもよい。
 図4は、ECU1020の構成例を示す図である。図4において、ECU1020は、メイン演算器1021とSHE1022とインタフェース部40とを備える。メイン演算器1021は、制御部41と記憶部42とを備える。SHE1022は、記憶部1023と暗号処理部52と測定部53とを備える。
 インタフェース部40は、自ECU1020の外部の装置とデータを送受する。インタフェース部40は、CAN1030を介してデータを送受するインタフェースを備える。メイン演算器1021は、インタフェース部40を介して、自ECU1020以外の他の装置とデータの送受を行う。
 制御部41は、ECU1020の制御を行う。記憶部42は、データを記憶する。記憶部1023は、データを記憶する。暗号処理部52は、データの暗号化及び暗号化データの復号を行う。測定部53は、ECUコード等のデータの測定値を計算し、該測定値を期待値に基づいて検証する。
 なお、本実施形態では、データ保安装置1010にHSMが使用されているが、データ保安装置1010においてHSMの代わりにSHEが使用されてもよい。なお、SHEについては、例えば非特許文献2に記載されている。
 次に図5を参照して、本実施形態に係るデータ提供方法の例を説明する。図5は、本実施形態に係るデータ提供方法の例を示すシーケンスチャートである。
 サーバ装置2000は、マスタ鍵Master_Secretと、ECU1020のECUコードと、サーバ装置2000の秘密鍵Kssとを予め記憶部2012に格納している。ECU1020のECUコードは、ECU1020に適用する予定のECUコードを含む。データ保安装置1010は、サーバ装置2000の公開鍵Kpsを予めHSM1012の記憶部1013に格納している。公開鍵Kpsは公開鍵証明書として記憶部1013に格納されてもよい。ECU1020は、署名鍵Kbを予めSHE1022の記憶部1023に格納している。
 以下、サーバ装置2000は、通信部2011により、自動車1001のTCU1050と通信を行い、TCU1050及びゲートウェイ1070を介して、自動車1001のCAN1030に接続されるデータ保安装置1010との間でデータを送受する。なお、サーバ装置2000とデータ保安装置1010との間の通信路として、暗号化通信路が使用されてもよい。例えば、サーバ装置2000とデータ保安装置1010は、暗号化通信路の一例として、https(hypertext transfer protocol secure)通信を行ってもよい。
(ステップS101)サーバ装置2000の暗号処理部2016は、ECU1020に適用されるECUコードと該ECUコードの期待値とについての電子署名を、秘密鍵Kssを使用して生成する。ECUコードの期待値は、ECU1020のセキュアブートで使用される期待値である。ECUコードの期待値は、ECU1020に適用されるデータの例である。ECUコードの期待値はECUコードに関連付けて記憶部2012に予め格納されてもよく、又は、期待値計算部2013がECUコードの期待値を計算してもよい。本実施形態では、ECUコードの期待値の一例として、CMAC(Cipher-based Message Authentication Code)が使用される。ECUコードの期待値であるCMACの計算には、ECU1020の署名鍵Kbが使用される。期待値計算部2013がECUコードの期待値を計算する場合、ECU1020の署名鍵Kbは、予め、ECU1020とサーバ装置2000間で共有される。
(ステップS102)サーバ装置2000は、ECU1020に適用されるECUコードと、該ECUコードの期待値と、暗号処理部2016が生成した電子署名とを、通信部2011によりデータ保安装置1010に送信する。データ保安装置1010は、サーバ装置2000から送信されたECUコードと、該ECUコードの期待値と、電子署名とを受信する。
 なお、電子署名は、ECUコードと期待値との両方に付されてもよく、又は、ECUコード若しくは期待値のいずれか一方にのみ付されてもよい。
(ステップS103)データ保安装置1010の制御部21は、サーバ装置2000から受信した電子署名の検証を、HSM1012に実行させる。HSM1012の暗号処理部32は、該電子署名を、記憶部1013に格納されている公開鍵Kpsを使用して検証する。HSM1012は、該電子署名の検証結果を制御部21に渡す。制御部21は、該電子署名の検証結果が合格である場合に、ステップS104に処理を進める。一方、制御部21は、該電子署名の検証結果が不合格である場合には、図5の処理を終了する。
 なお、電子署名の検証結果が不合格である場合には、制御部21は、所定のエラー処理を実行してもよい。例えば、制御部21は、電子署名の検証結果が不合格であることを示すエラーメッセージを、サーバ装置2000に送信してもよい。サーバ装置2000は、該エラーメッセージに応じて、所定のエラー処理を実行してもよい。例えば、サーバ装置2000は、ECUコードと該ECUコードの期待値と電子署名とをデータ保安装置1010に再送信したり、又は、電子署名を再生成してからECUコードと該ECUコードの期待値と電子署名とをデータ保安装置1010に送信したりしてもよい。
(ステップS104)データ保安装置1010の制御部21は、電子署名の検証が合格したECUコードと期待値とを、インタフェース部20によりECU1020に送信する。ECU1020は、データ保安装置1010から送信されたECUコードと期待値とを受信する。
(ステップS105)ECU1020の制御部41は、データ保安装置1010から受信したECUコードと期待値とを自ECU1020に適用する。制御部41は、該期待値をセキュアブートで使用される期待値としてSHE1022に設定する。SHE1022の記憶部1023は、該期待値を格納する。
(ステップS106)ECU1020の制御部41は、ECUコードの適用後に、セキュアブートを実行する。このセキュアブートでは、SHE1022の測定部53は、記憶部1023に格納している署名鍵KbによりECUコードの測定値を計算する。本実施形態では、測定値の一例として、CMACが使用される。よって、測定部53は、記憶部1023に格納している署名鍵Kbにより、ECUコードのCMACを計算する。測定部53は、該計算結果のCMACと記憶部1023に格納されている期待値との比較を行う。該計算結果のCMACと期待値との比較の結果、両者が一致する場合にはセキュアブート結果が合格であり、両者が一致しない場合にはセキュアブート結果が不合格である。SHE1022は、セキュアブート結果を制御部41に渡す。制御部41は、セキュアブート結果が合格である場合にECUコードの実行を進める。一方、制御部41は、セキュアブート結果が不合格である場合にはECUコードの実行を停止する。
 なお、本実施形態では、サーバ装置2000がECU1020にセキュアブートで使用される期待値を供給するが、データ保安装置1010が該期待値をECU1020に供給してもよい。この場合、データ保安装置1010は、期待値計算部を有し、ECU1020の署名鍵KbによりECUコードの期待値(CMAC)を計算する。ECU1020の署名鍵Kbは、予め、ECU1020とデータ保安装置1010間で共有される。
(ステップS107)ECU1020の制御部41は、インタフェース部40により、セキュアブート結果「合格又は不合格」をデータ保安装置1010に送信する。データ保安装置1010は、ECU1020から受信したセキュアブート結果「合格又は不合格」をサーバ装置2000に転送する。セキュアブート結果「合格又は不合格」は、ECUコードのECU1020への適用の合否を示すデータ適用結果に対応する。
 サーバ装置2000は、通信部2011により、データ保安装置1010から送信されたセキュアブート結果「合格又は不合格」を受信する。サーバ装置2000は、データ保安装置1010から受信したセキュアブート結果「合格又は不合格」に応じて、所定の処理を実行する。例えば、セキュアブート結果が合格である場合には、その旨を記録する。
 一方、セキュアブート結果が不合格である場合には、サーバ装置2000は、所定のエラー処理を実行してもよい。例えば、エラー処理として、サーバ装置2000は、ECUコードと該ECUコードの期待値と電子署名とをデータ保安装置1010に再送信したり、又は、電子署名を再生成してからECUコードと該ECUコードの期待値と電子署名とをデータ保安装置1010に送信したりしてもよい。また、サーバ装置2000は、該エラー処理を、セキュアブート結果が合格になるまで繰り返す、又は、所定回数だけ繰り返してもよい。
 なお、上記したステップS106のECUコードの適用後のセキュアブートは、必須ではなく、実行されなくてもよい。
 次に、上述した図5のデータ提供方法の変形例を説明する。
<データ提供方法の変形例1>
 ステップS104において、データ保安装置1010は、HSM1012の暗号処理部32によりECUコードを暗号化して、ECU1020に送信する。この暗号化に用いる鍵は、予め、データ保安装置1010とECU1020間で共有される。ECU1020は、データ保安装置1010から受信した暗号化データを、SHE1022の暗号処理部52により、記憶部1023に格納されている該当の鍵で復号して、ECUコードを取得する。
<データ提供方法の変形例2>
 ステップS104において、ECUコードは、CAN1030のパケットに格納されて、データ保安装置1010からECU1020に伝送される。データ保安装置1010は、該パケットに、該パケットについてのCMACをさらに含める。該CMACの生成に使用する鍵は、予め、データ保安装置1010とECU1020間で共有される。ECU1020は、データ保安装置1010から受信したパケットに含まれるCMACを、該当の鍵で検証する。ECU1020は、該CMACの検証が合格した場合に当該ECUコードを適用する。一方、ECU1020は、該CMACの検証が不合格である場合には当該ECUコードを適用しない。
 なお、ECUコードを格納するパケットに含めるCMACとして、該ECUコードの全て又は一部についてのCMACが使用されてもよい。例えば、データ保安装置1010は、ECUコードを一定サイズのブロックに分割し、ブロック毎にCMACを計算して、該ブロックと該CMACとをパケットに格納してもよい。ECU1020は、ブロック毎にCMACを検証しながらECUコードを取得する。該CMACの生成に使用する鍵は、予め、データ保安装置1010とECU1020間で共有される。
<データ提供方法の変形例3>
 ステップS107において、ECU1020からサーバ装置2000に送信するセキュアブート結果「合格又は不合格」は所定値とする。例えば、合格は「1」であり、不合格は「0」である。
<データ提供方法の変形例4>
 ステップS107において、ECU1020からサーバ装置2000に送信するセキュアブート結果「合格又は不合格」は、ステップS106のセキュアブートで計算された結果のECUコードのCMACとする。サーバ装置2000の検証部2014は、ステップS102でECU1020に送信したECUコードのCMACを、計算する。ECU1020の署名鍵Kbは、予め、ECU1020とサーバ装置2000間で共有される。サーバ装置2000の検証部2014は、該計算結果のCMACと、ECU1020のセキュアブート結果のCMACとを比較する。サーバ装置2000の検証部2014は、該比較の結果、両者が一致する場合にはECU1020のセキュアブート結果が合格であると判断し、両者が一致しない場合にはECU1020のセキュアブート結果が不合格であると判断する。
<データ提供方法の変形例5>
 サーバ装置2000は、検証値(例えば、乱数)を予めECU1020に供給する。ステップS107において、ECU1020は、セキュアブート結果が合格である場合にはセキュアブート結果「合格」に検証値を含め、一方、セキュアブート結果が不合格である場合にはセキュアブート結果「不合格」に検証値を含めない。サーバ装置2000の検証部2014は、ECU1020のセキュアブート結果「合格」に含まれる検証値と、予めECU1020に供給した元の検証値とを比較する。サーバ装置2000の検証部2014は、該比較の結果、両者が一致する場合にはECU1020のセキュアブート結果が合格であると判断し、両者が一致しない場合にはECU1020のセキュアブート結果が不合格であると判断する。
<データ提供方法の変形例6>
 上記のデータ提供方法の変形例3,4,5のいずれか複数を組合せて適用する。
<データ提供方法の変形例7>
 上記のデータ提供方法の変形例3,4,5,6において、ECU1020は、SHE1022の暗号処理部52によりセキュアブート結果を暗号化して、サーバ装置2000に送信する。この暗号化に用いる鍵は、予め、サーバ装置2000とECU1020間で共有される。サーバ装置2000は、ECU1020からの暗号化データを、暗号処理部2016により、記憶部2012に格納されている該当の鍵で復号して、セキュアブート結果を取得する。なお、該暗号化に用いる鍵として、セキュアブート結果が合格である場合にのみSHE1022で使用可能となる暗号鍵が、使用されてもよい。この場合、セキュアブート結果「合格」が該暗号鍵により暗号化されてもよい。
 次に、上述した図5のデータ提供方法におけるデータ保安装置1010とECU1020間の実施例を説明する。図6から図8は、本実施形態に係るデータ提供方法の実施例を示すフローチャートである。本実施例では、非特許文献3に記載される15章の「Non-volatile server memory programming process」において、「15.2.1.2 Programming stepof phase #1 - Download of application software and data」の手順と、「15.2.1.3Post-Programming step of phase #1 - Re-synchronization of vehicle network」の手順と、を利用する。図6及び図7には、非特許文献3に記載される「15.2.1.2 Programming step of phase #1 - Download of application software and data」の図33の「graphically depicts the functionality embedded in the programming step of phase #1.」における適用例が示されている。図8には、非特許文献3に記載される「15.2.1.3 Post-Programming step of phase #1 - Re-synchronization of vehicle network」の図34の「graphically depicts the functionality embedded in the post-programming step of phase #1.」における適用例が示されている。
 図6において、符号S1001で示されるステップは、データ保安装置1010のセキュリティ・アクセス(Security Access)の処理に対応する。図7において、符号S1002で示されるステップは、データ保安装置1010のECUコードのブロック毎の復号及び電子署名の検証の処理に対応する。図7において、符号S1003で示されるステップは、ECU1020のECUコードの検証の処理に対応する。図8において、符号S1004で示されるステップは、ECU1020のECUコードの適用後のセキュアブートの処理に対応する。
 上述した実施形態によれば、データ保安装置1010は、サーバ装置2000からECUコードと共に提供された電子署名を検証し、この電子署名の検証が合格したECUコードをECU1020に送信する。これにより、ECU1020に適用されるECUコードの信頼性を向上させることができる。
 上述した実施形態において、サーバ装置2000はデータ提供装置に対応する。
 なお、メンテナンスツール2100が、サーバ装置2000と同様の機能を備え、サーバ装置2000と同様のデータ提供方法により、診断ポート1060及びデータ保安装置1010を介してECU1020にECUコードを提供するように構成してもよい。
 また、自動車1001のTCU1050又はゲートウェイ1070が、データ保安装置1010の機能を有してもよい。
 以上、本発明の実施形態について図面を参照して詳述してきたが、具体的な構成はこの実施形態に限られるものではなく、本発明の要旨を逸脱しない範囲の設計変更等も含まれる。
 上述した実施形態では、データ保安装置1010やECU1020にHSMやSHEが使用されたが、HSM及びSHE以外の暗号処理チップが使用されてもよい。データ保安装置1010に対して、例えば「TPM(Trusted Platform Module)f」と呼ばれる暗号処理チップが使用されてもよい。TPMfは耐タンパー性を有する。TPMfはセキュアエレメントの例である。ECU1020に対して、例えば「TPMt」と呼ばれる暗号処理チップが使用されてもよい。TPMtは耐タンパー性を有する。TPMtはセキュアエレメントの例である。
 上述した実施形態は、自動車の製造工場において、自動車の製造工程で自動車に搭載されたECUに適用されてもよい。また、上述した実施形態は、自動車の整備工場や販売店等において、自動車に搭載されているECUに適用されてもよい。
 上述した実施形態では、車両として自動車を例に挙げたが、原動機付自転車や鉄道車両等の自動車以外の他の車両にも適用可能である。
 また、上述した各装置の機能を実現するためのコンピュータプログラムをコンピュータ読み取り可能な記録媒体に記録して、この記録媒体に記録されたプログラムをコンピュータシステムに読み込ませ、実行するようにしてもよい。なお、ここでいう「コンピュータシステム」とは、OS(Operating System)や周辺機器等のハードウェアを含むものであってもよい。
 また、「コンピュータ読み取り可能な記録媒体」とは、フレキシブルディスク、光磁気ディスク、ROM、フラッシュメモリ等の書き込み可能な不揮発性メモリ、DVD(Digital Versatile Disc)等の可搬媒体、コンピュータシステムに内蔵されるハードディスク等の記憶装置のことをいう。
 さらに「コンピュータ読み取り可能な記録媒体」とは、インターネット等のネットワークや電話回線等の通信回線を介してプログラムが送信された場合のサーバやクライアントとなるコンピュータシステム内部の揮発性メモリ(例えばDRAM(Dynamic Random Access Memory))のように、一定時間プログラムを保持しているものも含む。
 また、上記プログラムは、このプログラムを記憶装置等に格納したコンピュータシステムから、伝送媒体を介して、あるいは、伝送媒体中の伝送波により他のコンピュータシステムに伝送されてもよい。ここで、プログラムを伝送する「伝送媒体」は、インターネット等のネットワーク(通信網)や電話回線等の通信回線(通信線)のように情報を伝送する機能を有する媒体のことをいう。
 また、上記プログラムは、前述した機能の一部を実現するためのものであっても良い。
 さらに、前述した機能をコンピュータシステムにすでに記録されているプログラムとの組み合わせで実現できるもの、いわゆる差分ファイル(差分プログラム)であっても良い。
 本発明によれば、ECU等の車載コンピュータに適用されるデータの信頼性を向上させることができるという効果が得られる。
22,42,2012…記憶部、2013…期待値計算部、2014…検証部、32,52,2016…暗号処理部、20,40…インタフェース部、21,41…制御部、53…測定部、1001…自動車、1002…車載コンピュータシステム、1010…データ保安装置、1011,1021…メイン演算器、1012…HSM、1013,1023…記憶部、1020…ECU、1022…SHE、1030…CAN、1040…インフォテイメント機器、1050…TCU、1051…通信モジュール、1052…SIM、1060…診断ポート、1070…ゲートウェイ、2000…サーバ装置、2011…通信部、2100…メンテナンスツール

Claims (8)

  1.  データ提供装置と、車両に搭載されるデータ保安装置とを備え、
     前記データ提供装置は、
     前記車両とデータを送受する車両インタフェースと、
     前記車両に搭載される車載コンピュータに適用される適用データの電子署名を、前記データ提供装置の秘密鍵を使用して生成する暗号処理部と、を備え、前記適用データに前記電子署名を付した電子署名付き適用データを前記車両インタフェースにより前記車両に送信し、
     前記データ保安装置は、
     前記データ保安装置の外部の装置とデータを送受するインタフェース部と、
     前記インタフェース部により前記データ提供装置から受信した前記電子署名付き適用データの前記電子署名を、前記データ提供装置の公開鍵を使用して検証する暗号処理部と、を備え、前記電子署名の検証が合格した前記適用データを前記インタフェース部により前記車載コンピュータに送信する、
     データ提供システム。
  2.  前記データ保安装置は、前記インタフェース部により、前記車載コンピュータに送信した前記適用データの前記車載コンピュータへの適用の合否を示すデータ適用結果を前記車載コンピュータから受信して前記データ提供装置へ転送する、
     請求項1に記載のデータ提供システム。
  3.  前記データ保安装置は、前記電子署名の検証が合格した前記適用データと、当該適用データについてのメッセージ認証符号とを前記インタフェース部により前記車載コンピュータに送信する、
     請求項1又は2のいずれか1項に記載のデータ提供システム。
  4.  前記メッセージ認証符号は、前記電子署名の検証が合格した前記適用データを格納して前記車載コンピュータに伝送するパケットに関するメッセージ認証符号である、
     請求項3に記載のデータ提供システム。
  5.  前記データ保安装置は、前記電子署名の検証が合格した前記適用データを複数のブロックに分割し、該ブロック毎に前記メッセージ認証符号を計算し、該ブロックと該メッセージ認証符号とを前記インタフェース部により前記車載コンピュータに送信する、
     請求項3又は4のいずれか1項に記載のデータ提供システム。
  6.  車両に搭載されるデータ保安装置であり、
     前記データ保安装置の外部の装置とデータを送受するインタフェース部と、
     前記インタフェース部によりデータ提供装置から受信した電子署名付き適用データの電子署名を、前記データ提供装置の公開鍵を使用して検証する暗号処理部と、を備え、前記電子署名の検証が合格した前記電子署名付き適用データの適用データを前記インタフェース部により前記車両に搭載される車載コンピュータに送信する、
     データ保安装置。
  7.  データ提供装置と、車両に搭載されるデータ保安装置とを備えるデータ提供システムのデータ提供方法であって、
     前記データ提供装置が、前記車両に搭載される車載コンピュータに適用される適用データの電子署名を、前記データ提供装置の秘密鍵を使用して生成し、
     前記データ提供装置が、前記適用データに前記電子署名を付した電子署名付き適用データを、前記車両とデータを送受する車両インタフェースにより前記車両に送信し、
     前記データ保安装置が、前記データ保安装置の外部の装置とデータを送受するインタフェース部により前記データ提供装置から受信した前記電子署名付き適用データの前記電子署名を、前記データ提供装置の公開鍵を使用して検証し、
     前記データ保安装置が、前記電子署名の検証が合格した前記適用データを前記インタフェース部により前記車載コンピュータに送信する、
     データ提供方法。
  8.  車両に搭載されるデータ保安装置のコンピュータに、
     前記データ保安装置の外部の装置とデータを送受するインタフェース部によりデータ提供装置から受信した電子署名付き適用データの電子署名を、前記データ提供装置の公開鍵を使用して検証し、
     前記電子署名の検証が合格した前記電子署名付き適用データの適用データを前記インタフェース部により前記車両に搭載される車載コンピュータに送信する、
     処理を実行させるコンピュータプログラム。
PCT/JP2017/014794 2016-08-10 2017-04-11 データ提供システム、データ保安装置、データ提供方法、及びコンピュータプログラム WO2018029905A1 (ja)

Priority Applications (3)

Application Number Priority Date Filing Date Title
EP17838981.3A EP3499793B1 (en) 2016-08-10 2017-04-11 Data provision system, data security device, data provision method, and computer program
CN201780035430.9A CN109314645B (zh) 2016-08-10 2017-04-11 数据提供系统、数据保护装置、数据提供方法以及存储介质
US16/307,394 US11212109B2 (en) 2016-08-10 2017-04-11 Data provision system, data security device, data provision method, and computer program

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
JP2016158120 2016-08-10
JP2016-158120 2016-08-10

Publications (1)

Publication Number Publication Date
WO2018029905A1 true WO2018029905A1 (ja) 2018-02-15

Family

ID=61161972

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/JP2017/014794 WO2018029905A1 (ja) 2016-08-10 2017-04-11 データ提供システム、データ保安装置、データ提供方法、及びコンピュータプログラム

Country Status (4)

Country Link
US (1) US11212109B2 (ja)
EP (1) EP3499793B1 (ja)
CN (1) CN109314645B (ja)
WO (1) WO2018029905A1 (ja)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
EP3811204A4 (en) * 2018-06-25 2022-06-08 Tusimple, Inc. SECURITY ARCHITECTURE FOR A REAL-TIME REMOTE VEHICLE MONITORING SYSTEM

Families Citing this family (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP7006335B2 (ja) * 2018-02-06 2022-01-24 トヨタ自動車株式会社 車載通信システム、車載通信方法、およびプログラム
DE102018213616A1 (de) * 2018-06-20 2019-12-24 Robert Bosch Gmbh Kryptografiemodul und Betriebsverfahren hierfür
US11368471B2 (en) * 2019-07-01 2022-06-21 Beijing Voyager Technology Co., Ltd. Security gateway for autonomous or connected vehicles
US11520594B2 (en) * 2019-07-11 2022-12-06 T-Mobile Usa, Inc. Multiple client support on device-based LwM2M
CN113448299B (zh) * 2020-03-25 2022-08-26 北京新能源汽车股份有限公司 一种车载网关控制器、信息处理方法及汽车
CN113411294A (zh) * 2021-04-30 2021-09-17 中汽研(天津)汽车工程研究院有限公司 基于安全云端公钥保护的车载安全通信方法、系统和装置

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2014143568A (ja) * 2013-01-24 2014-08-07 Canon Inc 認証システム及び認証子変換器
JP2015103163A (ja) * 2013-11-27 2015-06-04 株式会社オートネットワーク技術研究所 プログラム更新システム及びプログラム更新方法
WO2015186829A1 (ja) * 2014-06-05 2015-12-10 Kddi株式会社 送信ノード、受信ノード、通信ネットワークシステム、メッセージ作成方法およびコンピュータプログラム
JP2016158120A (ja) 2015-02-25 2016-09-01 京セラ株式会社 通信装置、携帯端末装置および通信システム

Family Cites Families (24)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US7068147B2 (en) 1999-12-07 2006-06-27 Denso Corporation Control information rewriting system
JP2008239021A (ja) 2007-03-28 2008-10-09 Denso Corp 車両制御装置及びそのデータ書換システム
US8321933B2 (en) 2007-11-14 2012-11-27 Caterpillar Inc. Securing electronic control unit code
US8479000B2 (en) 2008-10-10 2013-07-02 Panasonic Corporation Information processing device, authentication system, authentication device, information processing method, information processing program, recording medium, and integrated circuit
JP2011108167A (ja) 2009-11-20 2011-06-02 Toyota Infotechnology Center Co Ltd コンピューターシステム
US9432197B2 (en) * 2010-02-24 2016-08-30 Renesas Electronics Corporation Wireless communications device and authentication processing method
DE102010042539B4 (de) 2010-10-15 2013-03-14 Infineon Technologies Ag Datensender mit einer sicheren, aber effizienten Signatur
WO2012130257A1 (en) 2011-03-29 2012-10-04 Volvo Lastvagnar Ab Secured repair data package
CN102495601A (zh) 2011-12-12 2012-06-13 深圳市航盛电子股份有限公司 一种跨网络电控单元的软件刷新系统及方法
DE102013101508A1 (de) 2012-02-20 2013-08-22 Denso Corporation Datenkommunikationsauthentifizierungssystem für ein Fahrzeug, Netzkopplungsvorrichtung für ein Fahrzeug, Datenkommunikationssystem für ein Fahrzeug und Datenkommunikationsvorrichtung für ein Fahrzeug
JP5664579B2 (ja) 2012-03-14 2015-02-04 株式会社デンソー 通信システム、中継装置、車外装置及び通信方法
JP5967822B2 (ja) * 2012-10-12 2016-08-10 ルネサスエレクトロニクス株式会社 車載通信システム及び装置
JP5940013B2 (ja) 2013-03-29 2016-06-29 日立オートモティブシステムズ株式会社 車載通信システム及び通信装置
US9288048B2 (en) * 2013-09-24 2016-03-15 The Regents Of The University Of Michigan Real-time frame authentication using ID anonymization in automotive networks
JP5864510B2 (ja) * 2013-10-18 2016-02-17 富士通株式会社 修正プログラム確認方法、修正プログラム確認プログラム、及び情報処理装置
JP5975964B2 (ja) * 2013-10-18 2016-08-23 富士通株式会社 情報処理プログラム、情報処理方法、情報処理装置、及び情報処理システム
US9374355B2 (en) * 2013-10-28 2016-06-21 GM Global Technology Operations LLC Programming vehicle modules from remote devices and related methods and systems
CN104010302A (zh) 2014-04-29 2014-08-27 上海交通大学 车载自组织网络路况数据信任评价方法
US10211990B2 (en) * 2014-07-25 2019-02-19 GM Global Technology Operations LLC Authenticating messages sent over a vehicle bus that include message authentication codes
JP6228093B2 (ja) 2014-09-26 2017-11-08 Kddi株式会社 システム
CN104601329B (zh) * 2014-12-26 2018-10-26 深圳市金溢科技股份有限公司 车载终端、车辆信息发布系统及方法
US9916151B2 (en) * 2015-08-25 2018-03-13 Ford Global Technologies, Llc Multiple-stage secure vehicle software updating
US11146401B2 (en) * 2016-08-10 2021-10-12 Ford Global Technologies, Llc Software authentication before software update
JP6585019B2 (ja) * 2016-09-13 2019-10-02 株式会社東芝 ネットワーク監視装置、ネットワークシステムおよびプログラム

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2014143568A (ja) * 2013-01-24 2014-08-07 Canon Inc 認証システム及び認証子変換器
JP2015103163A (ja) * 2013-11-27 2015-06-04 株式会社オートネットワーク技術研究所 プログラム更新システム及びプログラム更新方法
WO2015186829A1 (ja) * 2014-06-05 2015-12-10 Kddi株式会社 送信ノード、受信ノード、通信ネットワークシステム、メッセージ作成方法およびコンピュータプログラム
JP2016158120A (ja) 2015-02-25 2016-09-01 京セラ株式会社 通信装置、携帯端末装置および通信システム

Non-Patent Citations (5)

* Cited by examiner, † Cited by third party
Title
"AN4240 Application note", STMICROELECTRONICS, 3 August 2016 (2016-08-03), Retrieved from the Internet <URL:http ://www. st. com/web/en/resource/technical/document/application_note/DM00075575 .p df>
"Road vehicles Unified diagnostic services (UDS) Part 1: Specification and requirements", 15 March 2013, INTERNATIONAL STANDARD
KEISUKE TAKEMORI ET AL.: "Key Managements for ECU and Code Authentications Using Tamper- resistant Secure Element", IEICE TECHNICAL REPORT, vol. 115, no. 365, 10 December 2015 (2015-12-10), pages 227 - 232, XP055586088 *
KEISUKE TAKEMORI: "In-vehicle Network Security Using Secure Elements: Discussion of Security Technologies", INSTITUTE OF ELECTRONICS, INFORMATION AND COMMUNICATION ENGINEERS, TECHNICAL REPORT, vol. 114, no. 508, March 2015 (2015-03-01), pages 73 - 78, XP009508594
See also references of EP3499793A4

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
EP3811204A4 (en) * 2018-06-25 2022-06-08 Tusimple, Inc. SECURITY ARCHITECTURE FOR A REAL-TIME REMOTE VEHICLE MONITORING SYSTEM

Also Published As

Publication number Publication date
US20190305962A1 (en) 2019-10-03
EP3499793A1 (en) 2019-06-19
CN109314645B (zh) 2021-08-13
US11212109B2 (en) 2021-12-28
EP3499793A4 (en) 2020-03-11
CN109314645A (zh) 2019-02-05
EP3499793B1 (en) 2021-11-10

Similar Documents

Publication Publication Date Title
WO2018029905A1 (ja) データ提供システム、データ保安装置、データ提供方法、及びコンピュータプログラム
JP6260067B1 (ja) 管理システム、鍵生成装置、車載コンピュータ、管理方法、及びコンピュータプログラム
JP6197000B2 (ja) システム、車両及びソフトウェア配布処理方法
JP6683588B2 (ja) 再利用システム、サーバ装置、再利用方法、及びコンピュータプログラム
WO2018029893A1 (ja) データ提供システム、データ保安装置、データ提供方法、及びコンピュータプログラム
WO2018043386A1 (ja) 車両情報収集システム、車載コンピュータ、車両情報収集装置、車両情報収集方法、及びコンピュータプログラム
WO2017115751A1 (ja) 車載コンピュータシステム、車両、管理方法、及びコンピュータプログラム
JP6260068B1 (ja) 保守装置、保守方法、及びコンピュータプログラム
JP6440334B2 (ja) システム、車両及びソフトウェア配布処理方法
JP6299039B2 (ja) 車両情報収集システム、データ保安装置、車両情報収集方法、及びコンピュータプログラム
JP6203798B2 (ja) 車載制御システム、車両、管理装置、車載コンピュータ、データ共有方法、及びコンピュータプログラム
JP6554704B2 (ja) データ提供システム及びデータ提供方法
JP2018006782A (ja) データ提供システム、データ提供装置、車載コンピュータ、データ提供方法、及びコンピュータプログラム
JP6354099B2 (ja) データ提供システム及びデータ提供方法
JP6464466B2 (ja) 保守装置、保守方法、及びコンピュータプログラム
JP6188744B2 (ja) 管理システム、車両及び管理方法
JP6454919B2 (ja) 管理システム、データ提供装置、車載コンピュータ、管理方法、及びコンピュータプログラム
JP6672243B2 (ja) データ提供システム、データ提供装置、データ提供方法、及びデータ提供プログラム
JP2018057044A (ja) 車両情報収集システム、データ保安装置、車両情報収集装置、車両情報収集方法、及びコンピュータプログラム
WO2018131270A1 (ja) 通信システム、車両、サーバ装置、通信方法、及びコンピュータプログラム
JP2017208731A (ja) 管理システム、管理装置、車載コンピュータ、管理方法、及びコンピュータプログラム

Legal Events

Date Code Title Description
121 Ep: the epo has been informed by wipo that ep was designated in this application

Ref document number: 17838981

Country of ref document: EP

Kind code of ref document: A1

NENP Non-entry into the national phase

Ref country code: DE

ENP Entry into the national phase

Ref document number: 2017838981

Country of ref document: EP

Effective date: 20190311