A portion of the disclosure of this patent document contains material which is subject to copyright protection. The copyright owner has no objection to the facsimile reproduction by anyone of the patent document or the patent disclosure, as it appears in the Patent and Trademark Office patent file or records, but otherwise reserves all copyright rights whatsoever.
Systems and methods are disclosed for more efficiently (and/or securely) using secrets (e.g., cryptographic keys and/or the like) to protect digital content or other data (e.g., digital media content, other cryptographic keys, and/or the like). For example, in one embodiment a system is disclosed in which a client application facilitates the establishment of a secure channel with a server using an application programming interface with a secure processing environment (e.g., a secure processor running on the client system). The client application receives data over the secure channel, encrypted using keying material determined during the establishment of the channel. The client application invokes the secure processing environment to decrypt the encrypted data, which data includes data further encrypted with the aforementioned keying material (or additional keying material derived therefrom or otherwise related thereto). The client application further invokes the secure processing environment to decrypt this additional encrypted data, which the secure processing environment does, using keying material determined during the establishment of the channel with the server (or information derived therefrom or related thereto). In some embodiments the secure processing environment passes the decrypted data back to the application. In other embodiments, the secure processing environment uses the decrypted data to perform further processing, the results of which are returned to the application. For example, in one embodiment, the secure processing environment uses keying material determined during the establishment of a secure channel to decrypt a content decryption key which it then uses to decrypt media content, which is then returned to the client application.
The inventive body of work will be readily understood by referring to the following detailed description in conjunction with the accompanying drawings, in which:
A detailed description of systems and methods consistent with embodiments of the present disclosure is provided below. While several embodiments are described, it should be understood that the disclosure is not limited to any one embodiment, but instead encompasses numerous alternatives, modifications, and equivalents. In addition, while numerous specific details are set forth in the following description in order to provide a thorough understanding of the embodiments disclosed herein, some embodiments can be practiced without some or all of these details. Moreover, for the purpose of clarity, certain technical material that is known in the related art has not been described in detail in order to avoid unnecessarily obscuring the disclosure.
Some embodiments of the disclosure may be understood by reference to the drawings, wherein like parts may be designated by like numerals. The components of the disclosed embodiments, as generally described and illustrated in the figures herein, could be arranged and designed in a wide variety of different configurations. Thus, the following detailed description of certain illustrative embodiments is not intended to limit the scope of the disclosure, as claimed, but is merely representative of possible embodiments of the disclosure. In addition, the steps of any method disclosed herein do not necessarily need to be executed in any specific order, or even sequentially, nor need the steps be executed only once, unless otherwise specified.
Systems and methods are presented for facilitating the secure and efficient processing of electronic content. The systems and methods described herein can, for example, be used in connection with digital rights management (“DRM”) technology such as that described in commonly assigned, co-pending U.S. patent application Ser. No. 11/583,693, filed Oct. 18, 2006 (“the '693 application”), service orchestration and DRM technologies such as those described in commonly assigned U.S. Pat. No. 8,234,387 (“the '387 patent”), the application programming interface and Secure Key Box (SKB) technology described in commonly assigned U.S. Pat. No. 8,874,896 (“the '896 patent”) (the contents of the '693 application, the '387 patent, and the '896 patent are hereby incorporated by reference in their entirety herein), and in other contexts as well. It will be appreciated that these systems and methods are novel, as are many of the components, systems, and methods employed therein.
Many distributed applications rely on transport security mechanisms (e.g., TLS (Transport Layer Security), SSL (Secure Sockets Layer), IPSEC (Internet Protocol Security), etc.) to construct a secure authenticated channel (SAC) that is used to transfer confidential information between the application endpoints (e.g., client and service). However, these mechanisms only protect the data in transit such that once the data is received by the application endpoint the confidentiality protection no longer persists.
There a numerous usage scenarios whereby an application may require that some or all of the exchanged data maintain its confidentiality protection outside of the SAC. For example, a DRM-enabled client application (e.g., an application that makes use of a DRM engine such as described in the '693 application or the '387 patent) may request a service to provide it with the necessary rights information to enable consumption of encrypted media content. This rights information typically includes media encryption key(s) that may need persistent protection. One method to ensure this is to have an adjunct key management system implemented to persistently protect confidential application information, such as the media keys. For example, the media decryption keys may themselves be encrypted using separate keys maintained as secrets by the adjunct key management system (e.g., device specific keys). However, this approach can have a significant impact on implementation.
A more efficient and lightweight mechanism is possible. Given the fact that the two endpoints have established a SAC, and that, generally speaking, a session key has been exchanged or derived by the transport security mechanism, then the endpoints at the application layer could greatly benefit if there were a mechanism by which the application endpoints could use this session key (or a derivation of it).
Merely exposing the session key to the application layer does not imbue any additional security properties. But when used in conjunction with secure cryptographic tokens (e.g., a PKCS #11 token, Hardware Security Module (HSM), Smartcard, or the application programming interface (API) and Secure Key Box (SKB) technology described in the '896 patent) then the application endpoints can maintain the secrecy of the session key and use it (or a derivative of it) to protect the confidentiality of the application data (e.g., the media decryption keys).
In one embodiment, if the application is assumed to be secure (e.g., its code is protected), but data could be snooped by external monitoring hardware and/or software, then the approach described above should be sufficient to protect against exposing the DRM keys, as the trusted application code will not directly decrypt the keys but will instead request a secure service, e.g., a secure key box such as that described in the '896 patent, to create a new secret data object by unwrapping the media keys with the SAC key as the wrapping key.
In another embodiment, if the application code cannot be assumed to be safe against modifications, another secret available to the secure key box (or other security service or API) and to the server (but inaccessible to the client application), which the secure key box would not allow to be used for decryption, but only for unwrapping into another secure object, could be used to protect the media keys in such a way that even a modified application could not gain access to the DRM keys. This additional secret could be either a symmetric secret, or an asymmetric key that might be easier to manage across SKB and server environments.
Referring once again to
More generally,
Data sent over channel 100 is encrypted or otherwise protected. When, for example, endpoint 104 sends encrypted data over channel 100 to endpoint 101, endpoint 101 uses the appropriate session key to process the data (e.g., decrypt the data, parse it, and/or otherwise make use of the data). In accordance with an embodiment of the inventive body of work, within endpoint 101, application 102 does not have direct access to the session key. Instead, it relies on service 106 to establish and maintain the session key, and to make use of the session key to decrypt and/or authenticate data received over channel 100. This process can be designed to be transparent to application 102, which may simply invoke service 106 using an API 103 to, for example, establish the secure channel 100 with endpoint 104, decrypt data received from 104 over channel 100, encrypt data to send to endpoint 104, and/or the like. Thus, application 102 can make use of the session key, while not having direct access to the key itself, which remains secured by service 106. Application 102 will thus have access to data protected by the key, but will make use of service 106 to actually unwrap the data.
As previously indicated, in some embodiments application 102 may comprise a media consumption application and/or other application designed to render and/or otherwise use protected content or other information 120 (e.g., view encrypted documents, play encrypted movies, television shows, or other videos, play encrypted songs, run encrypted or otherwise protected applications, and/or the like). The protected content 120 can be received or accessed by application 102 in any suitable manner. For example, it could be downloaded in encrypted form from server 104 or some other server or system, received on media such as a disc or flash memory drive, and/or the like. It will often be the case that with relatively large pieces of content, the server will have pre-encrypted the content before it is requested by application 102, since dynamically encrypting the content upon request may be overly time and/or resource consuming.
In order to make use of the content 120, application 102 may need to obtain an associated license 122 specifying rules governing access to the content 120. The license 122 may also comprise one or more encrypted keys 124, or keying material from which keys can be derived, which can be used, once decrypted, to decrypt, authenticate, and/or otherwise enable access to the encrypted content 120.
As shown in
It will be appreciated that the foregoing description has been provided to facilitate understanding of an example embodiment of the inventive body of work, and that a number of modifications could be made without departing from the spirit thereof. For example, without limitation, in some embodiments, the protected content itself could be encrypted with the session key, rather than a separate key which is encrypted with the session key. In such an embodiment, for example, the application may be written to understand this convention, or the license may contain data that, when sent for processing to the secure processor, will indicate that this is the case. Moreover, it will also be appreciated that while, for ease of explanation, the description herein frequently refers to “the” session key, it will be appreciated that in some embodiments multiple session keys (or keying material) may be used instead, and thus references to “the session key” should be understood to encompass these embodiments as well.
As illustrated in
In certain embodiments, network 212 may comprise the Internet, a local area network, a virtual private network, and/or any other communication network utilizing one or more electronic communication technologies and/or standards (e.g., Ethernet or the like). In some embodiments, the network interface 210 and/or network 212 may be part of a wireless carrier system, such as a PCS, and/or any other suitable communication system incorporating any suitable communication standards and/or protocols. In further embodiments, the network interface 210 and/or network 212 may be part of an analog mobile communications network and/or a digital mobile communications network utilizing, for example, CDMA, GSM, FDMA, and/or TDMA standards. In still further embodiments, the network interface 210 and/or network 212 may incorporate one or more satellite communication links and/or use IEEE's 802.11 standards, near-field communication, Bluetooth®, UWB, Zigbee®, and or any other suitable standard or standards.
In some embodiments, the system 200 may alternatively, or in addition, include a SPU 214 that is protected from tampering by a user of system 200 or other entities by utilizing secure physical and/or virtual security techniques. An SPU 214 can help enhance and/or facilitate the security of sensitive operations such as private management of secret or other secure information, and other aspects of the systems and methods disclosed herein. In certain embodiments, the SPU 214 may operate in a logically secure processing domain and be configured to protect and operate on secret information. In some embodiments, the SPU 214 may include internal memory storing executable instructions or programs configured to enable the SPU 214 to perform secure operations.
The operation of system 200 may be generally controlled by the processor 202 and/or 214 operating by executing software instructions and programs stored in the system memory 204 (and/or other computer-readable media, such as removable memory 208). The system memory 204 may store a variety of executable programs or modules for controlling the operation of the system 200. For example, the system memory 204 may include an operating system (“OS”) 220 that may manage and coordinate, at least in part, system hardware resources and provide for common services for execution of various applications and a DRM system 222 for implementing trust and privacy management functionality including protection and/or management of secret information. The system memory 204 may further include, without limitation, communication software 224 configured to enable in part communication with and by the system 200, a content rendering application (e.g., a media player or reader) 226, as well as protected content 228, licenses associated therewith 230, and/or any other information and/or applications configured to implement embodiments of the systems and methods disclosed herein.
One of ordinary skill in the art will appreciate that the systems and methods described herein can be practiced with computing devices similar or identical to that illustrated in
The systems and methods disclosed herein are not inherently related to any particular computer, electronic control unit, or other apparatus and may be implemented by a suitable combination of hardware, software, and/or firmware. Software implementations may include one or more computer programs comprising executable code/instructions that, when executed by a processor, may cause the processor to perform a method defined at least in part by the executable instructions. The computer program can be written in any form of programming language, including compiled or interpreted languages, and can be deployed in any form, including as a standalone program or as a module, component, subroutine, or other unit suitable for use in a computing environment. Further, a computer program can be deployed to be executed on one computer or on multiple computers at one site or distributed across multiple sites and interconnected by a communication network. Software embodiments may be implemented as a computer program product that comprises a non-transitory storage medium configured to store computer programs and instructions, that when executed by a processor, are configured to cause the processor to perform a method according to the instructions. In certain embodiments, the non-transitory storage medium may take any form capable of storing processor-readable instructions on a non-transitory storage medium. A non-transitory storage medium may be embodied by a compact disk, digital-video disk, a magnetic tape, a magnetic disk, flash memory, integrated circuits, or any other non-transitory digital processing apparatus memory device.
Although the foregoing has been described in some detail for purposes of clarity, it will be apparent that certain changes and modifications may be made without departing from the principles thereof. It should be noted that there are many alternative ways of implementing both the systems and methods described herein. Accordingly, the present embodiments are to be considered as illustrative and not restrictive, and the invention is not to be limited to the details given herein, but may be modified within the scope and equivalents of the appended claims.
This application claims the benefit of priority under 35 U.S.C. § 119(e) to U.S. Provisional Patent Application No. 61/932,994, filed Jan. 29, 2014, and entitled “SECURE APPLICATION PROCESSING SYSTEMS AND METHODS”, which is hereby incorporated by reference in its entirety.
Number | Name | Date | Kind |
---|---|---|---|
7382882 | Immonen | Jun 2008 | B1 |
8234387 | Bradley et al. | Jul 2012 | B2 |
8776216 | Boccon-Gibod et al. | Jul 2014 | B2 |
8874896 | Boccon-Gibod et al. | Oct 2014 | B2 |
20070276760 | Kanehara et al. | Nov 2007 | A1 |
20090086978 | McAvoy et al. | Apr 2009 | A1 |
20100027790 | Vembu et al. | Feb 2010 | A1 |
20100153717 | Sandler | Jun 2010 | A1 |
20100228971 | Carles | Sep 2010 | A1 |
20110145562 | Mangalore | Jun 2011 | A1 |
20130047264 | Bjorkengren | Feb 2013 | A1 |
20130191930 | MacKay et al. | Jul 2013 | A1 |
20140196079 | Jannard | Jul 2014 | A1 |
20150013014 | Daniel | Jan 2015 | A1 |
Number | Date | Country |
---|---|---|
WO 2005003939 | Jan 2005 | WO |
Entry |
---|
Wesley Chou, “Inside SSL: The Secure Sockets Layer Protocol”, Jul./Aug. 2002 IT Pro, IEEE, 1520-9202/02, pp. 47-52. |
International Search Report and Written Opinion dated Apr. 21, 2015; PCT Application No. PCT/US2015/013595; 8 pages. |
Number | Date | Country | |
---|---|---|---|
20150215293 A1 | Jul 2015 | US |
Number | Date | Country | |
---|---|---|---|
61932994 | Jan 2014 | US |