IP Library › Granted Patent US 11,177,953
Granted Patent B2
US 11,177,953 · App. 16/561,311 · Granted Nov 16, 2021

Trusted authentication of automotive microcontroller

Inventors: Alexander Zeh (Munich, DE); Martin Brunner (Munich, DE); Marcus Janke (Munich, DE)
H04L9/0894G06F21/57H04L9/0825H04L9/0897H04L9/3263H04L63/0823H04L63/126
View Patent ↗
Loading inventors, assignments & file history…
Monitor This Case
Get email alerts when status or documents change.
Order Certified Copies
Most orders are placed with the USPTO same day — all within 24 business hours.
Order via The Patent Place →
Pre-filled with this patent's details
Quick Facts
Patent No.
US 11,177,953
App. No.
16/561,311
Granted
Nov 16, 2021
Kind
B2
Abstract

An authentication system includes a microcontroller having a unique identifier (ID) and a first key pair including a microcontroller secret key and a microcontroller public key. The microcontroller is configured to store the unique ID, the first key pair, a digital signature of the unique ID, the digital signature being generated using an external secret key of a second key pair, and a digital certificate of the microcontroller public key that is signed by the external secret key of the second key pair. The second key pair includes the external secret key and an external public key. The authentication system further includes a controller configured to perform a first authenticity validation check on the unique ID using the external public key and perform a second authenticity validation check on the microcontroller public key using the external public key.

Claims (95)

1. An authentication system, comprising:

a microcontroller having a unique identifier (ID) and a first key pair including a microcontroller secret key and a microcontroller public key,

wherein the microcontroller is configured to store the unique ID, the first key pair, a digital signature of the unique ID, the digital signature being generated using an external secret key of a second key pair, and a digital certificate of the microcontroller public key that is signed by the external secret key of the second key pair, and wherein the second key pair includes the external secret key and an external public key; and

a controller configured to perform a first authenticity validation check on the unique ID using the external public key and perform a second authenticity validation check on the microcontroller public key using the external public key.

2. The authentication system of claim 1 , further comprising:

a tamper-resistant hardware device having a root of trust with the controller, wherein the tamper-resistant hardware device is configured to securely store the external public key and provide the external public key to the controller.

3. The authentication system of claim 1 , wherein, for the first authenticity validation check, the microcontroller is configured to transmit the unique ID and the digital signature of the unique ID to the controller.

4. The authentication system of claim 3 , wherein, for the first authenticity validation check, the controller is configured to apply a signature verifying algorithm using the external public key, the digital signature of the unique ID, and the unique ID, and verify an authenticity of the unique ID based on the signature verifying algorithm.

5. The authentication system of claim 1 , wherein, for the second authenticity validation check, the microcontroller is configured to transmit the microcontroller public key and the digital certificate of the microcontroller public key to the controller.

6. The authentication system of claim 5 , wherein, for the second authenticity validation check, the controller is configured to apply a certificate verifying algorithm using the external public key, the digital certificate of the microcontroller public key, and the microcontroller public key, and verify an authenticity of the microcontroller public key based on the certificate verifying algorithm.

7. The authentication system of claim 1 , wherein:

the controller is configured to initiate a challenge-response authentication with the microcontroller, wherein during the challenge-response authentication the controller is configured to generate a challenge value and transmit the challenge value to the microcontroller,

in response to receiving the challenge value, the microcontroller is configured to sign the challenge value using the microcontroller secret key and transmit the signed challenge value to the controller as a challenge response, and

in response to receiving the challenge response, the controller is configured to authenticate the microcontroller by verifying the signed challenge value with the generated challenge value.

8. The authentication system of claim 7 , further comprising:

a tamper-resistant hardware device having a root of trust with the controller, wherein the tamper-resistant hardware device is configured to securely store the microcontroller public key and provide the microcontroller public key to the controller,

wherein the controller is configured to receive the microcontroller public key from the tamper-resistant hardware device, and verify the signed challenge value with the generated challenge value using the microcontroller public key.

9. The authentication system of claim 8 , wherein the microcontroller is configured to transmit the microcontroller public key to the tamper-resistant hardware device in response to receiving the challenge value from the controller.

10. The authentication system of claim 1 , wherein the microcontroller is configured to generate the first key pair.

11. The authentication system of claim 1 , wherein the second key pair is generated external to the microcontroller.

