51 points · by tortilla · 16y ago · 40 comments
From what I can gather, it seems that Netflix's product development team is frustrated to find that there is no integrated support for DRM'd media streams provided by the OS. From here, he jumps to the conclusion that the best approach is working with individual handset manufacturers to patch in support for this at the OS or kernel level. This is difficult to understand.
It's an operating system. You build things on top of it. One does not go to every PC manufacturer to add a "feature" to one.
Spectres of "fragmentation" aside, let's remember that these phones are real computers running a real Linux-based OS that run real software, written in real programming languages like C, Java, and Scala. They also have support for encrypted transports like SSL and high-quality video codecs like H.264. Heck, Adobe's even done it - secure content streaming on Android is possible, and works fine (speaking strictly of the transport and decoding layer - leave it to the bloggeurs to hash over what happens when you paint content on a screen).
These facts suggest that implementing secure DRM'd video streams and a player for them is not only possible, but much easier than working directly with two of the most backward-facing industries in technology now (film studios and mobile phone providers) to add this functionality.
Working with the mobile phone providers, you can embed the root key in hardware. This makes it more difficult to extract. Straight software solutions exist, but are typically provided 3rd parties or by the OS vendors themselves. The software solutions are obviously more convenient, for the reasons you've alluded to.
Netflix gets to make lots of money exactly because they do the hard work of working with the backward-facing industries.
The specs mandate usage of certain types of encryption algorithms, key lengths, key expirations, etc. All the data that is sent over the wire is encrypted, so that no one using a packet sniffer can trivially obtain the unencrypted video. Thus, from the point of view of the attacker, the problem becomes extracting the encryption keys from the software and using that to decrypt the sniffed traffic.
Every device/software module ends up having a some root key that must be seriously obfuscated, because that key provides the security for the entire system. It must be embedded in the software or hardware. If its in hardware the problem is easier, because it cannot be disassembled and discovered as readily. In software, the problem is more challenging. Some form of White-Box Cryptography has to be used.
So, a secure flash player or a native app is only the first step in the solution. The whole key management system has to be built or provided by a 3rd party library. Google doesn't have such a library built in to Android. After you have the library, all kinds of nasty tricks have to be used on the library itself. Generally, the goal is to prevent debugging and code modification. The tactics used are very similar to what malware authors use to protect their malware from reverse engineering.
My instinct is that key exchange is tricky but a solved problem, that the encryption itself is trivial once you have the keys, that true security is impossible without hardware support (TPM), that analog holes will always exist, and that the current hard part is preventing someone from swiping your digital video stream on its way to the screen. Does this seem accurate?
Your instinct is close.
key exchange is tricky but a solved problem.
True
encryption itself is trivial once you have the keys
Encryption/decryption itself is trivial in hardware. In software, its wholly non-trivial to the point that it merits investigation by the academic community.
analog holes will always exist
and
the current hard part is preventing someone from swiping your digital video stream on its way to the screen
Analog holes do exist, but its still easier to extract keys from software and decrypt wireshark dumps. Especially because this can allow you to fully automate the process.
A few more notes about software decryption. The problem that is trying to be solved by all DRM providers is one that is not well addressed by existing cryptographic protocols. That is, what do you when Eve is Bob? In DRM the attacker is also the consumer. The best we can hope for is that only one piece of software/hardware is capable of doing the job of decryption, and that you can bake it in in such a way that no one else can use the key material. I consider this an open question. It is possible there is a great solution waiting to be discovered by researchers. It wasn't always clear that Public Key cryptography was possible -- this problem could be similar.
The hurdle has been the lack of a generic and complete platform security and content protection mechanism available for Android. The same security issues that have led to piracy concerns on the Android platform have made it difficult for us to secure a common Digital Rights Management (DRM) system on these devices.
It's especially plausible because it frees Netflix from responsibility for content protection systems across platforms -- if one of the targets is compromised, the studios have to deal with the hardware vendor, not Netflix.
The office manager at my workplace found her Verizon stock OS slow,and prone to occasional crashes in trying to understand why, she stumbled about (google search)a howto article on replacing the OS in two clicks (using unrevoked, adding a zip file to your phone, and clicking some key combination), having done so, happy and empowered by the change she performed, she instructs other nontech how to own (!!!) their handsets.
The point of this story is that:
1. This is probably the intention behind why google allowed this to happen (if you check XDA developers, its thriving). in this sense phones are different then full fledged computers, hacks tend to work fine and even better then the bundle, certainly cleaner. you can download and replace your phone ROM on the fly now with rom manager (available on Google app market, and try several flavor for your own phone, (with/without htc sense, clean froyo etc..) restoring your bought apps is simple, just log into your Google account, and re download.
2. The Movie industry will shun a platform that non sanctioned (i.e not supporting DRM) developers and users can easily command, Netflix has no choice but to comply.
iPhlix has its problems, but is a much better overall package, and an indie development effort.
Smart move, people, smart move.