Cinavia DRM: How I Learned to Stop Worrying and Love Blu-ray’s Self-Destructionby Ganesh T S on March 21, 2012 11:00 AM EST
- Posted in
- Home Theater
Content providers mandate the presence of protection schemes at all times when the consumers want to access their wares. For the consumer, this entails:
1. Conditional access
2. Protected transmission
3. Protected distribution
4. Protected storage
Conditional access is applicable to cases where media travels over insecure channels (such as satellite or cable). This is implemented in STBs. Protected transmission is the path to the display device, and it is usually protected by HDCP (over HDMI) or Macrovision in legacy systems. Protected storage is encountered in broadcast content, with its copy flags to allow DVR archiving. Protected distribution is enabled by the DRM mechanism in Blu-rays / DVDs. In Blu-rays, this DRM scheme is called as AACS (Advanced Access Content System). AACS also provides for protected storage through the Managed Copy feature.
A Popular Webcomic's Take on DRM (c) xkcd
AACS uses 128-bit AES for encryption. Each Blu-ray player / device has a Device Key, while discs come with a Media Key Block (MKB). The shared key generated by using these two (Media Key) is used to decrypt the Title Key, which is then used to decrypt the audio/video data in the disc. AACS also has a revocation mechanism. The MKB in each disc has a Host Revocation List for software players and a Device Revocation List for hardware drives. For PC-based playback to be successful, both the player and the drive must not be on the revocation list.
In practice, key revocation is quite rare because device keys could be shared across an entire lineup, making it hard to pinpoint which particular device was compromised. AACS does provide some sequence keys to identify a particular device as compromised if one has access to multiple pirated copies of different discs from the same drive. In addition to the MKB-Media Key-Title Key combination, PC-based players also have support to generate a Shared Bus Key to encrypt the data inbetween the drive and the software player. This ensures that any snooped data can't be used to get to the original content on the disc. AACS also has a renewal process to prevent attacks similar to those carried out on CSS (with DVDs). The net result is that we are currently at AACS v30.
In addition to AACS, the BDA mandates a BD-ROM mark, which is a physical irregularity on the disc with a 128-bit VolumeID. Blu-ray players will not play back protected content without the VolumeID, as it is essential to the decryption process. Also, the VolumeID can't be generated by consumers (BD-Recorders don't have the capability to burn a VolumeID). The process is tied to the manufacturing facility (which can obtain a license only under strict security considerations). With a counterfeit Blu-ray, it is a simple matter of using the VolumeID to trace the place where the piracy took place.
Note that AACS is based solely on cryptography and, after having been compromised, has the possibility of revoking cryptographic keys as the only means of regaining its effectiveness. So far, this method has failed. This has tempted studios to move over to other forms of DRM such as BD+ and Sony Screen Pass.
It is mandatory for players to implement support for BD+, but not all Blu-rays need to be BD+ enabled. From a player's perspective, a Security Virtual Machine (SVM) needs to be implemented. Blu-rays with BD+ have special content code which are loaded by the SVM and executed during the playback process. The content code has full control over all the components involved in playback. It can alter menus and show on-screen messages if some security breach is detected in the player.
One of the most common BD+ implementations involves storing garbled video on the disc (i.e, after AACS decryption, certain segments of the video are distorted). The content code can implement a fix for the distorted video so that licensed playback is still problem free. For example, in the recently released Contagion Blu-ray, watching the disc with an old version of AnyDVD HD (which performs only AACS decryption, say) would result in heavily distorted video in various scenes. This is because the BD+ code to fix the video wasn't being executed by AnyDVD HD. Unlike AACS, technologies such as BD+ from Irdeto (responsible for the BD+ in the Contagion Blu-ray) and Sony Screen Pass continue to evolve with each new disc.
BD+ needs a SVM to be implemented, but note that the Blu-ray specifications already include a VM requirement for the BD-Java feature. This BD-J feature can also be used to implement structural protection schemes such as Sony DADC's Screen Pass. In this scheme, BD-J code on the disc actively looks for signs of protection being in place during playback. When the BD-J code finds that the protection features are missing (say, due to playing an unprotected copy, or when ripping tools are active in the background), playback is immediately stopped along with an on-screen message. DVDFab's blog has some more details on Screen Pass.
In addition to DRMs aimed at directly protecting content by encryption, the Blu-ray developers also considered some watermarking schemes. Watermarking doesn't actually encrypt the content, but places some non-discernible (to the naked eyes/ears) information in the audio / video tracks of the stream. By serving as a digital signature, it helps the player / analyzer identify the content status. In the next section, we will be talking in detail about Cinavia, the audio watermarking scheme from Verance. Thomson's NexGuard is a type of video watermarking scheme which works with the help of the BD+ SVM. The BD+ content code embeds some invisible information in the video track which contains details of the player / drive used to decrypt the stream. If the video gets out and becomes a 'pirated copy', the watermark can be analyzed to determine the player / drive responsible for the 'piracy'. BD+ code in subsequent Blu-rays can be used to blacklist the player / add it to a revocation list.
If you are interested in learning more about content protection in Blu-rays, I strongly suggest perusing Chapter 4 of Blu-ray Disc Demystified.
Post Your CommentPlease log in or sign up to comment.
View All Comments
archer75 - Wednesday, March 21, 2012 - linkClearly your out of touch with how things are done now. MKV's are indeed the way to go for HD and have been for quite a while now. AVI's? Seriously?
~wolverine~ - Wednesday, March 21, 2012 - linkYou have no idea what your talking about.
p05esto - Wednesday, March 21, 2012 - linkAre you serious? MKV is of course the ultimate video format right now, nothing else comes close. You obviously don't know what you're talking about. I rip all my movies to MKV. Only kids posting crappy quality torrents use Divx/Xvid and all the .avi variations.
Sorry man but H.264 MKV files are THE only way to go.
SlyNine - Thursday, March 22, 2012 - linkI'd say for HD stuff MKV is the only way to go. I don't believe you can even put HD audio in AVI.
SlyNine - Thursday, March 22, 2012 - linkAlso AVI has limited B-Frame support according to Wiki.
My guess is you'll be googling what B-Frames are.
cjb110 - Thursday, March 22, 2012 - linkI've started seeing a lot more .mp4's about, esp for HD TV stuff. But MKV is by far the leading format that is being used through out the scene.
AVI's are still popular for the non-hd, or the hd->non-hd conversions.
khory - Thursday, April 5, 2012 - linkmp4s are getting popular because a lot of the mobile devices can decode them in hardware.
BaronMatrix - Wednesday, March 21, 2012 - linkI mean sucks. I have to get updates when new movies come out and if my Player doesn't have an update I bought a movie for nothing. At least you can but ones with DVDs in it also.
And whoever is writing the Java code should be killed. I don't need bells and whistles, I need HD video. AT least you should be able to opt out of special features. I could write that with my eyes closed. And I do C#.
Someone else mentioned the time it takes to actually play a disc...unacceptable... I still can't get Thor and Green Lantern to play .. at least not all the way through...even more unacceptable... Then when you throw in the horror of the HDMI handshake, it's amazing anyone buys them...Picture and sound is beautiful though...
IF IT PLAYS...
I reiterate the SUBJECT.
Jaybus - Wednesday, March 21, 2012 - linkIndeed. The problem is not the concept, but the implementation. Very poor quality control. What nobody seems to cover is the fact that BD player manufacturers are forced to operate at really low margins. Then when you consider that at the time they designed a player and set the cost margin, those manufacturers had no idea that the content providers were going to force through a new DRM method practically every time a new movie came out. Those new firmware updates that everyone screams for cost the manufacturer and eat into their already low margins.
Thus, DRM increases the cost of making BD players. Yet, the BD manufacturers realize that nobody will buy their product if they start raising the price, so they instead cut corners, resulting in poor quality, badly coded firmware with little or no quality control. The push for new DRM methods is making the manufacture of BD players unprofitable, so will in that way eventually kill BD.
cmdrdredd - Wednesday, March 21, 2012 - linkEvery movie I've ever bought always works on a 1st gen Samsung Blu-Ray player. I have never been asked to update. What you're saying is spewing an internet fallacy back out again like a monkey.