Binding cryptographic key attestation
By generating device public/private key pairs through hardware-supported key storage and using a certificate statement signed by a trusted authority, the problem of key binding between different application identities and client devices is solved, achieving secure key binding and verification and improving the security of application servers.
Patent Information
- Application Number
- CN202280037956.1
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Priority Date
- 2021-05-27
- Filing Date
- 2022-05-06
- Publication Date
- 2026-11-20
- Estimated Expiration
- 2042-05-06
AI Technical Summary
Existing software-based encryption key solutions cannot effectively associate different application identities with the hardware-supported key storage of the same client device, making it impossible to determine whether the keys come from the same device, which poses a security problem.
Secure key binding and verification are achieved by generating device public/private key pairs using hardware-supported key storage and binding application identities to the hardware-supported key storage using a certificate statement signed by a trusted authority.
Ensuring that the application server can securely verify that the key claims come from the same client device improves the security of the client device and prevents attackers from accessing the application server using impersonation.
Smart Images

Figure CN117397198B_ABST
Abstract
Description
Background Technology
[0001] Cryptographic key verification technology can be used in modern operating systems. For remote server applications running on other computers, cryptographic key verification provides cryptographic proof that the asymmetric application private key generated by the client application is stored in a hardware-supported key store, such as hardware compliant with the Trusted Platform Module (TPM) standard.
[0002] Typically, each client application will have a hardware-supported key store that generates application-specific public and private key pairs. The application-specific public key, or a certificate generated based on the application public / private key pair, can be used by the corresponding client application to securely register its application identity through the appropriate remote application server. After the application identity (key) is securely registered, it is used for subsequent authentication of the client application through the application server.
[0003] Typically, this application-specific application identity registration between various client / server applications occurs at different times across different communication channels. Multiple unrelated client applications can run on a single client device's operating system. From the application server's perspective, it is unknown whether any two application identities are associated with the same hardware-supported key store (and therefore the same client device).
[0004] The goal is to associate each application's unique identity with a hardware-supported key store on the application server. Associating these application identities helps the application server determine whether a client device meets the registration criteria by using proof submitted to another application server. Summary of the Invention
[0005] The embodiment provides the ability to bind multiple application identities to a hardware-supported key store on a client device. An application identity is an application public key. The hardware-supported key store generates (or includes) associated device private / device public key pairs and application private / application public key pairs. The hardware-supported key store can sign authentication claims to different remote applications using the same device private key. This allows a remote application server to associate a signed authentication claim made to another remote application server with the hardware-supported key store, and thus the client device is associated with the signature. This association was previously uncertain because existing software-based solutions were less secure than keys generated by a hardware-supported key store, thus raising suspicion that keys provided to different application servers originated from the same device.
[0006] The embodiments address the technical problem of securely associating application keys with the same client device using at least one of the following: device public / private key pairs, hardware-supported key stores, or remote key proofs. A hardware-supported key store is a hardware device that prevents key extraction. A hardware-supported key store conforming to the Trusted Platform Module (TPM) specification is an example of a hardware-supported key store. Associating different application identities (sometimes referred to as application public keys) with the same hardware-supported key store at the application server provides improved security. This is because the application server can use a proven claim provided to another application server to determine whether a client device including the hardware-supported key store meets the registration criteria. Registration criteria help ensure that the client device does not have the security problem of being exploited by an attacker to access the application server hosting the application associated with the registration.
[0007] A method, apparatus, or machine-readable medium for cryptographic key verification can generate a device key pair (via the device's hardware), the device key pair including a device private key and a device public key. Based on the device private key, a first verification can be signed to produce a signed first verification. The first verification can claim the device private key originating from the hardware. Based on the device public key and the signed first verification, the device is registered with a trusted authority. A first application key pair can be generated (e.g., via hardware). The first application key pair can include a first application private key and a first application public key. Based on the device private key, a second verification can be signed to produce a signed second verification. The second verification can claim the first application private key originating from the hardware. Based on the first application public key and the signed second verification, a first application of the device can be registered with a first server.
[0008] Certificates can be received from a trusted authority. A certificate proves that the device's private key originates from the hardware. The first application registering the device may include providing the certificate to a first server. Registering the device with an application or a trusted authority may include communication over a transport layer secure channel.
[0009] A second application key pair can be generated. This pair may include a second application private key and a second application public key. Based on the device's private key, a third proof can be signed, generating a signed third proof. Based on the second application public key and the signed third proof, the device's second application can register with a second server.
[0010] The device public and private keys can be derived from hardware-supported keys, which are unique to the device's hardware-supported key storage. The device private key may include a Rivest-Shafir-Adleman (RSA) signing key or an Elliptic Curve Cryptography (ECC) signing key.
[0011] A method, device, or machine-readable medium for cryptographic key authentication can receive (e.g., from a device) an application registration request. The application registration request may include an application public key and a signed authentication certificate. Based on the device's device public key, it can be verified whether the signed authentication certificate is bound to a hardware-supported key store of the device. In response to verifying whether the signed authentication certificate is bound to a hardware-supported key store of the device, it can be determined whether the claim of the signed authentication certificate satisfies a policy. In response to determining that the claim satisfies the policy, the device can register using the application associated with the application registration request.
[0012] Verifying whether a signed certificate is bound to a hardware-supported key store may include making a request to a trusted authority for the device's public key. Verifying whether a signed certificate is bound to a hardware-supported key store may include receiving the certificate status of the device's public key and the device's public key from a trusted authority. A certificate may be received. A certificate may include a device's private key originating from a hardware-supported key store and a signed certificate from a trusted authority. The chain of trust for the certificate can be verified. Attached Figure Description
[0013] Figure 1 A block diagram illustrating an embodiment of a system for binding cryptographic key proof is shown by way of example.
[0014] Figure 2 A diagram illustrating an embodiment of the system is provided by way of example, showing the system operating with a device configured to be bound to cryptographic key proof.
[0015] Figure 3 The example illustrates the process from the client (see...). Figure 1 A block diagram of an embodiment of a method for proving encryption keys by binding them at an angle.
[0016] Figure 4 The example illustrates the process from the application server (see...). Figure 1 A block diagram of an embodiment of a method for binding cryptographic key proofs.
[0017] Figure 5 A block diagram illustrating an embodiment of a machine (e.g., a computer system) for implementing one or more embodiments is shown by way of example. Detailed Implementation
[0018] In the following description, reference is made to the accompanying drawings, which form a part of this document, and specific embodiments that can be practiced are illustrated by way of illustration in the drawings. These embodiments are described in sufficient detail to enable those skilled in the art to practice them. It should be understood that other embodiments may be utilized and structural, logical, and / or electronic changes may be made without departing from the scope of the appended claims. Therefore, the following description of the embodiments is not to be considered limiting, and the scope of the embodiments is defined by the appended claims.
[0019] Server applications can benefit from knowing whether their application private key originates from a hardware-supported key store. This knowledge is sometimes referred to as "secure device binding" because the application private key is bound to a hardware-supported key store. With this knowledge of the hardware-supported key store originating from the application private key, the server application can know that the device registered through a first server application and the device registered through a second server application are the same device. Furthermore, the server application can verify whether one or more proof statements are bound to the same client device. The server application can cryptographically verify the association between a statement and a client device, which is any device associated with or related to the statement.
[0020] Mechanisms that allow proof claims to be bound to the same client may include signing the proof using a hardware-specific public / private key pair (e.g., a signing key (EK)) or a public / private key pair derived from a hardware-specific public / private key pair (e.g., an identity verification key (AIK)). The proof signature can be used to verify that the application public / private key pair is associated with a device-specific public / private key pair, and therefore with the device. The uniqueness of the device public / private key pair ensures that the same key originates from the same device. Therefore, the proof signature can be used to associate a first application public / private key pair and a second application public / private key pair with the same hardware.
[0021] A device certification statement, including one for the hardware made for the first application, and a statement for the second application associated with the same device signing key, can be associated with the same device. Statements can include the device's identifier (similar to a typically generic and globally unique serial number), the device's manufacturer, the device's model, the device's status (e.g., operating system, version, application, application version, device boot status (whether the device is securely booted), debug port status (enabled or disabled), geographic location, measurements or integrity checks of the running software, etc.), or a random number (generated and returned by the server to prevent replay and reuse).
[0022] In this example, a server application can securely verify that a proven key statement originates from the same client device to make cryptographic decisions and determine the credibility of the key proof statement. The example provides cryptographic proof that a hardware-proven key statement is bound to the same client device, and that a server application can use this knowledge to make decisions about client device association or relevance. Such certainty is not possible using software-based cryptographic key solutions due to the vulnerability of software-generated keys.
[0023] Further details regarding the binding of cryptographic key proof will now be described with reference to the accompanying drawings. In the drawings, reference numbers with letter suffixes refer to specific instances of the generic component. For example, server 106A and server 106B are specific instances of the generic server 106.
[0024] Figure 1 A block diagram illustrating an embodiment of a system 100 for binding cryptographic key authentication is shown by way of example. As shown in the figure, Figure 1 This includes client 102, Trustee Center (TA) 104, and application server 106. Client 102 is a computing device that communicates with server 106 to access functionality provided by applications on server 106. Client 102 may include mobile phones or other mobile computing devices, Internet of Things (IoT) devices, desktop computers, laptops, tablets, smart devices, or other devices capable of communicating with application server 106 and TA 104.
[0025] Client 102 is illustrated as including a hardware-supported key store 122. The hardware-supported key store 122 generates and stores cryptographic keys for client 102. The hardware-supported key store 122 may include a hardware security module (HSM). The hardware-supported key store 122 may conform to standards such as the International Organization for Standardization (ISO) and the International Electrotechnical Commission (IEC) ISO / IEC 11889. ISO / IEC compliant hardware is sometimes referred to as a Trusted Platform Module (TPM). Other similar standards that the hardware-supported key store 122 may conform to include ISO / IEC 15408 and the common standards for information security assessment detailed in Federal Information Processing Standard (FIPS) 140 (often referred to as the “common standards”).
[0026] The hardware-supported key store 122 may include a secure cryptographic processor 126 having one or more memories 128. Both persistent and volatile memories may be accessed solely by the cryptographic processor 126. The cryptographic processor 126 is a dedicated on-chip computer or microprocessor for performing cryptographic operations, embedded in a package with multiple physical security measures that provide it with a degree of tamper resistance. The hardware-supported key store 122 may include or provide a hardware random number generator, facilities for securely generating cryptographic keys, remote proof capabilities, binding capabilities, or sealing capabilities.
[0027] Remote authentication creates a nearly unforgeable hash key digest of the hardware and software configuration of client 102. Binding uses the device's public / private key pair 108 to encrypt data. Sealing is similar to binding but further identifies the state of the hardware-supported key store 122 so that the sealed data can be unsealed (decrypted). Client 102 can use the hardware-supported key store 122 to authenticate with other entities, such as TA 104 or server application 106.
[0028] The hardware-supported key store 122 can be programmed (written into non-writable memory) with a unique and secret public / private key pair (sometimes referred to as a signature key (EK)). The device public / private key pair 108 can be derived from the public / private key pair programmed therein using the hardware-supported key store 122.
[0029] Hardware-level encryption is more secure than software-based encryption. This is at least partly because the encryption process is separate from the rest of the computing device. This makes encryption harder to intercept or crack. Hardware encryption also offloads encryption functionality to the hardware, relieving the burden on other parts of the device that would otherwise handle the encryption operations.
[0030] TA 104 is a trusted third party (other than client 102 or application server 106) used to distribute encryption keys. TA 104 can be a Certification Authority (CA) that issued the digital certificate. A digital certificate (or simply "certificate") guarantees ownership of the public key by the certificate's named subject. The certificate allows relying entities to depend on signatures or claims made using the private key corresponding to the certificate's public key (sometimes referred to as the "certified public key"). Certificates can conform to standards such as X.509. Transport Layer Security (TLS) and Secure Sockets Layer (SSL) communication conform to the X.509 standard. Hypertext Transfer Protocol Security (HTTPS) uses TLS / SSL as the foundation for secure web browsing. When a certificate is signed by TA 104, the entity holding the certificate can rely on the public key contained in the certificate to establish secure communication with another party or to verify data signed using the corresponding private key.
[0031] Application server 106 hosts functionality in the form of an application that can be accessed by a trusted client, such as client 102. Application server 106 typically operates between client 102 and the database server. Application server 106 will perform operations on data from client 102, the database server, or a combination thereof. Then, application server 106 will provide client 102 with the results of the operations or confirmation that the operations have been performed.
[0032] To be bound to cryptographic key verification, the hardware-supported key store 122 can generate a device public / private key pair 108. An operating system or application running on client 102 can cause the hardware-supported key store 122 to generate the device public / private key pair 108. In operation 116, the private key of the public / private key pair 108 can be verified, and the corresponding public key can be registered via TA 104. Upon successful registration, TA 104 can issue a certificate to client 102. The public key 114 can be used as a binding key by server application server 106 or another application server to verify that the application public key 112 of application public / private key pair 110 originates from the same hardware-supported key store 122 as the device public key 114.
[0033] In operation 118, application 124 on client 102 can use a device private key or a device public / private key pair to prove its application-specific private key. Application 124 can prove the device claim by providing a statement signed with the device private key using the device public / private key pair. The proof statement signed with the device private key provides evidence that the application private key (and generated by the hardware-supported key store 122) is stored in the hardware-supported key store 122.
[0034] In operation 118, application server 106 can receive an application-specific private key certificate from client 102. Application server 106 can verify the certificate of the application private key of application public / private key pair 110. Application server 106 can receive and verify the certificate statement signed by device private key. Verification may include communication 120 to TA 104. Communication may include the statement and a request to the TA to verify the statement, or may include a request for device public key 114 so that application server 106 can verify the statement itself. Using the certificate of the statement signed by device private key, application server 106 may have evidence that application public key 112 originates from the same hardware as device public key 114. Verification may include decrypting the signature and verifying that the decryption key (device public key 114) is the correct key. In other words, the certificate statement signed by device private key binds application public key 112 and device public key 114 to the same hardware-supported key store 122.
[0035] Figure 2The diagram illustrates an embodiment of system 200 by way of example. System 200 operates with a device configured to be bound to cryptographic key proof. System 200, as shown, includes client 102, TA 104, first application server 106A, and second application server 106B. Client 102, as shown, includes tasks 240, 242, and 244 configured to perform bound tasks using cryptographic key proof.
[0036] Client registration task 240 can perform certificate registration using TA 104. In operation 246, certificate registration may include issuing a certificate registration request. The hardware-supported key store 122 of client 102 (see...) Figure 1 A derived device public / private key pair can be generated based on the device public key that has been burned into the hardware-supported key store 122 and is unique to the client 102. Figure 1 The device public / private key pair 108 in the code can be a derived device public / private key pair. The Identity Authentication Key (AIK) authentication service is an example of TA 104. Azure Active Directory (AD) and Mobile Device Management (MDM) Enrollment Services, from Redmond, Washington, USA. Corporation is a collection of examples of applications provided by application servers 106A and 106B.
[0037] TA 104 can receive certificate registration requests. In operation 250, TA 104 can verify the chain of trust between the derived device public key and the device public key. If the verification is successful, in operation 248, TA 104 can provide client 102 with a certificate signed using TA 104's private key.
[0038] After client registration task 240 has performed certificate registration via TA 104, in operation 252, device registration task 242 can provide a registration request. This registration request may include proof with one or more claims and the certificate received in operation 248.
[0039] Application server 106A may perform one or more operations 256 based on a received registration request or other data received in operation 252. Operation 256 may include verifying one or more claims of proof. Verifying proof claims may include decrypting the proof's signature using a derived device public key. One or more operations 256 may include verifying a trust chain of a received certificate. Verifying the trust chain of a certificate may include identifying the entity that has signed the certificate. Verifying the trust chain of a certificate may include determining whether the entity that has signed the certificate is trustworthy. Operation 256 may include storing derived device public keys, such as in response to the verification of proof claims and the verification of the certificate trust chain.
[0040] In operation 254, application server 106A can provide a registration response to client 102. This registration response may include an indication of successful or rejected registration.
[0041] Application registration task 244 can register client applications through application server 106B. In the MDM registration service process and other application registration service processes, client 102 can obtain an access token from Azure AD. Operation 258 may include requesting an application registration token from application server 106A. In operation 260, application server 106A can respond by providing an access token with a reference to a derived device public key.
[0042] Application registration task 244 can register via application server 106B using an access token from application server 106A. In operation 262, registration via application server 106B may include providing an application registration request. The application registration request may include an access token. The application registration request may include proof of the application's private key signed using a derived device private key.
[0043] In operation 266, application server 106B can determine whether to register client task 244 through application server 106B. Operation 266 can ensure that client 102 is configured to meet the policy defining the minimum requirements for the registration service. This policy may include data indicating that device configuration requirements can be met through proven claims, cryptographic bindings, or a combination thereof.
[0044] Operation 266 may include verifying that the application key is bound to the device. Verifying that the application public key is bound to the device may include decrypting the signature of the proof using a derived device public key. Verifying that the application public key is bound to the device may include verifying that the certificate trust chain includes only trusted entities. Operation 266 may include verifying the claim of the proof, such as decrypting the claim using the associated encryption key. Operation 266 may also include comparing the claim with a policy to ensure that client 102 meets all the requirements of the policy.
[0045] In operation 264, application server 106B can provide a registration response to application registration task 244. If verification is successful, the registration response can indicate successful registration. If verification fails, the registration response can indicate that the registration is rejected. If registration or enrollment fails, the registration or enrollment response can indicate that the conditions of the policy or certificate trust chain have not been met.
[0046] Tasks 240, 242, and 244 can be executed on different communication channels. A channel is a communication path between the source and the target. Figure 2In this context, example channels include wireless communication channels, virtual private network (VPN) channels, communication on designated ports (different ports are different channels), management channels, etc. An identity makes a claim about the device via a first channel, and those claims can be exploited when another related identity is provided via a separate channel. The channel through which the security posture of client 102 is verified, such as that provided by application registration task 244, may differ from another channel that relies on the security posture and cannot receive security posture information, or that providing security posture information is impractical.
[0047] Consider a VPN server that enforces a policy requiring client 102 to enable drive encryption, enable bit lockers, and firewall settings. Using existing methods, client 102 would provide those assertions via the VPN protocol, but this is impractical due to the cumbersome nature of those communications and the specialized techniques involved in VPN channels. In an example, a first channel, such as a management channel (the communication channel between client 102 and server application 106B), can verify the security posture of client 102 (e.g., whether client 102 has drive encryption, bit lockers enabled, and firewall settings), and this information can then be utilized by the VPN channel to avoid the cumbersome and impractical communication of providing assertions via the VPN channel.
[0048] Figure 3 The illustration from client 102 (see example) is shown in the figure. Figure 1 The illustrated method 300 is a block diagram of an embodiment of a method 300 for binding cryptographic key proofs. The method 300 includes: in operation 330, generating a device key pair 108; in operation 332, signing a first proof; in operation 334, registering a client 102 via TA 104; in operation 336, generating a first application key pair; in operation 338, signing a second proof; and in operation 340, registering the client 102 via a first application server 106. Operation 330 can be performed by a hardware-supported key storage 122 of the client 102. The device key pair 108 may include a device private key and a corresponding device public key.
[0049] Operation 332 can be performed based on the device private key. The first proof can claim the device private key derived from the hardware-supported key store 122. Operation 332 can generate a signed first proof. Operation 334 can be performed based on the device public key 114 and the signed first proof from operation 332. Operation 334 may include providing the signed first proof and the device public key 114 to TA 104.
[0050] The first application key pair may include a first application private key and a first application public key 112. Operation 338 may be performed based on the device private key. The second proof may declare a device private key derived from a hardware-supported key store 122. Operation 340 may be performed based on the first application public key 112 and the signed second proof. Operation 340 may include providing the first application public key 112 and the signed second proof to the application server 106.
[0051] Method 300 may further include (after or as a result of operation 334) receiving a certificate from TA 104 that proves the device private key originating from the hardware. The proof may include TA 104 signing the certificate using the TA private key of the TA public / private key pair. In operation 340, client 102 may provide the certificate to application server 106.
[0052] Operation 340 may include communication over a Transport Layer Security (TLS) channel, which is a communication channel that conforms to the TLS standard managed by the Internet Engineering Task Force (IETF).
[0053] Method 300 may further include generating a second application key pair using hardware-supported key storage 122. The second application key pair may include a second application private key and a second application public key. Method 300 may further include signing a third proof based on the device private key to generate a signed third proof. Method 300 may further include a second application of client 102 to a second application server based on the second application public key and the signed third proof. The second application server may associate the second application public key with the same hardware-supported key storage 122, as the first application server 106 associates with the first application public key. Therefore, the proof statement associated with hardware-supported key storage 122 can remain consistent across the first and second application servers.
[0054] The device key pair generated at operation 330 can be a key burned into the hardware-supported key store 122, or it can be derived from a key burned into the hardware-supported key store 122. Method 300 may include deriving a device public key and a device private key from the hardware-supported key, which is unique to the client's hardware-supported key store 122. The device private key, application private key, or other key generated from the hardware-supported key store may include a Rivest-Shafir-Adleman (RSA) signing key or an Elliptic Curve Cryptography (ECC) signing key.
[0055] Figure 4 The example illustrates the process from application server 106 (see...). Figure 1The illustrated method 400 is a block diagram of an embodiment of a method 400 for binding cryptographic key proofs. The method 400 includes: in operation 440, receiving an application registration request; in operation 442, verifying whether a signed proof is bound to a hardware-supported key store of a device; in operation 444, determining whether the claim of the signed proof satisfies a policy; and in operation 446, registering the device via the application. The application registration request from operation 440 may originate from client 102. The application registration request from operation 440 may include an application public key and a signed proof. The signed proof may include a claim of an application private key originating from a hardware-supported key store 122 of client 102. The signature of the proof may include a payload encrypted using a device private key bound to the hardware-supported key store 122.
[0056] Operation 442 can be performed based on the device's public key 114. Operation 444 can be performed in response to verifying whether the signed proof is bound to the hardware-supported key store 122 of client 102. Operation 444 can be performed in response to determining whether the claim satisfies a policy. The policy can indicate the claims regarding the configuration of client 102. Claims may include the device's identifier (similar to a generally universal and globally unique serial number), the device's manufacturer, the device's model, the device's status (e.g., operating system, version, application, application version, device boot status (whether the device is securely booted), debug port status (enabled or disabled), geographic location, measurements or integrity checks of running software, etc.) or a random number (a random number generated and returned by the server to prevent replay and reuse).
[0057] Operation 442 may include sending a request to TA 104 for device public key 114, and operation 442 may include receiving device public key 114 and the proof status of device public key 114 from TA 104.
[0058] Method 400 may further include receiving a certificate signed by TA 104 from TA 104. This certificate can prove that the private key originates from a hardware-supported key store 122. The certificate can prove one or more claims regarding the private key provided in the registration request from operation 440.
[0059] The following will explain the use of having The operating system client 102 performs the steps bound to the cryptographic key proof. Client devices can include hardware-supported key stores compliant with the TPM standard. TPM-compliant devices can use an EK or EK certificate as a secure root of trust. An EK is unique to a TPM-compliant device; changing an EK essentially changes the device to a new one. Because EKs and EK certificates are unique and unchanging for each device, using an EK or EK certificate can introduce privacy concerns. An EK or EK certificate can be used to track specific devices. To avoid this privacy issue, certain versions... A proof anchor derived from an EK or EK certificate is issued. This intermediate key that can be proven to the EK is the AIK, and the corresponding certificate is called an AIK certificate. The AIK consists of an asymmetric public / private key pair and can be used as an alternative to the EK for the identity of TPM-compliant devices. The private portion of the AIK (the AIK private key) is never revealed or used outside of the hardware-supported key store and can only be used within a limited set of operations within the hardware-supported key store, such as for signing, and only for a limited set of operations defined in the TPM standard.
[0060] The operating system enables the creation of an AIK protected by a TPM-compliant hardware-supported key store. The AIK may include a Rivest-Shamir-Adleman (RSA) or Elliptic Curve Cryptography (ECC) signature key and a corresponding decryption key. Hosting is called A cloud service that provides a Cloud CA or AIK certificate is configured to cryptographically establish the following facts: (1) it is communicating with a key store supported by genuine TPM-compatible hardware, and (2) the TPM-compatible key store possesses the presented AIK. After the Cloud CA service established these facts Cloud CA can... The client issues an AIK certificate.
[0061] exist For TPM-compatible device-based operations, client 102 can generate AIK public / private key pairs based on EK. The CertEnroll task is a specific instance of task 240 that can... AIK proof service sends based on AIK's certificate registration request AIK proof service is a specific example of TA104. The AIK verification service can verify that the AIK is part of the TPM signature key trust chain. If the AIK is verified, AIK certification services can issue AIK certificates. Components can use this Windows AIK, AIK certificate to prove that they are in the same... Declarations of other encrypted private keys generated on the client device.
[0062] The NCryptCreateClaim application programming interface (API) can be used AIK creates a key verification statement for the private key of a device joining / registering with Azure AD. The key verification statement, verified by the Windows AIK, can be provided to Azure AD during the device joining / registration process.
[0063] Azure AD device join / registration keys (example of application keys) can be used as generic device keys because Azure AD is a TA. Azure AD can use... The NCryptVerifyClaim API is used to verify key proof claims for Azure AD device join / registration keys. Azure AD can verify the Windows AIK certificate chain to a Microsoft Cloud CA (an example of a root of trust) to ensure that the key originates from a trusted TPM-compatible hardware-supported key store. Azure AD can store the Windows AIK public key, the Azure AD device join / registration public key, and a reference to the device public key that proves the device join / registration key status.
[0064] For the application example provided by application server 106B For MDM client registration, client 102 can obtain an Azure AD access token for the MDM registration service, which contains a reference to the device's public key. This token is a specific example of the application provided by application server 106A. Client 102 can use the same... AIK, using The NCryptCreateClaim API creates a key verification claim for the private key of an MDM registration certificate. Client 102 can then use this claim to generate a key verification claim. A signed SOAP request with an AIK-certified key claim, along with an Azure AD access token providing proof of device private key ownership, is sent to the MDM registration service. SOAP was formerly known as Simple Object Access Protocol. SOAP is a messaging protocol specification used in Web service implementations for exchanging structured information.
[0065] The MDM registration service can verify that Azure AD signed the access token using an AAD signing certificate. The MDM registration service can use a device public key reference provided by Azure AD to verify that the signed SOAP request from the MDM client (a specific instance of Task 244) originates from the same device. The MDM registration service can use... The NCryptVerifyClaim API is used to verify the key proof claim of MDM registration certificate keys. The MDM Registration Service can verify the Windows AIK certificate chain to the Microsoft Cloud CA to ensure that the keys originate from a trusted key store supported by TPM-compatible hardware.
[0066] Figure 5 A block diagram illustrating an embodiment of a machine 500 (e.g., a computer system) implementing one or more embodiments is shown by way of example. Machine 500 can implement techniques for binding cryptographic key proofs. Client 102, TA 104, server 106, 106A, 106B, or components thereof may include one or more components of machine 500. Client 102, TA 104, server 106, 106A, 106B, method 300, method 400, or components or operations thereof may be implemented at least partially using components of machine 500.
[0067] An exemplary machine 500 (in the form of a computer) may include a processing unit 502, a memory 503, removable storage 510, and non-removable storage 512. Although the exemplary computing device is illustrated and described as machine 500, the computing device may take different forms in different embodiments. For example, the computing device may be replaced by a smartphone, tablet, smartwatch, or other computing device, including those related to… Figure 5 The same or similar elements are illustrated and described. Devices such as smartphones, tablets, and smartwatches are generally referred to collectively as mobile devices. Furthermore, although various data storage elements are illustrated as part of machine 500, storage may also or alternatively include cloud-based storage accessible via a network, such as the Internet.
[0068] Memory 503 may include volatile memory 514 and non-volatile memory 508. Machine 500 may include—or be able to access—a computing environment comprising—various computer-readable media, such as volatile memory 514 and non-volatile memory 508, removable storage 510, and non-removable storage 512. Computer storage includes random access memory (RAM), read-only memory (ROM), erasable programmable read-only memory (EPROM) and electrically erasable programmable read-only memory (EEPROM), flash memory or other memory technologies, optical disc read-only memory (CD-ROM), digital versatile optical disc (DVD) or other optical disc storage, cassette tape, magnetic tape, disk storage, or other magnetic storage devices capable of storing computer-readable instructions for execution to perform the functions described herein.
[0069] Machine 500 may include or have access to a computing environment including input 506, output 504, and communication circuitry 516. Output 504 may include a display device, such as a touchscreen, which may also be used as an input device. Input 506 may include a touchscreen, touchpad, mouse, keyboard, camera, one or more device-specific buttons, one or more sensors integrated into or coupled to machine 500 via a wired or wireless data connection, and one or more other input devices. The computer may use communication circuitry 516 to operate in a networked environment to connect to one or more remote computers, such as database servers, including cloud-based servers and storage. Remote computers may include personal computers (PCs), servers, routers, network PCs, peer-to-peer devices, or other public network nodes. Communication connections may include local area networks (LANs), wide area networks (WANs), cellular networks, IEEE 802.11 (Wi-Fi), Bluetooth, or other networks.
[0070] The communication circuit 516 may include electrical or electronic components configured to perform communication operations of the client 102. These electrical or electronic components may include input / output ports (e.g., Ethernet ports, Universal Serial Bus (USB) and so on), antennas, modulators, oscillators, demodulators, phase-locked loops (PLLs), amplifiers, resistors, transistors, capacitors, diodes, logic gates (e.g., AND, OR, XOR, negative, buffers), multiplexers, processing units (e.g., central processing unit (CPU), application-specific integrated circuit (ASIC), field-programmable gate array (FPGA), graphics processing unit (GPU) and so on), radio transmitters, radio receivers, radio transceivers, or combinations thereof.
[0071] Computer-readable instructions stored on a computer-readable storage device can be executed by a processing unit 502 (sometimes referred to as processing circuitry) of machine 500. Hard disk drives, CD-ROMs, and RAM are some examples of articles of art that include non-transitory computer-readable media such as storage devices. For example, a computer program 518 can be used to cause the processing unit 502 to perform one or more methods or algorithms described herein.
[0072] In some embodiments, the operations, functions, or algorithms described herein may be implemented in software. Software may include computer-executable instructions stored on a computer or other machine-readable medium or storage device, such as one or more non-transitory memories (e.g., non-transitory machine-readable media) or other types of hardware-based storage devices, whether local or networked. Furthermore, such functionality may correspond to a subsystem, which may be software, hardware, firmware, or a combination thereof. Multiple functions may be performed in one or more subsystems as needed; the described embodiments are merely examples. Software may execute on a digital signal processor, ASIC, microprocessor, central processing unit (CPU), graphics processing unit (GPU), field-programmable gate array (FPGA), or other types of processors running on a computer system, such as a personal computer, server, or other computer system, transforming such a computer system into a specially programmed machine. Functions or algorithms may be implemented using processing circuitry, which may include, for example, electrical and / or electronic components (e.g., one or more transistors, resistors, capacitors, inductors, amplifiers, modulators, demodulators, antennas, radios, regulators, diodes, oscillators, multiplexers, logic gates, buffers, caches, memories, GPUs, CPUs, field-programmable gate arrays (FPGAs), etc.).
[0073] Additional notes and examples
[0074] Example 1 may include a method that generates a device key pair via device hardware (e.g., TPM-compatible hardware), the device key pair including a device private key and a device public key. Example 1 may include signing a first proof based on the device private key to produce a signed first proof, the first proof stating that the device private key originates from the hardware. Example 1 may include registering the device with a trusted authority based on the device public key and the signed first proof. Example 1 may include generating a first application key pair from hardware, the first application key pair including a first application private key and a first application public key. Example 1 may include signing a second proof based on the device private key to produce a signed second proof. Example 1 may include registering a first application of the device with a first server based on the first application public key and the signed second proof.
[0075] Example 1 provides the ability to associate an application-specific client identity with a client device (e.g., a hardware-supported key store on the client device). This relationship helps the application server utilize a certified statement made to another application server when determining whether to register a client. Such an association was previously uncertain because previous software-based solutions were less secure than keys generated by a hardware-supported key store, leaving the question of whether the provided key originated from the same device. Example 1 helps address the technical problem of securely associating application keys with the same client device using device private keys, hardware-supported key stores, or remote key certification. Associating different application identities with the same hardware-supported key store provides improved security at the application server because the application server can use the certified statement to determine whether a client device, including the hardware-supported key store, meets the registration criteria. Registration criteria help ensure that the client device does not suffer from the security problem of being exploited by an attacker to access the application server hosting the application associated with the registration.
[0076] In Example 2, Example 1 may also include receiving a certificate from a trusted authority, the certificate proving that the device's private key originates from the hardware, and wherein the first application registering the device includes providing the certificate to a first server.
[0077] In Example 3, at least one of Examples 1-2 may further include, wherein the registration device and the first application include communication over a transport layer secure channel.
[0078] In Example 4, at least one of Examples 1-3 may further include generating a second application key pair by hardware, the second application key pair including a second application private key and a second application public key. Example 4 may further include signing a third certificate based on the device private key to generate a signed third certificate. Example 4 may further include registering a second application of the device with a second server based on the second application public key and the signed third certificate.
[0079] In Example 5, at least one of Examples 1-4 may further include deriving a device public key and a device private key from a hardware-supported key, wherein the hardware-supported key is unique to the device's hardware-supported key storage.
[0080] In Example 6, at least one of Examples 1-5 may further include, wherein the device private key is a Rivest-Shafir-Adleman (RSA) signing key or an Elliptic Curve Cryptography (ECC) signing key.
[0081] Example 7 may include a device configured to perform a method of at least one of Examples 1-6.
[0082] Example 8 may include (e.g., non-transitory) machine-readable medium that includes instructions that, when executed by a machine, cause the machine to perform a method of at least one of Examples 1-6.
[0083] Example 9 may include a method that includes receiving an application registration request from a device, the application registration request including an application public key and a signed certificate. Example 9 may also include verifying, based on the device's device public key, whether the signed certificate is bound to a hardware-supported key store of the device. Example 9 may further include determining, in response to verifying whether the signed certificate is bound to a hardware-supported key store of the device, whether the claim of the signed certificate satisfies a policy. Example 9 may further include registering the device with the application associated with the application registration request in response to determining that the claim satisfies the policy.
[0084] Example 9 provides the ability to associate an application-specific client identity with a client device (e.g., the client device's hardware-backed key store). Such a relationship helps the application server utilize a certified statement made to another application server when determining whether to register a client. This association was previously uncertain because previous software-based solutions were less secure than keys generated by a hardware-backed key store, leaving the question of whether the provided key originated from the same pair of devices. Example 1 helps address the technical problem of securely associating application keys with the same client device using device private keys, hardware-backed key stores, or remote key certification. Associating different application identities with the same hardware-backed key store provides improved security at the application server because the application server can use the certified statement to determine whether a client device, including the hardware-backed key store, meets the registration criteria. Registration criteria help ensure that the client device does not suffer from the security problem of being exploited by an attacker to access the application server hosting the application associated with the registration.
[0085] In Example 10, Example 9 may further include verifying whether the signed proof is bound to a hardware-supported key store, which includes issuing a request for the device public key to a trusted authority. Example 10 may also include receiving the proof status of the device public key and the device public key from the trusted authority.
[0086] In Example 11, at least one of Examples 7-8 may further include receiving a certificate, which includes proof that the device's private key originates from a hardware-supported key store and a signature from a trusted authority. Example 11 may also include a trust chain for verifying the certificate.
[0087] Example 12 may include a device configured to perform a method of at least one of Examples 9-11.
[0088] Example 13 may include (e.g., non-transitory) machine-readable medium comprising instructions that, when executed by a machine, cause the machine to perform a method of at least one of Examples 9-11.
[0089] While several embodiments have been described in detail above, other modifications are possible. For example, the logical flow depicted in the figures does not require the order shown, or a sequential order, to achieve the desired result. Other steps may be provided from the described flow, or steps may be eliminated, and other components may be added to or removed from the described system. Other embodiments are within the scope of the following claims.
Claims
1. A device for binding cryptographic key proof, comprising: The hardware-supported key storage is configured as follows: Generate a device key pair, the device key pair including a device private key and a device public key; as well as Based on the device private key, the first proof is signed to generate a signed first proof, which declares that the device private key originates from the key storage supported by the hardware. Generate a first application key pair, the first application key pair including a first application private key and a first application public key; Based on the device private key, the second proof is signed to generate a signed second proof, which declares that the first application private key originates from the key storage supported by the hardware. The communication circuit is configured as follows: The device is registered with a trusted authority based on the device public key and the signed first proof. Based on the first application public key and the signed second proof, register the first application of the device with the first server; Receive a certificate from the trusted authority, the certificate proving that the device private key originates from a key store supported by the hardware; and The first application that registers the device includes providing the certificate to the first server.
2. The device of claim 1, wherein registering the device and the first application includes communication over a transport layer secure channel.
3. The device according to claim 1, wherein: The hardware-supported key storage is also configured as follows: Generate a second application key pair, the second application key pair including a second application private key and a second application public key; and Based on the device's private key, the third proof is signed to generate a signed third proof; and The communication circuit is further configured to: Based on the second application public key and the signed third proof, the second application of the device is registered with the second server.
4. The device of claim 1, wherein the hardware-supported key storage is further configured to derive the device public key and the device private key from the hardware-supported key, wherein the hardware-supported key is unique to the hardware-supported key storage of the device.
5. The device of claim 1, wherein the device private key is a Rivest-Shafir-Adleman (RSA) signature key or an elliptic curve cryptography (ECC) signature key.
6. A method for binding cryptographic key proof, comprising: The device hardware generates a device key pair, which includes a device private key and a device public key. Based on the device private key, the first proof is signed to generate a signed first proof, which declares that the device private key originates from the hardware; The device is registered with a trusted authority based on the device public key and the signed first proof. The hardware generates a first application key pair, which includes a first application private key and a first application public key. Based on the device private key, the second proof is signed to generate a signed second proof, which declares that the first application private key originates from the hardware; Based on the first application public key and the signed second proof, register the first application of the device with the first server; Receive a certificate from the trusted authority, the certificate proving that the device private key originates from a key store supported by the hardware; and The first application that registers the device includes providing the certificate to the first server.
7. The method of claim 6, wherein registering the device and the first application includes communication over a transport layer secure channel.
8. The method according to claim 6, further comprising: The hardware generates a second application key pair, which includes a second application private key and a second application public key. Based on the device's private key, the third proof is signed to generate a signed third proof; as well as Based on the second application public key and the signed third proof, the second application of the device is registered with the second server.
9. The method of claim 6, further comprising deriving the device public key and the device private key from a hardware-supported key, wherein the hardware-supported key is unique to the hardware of the device.
10. The method of claim 6, wherein the device private key is a Rivest-Shafir-Adleman (RSA) signature key or an elliptic curve cryptography (ECC) signature key.
11. A non-transitory machine-readable medium including instructions stored thereon, which, when executed by a device, cause the device to perform the following operations: Generate a device key pair, the device key pair including a device private key and a device public key; Based on the device private key, the first proof is signed to generate a signed first proof, which declares that the device private key originates from the hardware of the device; The device is registered with a trusted authority based on the device public key and the signed first proof. Generate a first application key pair, the first application key pair including a first application private key and a first application public key; Based on the device private key, the second proof is signed to generate a signed second proof, which declares that the first application private key originates from the hardware; Based on the first application public key and the signed second proof, register the first application of the device with the first server; Receive a certificate from the trusted authority, the certificate proving that the device private key originates from a key store supported by the hardware; and The first application that registers the device includes providing the certificate to the first server.
12. The non-transitory machine-readable medium of claim 11, wherein registering the device and the first application includes communication over a transport layer secure channel.
13. The non-transitory machine-readable medium of claim 11, wherein the operation further comprises: Generate a second application key pair, which includes a second application private key and a second application public key; Based on the device's private key, the third proof is signed to generate a signed third proof; as well as Based on the second application public key and the signed third proof, the second application of the device is registered with the second server.
14. The non-transitory machine-readable medium of claim 11, wherein the operation further comprises deriving the device public key and the device private key from a hardware-supported key, the hardware-supported key being unique to the hardware of the device.
Citation Information
Patent Citations
Systems and methods providing connection lease anti-theft features for virtual computing sessions
CN111970227A
Apparatus and method for proving the denial of a direct proof signature
CN1965530A
