Methods for securing communication between two communication partners in a vehicle ecosystem

A hybrid key encapsulation method using conventional and post-quantum-resistant algorithms addresses the vulnerability of vehicle communication to quantum threats, ensuring secure and retrofittable communication by protecting post-quantum keys with dual cryptographic layers.

DE102024004076B3Active Publication Date: 2026-02-19MERCEDES BENZ GROUP AG
View PDF 1 Cites 0 Cited by

Patent Information

Application Number
DE102024004076
Authority / Receiving Office
DE · DE
Patent Type
Patents
Current Assignee / Owner
Filing Date
2024-12-05
Publication Date
2026-02-19
Estimated Expiration
2044-12-05

AI Technical Summary

Technical Problem

Existing cryptographic methods used in vehicle communication systems, such as RSA and ECC, are vulnerable to post-quantum threats posed by quantum computers, rendering current vehicle communication insecure for their expected lifespan due to the lack of robustness against quantum decryption.

Method used

Implement a hybrid key encapsulation method combining conventional and post-quantum-resistant algorithms to derive a hybrid key, ensuring secure communication before and after the onset of a post-quantum threat, using a 'write-once-read-many' memory to protect the post-quantum key from overwriting.

Benefits of technology

Ensures secure communication by doubly protecting post-quantum keys with both classical and post-quantum algorithms, allowing easy retrofitting and maintaining integrity and authenticity before the post-quantum era, thus securing vehicle communication systems against quantum threats.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure 00000000_0000_ABST
    Figure 00000000_0000_ABST
Patent Text Reader

Abstract

The invention relates to a method for securing communication between two communication partners of a vehicle ecosystem beyond the time of occurrence of a post-quantum threat (PQ), for which a key is exchanged between the communication partners by means of authenticity-protected communication before the occurrence of the post-quantum threat (PQ). The invention is characterized in that a hybrid key encapsulation method is used for exchanging the key, by which a conventional key and a post-quantum resistant key are exchanged, from which a hybrid key is then formed by means of a derivation procedure, wherein after the exchange of the two key components of the hybrid key the possibility of exchange is locked or deleted.
Need to check novelty before this filing date? Find Prior Art

Description

[0001] The invention relates to a method for securing communication between two communication partners of a vehicle ecosystem beyond the time of occurrence of a post-quantum threat, according to the type defined in more detail in the preamble of claim 1.

[0002] Generally speaking, modern vehicles, and in particular passenger cars and commercial vehicles, are part of a large vehicle ecosystem. A central part of this ecosystem is the so-called backend. This is an external server, usually operated by the vehicle manufacturer. The vehicles, or rather their control units, are connected to this external server via the internet. Communication between this backend and the vehicles is typically secured using cryptographic methods to protect the privacy of the vehicle user and to prevent external interference with data traffic. Such interference, especially with data related to vehicle control, could be exploited by hackers to attack the vehicles and manipulate critical functions.

[0003] Common practice involves the use of asymmetric keys or methods based on asymmetric cryptography. These are typically used in the form of so-called TLS (Transport Layer Security), and sometimes IPSec (Internet Protocol Security), which in turn utilize conventional asymmetric methods, such as RSA based on prime factorization or the discrete logarithm problem with elliptic curves (ECDLP).

[0004] Patent DE 10 2009 037 193 B4 describes a system and a method for carrying out an exchange of a so-called hybrid key between a vehicle and a server external to the vehicle in order to operate the data connection accordingly in a cryptographically secured manner, i.e. with encryption and / or authentication, even in the event of a post-quantum threat.

[0005] The typically used asymmetric cryptographic methods for key exchange, such as ECC or RSA, have the advantage of offering relatively secure protection with minimal effort, according to current standards. However, all these methods rely on cryptographic algorithms whose security is considered insufficiently robust against quantum computers. Due to the way they compute, quantum computers are capable of cracking asymmetric cryptographic methods and decrypting protected data within a very short time. The cryptographic security methods typically used for communication between the vehicle and the backend, especially for encryption and / or authentication, are then no longer considered sufficiently secure.This so-called post-quantum threat has so far been a rather theoretical one, as quantum computers were still considered purely research instruments and could only be realized with very high financial investment. However, the development of quantum computers has accelerated significantly in recent years. Therefore, from today's perspective, it is no longer possible to reliably predict that sufficiently powerful quantum computers will not be commercially available on the market in the coming years.