12. The authentication system of claim 1 , further comprising:

a tamper-resistant hardware device configured to generate the second key pair, generate the digital signature using the unique ID and the external secret key, obtain the digital certificate derived from the microcontroller public key and the external secret key, and transmit the digital signature and the digital certificate to the microcontroller.

13. The authentication system of claim 12 , wherein the tamper-resistant hardware device is a Trusted Platform Module (TPM).

14. The authentication system of claim 12 , wherein the tamper-resistant hardware device is a secure server.

15. The authentication system of claim 1 , further comprising:

a first tamper-resistant hardware device having a root of trust with the controller, wherein the first tamper-resistant hardware device is configured to securely store the external public key and provide the external public key to the controller; and

a second tamper-resistant hardware device configured to generate the second key pair, generate the digital signature using the unique ID and the external secret key, obtain the digital certificate derived from the microcontroller public key and the external secret key, and transmit the digital signature and the digital certificate to the microcontroller.

16. The authentication system of claim 15 , wherein the second tamper-resistant hardware device is configured to transmit the external public key to the first tamper-resistant hardware device.

17. The authentication system of claim 1 , wherein the microcontroller is a dedicated automotive microcontroller.

18. The authentication system of claim 2 , wherein the tamper-resistant hardware device is a Trusted Platform Module (TPM).

19. The authentication system of claim 1 , wherein the microcontroller secret key is a use-only secret key.

20. The authentication system of claim 2 , wherein the microcontroller, the controller, and the tamper-resistant hardware device are separate hardware devices.

21. The authentication system of claim 1 , wherein the controller is configured to perform the first authenticity validation check a plurality of times as a plurality of first authenticity validation checks, compare a number of successful authentications from the plurality of first authenticity validation checks to a predefined threshold number, determine a positive overall verification result if the number of successful authentications meets the predefined threshold number, and determine a negative overall verification result if the number of successful authentications does not meet the predefined threshold number.

22. The authentication system of claim 21 , wherein the controller is configured to determine that a functionality of the microcontroller is safe to use in response to determining the positive overall verification result, and determine that the functionality of the microcontroller is unsafe to use in response to determining the negative overall verification result.

23. The authentication system of claim 1 , wherein the controller is configured to perform the second authenticity validation check a plurality of times as a plurality of second authenticity validation checks, compare a number of successful authentications from the plurality of second authenticity validation checks to a predefined threshold number, determine a positive overall verification result if the number of successful authentications meets the predefined threshold number, and determine a negative overall verification result if the number of successful authentications does not meet the predefined threshold number.

24. The authentication system of claim 23 , wherein the controller is configured to determine that a functionality of the microcontroller is safe to use in response to determining the positive overall verification result, and determine that the functionality of the microcontroller is unsafe to use in response to determining the negative overall verification result.

25. A method of authenticating an aspect of a microcontroller that has a unique identifier (ID) and a first key pair including a microcontroller secret key and a microcontroller public key, wherein the microcontroller stores the unique ID, the first key pair, a digital signature of the unique ID, the digital signature being generated using an external secret key of a second key pair, and a digital certificate of the microcontroller public key that is signed by the external secret key of the second key pair, and wherein the second key pair includes the external secret key and an external public key, the method comprising:

performing, by a controller, a first authenticity validation check on the unique ID using the external public key; and

performing, by the controller, a second authenticity validation check on the microcontroller public key using the external public key.

26. The method of claim 25 , further comprising:

storing, by a tamper-resistant hardware device, the external public key, wherein the tamper-resistant hardware device has a root of trust with the controller; and

transmitting the external public key from the tamper-resistant hardware device to the controller for performing at least one of the first authenticity validation check and the second authenticity validation check.

27. The method of claim 25 , further comprising:

for the first authenticity validation check:

transmitting, by the microcontroller, the unique ID and the digital signature of the unique ID to the controller; and

applying, by the controller, a signature verifying algorithm using the external public key, the digital signature of the unique ID, and the unique ID; and

verifying, by the controller, an authenticity of the unique ID based on the signature verifying algorithm.

28. The method of claim 25 , further comprising:

for the second authenticity validation check:

transmitting, by the microcontroller, the microcontroller's public key and the digital certificate of the microcontroller's public key to the controller;

