Reduced hierarchy key management system and method
11115709 · 2021-09-07
Assignee
Inventors
Cpc classification
H04N7/162
ELECTRICITY
H04N7/1675
ELECTRICITY
H04L2209/60
ELECTRICITY
H04L9/0897
ELECTRICITY
International classification
H04N7/173
ELECTRICITY
H04N7/16
ELECTRICITY
H04N21/4623
ELECTRICITY
H04L9/08
ELECTRICITY
H04N21/266
ELECTRICITY
Abstract
A controller receives an encrypted media stream (“EMS”) and an identifier indicative of a selected content key from a headend. The EMS is encrypted with an encryption key and can be decrypted with a corresponding decryption key which is determinable from the selected content key. The controller receives indexes and content keys from the headend prior to receiving the EMS. Each index respectively corresponds to an identifier with one index corresponding to the identifier indicative of the selected content key. The content keys correspond to the indexes with one content key corresponding to the index corresponding to the identifier indicative of the selected content key. The controller selects the index corresponding to the identifier indicative of the selected content key upon receiving the EMS, determines the selected content key from the selected index, determines the decryption key from the selected content key, and decrypts the EMS with the decryption key.
Claims
1. A method comprising: prior to receiving a first encrypted media stream and a second encrypted media stream, receiving, by a computing device associated with a user, a plurality of indexes and a plurality of content keys corresponding to the plurality of indexes, wherein a first index, of the plurality of indexes, corresponds to a first content key, of the plurality of content keys, and a second index, of the plurality of indexes, corresponds to a combination of a second content key and a third content key of the plurality of content keys; receiving, by the computing device, the first encrypted media stream and the second encrypted media stream, the first encrypted media stream comprising a first identifier that corresponds to the first index, and the second encrypted media stream comprising a second identifier that corresponds to the second index; generating, by the computing device, a first decryption key based on the first content key that corresponds to the first index and a second decryption key based on the combination of the second content key and the third content key that corresponds to the second index; decrypting, by the computing device, at least a portion of the first encrypted media stream using the first decryption key, and at least a portion of the second encrypted media stream using the second decryption key; and receiving, by the computing device, an entitlement management message that comprises an update to the plurality of indexes corresponding to the plurality of content keys, wherein the update does not include any of the plurality of content keys, and wherein the update updates the first index from corresponding to the first content key to corresponding to a fourth content key, of the plurality of content keys, different from the first content key.
2. The method of claim 1, wherein a total number of the plurality of indexes is less than a total number of media streams and the plurality of content keys.
3. The method of claim 1, further comprising storing the plurality of indexes in an index table.
4. The method of claim 1, further comprising storing the plurality of content keys in a content key list.
5. The method of claim 1, wherein the computing device comprises a set-top-box.
6. The method of claim 1, wherein the first identifier is a video-on-demand identifier.
7. The method of claim 1, wherein the generating comprises generating the first decryption key as a function of the first content key and a working key modifier.
8. The method of claim 7, wherein the generating comprises generating the first decryption key as a function of the first content key and the working key modifier using at least one of an exclusive OR (EXOR) operation and a hashing operation.
9. The method of claim 1, wherein the plurality of indexes comprises a plurality of initialization vector (“IV”) values and the plurality of content keys comprises initialization vectors.
10. The method of claim 1, wherein the receiving the plurality of content keys occurs during a session setup time for a video on demand service.
11. The method of claim 1, further comprising: after receiving a third encrypted media stream comprising the first identifier corresponding to the first index, selecting the fourth content key corresponding to the first index and generating a different decryption key based on the fourth content key for decrypting the third encrypted media stream.
12. A method comprising: receiving, by a computing device, a plurality of content keys and a plurality of indexes corresponding to the plurality of content keys, each index of the plurality of indexes corresponding with a different content key of the plurality of content keys, wherein a first index of the plurality of indexes corresponds to a first content key of the plurality of content keys; subsequent to the receiving, receiving, by the computing device, a first encrypted media stream comprising an identifier associated with the first index; selecting, by the computing device, the first content key corresponding to the first index; generating, by the computing device, a decryption key based on the first content key for decrypting the first encrypted media stream; receiving an update to the plurality of indexes corresponding to the plurality of content keys, wherein the update does not include any of the plurality of content keys, and wherein the update updates the first index from corresponding to the first content key to corresponding to a second content key, of the plurality of content keys, different from the first content key; and after receiving a second encrypted media stream comprising the identifier associated with the first index, selecting the second content key corresponding to the first index and generating a different decryption key based on the second content key for decrypting the second encrypted media stream.
13. The method of claim 12, further comprising: storing a content key index table comprising the plurality of indexes; and storing a content key list comprising the plurality of content keys.
14. The method of claim 12, wherein the computing device is a set-top-box.
15. The method of claim 12, wherein receiving the plurality of indexes comprises receiving an entitlement management message comprising the plurality of indexes.
16. The method of claim 12, wherein generating the decryption key based on the first content key comprises determining the decryption key based on the first content key and a working key modifier.
17. The method of claim 16, wherein generating the decryption key based on the first content key and the working key modifier comprises using an exclusive OR (EXOR) or a hashing operator.
18. The method of claim 12, wherein: generating the decryption key is further based on a third content key for a service tier; and generating the different decryption key is further based on the third content key for the service tier.
19. An apparatus comprising: one or more processors, and a memory storing executable instructions configured to, when executed by the one or more processors, cause the apparatus to: prior to receiving a first encrypted media stream and a second encrypted media stream, receive a plurality of indexes and a plurality of content keys corresponding to the plurality of indexes, wherein a first index, of the plurality of indexes, corresponds to a first content key and a second content key, of the plurality of content keys, and a second index, of the plurality of indexes, corresponds to a combination of a second content key and a third content key of the plurality of content keys, receive the first encrypted media stream and the second encrypted media stream, the first encrypted media stream comprising a first identifier that corresponds to the first index, and the second encrypted media stream comprising a second identifier that corresponds to the second index, generate a first decryption key using the first content key that corresponds to the first index, and a second decryption key using the combination of the second content key and the third content key that corresponds to the second index, decrypt at least a portion of the first encrypted media stream using the first decryption key, and at least a portion of the second encrypted media stream using the second decryption key, and receive an entitlement management message that comprises an update to the plurality of indexes corresponding to the plurality of content keys, wherein the update does not include any of the plurality of content keys, wherein the update updates the first index from corresponding to the first content key to corresponding to a fourth content key, of the plurality of content keys, different from the first content key, and wherein the apparatus is associated with a user.
20. The apparatus of claim 19, wherein the executable instructions, when executed by the processor, cause the apparatus to: extract the plurality of indexes from another entitlement management message.
Description
BRIEF DESCRIPTION OF THE DRAWINGS
(1)
(2)
DETAILED DESCRIPTION OF THE PREFERRED EMBODIMENT(S)
(3) Terms used to describe the present invention are defined as follows:
(4) AES: Advanced Encryption Standard. AES is generally a much more secure algorithm to use for the storing of digital content in a digital video recording when compared to DES. The standard key length used for AES is 128 bits.
(5) DES: Data Encryption Standard. A fixed-key-length security algorithm that employs 56-bit length keys. Any 56-bit number can be implemented as a DES key. The relatively short key length renders DES vulnerable to brute-force attack wherein all possible keys are tried one by one until the correct key is encountered (i.e., the key is “broken”).
(6) Electronic Code Block (Mode): ECB, In ECB the message is divided into 64-bit blocks, and each block is encrypted separately. Encryption is independent for each block.
(7) Entitlement Control Message (Stream): ECM, Messages that generally define access requirements of a program, specify the tiers required for subscription, and the cost associated with impulse purchase of the program. The index may be delivered in the ECM as a reference to the content key. Encrypted program keys may be delivered in the ECM stream.
(8) Entitlement Management Message (Stream): EMM, Messages that define access rights for each individual decoder. The EMM stream is processed with the access control device, however, the user processor buffers EMMs and feeds them to the access control device via an interface.
(9) Hash: A function (or process) that converts an input (e.g., the input stream) from a large domain into an output in a smaller set (i.e., a hash value, e.g., the output stream). Various hash processes differ in the domain of the respective input streams and the set of the respective output streams and in how patterns and similarities of input streams generate the respective output streams. One example of a hash generation algorithm is Secure Hashing Algorithm-1 (SHA-1). Another example of a hash generation algorithm is Message Digest 5 (MD5). The hash may be generated using any appropriate algorithm to meet the design criteria of a particular application.
(10) Headend: The control center of a cable television system, where broadcast signals are received and distributed. The headend generally contains antennas, preamplifiers, frequency converters, demodulators, encoders, compressors, automatic switching equipment and other related equipment that receives, amplifies, filters, encrypts, encodes, and converts incoming satellite and terrestrial streams for presentation to distribution channels.
(11) Initialization vector: IV, An initialization vector in a block cipher is a block of bits that is combined with the first block of data in any of several feedback modes. The IV will make each ciphertext unique, even when similar plain text is encrypted with the same key in chain block coding (CBC) mode.
(12) Keylist: A list of decoder addresses and respective decoder keys in ordered pairs. Keylists may be used by the Uplink Control System (UCS) for generation of authorization messages that are addressed to the diagnostic circuit that is embedded in decoders that are specific to the encoder system.
(13) Program: A time contiguous collection of motion image information, audio information, or a combination thereof that is transmitted (i.e., presented, broadcast, sent, delivered, etc.) as an entity.
(14) Program Key: An encryption/decryption key that controls access, encryption/decryption, etc. of a particular program.
(15) Triple-DES: (3-DES) Application of DES encryption three times using three different keys or, alternatively, using a first key for the first and third segments of a three segment key and a second key for the middle segment, for a total key bit-width of 112 or 168 bits is also used to protect certain structures and the key inside entitlements.
(16) Unit address: A unique number that identifies and distinguishes one decoder from another. One example of a unit address is a Media Access Control (MAC).
(17) Unit key (or Private key): A key that is unique to a respective decoder. Messages intended for a particular decoder are encrypted using the respective unit key.
(18) Unit keylist: A file that contains unit addresses and respective unit keys.
(19) Uplink Control System (UCS): Software that is used to support the secure delivery of digitally compressed services. The UCS generally provides the capability to authorize and de-authorize individual decoders on an event-by-event basis.
(20) UTC: Universal Time Code
(21) Working key: A low level key that generally changes several times per second. The working key generally has a validity that is equal to or shorter in duration than the program to which it is related. The working key is also referred to as the “control word.” In one typical example, the working key changes every 20 to 30 seconds. In one example (e.g., services that do not have a video component), the working key epoch (i.e., the period of time during a program for which a working key is valid) duration may be set at an appropriate time interval. However, any appropriate time for changing the working key may be implemented to meet the design criteria of a particular application. The working key is used to derive the keystream. The working key is generally delivered in an encrypted form with the respective program key.
(22) Working Key File: A file that contains the working keys for the entire program that is encrypted in the program key, generally in chronological order.
(23) The reduced hierarchy key management of the present invention generally provides a system and method for renewable and re-configurable security for delivering Entitlement Management Messages (EMM's), Entitlement Control Messages (ECM's), Content Keys, and the associated keys. In a typical Conditional Access System (CAS), Category Keys or Session Keys (decrypted from the EMM) are used to decrypt the ECM to obtain the Content Key or a Control Word in the video stream. Each media stream (e.g., video program stream) generally has a unique Content Key or Control Word. The reduced hierarchy key management of the present invention generally uses a highly secure method to deliver a set of symmetric keys such as triple-DES or AES (which can be protected using one or more mutually defined algorithms and data such as one way (e.g., SHA-1, MD5, and the like) hashing and Exclusive OR (EXOR) operations as part of the EMM for all program media streams. ECB modes of AES, DES or triple-DES do not require an initialization vector (IV) while CBC modes do require an IV. The system and method of the present invention may optionally (i.e., alternatively) include an IV that may be indexed and selected if CBC mode is used for the algorithm chosen.
(24) Both the headend delivering the key list and the receiving device may be able to receive encrypted data and obtain the clear-text keys. An index table is also generally delivered for referencing each of the delivered keys. The EMM updates can generally be used solely to deliver the entitlements after the first table is sent. In one example, the reduced hierarchy of the present invention can obtain a key index by using a program identifier (PID). In another example, the reduced hierarchy of the present invention can obtain a key index via a session ID such as a Video On Demand (VOD) Session ID. The key index is generally used to determine the index which references one or more related content keys.
(25) The key index is generally used to obtain the key (and alternatively an IV) when Cipher Block Chaining mode is used. The index table can be updated as a countermeasure in lieu of sending new keys for each new EMM. The number of keys can be less than the total number of program streams and content keys because some streams can be derived mathematically from combinations of other keys. In other cases, entire service tiers can be on the same general key and derivative keys may be generated for each program stream in the respective tier. The system and method of the present invention may eliminate the delivery and management of Category or Session Keys and the related ECMs from the headend.
(26) For VOD services, a table of keys can be generated and delivered at session setup time. The keys for VOD service may be delivered with synchronization information related to key change as well as other information for short term working key epochs. A VOD Session ID or, alternatively, a Program ID may be used as an index to reference the keys list with the appropriate record of information for the VOD transport decryption. In alternative embodiments of reduced hierarchy key management of the present invention, one-way hashing may be implemented in the protection, selection and processing of the decryption key.
(27) The reduced hierarchy key management of the present invention generally provides a new, more secure, and elegant system and method to deliver content keys for decrypting the program streams in conditional access systems (e.g., Broadcast and Video On Demand applications). The key management of the present invention may dramatically reduce the complexity required to deliver new content keys when a first Entitlement Message has been sent (i.e., presented, transmitted, provided, broadcast, etc.) to each set top box. The reduced hierarchy key management system and method of the present invention may be implemented as a portion of a new CAS system. The new CAS system generally provides for the manufacture and distribution of devices that are compatible with infrastructure, regardless of specific content security mechanisms that are used in that infrastructure. The new CAS system may provide far more efficient manufacturing, distribution and operations, and in fact enable new business models, including the retail availability of extremely low cost customer premises equipment (CPE) when compared to conventional approaches.
(28) The reduced hierarchy key management of the present invention provides the user with flexibility and also helps to simplify Impulse Pay Per View (IPPV) and Video On Demand (VOD) security in the headend when compared to conventional approaches. The simplified key management structure of the present invention can be applied to IPPV and VOD technologies and thereby standardize the overall approach to security for VOD.
(29) The commercial value of the unique improved system and method for reduced hierarchy key management of the present invention is potentially very large because the present invention may provide all of the Consumer Electronics (CE) industry to innovate new types of products for multiple system operators (MSOs). Furthermore, all CE companies are potential customers. The present invention may lower the overall cost of producing headends, STBs and digital televisions, lower the cost and ease the operational complexities for IPPV and VOD, thereby providing the MSOs significant cost savings when compared to conventional approaches. Further, by enabling dramatically lower costs as well as increased innovation and new business models, the reduced hierarchy key management of the present invention may improve the competitive position of cable television implementations versus alternative video providers such as Digital Broadcast Satellite (DBS) (i.e., Digital TV transmissions via satellite) and emerging telecommunications-based video systems.
(30) Referring to
(31) The streams VIDIN and VIDOUT may be implemented as digital media streams that may be in an encrypted and in a clear (i.e., unencrypted or decrypted) state (or condition), respectively. The streams VIDIN and VIDOUT are each generally implemented as a digital media signal stream (e.g., an MPEG, MPEG-2, etc. stream or other transport stream). In one example, the stream VIDOUT may be implemented as a decrypted (and decompressed) version of the stream VIDIN. However, the streams VIDIN and VIDOUT may be implemented having any appropriate format and protocol to meet the design criteria of a particular application.
(32) The signal PID may be implemented as a program identifier for the respective program that has been selected by a user (e.g., customer, client, viewer, listener, etc.). The signal TFHE may be implemented as at least one entitlement management message (EMM) that is received from and presented to the headend via an out-of-band (OOB) transmission. The working key modifier and application function (e.g., a factor, an operator, or a combination of a factor and an operator that was applied to the content key to enhance encryption) WKM is generally combined with a content key to generate a working key that is used to decrypt an encrypted media stream (e.g., the stream VIDIN) to generate a clear output media stream (e.g., the media stream VIDOUT).
(33) Controller 100 generally comprises a media stream transport decryption engine 110, a table 112, a list 114, and a combiner 116. Decoder 100 is generally implemented via at least one processor (e.g., microprocessor, controller, etc.) and at least one memory (e.g., random access memory (RAM), read only memory (ROM), NVROM, flash, EPROM, etc.) where one or more processes, routines, engines, lists, tables, etc. may be stored. Engine 110, table 112, list 114, and combiner 116 are generally implemented within the processor and memory of decoder 100.
(34) Engine 110 may have a first input that may receive a stream (e.g., VIDIN) from a headend (described in connection with
(35) Input/output 104 may provide for interfacing that corresponds to (or is related to) entitlement management message (EMM) downloads that are authenticated between the headend (e.g., headend 202, described in more detail in connection with
(36) Table 112 generally comprises a content key index table. The contents of table 112 are generally loaded from the headend (e.g., via input/output 104). During the downloading from the headend, content key index table 112 may be decrypted and extracted using the respective unit or device key. Table 112 may receive the identifier PID via input 102. Table 112 may present an index (e.g., IND) to content key list 114 in response to the identifier PID based on the respective value in table 112 using a content key index contained therein. In an alternative (i.e., optional) example, table 112 comprises a content key and IV index table.
(37) List 114 generally contains a list of content keys that may be referenced by respective index values (e.g., the index IND). The contents of list 114 may be loaded via input/output 104. List 114 may be configured to present a content key to combiner 116 in response to the respective index IND. The content keys (and, alternatively or optionally, IV values) in list 114 that correspond to a particular encrypted media stream VIDIN are selected from the content key (and, alternatively or optionally, IV) list 114 using an entry in the content key (and, alternatively or optionally, IV) index table 112 that is referenced by the identifier PID that is received from the headend in connection with the encrypted media stream VIDIN. Content keys and IVs that correspond to a particular encrypted media stream are selected from the content key and IV list using the index IND from a content key and IV table that is referenced by the identifier PID that is received from the headend in connection with the encrypted media stream when Cipher Block Chaining is used as the mode of a selected algorithm.
(38) Combiner 116 may be configured to present the working key WK to engine 110 in response to the working key modifier WKM and the content key. Combiner 116 may combine the working key modifier WKM and the content key using at least one of a hash and an exclusive OR (EXOR) operation (i.e., routine, algorithm, process, method, steps, blocks, etc.). In one example (an optional or alternative mode of operation), combiner 116 may be configured to periodically change the working key WK. For example, combiner 116 may change the working key WK every four video display frame times.
(39) The present invention obviates the need for the transmission, receipt, and processing of respective entitlement control messages (ECMs) as are used in conventional approaches. As such, the reduced hierarchy key management of the present invention is lower in cost, easier to implement, and easier to use than conventional approaches.
(40) Referring to
(41) Referring to
(42) Input/output 104 may provide for interfacing that corresponds to (or is related to) EMM downloads that are authenticated between the headend and media decoder 100′. Input/output 104 may further provide for interfacing that corresponds to downloads to the decoder related to at least one of entitlement structure, VOD key records lists, IV lists, content key index tables, and digital signatures.
(43) Controller 100″ generally comprises the media stream transport decryption engine 110, a table 112″, and a list 114″. Decoder/controller 100″ is generally implemented without a combiner such as combiner 116 of decoder 100. Engine 110 may receive a video content key (e.g., VK) instead of the working key WK. Engine 110 may generate and present the clear media stream VIDOUT in response to the media stream VIDIN and the decryption key VK.
(44) Table 112″ generally comprises a content key (and, alternatively or optionally, IV) index table. The contents of table 112′ are generally loaded from the headend (e.g., via input/output 104). Table 112″ may receive the identifier PID or, alternatively, the identifier VODID via input 102. Table 112″ may present an index (e.g., IND″) to content key list 114″ in response to the identifier PID or, alternatively, the identifier VODID based on the respective value in table 112″ using a key record index contained therein.
(45) List 114″ generally contains a list of VOD content keys (e.g., the keys VK) that may be referenced by respective index values (e.g., the index IND″). The contents of list 114″ may be loaded via input/output 104. List 114″ may be configured to present a content key to engine 110 in response to the respective index IND″. The VOD content keys (and, alternatively or optionally, IVs) VK in list 114″ that correspond to a particular VOD encrypted media stream VIDIN are selected from the content key (and, alternatively or optionally, IV) table 112″ using an entry in the content key record index that is referenced by the identifier PID or, alternatively, the identifier VODID that is received from the headend in connection with the encrypted media stream VIDIN. The stream decryption keys VK are generally presented to engine 110 on respective key epochs.
(46) Referring to
(47) Referring to
(48) STB 206 is generally located at the subscriber location (not shown, e.g., home, tavern, hotel room, business, etc.) and receiver 208 is generally provided by the client. Receiver 208 is generally implemented as a television, high definition television (HDTV), monitor, host viewing device, MP3 player, audio receiver, radio, personal computer, media player, digital video recorder, game playing device, etc. Receiver 208 may be implemented as a transceiver having interactive capability in connection with STB 206, headend 202, or both STB 206 and headend 202.
(49) Headend 202 is generally electrically coupled to network 204, network 204 is generally electrically coupled to STB 206, and each STB 206 is generally electrically coupled to the respective receiver 208. The electrical coupling may be implemented as any appropriate hard-wired (e.g., twisted pair, untwisted conductors, coaxial cable, fiber optic cable, hybrid fiber cable, etc.) or wireless (e.g., radio frequency, microwave, infrared, etc.) coupling and protocol (e.g., HomePlug, HomePNA, IEEE 802.11(a-b), Bluetooth, HomeRF, etc.) to meet the design criteria of a particular application. While distribution system 200 is illustrated showing one STB 206 coupled to a respective one receiver 208, each STB 206 may be implemented having the capability of coupling more than one receiver 208 (not shown).
(50) Headend 202 generally comprises a plurality of devices 210 (e.g., devices 210a-210n) that are implemented as amplifiers, pre-amplifiers, data servers, computers, processors, security encryption and decryption apparatuses or systems, and the like configured to provide video and audio data (e.g., movies, music, television programming, and the like), processing equipment (e.g., provider operated subscriber account processing servers), television service transceivers (e.g., transceivers for standard broadcast television and radio, digital television, HDTV, audio, MP3, text messaging, gaming, etc.), media streams, and the like. In one example, headend 202 may generate and present (i.e., transmit, provide, pass, broadcast, send, etc.) the stream VIDIN, the signal TFHE, and the program identification signals PID and VODID.
(51) Network 204 is generally implemented as a media stream distribution network (e.g., cable, satellite, and the like) that is configured to selectively distribute (i.e., transmit and receive) media service provider streams (e.g., standard broadcast television and radio, digital television, HDTV, audio, MP3, text messaging, games, etc.) for example, as the stream VIDIN, the downloads TFHE, and the identifiers PID and VODID, to STBs 206 and to receivers 208, for example, as the stream VIDOUT. The stream VIDIN, the downloads TFHE, and the identifiers PID and VODID are generally distributed based upon (or in response to) subscriber information. For example, the level of service the client has purchased (e.g., basic service, premium movie channels, etc.), the type of service the client has requested (e.g., standard TV, HDTV, interactive messaging, video on demand, pay-per-view, impulse-pay-per-view, etc.), and the like may determine the media streams that are sent to (and received from) a particular subscriber.
(52) STB 206 is generally implemented as an STB having multiple stream capability (e.g., standard broadcast television and radio, digital television, audio, MP3, high definition digital television (HDTV), text messaging, etc.). STB 206 generally comprises at least one respective media decoder (e.g., an appropriate one of decoders (controllers) 100, 100′, 100″ and 100′″). STB 206 may receive encrypted (and compressed) video and audio data (e.g., the stream VIDIN), the EMM signal and downloads TFHE, and the id signals PID and VODID, present the EMM signal TFHE to the headend 202 via network 204, and present clear video and audio data (e.g., the stream VIDOUT) to receiver 208.
(53) Referring to
(54) In yet another example (not shown), system 200′ may be implemented having at least one STB 206 coupled to network 204 and with at least one receiver 208 coupled thereto, as well as having at least one receiver 208′ that is directly coupled to network 204.
(55) As is readily apparent from the foregoing description, then, the present invention generally provides an improved system (e.g., decoders 100 and 100′) and an improved method for a reduced hierarchy key management that is lower in cost, easier to implement, and easier to use than conventional approaches.
(56) While embodiments of the present invention have been illustrated and described, it is not intended that these embodiments illustrate and describe all possible forms of the present invention. Rather, the words used in the specification are words of description rather than limitation, and it is understood that various changes may be made without departing from the spirit and scope of the present invention.