[0006] Vehicles launched today will typically remain on the road for 10 to 15 years. This means that the post-quantum threat—the potential for commercially available quantum computers to easily crack conventional cryptographic security at a later date—is already relevant for vehicles being delivered today. This includes vehicles that were produced in the past. Communication between a vehicle's communication device and an external server, currently secured using cryptographic protocols mostly based on RSA or ECC, would no longer be secure with the emergence of this post-quantum threat. Therefore, from today's perspective, secure communication cannot be guaranteed for the entire expected lifespan of these vehicles.

[0007] To address the post-quantum threat, German patent DE 10 2020 001 199 A1 describes a communication unit for a vehicle, designed to operate in either a first or second mode. These modes differ in the type of cryptographic data security used, such as authentication and / or encryption. The first mode employs conventional asymmetric methods for data cryptographic security. This pre-quantum mode can currently be used with conventional security measures. The second mode serves for communication after the onset of the post-quantum threat. It utilizes either cryptographic security based on purely symmetric methods, which, according to current understanding, offers greater resistance to the post-quantum threat, or security via algorithms that are resistant to the post-quantum threat.These are approaches known as post-quantum cryptography, or PQC. However, such PQC approaches for second-mode communication are still not fully mature or standardized. Therefore, incorporating them into electronic control units now is complex and carries a certain risk regarding their actual reliability after the onset of a post-quantum threat.

[0008] WO 2022 / 167201A1 addresses this problem by implementing, or retrofitting via a software update, an interface through which post-quantum-resistant keys can be exchanged at a later date, but before the post-quantum threat materializes. However, securing this interface is also complex, as reliable cryptographic encryption is required in addition to the integrity- and authenticity-protected security measures.

[0009] To ensure the necessary or desired protection of products beyond the emergence of post-quantum threats, they must be enhanced using post-quantum cryptography. However, these specialized algorithms require specific key material that is not currently present in the products. Therefore, the key material must be retrofitted into the product. Generally, two methods are available for this. The first method involves integration in a secure environment (e.g., a production environment). In practice, however, this method will hardly be relevant for existing products, as it will primarily involve retrofitting.

[0010] The primary (second) method will therefore involve the subsequent insertion of the new key material in an insecure environment, such as a workshop or via air (OTA - Over The Air). This method is secured by cryptographic algorithms that are considered secure at the time of transmission. Since the information transmitted in the last step must be protected for a period that, by definition, extends into the post-quantum era, the sole use of classical cryptographic algorithms is not feasible. The security measures must therefore consider the post-quantum scenario when selecting algorithms. Thus, the last point is circular, as it already requires the use of post-quantum cryptography to introduce the new key material. Therefore, retrofitting existing products is not possible.

[0011] The publication by Ricci, Sara et al.: Hybrid keys in practice: Combining classical, quantum and post quantum cryptography. In IEEE Access, Vol. 12, 2024, pp. 23206-23219. ISSN 2169-3536. https: / / ieeexplore.ieee.org / stamp / stamp.jsp?tp=&arnumber=10430098 describes the basic use of hybrid key encapsulation methods.

[0012] The object of the present invention is to provide an improved method for securing communication between two communication partners of a vehicle ecosystem, which also enables reliably secured communication in the event of the occurrence of the post-quantum threat and thus solves the circular argument.

[0013] According to the invention, this problem is solved by a communication device for a vehicle having the features of claim 1, and in particular those of the characterizing part of claim 1. Advantageous embodiments and further developments of the communication device are described in the dependent claims.