applying, by the controller, a certificate verifying algorithm using the external public key, the digital certificate of the microcontroller public key, and the microcontroller public key; and

verifying, by the controller, an authenticity of the microcontroller public key based on the certificate verifying algorithm.

29. The method of claim 25 , further comprising:

performing, by the controller, a challenge-response authentication with the microcontroller, comprising:

generating, by the controller, a challenge value;

transmitting, by the controller, the challenge value to the microcontroller;

in response to receiving the challenge value, singing, by the microcontroller, the challenge value using the microcontroller secret key;

transmitting, by the microcontroller, the signed challenge value to the controller as a challenge response; and

in response to receiving the challenge response, authenticating the microcontroller, by the controller, by verifying the signed challenge value with the generated challenge value.

30. The method of claim 29 , further comprising:

storing, by a tamper-resistant hardware device, the microcontroller public key, wherein the tamper-resistant hardware device has a root of trust with the controller; and

transmitting, by the tamper-resistant hardware device, the microcontroller public key to the controller,

wherein authenticating the microcontroller includes verifying the signed challenge value with the generated challenge value using the microcontroller public key.

31. The method of claim 30 , further comprising:

transmitting, by the microcontroller, the microcontroller public key to the tamper-resistant hardware device in response to receiving the challenge value from the controller.

32. The method of claim 25 , further comprising:

performing, by the controller, the first authenticity validation check a plurality of times as a plurality of first authenticity validation checks;

comparing, by the controller, a number of successful authentications from the plurality of first authenticity validation checks to a predefined threshold number;

determining, by the controller, a positive overall verification result if the number of successful authentications meets the predefined threshold number; and

determining, by the controller, a negative overall verification result if the number of successful authentications does not meet the predefined threshold number.

33. The method of claim 32 , further comprising:

determining, by the controller, that a functionality of the microcontroller is safe to use in response to determining the positive overall verification result; and

determining, by the controller, that the functionality of the microcontroller is unsafe to use in response to determining the negative overall verification result.

34. The method of claim 25 , further comprising:

performing, by the controller, the second authenticity validation check a plurality of times as a plurality of second authenticity validation checks;

comparing, by the controller, a number of successful authentications from the plurality of second authenticity validation checks to a predefined threshold number;

determining, by the controller, a positive overall verification result if the number of successful authentications meets the predefined threshold number; and

determining, by the controller, a negative overall verification result if the number of successful authentications does not meet the predefined threshold number.

35. The method of claim 34 , further comprising:

determining, by the controller, that a functionality of the microcontroller is safe to use in response to determining the positive overall verification result; and

determining, by the controller, that the functionality of the microcontroller is unsafe to use in response to determining the negative overall verification result.

36. The method of claim 25 , further comprising:

generating, by a tamper-resistant hardware device, the second key pair;

generating, by the tamper-resistant hardware device, the digital signature using the unique ID and the external secret key;

obtaining, by the tamper-resistant hardware device, the digital certificate derived from the microcontroller public key and the external secret key; and

transmitting, by the tamper-resistant hardware device, the digital signature and the digital certificate to the microcontroller.

37. The method of claim 25 , further comprising:

securely storing, by a first tamper-resistant hardware device, the external public key, wherein the first tamper-resistant hardware device has a root of trust with the controller;

transmitting, by the first tamper-resistant hardware device, the external public key to the controller;

generating, by a second tamper-resistant hardware device, the second key pair;

generating, by the second tamper-resistant hardware device, the digital signature using the unique ID and the external secret key;

obtaining, by the second tamper-resistant hardware device, the digital certificate derived from the microcontroller public key and the external secret key; and

transmitting, by the second tamper-resistant hardware device, the digital signature and the digital certificate to the microcontroller.

38. The method of claim 37 , further comprising:

transmitting, by the second tamper-resistant hardware device, the external public key to the first tamper-resistant hardware device.

Assignments (1)
ASSIGNMENT OF ASSIGNOR'S INTEREST Recorded Oct 2, 2019
From: ZEH, ALEXANDER; BRUNNER, MARTIN; JANKE, MARCUS
To: INFINEON TECHNOLOGIES AG
Reel/Frame 050600/0798 →
Continuity (1)
Related Publication 20210075606A1 · Mar 11, 2021
Cited By (3)
US 12,317,082 US 12,489,622 US 12,739,150