Anonymous event proof using group signatures
Through technical means such as device integrity calculation systems and anonymous certificates, the problem of difficulty in ensuring communication integrity and privacy in public networks is solved, secure communication channels and privacy protection are achieved, and fraud and imitation attacks are prevented.
Patent Information
- Application Number
- CN202180005231.X
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2021-03-16
- Publication Date
- 2024-10-29
- Estimated Expiration
- 2041-03-16
AI Technical Summary
Existing authentication technologies are difficult to ensure the privacy of client devices while protecting communication integrity and avoiding device tracking. Especially in public network environments, they are vulnerable to fraud and malicious attacks, and there is a risk of imitating requests.
Receive and generate device integrity elements through the device integrity computing system, use public key data and blind signature schemes to ensure trustworthiness determination of client devices, and protect communication integrity through anonymous certificates and group signature schemes while limiting device integrity The use of tokens and exposure of public keys enhances privacy.
Enables a secure communication channel that protects communication integrity and client device privacy in public networks, prevents fraud and impersonation attacks, reduces tracking risks, and improves privacy and efficiency.
Smart Images

Figure CN114342317B_ABST
Abstract
Description
Technical Field
[0001] This specification describes technologies related to authentication technology. Background Art
[0002] The client device transmits requests and other data over a public network, such as the Internet. These communications may be altered by other parties, such as parties that intercept the communications and / or intermediaries that receive the communications and forward them to other parties.
[0003] Client devices are also vulnerable to malicious attacks, such as viruses and malware that can send fraudulent requests without the user's knowledge or authorization. In addition, other parties can impersonate client devices to send requests that appear to originate from the client device, but are actually from other parties' devices.
[0004] Various authentication techniques may be used to prevent fraud and abuse and to protect the integrity of transactions over public networks. At the same time, these authentication techniques may involve privacy issues. For example, users of client devices may not wish to share information (such as stable device identifiers) that can be used to track client devices or users of these client devices, and data providers may operate under privacy protection standards that prevent them from receiving or processing such information. Summary of the invention
[0005] This specification describes techniques related to authentication techniques for protecting the integrity of communications transmitted from a client device while avoiding the use of stable device identifiers that can be used to track the client device or its user.
[0006] In general, a first innovative aspect of the subject matter described in this specification can be embodied in a computer-implemented method, the method comprising: receiving, by a device integrity computing system, a request for N device integrity elements from a client device, the request comprising a device-level fraud detection signal of the client device and public key data for each of the N device integrity elements, the public key data comprising at least one of: (i) a corresponding public key of the device integrity element or (ii) a derivative of the corresponding public key of the device integrity element; determining, by the device integrity computing system, a trustworthiness determination of the client device based at least on the device-level fraud detection signal; for each of the N device integrity elements, generating, by the device integrity computing system, a device integrity element using at least the public key data of the device integrity element, wherein the device integrity element comprises a digital signature generated based on a content set containing the public key data of the device integrity element; and transmitting, by the device integrity computing system, the N device integrity elements to the client device. N can be, for example, an integer greater than or equal to 2. Other embodiments of this aspect include corresponding apparatus, systems, and computer programs configured to perform aspects of the method and encoded on a computer storage device.
[0007] In some aspects, each device integrity element includes a corresponding device integrity token, the device integrity token includes a content set of the device integrity element, wherein the content set of the device integrity element includes a timestamp indicating a time when a trustworthiness determination was determined and public key data of the device integrity element; and generating each device integrity element includes digitally signing the content set of the device integrity element using a private key of the device integrity computing system. The content set of the device integrity element may also include the trustworthiness determination.
[0008] In some aspects, generating each device integrity element includes generating a blind signature of public key data of the device integrity element using a blind signature scheme, wherein the device integrity element is a blind signature. The method may also include issuing M blind signature verification keys corresponding to the M trustworthiness levels for the client device, and retaining M corresponding signing keys corresponding to the M verification keys.
[0009] In some aspects, determining the trustworthiness determination may include assigning a trustworthiness level selected from the M trustworthiness levels to the client device. For example, the public key data for each device integrity element may include a derivative of a public key of the device integrity element, and the derivative of the public key of the device integrity element may include a blinded public key that is blinded using a blind signature scheme. The derivative of the public key of the device integrity element may include a blinded truncated cryptographic hash of the public key of the device integrity element.
[0010] In some aspects, the blind signature scheme includes a privately verifiable blind signature scheme. For example, the privately verifiable blind signature scheme can be an IETF VOPRF blind signature scheme.
[0011] In other aspects, the blind signature scheme includes a publicly verifiable blind signature scheme. For example, the publicly verifiable blind signature scheme can be a blind RSA signature scheme.
[0012] Another innovative aspect of the subject matter described in this specification can be embodied in a method performed by a client device, the method comprising: transmitting a first request for an anonymous certificate to a device integrity computing system, the request comprising a device-level fraud detection signal of the client device; receiving an anonymous certificate from the device integrity computing system, wherein the anonymous certificate corresponds to a given signature group selected from a set of device credibility groups based at least on the device-level fraud detection signal, wherein each device credibility group corresponds to a corresponding credibility category; creating an anonymous proof token, comprising (i) a data set containing a second request and a proof token creation timestamp indicating a creation time of the anonymous proof token, and (ii) a digital signature of the data set generated using a group signature scheme with the anonymous certificate; and transmitting the proof token to a recipient. Other embodiments of this aspect include corresponding apparatus, systems, and computer programs configured to perform aspects of the method and encoded on a computer storage device.
[0013] In some aspects, the group signature scheme is a direct anonymous attestation (DAA) signature scheme. The DAA signature scheme can be an elliptic curve cryptography (ECC) DAA signature scheme. The ECC DAA signature scheme can be an ECC DAA signature scheme with a Barreto-Naehrig curve.
[0014] In some aspects, the anonymous certificate is an irrevocable anonymous certificate that indicates that the client device has been irrevocably assigned to a given signing group.
[0015] In some aspects, the set of device trustworthiness groups includes at least a first trustworthiness group and a second trustworthiness group, the first trustworthiness group including as members devices having a first degree of trustworthiness, the second trustworthiness group including as members devices having a second degree of trustworthiness less than the first degree of trustworthiness, wherein the given group is one of the first group or the second signing group. The first trustworthiness group and the second trustworthiness group may have corresponding first and second sets of public keys issued by the device integrity computing system.
[0016] In some aspects, the method also includes storing the anonymous certificate in a secure private key store on the client device.
[0017] In some aspects, the time resolution of the token creation timestamp is less than about 1 millisecond or less than about 1 microsecond.
[0018] In some aspects, the method further includes: receiving information indicating a limit on the number of attestation tokens; and before creating, verifying that the creation will not exceed the limit on the number of attestation tokens. The limit on the number of attestation tokens may be a limit on the number of anonymous tokens eligible to be sent from a client device to a selected destination domain within a selected time range; or the limit on the number of attestation tokens may be a limit on the number of anonymous tokens eligible to be sent from one or more selected applications on a client device to a selected destination domain within a selected time range; or the limit on the number of attestation tokens may be a limit on the number of anonymous tokens eligible to be sent from a client device to a selected endpoint within a selected destination domain within a selected time range; or the limit on the number of attestation tokens may be a limit on the number of anonymous tokens eligible to be sent from one or more selected applications on a client device to a selected endpoint within a selected destination domain within a selected time range; or any combination thereof.
[0019] The subject matter described in this specification can be implemented in specific embodiments to realize one or more of the following advantages.
[0020] Using a proof token to transmit data from a client device provides a secure communication channel between the client device and a computer or other entity's other device. Including a digital signature of the data included in the proof token in the proof token enables the entity to verify that the data in the proof token has not been altered after the proof token was created. Additionally, including the token creation time in the proof token enables the recipient to determine whether the request is new or a potential part of a replay attack.
[0021] The attestation token may also include a device integrity token that indicates the integrity of the client device that transmitted the attestation token, which enables the recipient(s) of the attestation token to verify that the data is from a trusted client device and not, for example, from an impersonator or compromised device. The device integrity token may be generated and digitally signed by a trusted device analyzer (e.g., a third-party device analyzer) so that the recipient of the attestation token can verify that the client device was evaluated by the trusted device analyzer and that the data in the device integrity token has not been modified since it was created by the trusted device analyzer.
[0022] While attestation tokens protect the integrity of communications transmitted from a client device, there are potential privacy issues associated with the use of attestation tokens. The first privacy issue is that reusing the same device integrity token within multiple attestation tokens could potentially enable an attestation token recipient to associate multiple requests transmitted by the same client device and aggregate user data based on that association. The techniques described in this document can enhance privacy for such associations by using multiple device integrity tokens, each device integrity token including a unique public key for a client device. For example, a client device may generate a batch of N public / private key pairs and then send the N public keys to a third-party device analyzer to receive a batch of N corresponding device integrity tokens. The client device may then, for example, use a new device integrity token for each request; or the client device may use the same device integrity token for all requests within a certain time interval; or the client device may use the same device integrity token for all requests originating from the same application on the client device; or some combination thereof. Limiting the use of each public key limits the number of requests that a recipient can associate based on the public key. Using this batching approach also reduces the burden on the device analyzer by processing fewer requests, reduces consumption of network bandwidth, and reduces latency at the client device when transmitting requests that will include a device integrity token - latency that would otherwise be introduced if the client device sent a request for a device integrity token each time it needed a device integrity token.
[0023] A second privacy concern is that sharing a client device's stable public key with a device analyzer may potentially enable the device analyzer to track the client device. For example, by colluding with the device analyzer, recipients of multiple different proof tokens may learn that the device analyzer received those proof tokens in the same batch of requests from the same device, and thus recipients of such proof tokens may correlate multiple requests transmitted by the same client device and aggregate user data based on that correlation. The techniques described in this document may enhance privacy against such tracking by sending a blinded version of a public key to the device analyzer rather than the original value of the public key. For example, a client device may generate a batch of N public-private key pairs, blind the N public keys (or a cryptographic hash of the public keys), and then send the N blinded keys to the device analyzer; the third-party device analyzer returns a batch of N corresponding blind signatures without ever receiving the original value of the client device's public key.
[0024] Other aspects of the present disclosure can provide the advantage of enhanced privacy to prevent being tracked by both a trusted device analyzer and a proof token recipient by using a group signature scheme instead of a public key signature scheme. For example, a third-party device analyzer can assign a client device to a signature group corresponding to the credibility level of the client device, and provide the client device with an anonymous certificate of the signature group. The client can then sign each proof token using a group signature scheme with an anonymous certificate, and the proof token recipient can verify the anonymous signature using a group public key issued by the third-party device analyzer. Using this approach relieves the resources of the client device from the burden of creating many public / private key pairs, and relieves the resources of the device analyzer from the burden of creating a device integrity token for each public key. This frees up corresponding resources to perform other functions, and enables the device analyzer to use the freed resources to evaluate more client devices in a shorter time. Therefore, using a group signature scheme provides a more efficient process because the generation of public / private key pairs is reduced.
[0025] Various features and advantages of the foregoing subject matter are described below with reference to the accompanying drawings. Additional features and advantages will be apparent from the subject matter described herein and from the claims. BRIEF DESCRIPTION OF THE DRAWINGS
[0026] Figure 1 is a block diagram of an environment in which a digital component distribution system distributes digital components.
[0027] Figure 2 is a flow diagram illustrating an example process for requesting and receiving a batch of N device integrity tokens.
[0028] Figure 3 is a flow chart illustrating an example process for sending, receiving, and verifying a certification token.
[0029] Figure 4 is a flow chart illustrating an example process for requesting and receiving a batch of N blindly signed device integrity tokens.
[0030] Figure 5 is a flow chart illustrating an example process for sending, receiving, and verifying a blindly signed attestation token.
[0031] Figure 6 is a flow chart illustrating an example process for requesting an anonymous private key for a signing group.
[0032] Figure 7 is a flow chart illustrating an example process for sending, receiving, and verifying an anonymously signed attestation token.
[0033] Figure 8 is a flow chart illustrating an example process for throttling attestation tokens to comply with a limit on the number of tokens issued.
[0034] Fig. 9 is a block diagram of an example computer system.
[0035] The same reference numbers and names in different drawings indicate the same elements. DETAILED DESCRIPTION
[0036] In general, the systems and techniques described herein can provide a secure communication channel between a client device and other entities, such as content publishers, digital component distribution systems, and digital component providers, which create and provide digital components for distribution by the digital component distribution system. The client device can provide a proof token with requests and other data transmissions over a network, and the other entities use the proof token to verify the integrity of the request and the integrity of the client device. The request can include, for example, a request to manage user data (e.g., to delete user-related data), a request for content, and / or a request for a digital component to be presented with other content. Using a proof token to protect the communication channel ensures that a fraudulent user cannot change, delete, or otherwise access user data, or change the content of the request, or create a new request, for example to deceive the digital component distribution system and / or provider.
[0037] In some methods, the attestation token may be digitally signed using a private key of the client device. The client device may maintain the private key confidentially. The attestation token may include, among other things, a public key corresponding to the private key, a payload, and a device integrity token. The device integrity token may include a determination indicating an integrity level of the client device, as determined by a trusted device integrity system (e.g., a third-party device integrity system maintained by an entity distinct from the user of the client device and the recipient of the attestation token). The device integrity token may also include a public key of the client device (or a cryptographic hash of the public key) to bind the device integrity token to the client device.
[0038] The device integrity system can digitally sign the device integrity token using a private key that the device integrity system keeps confidential. The public key corresponding to the private key can be provided to the recipient so that they can trust that the client device has been assessed by the device integrity system (e.g., by verifying the digital signature of the device integrity token using the public key). This combination of using two pairs of keys provides a secure communication channel that enables the recipient to verify the integrity of the client device and the integrity of communications received from the client device, and binds the device integrity token to the client device so that other devices cannot use the device integrity token to forge their integrity.
[0039] In some approaches, the device integrity system does not receive the original data of the public key for inclusion in the device integrity token. Instead, the client device can send a blinded public key or a blinded derivative of the public key (e.g., a blinded truncated cryptographic hash of the public key) by blinding the public key or its derivative using a blind signature scheme. Using a blind signature scheme, the device integrity system can prove the integrity of the client device without receiving the original value of the public key of the client device, thereby enhancing the privacy of the client device or user by reducing the risk of potential tracking via the public key. The device integrity system can issue a blind signature verification key that the recipient can use to verify the blind signature.
[0040] In other approaches, a group signature scheme may be used, with the device integrity system acting as a group manager. For example, the device integrity system may publish M group verification keys for M trust groups, assign a client device to one of the M trust groups, and deliver an anonymous certificate to the client device. The client device may anonymously sign the attestation token using the anonymous certificate, and these anonymous signatures may be verified by the recipient using the published group verification key. Using the group signature scheme, neither the device integrity system nor the recipient of the attestation token need to receive the original value of the client device's public key, thereby further enhancing the privacy of the client device or user by reducing the risk of potential tracking via the public key.
[0041] Figure 1 1 is a block diagram of an environment 100 in which a digital component distribution system 150 distributes digital components 129. Example environment 100 includes a data communications network 105, such as a local area network (LAN), a wide area network (WAN), the Internet, a mobile network, or a combination thereof. Network 105 connects client devices 110, publishers 130, websites 140, digital component distribution system 150, and device integrity system 170 (which may also be referred to as a device integrity computing system). Example environment 100 may include many different client devices 110, publishers 130, websites 140, digital component distribution system 150, and device integrity system 170.
[0042] A website 140 is one or more resources 145 associated with a domain name and hosted by one or more servers. An example website is a collection of web pages in HTML format that may contain text, images, multimedia content, and programming elements such as scripts. Each website 140 is maintained by a publisher 130, which is an entity that controls, manages, and / or owns the website 140.
[0043] A resource 145 is any data that can be provided over a network 105. A resource 145 is identified by a resource address (e.g., a uniform resource locator (URL)) associated with the resource 145. Resources include HTML pages, word processing documents and portable document format (PDF) documents, images, videos, and feeds, to name a few. Resources can include content, such as words, phrases, images, and sounds, which can include embedded information (such as meta information in a hyperlink) and / or embedded instructions (such as scripts).
[0044] The client device 110 is an electronic device capable of communicating over the network 105. Example client devices 110 include personal computers, mobile communication devices (e.g., smart phones), digital media players, smart speakers, wearable devices (e.g., smart watches), and other devices that can send and receive data over the network 105. The client device 110 typically includes applications 111, such as a web browser and / or native applications to facilitate sending and receiving data over the network 105. Native applications are applications developed for a specific platform or a specific device. Publishers 130 can develop native applications and provide them to client devices 110.
[0045] Some resources 145, application pages or other application content may include a digital component slot for presenting a digital component with a resource 145 or application page. As used throughout this document, the phrase "digital component" refers to a discrete unit of digital content or digital information (e.g., a video clip, an audio clip, a multimedia clip, an image, a text, or another content unit). A digital component 129 may be stored electronically in a physical memory device as a single file or in a file collection, and the digital component may take the form of a video file, an audio file, a multimedia file, an image file, or a text file, and include advertising information, so that advertising is a type of digital component. For example, a digital component 129 may be content intended to supplement the content of a web page, a resource, or an application page presented by an application 111. More specifically, a digital component 129 may include digital content related to resource content (e.g., a digital component may relate to the same subject or a related subject as the web page content). Therefore, providing a digital component by a digital component distribution system 150 may supplement and generally enhance web page content.
[0046] When application 111 loads a resource 145 or application content that includes one or more digital component slots, application 111 (which may be a web browser) may request a digital component 129 for each slot from digital component distribution system 150. Digital component distribution system 150, in turn, may request the digital component from digital component provider 160. Digital component provider 160 is an entity that provides digital components for presentation with resource 145 and / or other content. An example digital component provider is an advertiser that provides advertisements.
[0047] In some cases, digital component distribution system 150 may also request digital components from one or more digital component partners 152. Digital component partners 152 are entities that select digital components on behalf of digital component providers 160 in response to digital component requests.
[0048] The digital component distribution system 150 can select a digital component for each digital component slot based on various criteria. For example, the digital component distribution system 150 can select a digital component from the digital components received from the digital component provider 160 and / or the digital component partner 152 based on relevance to the resource 145 or other application content, performance of the digital component (e.g., user interaction rate with the digital component), etc. The digital component distribution system 150 can then provide the selected digital component(s) to the client device 110 for presentation with the resource 145 or other application content. The digital component distribution system 150 can transmit the selected digital component 129 to one or more client devices 110 for presentation by the application 111 running on the client device 110.
[0049] When application 111 sends request 120 over network 105, application 111 may send proof token 122 with the request. For example, if application 111 sends a digital component request to digital component distribution system 150, the request may include proof token 122. Similarly, if application 111 sends a request to another entity (e.g., to publisher 130, digital component distribution system 150, digital component partner 152, or digital component provider 160) to manage (e.g., delete) data stored by the entity, the request may include proof token 122.
[0050] In some implementations, the applications 111 are configured to send proof tokens 122 for specified types of requests. For example, each application 111 that sends a proof token 122 may include a software development kit (SDK) or application programming interface (API) that enables the application 111 to generate and / or send a proof token 122. The SDK may specify a set of requests, such as requests to manage user data, requests to request digital components, etc., for which proof tokens 122 will be included. Other types of requests (e.g., a request to request a news webpage) may not require a proof token 122.
[0051] The client device 110 may also include a trusted program 114 that generates a proof token for the application 111. The trusted program 114 may include trusted code from a reliable source that is difficult to forge. For example, the trusted program 114 may be an operating system, a part of an operating system, a web browser, etc. Typically, the trusted program 114 is difficult to penetrate, and the amount of time and effort required for an intruder to tamper with the trusted program 114 is surprisingly high. In addition, because the trusted program 114 is provided and maintained by a reliable source, any potential safety hazard that arises can be resolved by the source. Using this trusted program in this manner provides a technical advantage of increasing security at the client device because the trusted program is difficult to penetrate. In addition, the trusted program provides the advantage of alleviating potential safety hazards in the trusted program because the program is maintained by a reliable source.
[0052] Trusted program 114 may be local to client device 110. For example, trusted program 114 may be a device driver for an operating system of client device 110. In some implementations, trusted program 114 operates entirely locally to client device 110, thereby reducing the need to transmit user information. In some implementations, trusted program 114 may operate locally to client device 110 and may operate over a network, such as network 105. For example, trusted program 114 may be a web browser installed on user device 110 and that sends and receives information over network 105.
[0053] Trusted program 114 can generate cryptographic keys (e.g., public / private key pairs), store cryptographic keys in secure storage 115 (e.g., a secure cache), store device integrity tokens in secure storage 115, generate attestation tokens, generate blind signatures of cryptographic keys or derivatives thereof, and / or obtain and store certificates, as described in more detail below. In some embodiments, trusted program 114 interacts with a device integrity client to send and receive data to and from device integrity system 170. In some embodiments, trusted program 114 is configured to generate an attestation token 122 for each request in a set of requests of a specified type (e.g., a request to change a user privacy setting).
[0054] The entity uses the proof token 122 to verify the integrity of the request and the integrity of the client device 110. For example, enabling users to manage their data stored by other entities may provide the possibility for malicious users to attempt to manage and / or steal other users' data. For digital components, some malicious entities may attempt to forge the parameters of the digital component request, for example, specifying different resources to which the digital component will be provided and / or specifying different users to whom the digital component will be presented, in order to make the request appear more valuable than it actually is. In addition, some malicious parties may attempt to impersonate other people's client devices for nefarious purposes.
[0055] The certification token 122 provides a secure communication channel between the client device 110 and the other entity's computer or other device through an intermediary, which prevents others from altering the request 120 and ensures that the request 120 comes from the authenticated client device 110 .
[0056] Trusted program 114 may generate different types of proof tokens 122 that have different forms or contain different content. In some implementations, proof token 122 includes a content set that includes public key 113 of client device 110, a token creation time indicating the time when proof token 122 was created, payload data, and a device integrity token generated by device integrity system 170 or by trusted program 114 using data received from client device 110. Proof token 122 may also include a digital signature generated by trusted program 114 using private key 112 that corresponds to public key 113 included in proof token 122 and content set. That is, trusted program 114 may digitally sign the content set using private key 112 and include the resulting digital signature in proof token 122 with the content set.
[0057] In some implementations, attestation token 122 includes a content set including payload data, an attestation token creation time indicating when attestation token 122 was created, and a digital signature of the content set. In this example, trusted program 114 can generate the digital signature using a group signature scheme and a certificate issued to client device 110 by device integrity system 170.
[0058] In either example, client device 110 may include proof token 122 in request 120 sent to digital component distribution system 150 or other recipient. The recipient of proof token 122 may attempt to verify proof token 122 and / or a device integrity token (if appropriate) included in proof token 122. If proof token 122 is successfully verified, the recipient may determine whether client device 110 is a trusted device and process the request accordingly. If proof token 122 is not successfully verified, the recipient may ignore or delete request 120, e.g., not respond to request 120 or not change data in response to request 120. An example process for generating a request including proof token 122 and verifying the proof token is described in detail below. Figure 2-Figure 8 is shown in and described below.
[0059] The proof token creation time indicates the time when the proof token 122 was created. The trusted program 114 can record the creation time when the trusted program 114 creates the proof token. The proof token creation time can be a high-resolution timestamp (e.g., accurate to seconds, milliseconds, or microseconds). The proof token creation time can be used to determine whether the request 120 including the proof token 122 is a new request or a recent request. For example, an entity receiving the proof token 122 can compare the token creation time with the current time or the time when the proof token 122 was received. If the difference between the two times exceeds a threshold, the entity can determine that the request is not new or is invalid, as described in more detail below.
[0060] The proof token creation time can also be used to detect replay attacks. For example, if multiple requests are received with the same data set including the same proof token creation time, the entity receiving the requests can determine that the requests are duplicates and / or that the requests are part of a replay attack.
[0061] The proof token creation time in combination with other data may also be used as a transaction identifier for the request 120. For example, in an embodiment where the proof token 122 includes the public key 113, the transaction identifier may be a combination of two or more of the proof token creation time of the proof token 122 and the public key 113 of the proof token 122. The transaction identifier may be used to deduplicate multiple versions of the same request received from multiple channels. For example, the digital component provider 160-3 may receive the same request from both the digital component distribution system 150 and the digital component partner 152. In this example, the transaction identifier may be based on the token creation time of the proof token 122 and the public key 113 of the proof token 122. The digital component provider 160-3 may compare the two pieces of data in two or more requests to determine whether the requests are duplicates.
[0062] The payload may include data for the individual request 120. For example, if the request 120 is for a digital component, the payload may include data that can be used to select the digital component. The payload may include a resource 145 having a digital component slot (or a URL of a resource 145), information about the resource 145 (e.g., the subject of the resource), information about the digital component slots (e.g., the number of slots, the type of slots, the size of the slots, etc.), information about the client device 110 (e.g., the type of device, the IP address of the device, the geographic location of the client device 110) (if the user has enabled this feature), and / or other appropriate information.
[0063] If request 120 is for managing user data at publisher 130, digital component distribution system 150, digital component partner 152, digital component provider 160, or another entity, request 120 may include data specifying the requested change. For example, if the user chooses to remove all of the user's data from digital component provider 160-2, the payload will include data specifying the data removal and digital component provider 160-2 (e.g., an identifier or network address of digital component provider 160-2).
[0064] The device integrity system 170 evaluates device-level fraud detection signals received from the client device 110 (e.g., from the trusted program 114) and determines a level of trustworthiness (or integrity) of the client device 110 based on the device-level fraud detection signals. The device-level fraud detection signals may include data representing operational characteristics or metrics of the client device, which may be used to determine whether the client device has been compromised or whether the client device is operating as a normal client device or an impersonated client device. Certain operational characteristics and metrics of a real client device are often different relative to an impersonator. In some embodiments, the device-level fraud detection signals include application-level fraud detection signals, which include operational characteristics and metrics of the application 111 requesting a trust token. The trusted program 114 may collect these device-level fraud detection signals and include them in a request for a trust token.
[0065] Device integrity system 170 may issue a determination indicating a level of trustworthiness (or integrity) of client device 110. The recipient uses the determination to determine whether to trust request 120 including the determination. For example, if the determination indicates that client device 110 is not trustworthy, the recipient may ignore the request, e.g., not respond to the request.
[0066] As described above, in some methods, a device private key / public key pair (and a device integrity token associated with the device public key) can be changed between multiple attestation tokens to enhance the privacy of a client device or user to prevent tracking by the attestation token recipient. For example, a client device can generate batches of private key / public key pairs and extract corresponding batches of device integrity tokens from a device integrity server, so as to reduce or eliminate the reuse of device integrity tokens. Figure 2 An illustrative example of such batch processing is depicted in .
[0067] In this example, the client device 200 creates N public / private key pairs (201). For example, a trusted program of the client device 200 can generate a public / private key pair. The public / private key pair can be an asymmetric key pair. Each public / private key pair includes a private key and a public key that corresponds to the private key and is mathematically linked to the private key. Data digitally signed using a private key can only be verified using the corresponding public key. Similarly, data encrypted using a public key can only be decrypted using the corresponding private key.
[0068] The client device 200 sends a request for N device integrity elements to the device integrity computing system 220 (202). The number N can be an integer greater than or equal to 2. In this example, the device integrity elements are device integrity tokens, and the request is for N device integrity tokens corresponding to N public key / private key pairs. The trusted program can determine the number N of device integrity tokens to request based on the frequency with which the trusted program uses unique device integrity tokens in the request. The client device can generate a public key / private key pair for each requested device integrity token and include the public key data in the request. In this example, the public key data can be the public key itself. Therefore, the request involves passing N public keys 211 of the client device 200 to the device integrity computing system 220. In this example, the N public keys 211 include actual public keys, for example, raw data of the N public keys 211. The request can also include device-level fraud detection signals. For example, the trusted program can collect device-level fraud detection signals and include these signals in the request.
[0069] The device integrity computing system 220 receives the request (221). Based on the device-level fraud detection signal received from the client device, the device integrity computing system 220 determines a trustworthiness level of the client device (222). For example, the device integrity computing system may have M possible trustworthiness levels, each corresponding to a respective determination. In this example, as described above, the device integrity computing system 220 may select one of the M possible trustworthiness levels based on the device-level fraud detection signal.
[0070] Device integrity computing system 220 generates N device integrity elements (223). In this example, each device integrity element is in the form of a device integrity token. That is, device integrity computing system 220 generates a corresponding device integrity token for each received public key.
[0071] Each device integrity token may include a trustworthiness determination, a timestamp of the trustworthiness determination, and one of the N public keys 211 of the client device 200. The timestamp indicates the time when the device integrity token was generated. The device integrity system may generate each device integrity token based on one of the N public keys 211. For example, the device integrity computing system 220 may assemble a data set including the public key of the client device 200, the trustworthiness determination, and the timestamp. In some approaches, the trustworthiness determination may be omitted from the device integrity token in the event that the trustworthiness determination includes only two possible determinations (trustworthy and untrustworthy). In other words, in these approaches, the device integrity system may generate device integrity tokens for trustworthy devices (where these tokens omit the implicit trustworthiness determination) and simply refuse to generate device integrity tokens for untrustworthy devices.
[0072] Device integrity computing system 220 digitally signs each of the N device integrity tokens (224). For example, device integrity computing system 220 can generate the digital signature using a private key of the device integrity system and based on other data of the device integrity token (e.g., the trustworthiness determination, the public key of client device 200, and a timestamp).
[0073] Device integrity computing system 220 transmits N device integrity tokens to the client device (225). Client device 200 receives and stores the batch of device integrity tokens for later use (203). Client device 200 may store the device integrity tokens locally, for example, in a cache or secure storage device maintained by a trusted program. Each cached device integrity token may include, for example: (1) a trustworthiness determination determined by device integrity computing system 220; (2) a timestamp of when the device integrity token was created; (3) a public key of the client device; and (4) a digital signature of the token component signed using a private key of device integrity computing system 220.
[0074] A number of device integrity tokens have been obtained, such as Figure 2 As shown in the example of , the client device can use the device integrity token to assemble and send the proof token as part of various requests to the digital component provider or other proof token recipient, as described above. Illustrative examples of such requests are shown in Figure 3 is depicted as a process flow diagram.
[0075] To prepare the request, client device 300 may extract a device integrity token from local storage of the client device (301). In various approaches, client device 300 may, for example, (1) use a new device integrity token for each request; or (2) use the same device integrity token for a selected time interval (e.g., H consecutive hours) and use a different device integrity token when the time interval elapses; or (3) use the same device integrity token for all requests originating from the same application or website (e.g., where a different device integrity token is used for each application or website); or (4) use a combination of two or more of these token reuse approaches (e.g., where the same device integrity token is used for all requests originating from the same application or website within a selected time interval). Thus, client device 300 may extract a device integrity token based on the application or website for which the request was generated or the current time at which the request was generated.
[0076] The client device 300 may generate a request (302). The request 311 may include, for example, payload data (as described above), a request creation timestamp, an extracted device integrity token, a device public key corresponding to the device integrity token, and a digital signature of the request component. A trusted program of the client device or a trusted component of an operating system of the client device may generate the request 311 by accessing the payload data and the device integrity token, and the request 311 may include or be in the form of a proof token. The trusted program may also determine the current time as the request creation timestamp. The trusted program may use a private key of the client device (e.g., a private key corresponding to the device public key included in the request) to generate a digital signature of the payload data, the public key, and the timestamp. In some methods, as a simple optimization to reduce the size of the proof token, the proof token omits the device public key because the device public key already exists in the device integrity token included as a component of the proof token.
[0077] Client device 300 sends request 311 (303) to a recipient's computing system 320. In this example, the recipient is a digital component provider. For example, client device 300 may send request 311 to a digital component distribution system, and the digital component distribution system may send the request to one or more digital component providers.
[0078] The receiving computing system 320 receives the request (321). The receiving computing system 320 verifies the request (322). For example, the receiving computing system 320 may verify the request by verifying the digital signature of the request using the device public key included in the request. The receiving computing system 320 may attempt to verify the digital signature using the public key and the content of the request signed by the client device 300 (e.g., payload data, timestamp, public key, and device integrity token). If any changes have occurred to the content since the digital signature was generated, the verification will fail. For example, if a malicious party inserts a device integrity token into another request, or inserts a different device integrity token with a higher credibility determination into the request, the signature verification will fail. This ensures that the content of the request has not been altered during the transmission of the request, for example, by an intermediary.
[0079] Recipient computing system 320 validates the device integrity token (323). For example, recipient computing system 320 may validate the device integrity token by verifying the signature of the device integrity token using the public key of the device integrity computing system. This similarly ensures that the content of the device integrity token has not been altered since the device integrity token was issued by the device integrity token computing system. If the attestation token includes a device public key, validation of the device integrity token may also include confirmation that the device public key included in the attestation token matches the device public key included within the device integrity token.
[0080] The recipient computing system 320 verifies the currency of the device integrity token and the trustworthiness of the client device (324), e.g., to confirm that the device integrity token was recently created (i.e., not created more than a selected time interval (e.g., such as H hours or D days, H, D = 1, 2, 3, ...) before the time the request was made) and that the trustworthiness determination in the device integrity token is sufficient to honor the request.
[0081] If all of these validity checks pass, the recipient computing system 320 may respond to the request (325), such as by changing settings, adding or removing user data, delivering a digital component, etc., as described above. If any of the validity checks fail, the recipient computing system 320 may ignore the request. For example, the recipient computing system 320 may not respond to the request, may not perform the requested operation, etc.
[0082] For a request involving delivery of a digital component, response 325 may include optionally sending an appropriate digital component 312. For example, recipient computing system 320 may select a digital component based on the payload of the request and send the digital component to a digital component distribution system that sent the request to the digital component provider. In turn, the digital component distribution system may send the digital component to client device 300. Client device 300 may receive the digital component (304). In turn, client device 300 may present the digital component.
[0083] As described above, in some methods, a blind signature scheme can be used in the process of generating a device integrity token so that the device integrity calculation system cannot see the raw data of the client device's public key. For example, the client device can generate batches of private key / public key pairs, and then use a blind signature scheme to blind the public keys (or suitable derivatives of these public keys that can be used as values in the submission phase of the blind signature scheme, such as a cryptographic hash of the public key or a cryptographic hash of the public key concatenated with the device model) before sending the public keys to the device integrity system to extract the corresponding batch of device integrity elements. In this example, the device integrity element is a blind signature of the blinded public key. Figure 4 An illustrative example of such batch processing is depicted in .
[0084] In this example, the device integrity computing system 420 may define M different trust levels for the client device, and issue M different blind signature verification keys 411 (421) for the corresponding M trust levels. For example, the M levels may include two levels, trustworthy and untrustworthy. In another example, the M levels may include three levels, suspicious, satisfactory, and trustworthy. In other examples, the M levels may include four levels, fraudulent, suspicious, satisfactory, and trustworthy. Other numbers of levels may also be used. Therefore, M may be an integer greater than or equal to 2. In some methods, instead of assigning a blind signature verification key to the lowest trust level (e.g., a trust level of "untrustworthy" or "fraudulent"), the lowest trust level may be omitted from the M trust levels, and the device integrity computing system may simply refuse to provide a blind signature for a device with the lowest trust level. Therefore, in these methods, M may be an integer greater than or equal to 1.
[0085] The device integrity computing system 420 may generate a corresponding blind signature verification key 411 for each credibility level using a blind signature scheme. The blind signature scheme may be a privately verifiable blind signature scheme, such as the Internet Engineering Task Force (IETF) Verifiable Oblivious Pseudorandom Function (VOPRF) blind signature scheme. In other methods, the blind signature scheme may be a publicly verifiable blind signature scheme, such as the Rivest–Shamir–Adleman (RSA) blind signature scheme.
[0086] Device integrity computing system 420 may publish blind signature verification key 411 so that client devices (including client device 400) may obtain blind signature verification key 411. For example, device integrity computing system 420 may publish blind signature verification key 411 to a website or mobile application store.
[0087] The client device 400 may receive these blind signature verification keys (401). For example, the client device 400 may download the blind signature verification keys 411 and store the blind signature verification keys 411 locally, such as in a secure storage device or cache. The client device 400 may retain the blind signature verification keys 411 to verify blind signatures later received from the device integrity computing system 420, as discussed further below. In some approaches, the device integrity computing system 420 may periodically issue new blind signature verification keys 411 (e.g., every hour, day, week, or other suitable time period), and this refresh of the set of blind signature verification keys may be used to verify the timeliness of the device integrity token, as described further below.
[0088] To obtain a batch of N device integrity tokens, the client device 400 creates N public / private key pairs 402. For example, a trusted program of the client device may create a corresponding asymmetric public / private key pair for each device integrity token.
[0089] The client device 400 blinds each public key or a derivative of each public key according to a blind signature scheme for generating a blind signature verification key (403). That is, the client device 400 blinds the public key data of each public key, where the public key data is the public key or a derivative of the public key. Blinding the public key may include hiding the original value of the public key by applying a blinding factor to the original value of the public key. In this way, the device integrity computing system 420 cannot access the original values of the public keys received from the client device 400 and use those values to track the user or the client device 400, for example, using data received from another entity that receives the original value of the public key with additional data.
[0090] To reduce the amount of data that needs to be blind signed by the device integrity computing system 420, instead of blinding each complete device public key, the client device 400 (e.g., a trusted program thereof) can generate a derivative of the public key and blind the derivative of the public key. The derivative can be a cryptographic hash of the public key. For example, the client device 400 can use a cryptographic hash function to generate a cryptographic hash of each public key and then blind the cryptographic hash of the public key using a blind signature scheme. In some embodiments, the cryptographic hash algorithm can be SHA256.
[0091] In some implementations, the client device 420 can further reduce the data size of the blinded public key data by truncating the cryptographic hash and then blinding the truncated cryptographic hash. For example, such truncation can limit the cryptographic hash to 16 bytes from the original cryptographic hash having a larger data size. Such truncation results in a shorter cryptographic hash that the client device 400 blinds using the blind signature scheme.
[0092] Reducing the amount of data for the blind signature in this manner reduces the burden placed on the device integrity computing system 420 when blind signing data (e.g., reducing CPU cycles, data storage requirements, memory consumption, etc.), which allows the device integrity computing system 420 to generate blind signatures more quickly and efficiently and process more requests than if a blinded version of the full public key were provided. This also reduces bandwidth consumption of the network over which the request is sent, and enables large amounts of blinded public key data to be sent in a single request.
[0093] The client device 400 sends a request 412 for N device integrity tokens to the device integrity computing system 420 (404). The number N may be an integer greater than or equal to 2. The request may include blinded public key data for each public key 411 generated by the client device 400. For example, the request may include the N blinded public keys, blinded cryptographic hashes of the N public keys, or blinded truncated cryptographic hashes of the N public keys. The request may also include, for example, device-level fraud detection signals collected by a trusted program of the client device 400.
[0094] The device integrity computing system 420 receives the request (422). The device integrity computing system 420 determines a trustworthiness determination for the client device 400 based on the device-level fraud detection signal (423). For example, the device integrity computing system 400 may have M possible trustworthiness determinations (corresponding to the M blind signature verification keys issued in operation 421). The device integrity computing system 420 may assign the client device 400 to one of the M possible determinations based on the device-level fraud detection signal.
[0095] After determining the trustworthiness determination of the client device 400, the device integrity computing system 420 signs each piece of blinded public key data (e.g., each N blinded public keys or each blinded cryptographic hash) using a blind signature private key (424). For example, the device integrity computing system 420 may obtain a blind signature private key corresponding to the trustworthiness determination determined for the client device 400, such as a blind signature private key corresponding to a public blind signature verification key of the determined trustworthiness determination (424). Using a blind signature scheme in this manner, the device integrity computing system 420 may generate a digital signature of the blinded public key data without knowing the actual value of the public key data.
[0096] The device integrity computation system 420 returns the N blind signatures 413 to the client device (425). The client device 400 receives the blind signatures from the device integrity computation system (405).
[0097] The client device 400 uses a blind signature scheme to unblind the blind signature (406). For example, a trusted program of the client device 400 can use the blinded public key data for which the blind signature is generated and the blind signature verification key issued by the device integrity computing system 420 to verify each blind signature. To this end, the trusted program can attempt to verify the blind signature using multiple blind signature verification keys (e.g., for each credibility determination). If the determination does not match the determination assigned to the client device 400, the blind signature verification key using the determination cannot be verified. The trusted program can determine the assigned credibility determination of the client device 400 based on the blind signature verification key that successfully verifies the blind signature, for example, the credibility determination corresponding to the blind verification key is the determination assigned to the client device 400. If verified, the trusted program can use the blind signature scheme to unblind the blind signature.
[0098] Client device 400 generates a batch of device integrity tokens (408). For example, a trusted program of client device 400 may generate a device integrity token for each public key generated in operation 402 above. Each device integrity token may include, for example: (1) the public key of the client device for which the device integrity token was generated; (2) a trustworthiness determination determined by the device integrity computing system; and (3) a blinded public key or a de-blinded blind signature of a (e.g., truncated) cryptographic hash of the public key. In some approaches, the device integrity token may omit the trustworthiness determination because it may be implicit from the de-blinded blind signature. If the blind signature is not publicly verifiable, then when the device integrity computing system is invoked to verify the blind signature (e.g., see the instructions described below), the trustworthiness determination may be obtained. Figure 5 541 in the figure), the device integrity calculation system can also return a judgment. If the blind signature is publicly verifiable, then the public key for verifying the blind signature also implies the credibility judgment of the device.
[0099] Client device 400 stores the device integrity token (410). For example, a trusted program of client device 400 can store the device integrity token in a secure storage device for later use when sending a request that should include the device integrity token. The secure storage device can be a token cache of client device 400.
[0100] like Figure 4 As shown in the example of , after generating and storing a batch of device integrity tokens, the client device can use the device integrity tokens to assemble and send proof tokens as part of various requests made to digital component providers or other proof token recipients, as described above. Illustrative examples of such requests are shown in Figure 5 is depicted as a process flow diagram.
[0101] To prepare for the request, client device 500 may extract a device integrity token (501), for example, from a token cache of the client device. In various approaches, the client may, for example, (1) use a new device integrity token for each request; or (2) use the same device integrity token for a selected time interval (e.g., H consecutive hours); or (3) use the same device integrity token for all requests originating from the same application or website; or (4) use a combination of these token reuse approaches (e.g., use the same device integrity token for all requests originating from the same application or website for a selected time interval). Thus, client device 500 may extract a device integrity token based on the application or website for which the request was generated or the current time at which the request was generated.
[0102] The client device 500 may assemble a request 511 including a content set, the content set including a request payload (as described above), a request creation timestamp indicating the time when the request was generated, a device integrity token, and a device public key corresponding to the device integrity token (e.g., a public key whose public key data is blind signed and included in the device integrity token along with the de-blinded blind signature). The request may also include a digital signature of the content set signed (502) using a private key of the client device (e.g., a private key corresponding to the public key included in the request). For example, a trusted program of the client device 500 may generate a digital signature based on the content set using the private key. The request may include or be in the form of a proof token. For example, the proof token may include the content set (e.g., with a proof token creation timestamp) and the digital signature.
[0103] Client device 500 sends request 511 to recipient's computing system 520 (503). If the recipient is a digital component provider, client device 500 may transmit the request to a digital component distribution system, which in turn forwards the request to the appropriate digital component provider.
[0104] Recipient computing system 520 verifies the request (522). Recipient computing system 520 may verify the request by verifying a digital signature of the request using the device public key included in the request. Recipient computing system 520 may also verify the request by comparing a timestamp in the request to the time the request was received. If the signature is successfully verified and the timestamp is within a threshold duration of the current time, client device 500 may consider the request to be verified.
[0105] The recipient computing system 520 also verifies the device integrity token. The verification process can differ based on the blind signature scheme used by the device integrity computing system 540 when generating the blind signature. If the blind signature scheme is a publicly verifiable scheme (e.g., RSA), the recipient computing system 520 can verify the device integrity token (523a) without invoking the device integrity computing system. In this example, the recipient computing system 520 can use the blind signature scheme to verify the de-blinded blind signature of the public key data included in the device integrity token. If a cryptographic hash of the public key is used, the recipient computing system 520 can use the same cryptographic hash function as the client device 500 to generate a cryptographic hash of the public key included in the request (and truncate it if appropriate), and use the blind signature scheme to verify the de-blinded blind signature of the cryptographic hash.
[0106] If the blind signature scheme is a privately verifiable scheme (e.g., IETF VOPRF), the recipient computing system 520 can call the device integrity computing system 540 to verify the de-blinded blind signature (523b). In this example, the recipient computing system 520 can send the de-blinded blind signature and the public key or a cryptographic hash of the public key to the device integrity computing system 540.
[0107] The device integrity computing system 540 may attempt to verify the deblinded blind signature using a blind signature scheme and provide a response to the digital component provider 541. The response may indicate whether the verification was successful and the trustworthiness of the client device corresponding to the blind signature verification key that verified the deblinded blind signature.
[0108] The recipient computing system 520 verifies the currency of the device integrity token and the trustworthiness of the client device (524), e.g., to confirm that the device integrity token was recently created and to confirm that the trustworthiness determination in the device integrity token is sufficient to honor the request. Because the device integrity computing system 540 can periodically reissue new blind signature verification keys, the currency verification can include confirming that the blind signature of the device integrity token was not signed with an invalid, outdated key, e.g., by determining that the device integrity token was verified with a blind signature verification key that has expired. In one approach, the recipient computing system can determine that the blind signature verification key has expired because the validity date of the blind signature verification key is encoded as part of the URL of the published key. In another approach, the recipient computing system can determine that the blind signature verification key has expired because the verification key is published with metadata that encodes the expiration date of the verification key.
[0109] If all of these validity checks pass, the recipient computing system 520 can respond to the request (525), e.g., by changing settings, adding or removing user data, delivering a digital component, etc., as described above. For requests involving the delivery of digital components, the response 525 can therefore include optionally sending the appropriate digital component 512 to the client device 500. In this example, the client device 500 can present the digital component. If any of the validity checks fail, the recipient computing system 520 can ignore the request, e.g., choose not to send a response to the request, update settings, etc.
[0110] Although in Figure 2-5 The method shown in the example and described above involves the use of the device public key of the client device, but other methods may forgo the use of the device public key in favor of a group signature scheme. In general, a group signature scheme is a method that allows group members to anonymously sign messages on behalf of the group. In a group signature scheme, a group manager publishes a group signature function sign(message, C), which can be used to sign a message with a certificate C, where certificate C is a confidential certificate (also called an anonymous private key) that has been privately issued to group members by the group manager. The group manager also publishes a group verification key K (also called a group public key) and a group signature verification function verify(sign(message, C), K), which returns TRUE if and only if the message is signed with the group signature function using the anonymous certificate C and K is the group verification key of C.
[0111] These techniques may utilize a device integrity system as a group manager, employing a group signature scheme to attest client device requests. While some group signature schemes allow a group manager to de-anonymize anonymous signatures created by group members, privacy considerations may favor group signature schemes that do not include such de-anonymization capabilities, such as Direct Anonymous Attestation (DAA). For example, in some approaches, a device integrity system may use an elliptic curve cryptography (ECC) DAA scheme, such as ECC DAA with a Barreto-Naehrig curve. Additionally, while some group signature schemes may allow a group manager to revoke group membership, efficiency considerations may favor group signature schemes that do not include such revocation capabilities, making the techniques scalable to Internet scale, such as groups with millions or billions of group members.
[0112] exist Figure 6 and Figure 7 An illustrative example of a group signature scheme for certifying a client device request is depicted in the process flow diagram of . In this example, the device integrity computing system 620 can define M different trust levels for the client device and publish M different group verification keys for the corresponding M trust levels. For example, the device integrity system can publish one, two, or more group verification keys, such as ECC DAA verification keys corresponding to the device trust levels. For methods where M=1, the group verification key corresponds to a certain minimum trust level, and devices that do not meet the minimum trust level will not be added as members of the trust group. For methods where M≥2, different group verification keys correspond to corresponding levels or classifications of device trust. In some methods, the device integrity computing system can periodically publish new group verification keys (e.g., every hour, every day, every week, or other appropriate time period), and this refresh of the set of group verification keys can be used to verify the timeliness of client device requests, as further described below.
[0113] Reference now Figure 6 , client device 600 may request a private device integrity certificate in the form of a confidential certificate (601) for one of M trust groups managed by device integrity computing system 620. The request may include a device-level fraud detection signal (eg, collected by a trusted program of client device 600).
[0114] The device integrity computing system receives the request (621).The device integrity computing system 620 can determine a trustworthiness determination for the client device based on the device-level fraud detection signal and assign the client device to a selected trustworthiness group corresponding to the trustworthiness determination (622).
[0115] The device integrity computing system 620 may then generate or select an anonymous certificate 611 corresponding to the selected trustworthiness group and return the anonymous certificate 611 to the client device (623). For example, the device integrity computing system may generate a credential corresponding to an ECC DAA verification key associated with a device trustworthiness level assigned to the device by the device integrity computing system. The client device 600 may receive the anonymous certificate 611 and securely store it locally on the client device 600, e.g., in a private key store (602). For example, the client device may encrypt the certificate using the master key of the private key store so that a malicious party cannot steal the certificate and use it on a different device.
[0116] After obtaining an anonymous certificate of membership in a particular trust group, the client device can use the anonymous certificate to assemble and send a proof token as part of various requests made to a digital component provider or other proof token recipient. In this example, the proof tokens can be referred to as anonymous proof tokens because they do not include the public key of the client device. An illustrative example of such a request is provided in Figure 7 is depicted as a process flow diagram.
[0117] The client device 700 may initiate a request to a digital component provider or other attestation token recipient (701). In some implementations, the client device may optionally confirm that the request does not exceed the attestation token limit (702), as further described below. The client device 700 extracts an anonymous certificate (703), for example, from a private keystore on the client device, as described above and Figure 6 As described in , the client device 700 has previously obtained a certificate from the device integrity computing system.
[0118] The client device 700 generates a request 711 and signs the request with the extracted anonymous certificate (704). The generation of the request may include, for example, generating a content set, the content set including a request payload and a request creation timestamp. The request payload may include, for example, data that can be used to select a digital component, or data that specifies a requested change (such as removal of data) to be made by the proof token recipient. The request creation timestamp may indicate the time when the request was generated. In some cases, the time resolution of the request creation timestamp is small enough to detect duplicate requests or replay attacks. For example, the time resolution of the request creation timestamp may be less than about 1 millisecond or less than about 1 microsecond. In methods where the group signature scheme is a probabilistic group signature scheme, two separate signatures of the same request 711 by the client device 700 will generate different signatures. In these methods, the recipient of the request 711 can prevent duplicate requests or replay attacks by rejecting requests with the same signature.
[0119] As described above and Figure 3 and Figure 5 In contrast to other methods in , request 711 does not include the client device's public key nor the device integrity token (compare Figure 3 Request 311 and Figure 5 511 in the request). These proof token features of the previously described methods are not necessary for the group signature scheme of the present method, in which the client device's possession and use of the anonymous certificate C indicates that the client device is a member of the trust group managed by the device integrity computing system. The client device signs the request 711 using the anonymous certificate C using the published group signature function sign(message, C). For example, the client device 700 can use the anonymous certificate C to generate a digital signature for the content set, for example, the client device can use the ECC DAA certificate previously provided to the client device by the device integrity server to sign the request using the ECCDAA signature scheme.
[0120] The client device sends a request 711 to the recipient's computing system 720 (705). If the recipient is a digital component provider, the client device 700 may transmit the request to a digital component distribution system, which in turn forwards the request to the appropriate digital component provider.
[0121] The recipient computing system 720 receives the request (722). Prior to receiving the request 711 from the client device 700, the recipient computing system 720 receives (721) a set of M different group verification keys for M trustworthiness classes of the device integrity computing system. The device integrity computing system 740 publishes (741) the M group verification keys and may periodically re-issue new group verification keys (e.g., hourly, daily, weekly, or other appropriate time period), in which case the attestation token recipient will periodically receive new group verification keys and use the group verification keys to verify requests from the client device. In one approach, the group verification keys are published on a well-known path using a well-known URL so that any recipient computing system 720 can obtain the group verification keys using a standard HTTP request. The path may encode date / time information, or metadata accompanying the group verification key may encode a key expiration date so that the recipient computing system can determine whether the key is current, as discussed further below.
[0122] The recipient computing system 720 verifies the timeliness of the request 723. For example, the recipient can review the request creation timestamp to confirm that the request is not a duplicate (or a replay attempt) and that the request is not outdated (e.g., the difference between the request creation timestamp and the time the request was received by the recipient computing system is within a threshold), etc.
[0123] The recipient computing system 720 verifies the anonymous signature and credibility of the request (724). For example, the recipient may verify the anonymous signature by evaluating a verification function verify(sign(message, C), K) for each published group verification key K in a set of M published group verification keys. The verification function may be, for example, an ECC DAA signature verification function, which is calculated using an ECC DAA verification key previously published by a device integrity server. If the function is FALSE for each published group verification key K, the recipient may determine that the request is forged or that the client device 700 does not belong to any credibility group. On the other hand, if the function is TRUE for a particular group verification key K, the client device 700 belongs to the credibility group corresponding to the particular group verification key K.
[0124] If these validity checks pass, the attestation token recipient may then respond to the request (725), such as changing settings, adding or removing user data, delivering a digital component, etc., as described above. For requests involving delivery of a digital component, the response 725 may then include optionally sending the appropriate digital component 712 to the client device 700. The client device 700 receives the digital component (706). In turn, the client device 700 may present the digital component to a user of the client device 700.
[0125] Although Figure 6 and Figure 7 The group signature method shown in and described above enhances the privacy of a client device or user by preventing tracking based on the client device's device public key, but it can also prevent a proof token recipient (such as a digital component provider) from identifying an abusive device or application that can send an unreasonable number of requests to the proof token recipient. Accordingly, in some methods, the client device can include a trusted throttle that can limit the client device from sending excessive proof tokens. Again, refer to Figure 7 , the throttle may, for example, perform an operation 702 to verify that the initiated request does not exceed the certification token limit before allowing the request to proceed. The throttle may be, for example, a thread, process, subroutine, or other component of a trusted operating system of a client device. Although the following Figure 6-8 The throttle is described in the context of the group signature method of , but it is contemplated that the throttle can be used to limit the amount of proof tokens in any proof token context described herein. For example, the throttle can be used to limit Figure 3 311 or Figure 5 Request 511.
[0126] An illustrative example of this throttling method is given in Figure 8 . Various attestation token recipients 850 (such as digital component providers and other recipients of requests or other communications that include attestation tokens) can publish information indicating a limit on the number of attestation tokens (851). For example, an attestation token recipient can publish (1) a limit on the number of tokens that can be sent from each individual client device to the recipient's selected destination domain within a selected time range (e.g., no more than X requests in Y seconds, Y minutes, or Y hours); (2) a limit on the number of tokens that can be sent from one or more selected applications on an individual client device to the recipient's selected destination domain within a selected time range (e.g., no more than X requests from application A or from any application other than application A in Y seconds, Y minutes, or Y hours); (3) a limit on the number of tokens that can be sent from an individual client device to a selected endpoint within the recipient's selected destination domain within a selected time range; (4) a limit on the number of tokens that can be sent from one or more selected applications on a client device to a selected endpoint within a selected destination domain within a selected time range; or (5) any combination of two or more such limits.
[0127] As a component of a trusted program 820 (e.g., an operating system) of a client device 800, a throttle 830 receives published token quantity limit information (821). The published token quantity limit information can be received in various ways. In one approach, each proof token recipient publishes token quantity information in a file signed with the token recipient's private key. The trusted crawler periodically obtains these files (as well as the token recipient's public key) and delivers them to each client device 800. The throttle 830 on each client device then honors the throttling requirement after verifying the token recipient's signature. For example, the throttle 830 can ensure that the limit is not exceeded by not generating proof tokens for requests that would exceed the limit.
[0128] In another approach, each token recipient submits signed token quantity information to a digital distribution platform (such as a mobile application store from which the mobile application can be downloaded). The digital distribution platform verifies the token quantity information and signs it. Each token recipient then delivers the twice-signed token quantity information to the client device 800. The throttle 830 on each client device then honors the throttling requirement after verifying the signatures of both the token recipient and the digital distribution platform. For example, the throttle 830 can ensure that the limit is not exceeded by not generating a proof token for a request that would exceed the limit.
[0129] When an application 810 on a client device initiates a request for a proof token to a trusted program 820 (811), the trusted program 820 receives the request (822). The trusted program 820 may then call a throttle to evaluate whether honoring the request will cause the client device to exceed one or more of the published token quantity limits (823). If the request will exceed one or more of the published token quantity limits, the trusted program 820 denies the proof token request (step 823a). If the request will not exceed the published token quantity limits, the trusted operating system 820 allows the proof token to be generated and sent to the appropriate proof token recipient (step 823b).
[0130] In addition to the above description, controls may be provided to the user to allow the user to select whether and when the systems, programs, or features described herein may enable the collection of user information (e.g., information about the user's social network, social actions or activities, occupation, user preferences, or the user's current location), and whether to send personalized content or communications to the user from the server. In addition, before certain data is stored or used, it may be processed in one or more ways so that personally identifiable information is removed. For example, the user's identity may be processed so that the user's personally identifiable information (e.g., telephone number, IMEI, device serial number) cannot be determined, or the user's geographic location may be generalized (such as generalized to city, ZIP code, or state level) where location information is obtained so that the user's specific location cannot be determined. Therefore, the user can control what information is collected about the user, how the information is used, the information retention policy, and what information is provided to the user.
[0131] Fig. 9 900 is a block diagram of an example computer system 900 that can be used to perform the above operations. System 900 includes a processor 910, a memory 920, a storage device 930, and an input / output device 940. Each of the components 910, 920, 930, and 940 can be interconnected, for example, using a system bus 950. Processor 910 is capable of processing instructions for execution within system 900. In some embodiments, processor 910 is a single-threaded processor. In another embodiment, processor 910 is a multi-threaded processor. Processor 910 is capable of processing instructions stored in memory 920 or storage device 930.
[0132] The memory 920 stores information within the system 900. In one embodiment, the memory 920 is a computer-readable medium. In some embodiments, the memory 920 is a volatile memory unit. In another embodiment, the memory 920 is a non-volatile memory unit.
[0133] The storage device 930 can provide mass storage for the system 900. In some embodiments, the storage device 930 is a computer-readable medium. In various embodiments, the storage device 930 may include, for example, a hard disk device, an optical disk device, a storage device shared by multiple computing devices over a network (e.g., a cloud storage device), or some other mass storage device.
[0134] The input / output device 940 provides input / output operations for the system 900. In some embodiments, the input / output device 940 may include one or more network interface devices (e.g., Ethernet cards), serial communication devices (e.g., RS-232 ports), and / or wireless interface devices (e.g., 802.11 cards). In another embodiment, the input / output device may include a drive device configured to receive input data and send output data to an external device 960, such as a keyboard, a printer, and a display device. However, other embodiments may also be used, such as mobile computing devices, mobile communication devices, set-top TV client devices, etc.
[0135] Despite Fig. 9 An example processing system is described in the specification, but the subject matter and implementation of the functional operations described in this specification may be implemented in other types of digital electronic circuits, or in computer software, firmware, or hardware (including the structures disclosed in this specification and their structural equivalents), or in a combination of one or more of them.
[0136] The subject matter and the embodiments of the operations described in this specification may be implemented in digital electronic circuits, or in computer software, firmware or hardware (including the structures disclosed in this specification and their structural equivalents), or in a combination of one or more of them. The embodiments of the subject matter described in this specification may be implemented as one or more computer programs, i.e., one or more computer program instruction modules encoded on a computer storage medium (or medium), for execution by a data processing device or for controlling the operation of a data processing device. Alternatively or additionally, program instructions may be encoded on an artificially generated propagation signal, such as a machine-generated electrical, optical or electromagnetic signal, which is generated to encode information for transmission to a suitable receiver device for execution by a data processing device. A computer storage medium may be or be included in a computer-readable storage device, a computer-readable storage substrate, a random or serial access memory array or device, or a combination of one or more of them. In addition, although a computer storage medium is not a propagation signal, a computer storage medium may be a source or destination of computer program instructions encoded in an artificially generated propagation signal. A computer storage medium may also be or be included in one or more discrete physical components or media (e.g., multiple CDs, disks or other storage devices).
[0137] The operations described in this specification may be implemented as operations performed by a data processing apparatus on data stored on one or more computer-readable storage devices or received from other sources.
[0138] The term "data processing apparatus" encompasses all kinds of apparatus, devices and machines for processing data, including, for example, a programmable processor, a computer, a system on a chip, or a plurality of the foregoing or a combination of the foregoing. The apparatus may include dedicated logic circuits, such as an FPGA (field programmable gate array) or an ASIC (application specific integrated circuit). In addition to hardware, the apparatus may also include code that creates an execution environment for the computer program in question, for example, code that constitutes processor firmware, a protocol stack, a database management system, an operating system, a cross-platform runtime environment, a virtual machine, or a combination of one or more of them. The apparatus and execution environment may implement a variety of different computing model infrastructures, such as web services, distributed computing, and grid computing infrastructures.
[0139] A computer program (also referred to as a program, software, software application, script, or code) may be written in any form of programming language, including compiled or interpreted languages, declarative or procedural languages, and it may be deployed in any form, including as a stand-alone program or as a module, component, subroutine, object, or other unit suitable for use in a computing environment. A computer program may, but need not, correspond to a file in a file system. A program may be stored in a portion of a file that holds other programs or data (e.g., one or more scripts stored in a markup language document), in a single file dedicated to the program in question, or in multiple collaborative files (e.g., files storing one or more modules, subroutines, or code portions). A computer program may be deployed to execute on one computer, or on multiple computers located in one location or distributed in multiple locations and interconnected by a communications network.
[0140] The processes and logic flows described in this specification can be performed by one or more programmable processors executing one or more computer programs to perform actions by operating on input data and generating output. The processes and logic flows can also be performed by special purpose logic circuits, and the apparatus can also be implemented as special purpose logic circuits, such as FPGAs (field programmable gate arrays) or ASICs (application specific integrated circuits).
[0141] For example, processors suitable for executing computer programs include both general-purpose and special-purpose microprocessors. Typically, the processor will receive instructions and data from a read-only memory or a random access memory or both. The basic elements of a computer are a processor for performing actions according to instructions and one or more memory devices for storing instructions and data. Typically, a computer will also include or be operably coupled to one or more mass storage devices (e.g., magnetic disks, magneto-optical disks, or optical disks) for storing data to receive data from it, or to transmit data to it, or both. However, a computer does not need to have such a device. In addition, a computer can be embedded in another device, such as a mobile phone, a personal digital assistant (PDA), a mobile audio or video player, a game console, a global positioning system (GPS) receiver, or a portable storage device (e.g., a universal serial bus (USB) flash drive), to name a few. Devices suitable for storing computer program instructions and data include all forms of non-volatile memory, media, and memory devices, including, for example: semiconductor storage devices, such as EPROM, EEPROM, and flash memory devices; magnetic disks, such as internal hard disks or removable disks; magneto-optical disks; and CD-ROM and DVD-ROM disks. The processor and the memory can be supplemented by, or incorporated in, special purpose logic circuitry.
[0142] To provide interaction with a user, embodiments of the subject matter described in this specification may be implemented on a computer having a display device (e.g., a CRT (cathode ray tube) or LCD (liquid crystal display) monitor) for displaying information to the user, and a keyboard and pointing device (e.g., a mouse or trackball) that the user can use to provide input to the computer. Other types of devices may also be used to provide interaction with the user; for example, the feedback provided to the user may be any form of sensory feedback, such as visual feedback, auditory feedback, or tactile feedback; and input from the user may be received in any form, including sound, voice, or tactile input. In addition, the computer may interact with the user by sending documents to and receiving documents from a device used by the user; for example, by sending a web page to a web browser on a user's client device in response to a request received from the web browser.
[0143] Embodiments of the subject matter described in this specification may be implemented in a computing system that includes a back-end component (e.g., as a data server), or includes a middleware component (e.g., an application server), or includes a front-end component (e.g., a client computer with a graphical user interface or a web browser through which a user can interact with an implementation of the subject matter described in this specification), or any combination of one or more such back-end, middleware, or front-end components. The components of the system may be interconnected by any form or medium of digital data communication (e.g., a communications network). Examples of communications networks include local area networks ("LANs") and wide area networks ("WANs"), internetworks (e.g., the Internet), and peer-to-peer networks (e.g., ad hoc peer-to-peer networks).
[0144] A computing system may include a client and a server. The client and the server are usually remote from each other and usually interact through a communication network. The relationship between the client and the server is generated by computer programs running on respective computers and having a client-server relationship with each other. In some embodiments, the server transmits data (e.g., an HTML page) to a client device (e.g., in order to display data to a user interacting with the client device and receive user input from it). Data generated at the client device (e.g., the result of the user interaction) can be received from the client device at the server.
[0145] Although this specification contains many specific implementation details, these should not be interpreted as limitations on the scope of any invention or the scope that may be claimed, but rather as descriptions of features peculiar to specific embodiments of specific inventions. Certain features described in the context of separate embodiments in this specification may also be implemented in combination in a single embodiment. On the contrary, the various features described in the context of a single embodiment may also be implemented in multiple embodiments individually or in any suitable sub-combination. In addition, although features may be described above as working in certain combinations, and even initially claimed as such, one or more features from the claimed combination may be deleted from the combination in some cases, and the claimed combination may be directed to a variant of a sub-combination or a sub-combination.
[0146] Similarly, although operations are described in a particular order in the accompanying drawings, this should not be understood as requiring that these operations be performed in the particular order shown or in a sequential order, or that all of the operations shown be performed to obtain the desired results. In some cases, multitasking and parallel processing may be advantageous. In addition, the separation of various system components in the above-described embodiments should not be understood as requiring such separation in all embodiments, and it should be understood that the described program components and systems can generally be integrated together in a single software product or packaged into multiple software products.
[0147] Thus, specific embodiments of the subject matter have been described. Other embodiments are within the scope of the following claims. In some cases, the actions recited in the claims can be performed in a different order and still achieve the desired results. Furthermore, the processes depicted in the accompanying drawings do not necessarily require the particular order shown or sequential order to achieve the desired results. In some embodiments, multitasking and parallel processing may be advantageous.
Claims
1. A method performed by a client device, include: transmitting a first request for an anonymous credential to a device integrity computing system, the request including a device-level fraud detection signal of a client device; receiving an anonymous certificate from a device integrity computing system, wherein the anonymous certificate corresponds to a given signature group selected from a set of device trustworthiness groups based at least on a device-level fraud detection signal, wherein each device trustworthiness group corresponds to a respective trustworthiness class; creating an anonymous proof token, the anonymous proof token comprising (i) a data set including the second request and a proof token creation timestamp indicating a time when the anonymous proof token was created, and (ii) a digital signature of the data set, the digital signature of the data set generated using a group signature scheme using the anonymous certificate; as well as Transmit the attestation token to the recipient.
2. The method according to claim 1, in, The group signature scheme is a Direct Anonymous Attestation (DAA) signature scheme.
3. The method according to claim 2, in, The DAA signature scheme is an elliptic curve cryptography (ECC) DAA signature scheme.
4. The method according to claim 3, in, The ECC DAA signature scheme is an ECC DAA signature scheme with a Barreto-Naehrig curve.
5. The method according to any one of claims 1 to 4, in, The anonymous certificate is an irrevocable anonymous certificate indicating that the client device has been irrevocably assigned to a given signing group.
6. The method according to any one of claims 1 to 4, in, The set of device credibility groups includes at least a first credibility group and a second credibility group, the first credibility group including devices with a first degree of credibility as members, the second credibility group including devices with a second degree of credibility less than the first degree of credibility as members, wherein a given group is one of the first group or the second signature group.
7. The method according to claim 6, in, The first and second trustworthiness groups have corresponding first and second sets of public keys issued by a device integrity computing system.
8. The method according to any one of claims 1 to 4, further comprising: include: Store the anonymous certificate in a secure private keystore on the client device.
9. The method according to any one of claims 1 to 4, in, The time resolution of the token creation timestamp is less than 1 millisecond or less than 1 microsecond.
10. The method according to any one of claims 1 to 4, further comprising: include: receiving information indicating a limit on the number of attestation tokens; as well as Before creation, verify that the creation will not exceed the proof token limit.
11. The method according to claim 8, in, The attestation token quantity limit is a limit on the quantity of anonymous tokens that are eligible to be sent from a client device to a selected destination domain within a selected time frame.
12. The method according to claim 8, in, The attestation token quantity limit is a limit on the quantity of anonymous tokens that are eligible to be sent from one or more selected applications on a client device to a selected destination domain within a selected time frame.
13. The method according to claim 8, in, The attestation token quantity limit is a limit on the quantity of anonymous tokens that are eligible to be sent from a client device to a selected endpoint within a selected destination domain within a selected time frame.
14. The method according to claim 8, in, The attestation token quantity limit is a limit on the quantity of anonymous tokens that are eligible to be sent from one or more selected applications on a client device to a selected endpoint within a selected destination domain within a selected time range.
15. A system for providing a certification token, include: one or more processors; as well as One or more memories having computer-readable instructions stored thereon, the computer-readable instructions being configured to cause the one or more processors to perform the method according to any one of claims 1-14.
16. A non-transitory computer-readable medium storing instructions that, when executed by one or more computers, cause the one or more computers to perform the operations of the method according to any one of claims 1-14.
Citation Information
Patent Citations
Anonymous digital certificate system and verification method of trustable computing environment
CN102594558A
Method and system for securely computing a base point in direct anonymous attestation
CN103999402A