[0014] In the method according to the invention, similar to the prior art mentioned above, a key is exchanged between the communication partners by means of authentication-protected communication before the onset of the post-quantum threat. According to the invention, a hybrid key encapsulation method is used for the key exchange, whereby a conventional key and a post-quantum-resistant key are exchanged, and a so-called hybrid key is derived from these. Thus, a hybrid key encapsulation mechanism (KEM) is used. This is a cryptographic technique with which a session key, which in the conventional sense is usually intended for use with a symmetric method such as AES, is transmitted using an asymmetric encryption method (for example, RSA).Participant A uses an encapsulation algorithm to generate a secret session key and a ciphertext from participant B's public key. This ciphertext is then transmitted to B via an unprotected channel. B can then use the decapsulation algorithm and their private key to also recover the secret session key. A hybrid key encapsulation method now uses a post-quantum-resistant approach, such as CRYSTALS Kyber (NIST: ML-KEM), in parallel with the conventional / classical approach, such as Diffie-Hellman. This key encapsulation method thus ensures confidentiality in both worlds, i.e., both before and after the onset of the post-quantum threat.

[0015] Based on the two generated session keys, a hybrid key is then created using a derivation procedure. The algorithms for deriving hybrid keys combine a classical key, which is already considered secure today, with a post-quantum algorithm to generate a key that remains secure even after the emergence of a post-quantum threat.

[0016] The post-quantum keys are thus doubly protected, once by a classical algorithm and once by a post-quantum algorithm. The inventive method avoids the problem of circular reasoning by protecting only the confidentiality of the post-quantum key being introduced and not ensuring its integrity or even authenticity in the context of post-quantum cryptography. Classical algorithms can ensure integrity and authenticity, but cannot maintain this protection in a post-quantum future. However, this is not necessary, since the import and thus the derivation take place in pre-quantum time, and the assurance provided by classical algorithms is therefore sufficient.

[0017] After the two keys have been exchanged, the ability to exchange them is locked or deleted. This procedure ensures that post-quantum keys can only be imported once, preventing overwriting by an attacker in the post-quantum era. This is achieved by using a "write-once-read-many" memory area, at least on the vehicle side, which is more vulnerable to third-party intrusion than an OEM backend.

[0018] An advantageous further development of the procedure envisages that the communication partners exchange a retrofit software update via authenticity-protected communication prior to the exchange of keys, establishing the hybrid key encapsulation procedure. The procedure can therefore be retrofitted or updated before the emergence of the post-quantum threat, but after the vehicle has been delivered, for example, if post-quantum-resistant methods and algorithms have been further improved.

[0019] Another highly advantageous embodiment of the method according to the invention can also provide that the communication partners exchange a software update via authentication-protected communication both before the occurrence of the post-quantum threat and after the key exchange, in order to communicate using the hybrid key or a post-quantum key subsequently loaded via it. This also allows for easy retrofitting, as the dependency of the generated keys can still be adjusted. Because the exchange takes place in the pre-post-quantum threat era, it is also possible here to impose high requirements on the software's authenticity if necessary, since protection can already be ensured by existing classical cryptography.

[0020] The onset of the post-quantum threat, which will naturally be a rather vague point in time, can be actively initiated for such systems, for example, by setting a state value (flag) in the backend. Subsequently, according to an advantageous design, communication after the onset of the post-quantum threat can then take place using cryptographic security via the hybrid key. This requires no additional effort; the hybrid key with its classical and post-quantum-resistant encryption can simply continue to be used.

[0021] According to an alternative, advantageous embodiment, a post-quantum-resistant key could also be loaded via the hybrid key using cryptographic security, which in this case specifically includes encryption. Communication would then take place using this loaded post-quantum-resistant key, also with cryptographic security. Depending on the type of post-quantum-resistant key material available, a simpler and potentially less resource-intensive method could be used, which would place less strain on the already limited resources in a vehicle than always having to use the hybrid key.

[0022] A favorable further development of the procedure envisages that the authenticity-protected communication is cryptographically secured, in particular authenticated, before the onset of the post-quantum threat using a conventional cryptographic method, such as RSA or ECC.

[0023] Further highly advantageous embodiments of the inventive method for securing communication also result from the exemplary embodiment, which is described in more detail below with reference to the figure.

[0024] The only attached Fig. Figure 1 shows a flowchart for a possible implementation of the method according to the invention.

