News for hackers. Stuff that matters.
Re:Update on HTML5 Video for Netflix by ReverseCold on Wednesday March 22, 2017 @06:39PM (#13935696)
Someone can fork FF though and make it so that the DRM looks like it's there to the websites it visits, but it isn't really there. There's no way DRM can't be removed if I own the device that can play it.
Re:Update on HTML5 Video for Netflix by bubblethink on Wednesday March 22, 2017 @06:56PM (#13935827)
You don't understand how this works. Firefox just provides some APIs that the DRM blob can use. All the decryption is done by the blob, not Firefox. You can reverse engineer the blob itself to an extent, but that will also become impossible with SGX (hence 4k on kabylake + edge only).
Re:Update on HTML5 Video for Netflix by Rusky on Wednesday March 22, 2017 @08:53PM (#13936574)
What's to stop someone reverse engineering the blob before it's loaded into an SGX enclave? I don't understand it very well so I could be missing something, but wouldn't that at least let someone document how the DRM works even if not running their own implementation?
Re:Update on HTML5 Video for Netflix by bubblethink on Wednesday March 22, 2017 @11:54PM (#13937279)
It would be of no use (and the code can also be encrypted for additional obfuscation). There is no private data in the blob. The blob communicates to mothership once it's safe inside the enclave, and that's when sensitive data is transmitted over an encrypted channel which only the blob can decrypt inside the enclave.
Re:Update on HTML5 Video for Netflix by MBCook on Wednesday March 22, 2017 @10:41PM (#13937035)
We still have the good old DMCA to make sure that anyone who does do that kind of thing could be punished to a ridiculous extent.
Re:Update on HTML5 Video for Netflix by ndesaulniers on Wednesday March 22, 2017 @09:42PM (#13936799)
Digital signatures. Not that I actually know how it's implemented, but I would expect someone like Netflix to pay Intel for the build infrastructure to be able to build signed blobs that the SGX will load.

The "someone" in your hypothetical can modify the blob, but then they won't be able to resign the blob, so SGX will fail to load it.

Re:Update on HTML5 Video for Netflix by flukus on Wednesday March 22, 2017 @08:48PM (#13936563)
Can't you just run in an emulator to get the blob? It looks like qemu was the first to support SGX: https://en.wikipedia.org/wiki/Software_Guard_Extensions
Re:Update on HTML5 Video for Netflix by bubblethink on Wednesday March 22, 2017 @11:56PM (#13937284)
No, that's all fine for mucking around and developing apps, but actual SGX needs attestation which the emulator can't fake. That's the whole point of SGX.
Re:Update on HTML5 Video for Netflix by flukus on Thursday March 23, 2017 @06:16AM (#13938550)
But how does that remain a secret when the browser can MitM everything between the CPU and the web?
Re:Update on HTML5 Video for Netflix by bubblethink on Thursday March 23, 2017 @05:36PM (#13944592)
There is a hardware-based secret which emulators cannot obtain or fake. That breaks the attestation chain. At the heart of it, there is some stuff that only your processor can do and not you the user even though you may have full control over the operating system. The OS is in SGX's threat model.
Re:Update on HTML5 Video for Netflix by ReverseCold on Thursday March 23, 2017 @10:07PM (#13946000)
Oh, apparently I don't. Still though, it should be 100% possible to circumvent it given that it's playing on the device.
Re:Update on HTML5 Video for Netflix by coldtea on Wednesday March 22, 2017 @07:19PM (#13935993)
>Someone can fork FF though and make it so that the DRM looks like it's there to the websites it visits, but it isn't really there.

No, they can't. The DRM will have to be there, or the content (as is from the website) wont play.

>There's no way DRM can't be removed if I own the device that can play it.

There are several ways (including recording the analog signal if it comes down to that). But not any way of "make it so that the DRM looks like it's there to the websites it visits, but it isn't really there"