189 points · by throwawaybutwhy · 5y ago · 128 comments
> In the end, I only extracted about half of the RSA key.
Not a cryptographer, but i thought half the rsa key was all you needed with coopersmith's attack.
Looking at this page https://www.cryptologie.net/article/222/implementation-of-co... it looks like the exponent isn't even an input to the algorithm when doing key recovery
Not that I think that this is morally wrong, just that I've always been concerned that people who try this and gain enough attention could face legal penalties. I would not do something like this without taking measures to stay anonymous. A similar case is the PS3 hacking case.
The idea itself is nice; I get the point. If I'm a studio I want people to pay for the product. DRM doesn't encourage people do that at all. It's like the idea of media blackouts in local markets: you're just driving people to alternative sources, not to buy a cable package.
But, apparently not Widevine and not the kind of HN reader who wrote the article. They spent weeks trying to extract the key and failed. The article is a story of their failure.
Although the real answer is probably: studios require it in their contracts and netflix has to play nice.
That would happen with or without DRM.
A good enough DRM system does not have to be 100% unbeatable all the time. It's sufficient to:
a. Delay a hacked release until after most of the sales have already occurred. This is very often the case with successful game DRM. A crack after six months is irrelevant because virtually all the sales are in the first month or so. A crack that comes out after everyone with interest has already ponied up doesn't matter much, and in fact an unbeatable DRM that never gets cracked would suggest misallocation of resources!
b. Focus cracks on a handful of specialists who can then be investigated and potentially prosecuted or bought out. A DRM so easy 100,000 people can crack it is very different to a DRM that only 5 people have cracks for and where they keep their cracks private. The latter becomes amenable to non-technical approaches. Again, an unbeatable DRM would probably represent a waste of effort.
There are quite a few DRM schemes that have achieved this level of good-enough success which is why despite decades of people railing against it in online forums such as this one, it sticks around regardless.
It’s also why HDCP exists to prevent capture from HDMI etc.
>It is my honest opinion that DRM is a malignant tumor growing upon various forms of media, and that people that either implement or enforce implementation are morally repugnant and do no good to society. With that in mind, I was sad to learn in May 2021 that the original extension would soon be rendered obsolete.
I really can't agree more. I don't use, and never have, services that require DRM. I buy my games from gog.com and itch.io and the like, get media from free-to-air television and state broadcasters, and buy music either from the artist or from good and reputable music labels like hyperion.co.uk. I buy books in a dead-tree form, or as DRM-free PDFs. I will simply not buy, use, or support DRM and I occasionally tell firms that I am not giving them business because of their inane corporate decisions.
This might seem like a hard rant, but all of these binary blobs can be broken with varying degree of difficulty -- as this person's work shows -- because DRM is fundamentally pointless. It's such a waste of human endeavor! Think how many CPU cycles are burnt doing this! Estimate what the total cost of HDCP + Widevine + DRM etc is on the planet! It is pointless, insulting, and frustrating!
</rant>.
I dunno, it gave this person a lot of trouble and the result is maybe a very narrow victory that doesn't practically matter? And this is the lowest level of widevine security - L3 which is basically assumed to be owned. Good luck with L1 which uses trusted compute primitives. DRM has won.
And I'm saying this as someone who agrees DRM is a threat to society as we're taking things that the world could otherwise have for free and denying it them so we can instead charge a small % for it. So we're intelligent enough to build this kind of technical sophistication but we are unable/unwilling to figure out a different model for financing it.
Fundamentally, you are going to show a video and play an audio stream. Fundamentally, it can be recaptured perfectly because it must be displayed and played perfectly. There is simply no way around it. DRM can only make life hard for the regular Joes.
Ultimately I’ve come to believe that DRM and it’s cousin of system security is an economic game. So DRM useless in that it will probably be cracked after some time, but that time can translate to revenues or control until that point. It depends on how much money you have to throw at either hardening and cracking systems. It’ll likely become harder (i.e. more expensive) in the future to crack hardware DRM in the future as the technology becomes more sophisticated and classes of vulnerability are discovered and mitigated. But then the cracks become more valuable both for anti-DRM or anti-security.
1: https://raelize.com/blog/espressif-systems-esp32-bypassing-s...
But someone needs to pay to create those things in the first place. Payment for work after the fact is the basic incentive.
People are against DRM not because they don't want to pay for content, but because they want to be able to play the content they pay for. And not in breach of the license they have been sold.
I have every interest in participating in the content market and paying people to make content. I have no interest in having to buy special proprietary hardware or run special proprietary code on my computer just to do it.
Are we? Where are the studios making feature-length movie-quality content and putting it on YouTube to be supported by ad money? There isn't even an equivalent to TV in that form factor. All of the new content that requires any sort of production budget (actor salaries, non-trivial special effects) is on platforms with subscription fees and DRM to require those subscription fees because we can't have these things for free.
Seriously though, those of us who don’t like DRM need to switch messaging from “It’s bad AND it’s pointless/useless!” to “It’s bad!” The “it’s pointless” part has clearly been interpreted as a challenge, and now we’ve got incredibly invasive junk creeping in at all levels of hardware and software, and it’s not actually inconveniencing everyday consumers that much (hackers and powerusers are a different story), and it’s working better all the time.
I’m not sure exactly how to make this argument these days, but smugly saying “DRM will always be pointless in the end!” isn’t actually true, and I feel like we need to focus on the fact that the measures being taken to make it not pointless are impinging on both user privacy and the ability of open ecosystems (like Linux distros and more open hardware) to be useful for everyday media playback.
The only way to stop this is to abolish copyright.
The only way to enforce copyright in the 21st century is to destroy computing freedom. I'd rather sacrifice the entire copyright industry than have computers that only run software they approve.
Does that sum it up?
You could play single-player, or reverse engineer it and try to create a private server and modified client to play with others who choose to use the same modified client, but unless the implementation is unusually poor, the "DRM" is pretty much unavoidable if you want to play on the official servers.
Prevent screenshots, prevent skipping ads, prevent recording (remember VHS recorders?), enforce region locking.. so many legal activities can be effectively made illegal, since manufacturers cannot both support DRM, and offer these options.
I think that this ease of circumventing DRM is actually an indirect, but major, reason why movie theaters will never really go away. Online streaming new movie releases is great for direct-to-consumer business, but it comes with the risk of losing control of your distribution due to ease of piracy. Why would a frugal person pay $30 for "premier access" to a new movie on Disney+ when they can just go to Pirate Bay and torrent a perfect-quality rip for free? It's much easier to keep AMC Theatres in line than a global network of average Joes.
For content distributors DRM is still worth in because of the power it gives them in dictating how the content can be viewed. They can demand hardware manufacturers to give them prominent placement, or be blocked. They can sell the same content over and over again for every screen type and platform individually, with rules and prices at maximum each will bear. They can set their own rules, instead of relying on general provisions of the copyright law.
We're not (yet) at the point where actual content keys are rotated frequently, because that sounds like a lot of effort though technologies exist for this already, they're just not in widespread use.
Yes, but so far no big Netflix-like website did it. It's a credible guess that all encrypted L1 content long been downloaded, and is just waiting decryption (NF used to use HTTP to serve encrypted files in the open, without any API wall some years ago)
This is only about key management.
Very likely it's not the Shield now which leaks L1, but an actual key recovery because they get the stream even before it gets watermarked in the secure domain.
My guess, it's Qualcomm's debugging TZ applets. They cannot really revoke keys because they will take down a giant amount of Snapdragon based handsets for which manufacturers don't bother to put a single OTA.
This is also likely why Netflix uses such a silly restrictions as refusing to run on old Android version numbers on some Snapdragon handsets, which are easily root bypassable.
Not really. Popular streaming-exclusive shows often get 1080p versions released within a few hours, and the 2160p versions released within a few days.
No idea what encryption Amazon use, but suffice to say it is thoroughly broken by someone out there. Given the expense of acquiring those presenters and the production costs of their shows, and how they bring people to the Prime video platform, I suspect Amazon is reasonably interested in keeping that content protected.
When this was done in software, I understand that open source decoders could have been modified to pipe the clear stream to disk, but now the software basically just hands the encrypted blob to a "trusted" hardware decoder.
Or am I missing something?
edit: DRM library still doesn't get to "fully FLOSSed"
Last time I checked (a few months ago) they didn't even support Chrome (either Windows or Mac) for UHD, they required Safari, Edge or their own Windows app.
My understanding was that there was some kind of compositing going on, in hardware, where the display server would tell the GPU to display the output between some coordinates, but the server itself wouldn't know what the actual output would be.
Here is the libva documentation which seems to support this: http://intel.github.io/libva/group__api__prot.html