[0025] On a timeline t, two relevant points in time are marked: the present (G) and the beginning of the post-quantum threat (PQ). Between these two points in time, confidentiality and authenticity are ensured by classical cryptographic methods. This is indicated by the double arrow K. After the onset of the post-quantum threat, a post-quantum-resistant key material must be used, which is indicated by the right-pointing arrow with the abbreviation P.

[0026] Starting from the present state G, a software update for retrofitting key exchange via the hybrid KEM is downloaded in a first step A. This step is authenticated, and conventional or classical methods are sufficient here, as we are still before the onset of the post-quantum threat PQ. Subsequently, in step B, a key exchange takes place, in which a conventional key and a post-quantum-resistant key are exchanged. For the conventional key, a Diffie-Hellman method, such as ECDH (Elliptic Curve Diffie-Hellman), can be used. For the post-quantum-resistant key, a key encapsulation method such as CRYSTALS Kyber can be used.A derivation rule, which may have been initially stored or, in particular, may have been introduced via the software update, then creates the same hybrid key from both previously mentioned key parts for both communication partners.

[0027] Once this hybrid key is available, a tamper-proof locking or deletion of the hybrid key element (KEM) takes place in step C. Additionally, the hybrid key can be stored in a tamper-proof memory. This prevents the exchange of another key after time PQ. The authenticity of this new key would no longer be guaranteed in the post-quantum time, and an attacker could thus introduce their own key.

[0028] In principle, the hybrid key could now be used directly to secure communication, but in practice it is usually better to use it to protect the confidentiality of a subsequently loaded pure post-quantum key (PQC - post-quantum cryptography) during its transmission. This post-quantum key can then be used to secure further communication using post-quantum algorithms.

[0029] The final step D of the procedure before the onset of the post-quantum threat (PQ) requires the installation of software logic to utilize the exchanged post-quantum key. This can be implemented through standard software update procedures. If requirements are placed on the software's authenticity, the software update must take place in the pre-quantum era. This ensures protection through existing classical cryptography.

[0030] After steps A to D, the procedure is now prepared for the arrival of the post-quantum threat (PQ). In the subsequent step E, the post-quantum keys are then used exclusively for communication.

[0031] Existing systems can easily be retrofitted with this method for safe operation even after the onset of the post-quantum threat (PQ).

Claims

[1] Method for securing communication between two communication partners of a vehicle ecosystem beyond the time of occurrence of a post-quantum threat (PQ), wherein, prior to the occurrence of the post-quantum threat (PQ), a key is exchanged between the communication partners by means of authenticity-protected and encrypted communication, wherein a hybrid key encapsulation method is used for the exchange of the key, whereby a conventional key and a post-quantum resistant key are exchanged, from which a hybrid key is then formed by means of a derivation rule, wherein after the exchange of the two keys the possibility of exchange is locked or deleted, and wherein the hybrid key is stored immutably in a memory with a write-once-read-many function. [2] Method according to claim 1, characterized by, that the communication partners exchange a retrofit software update via authenticity-protected communication prior to the exchange of the key, which establishes the hybrid key encapsulation procedure. [3] Method according to claim 1 or 2, characterized by , that the functions of the retrofit software update will be deleted after the key is replaced, at least on the vehicle side. [4] Method according to any one of claims 1 to 3, characterized by that the communication partners exchange a software update via authenticity-protected communication both before the occurrence of the post-quantum threat (PQ) and after the exchange of keys in order to reload software logic that allows communication via the hybrid key. [5] Method according to any one of claims 1 to 4, characterized by, that communication after the onset of the post-quantum threat (PQ) takes place via cryptographic security using the hybrid key. [6] Method according to any one of claims 1 to 5, characterized by that the authenticity-protected communication is cryptographically secured before the onset of the post-quantum threat using a conventional cryptographic method. [7] Method according to claim 6, characterized by that RSA or ECC is used as the conventional cryptographic method. [8] Method according to claim 6 or 7, characterized by that the authenticity-protected communication is authenticated using the conventional cryptographic method before the onset of the post-quantum threat.

Citation Information

Patent Citations

  • Method for securing communication between a communication system of a vehicle and a server external to the vehicle

    WO2022167201A1