Page 1 of 1

sooo, about this AACS uproar....

Posted: Tue May 01, 2007 4:38 pm
by [cc]z@nd!
so, it appears that DRM on movies is suffering another blow. someone's found quite a popular key used to encrypt a lot of recent HD-DVD movies (i'm not sure if it applys to Blu-Ray, though), and subsequently posted said key on the internet. after that, it just took off, and now that it's on the internet, it isn't coming off. here's the guy's story on how he found it in his own words:

(summary, he monitored changes in RAM when he inserted a movie, and eventually found the key stored there that keeps you from watching your movie where and how you want to)
arnezami wrote:Thanks you all . Its been a pleasure.

As I can understand some of you are interested in how I retrieved the Media and Processing Keys. I will tell what i did.

Most of the time I spend studying the AACS papers. A good understanding of how things worked have helped me greatly in knowing what to find in the first place (and how to recognize something). I may write an explanation of (my understanding) of how AACS works in particular the subset-difference technique (which is by far the hardest to understand) at a later date if you guys want to.

But anyway. Since the moment I found the Volume ID (which was much simpler than I had thought) my thought was to try to find the Media Key. But after some discussion I thought it might be better to go directly for the Device Keys (bad mistake). After looking at files created and changed by software player and trying to recognize Device Keys in memory dumps I was starting to get worried a bit. I wasn't making any progress.

So I went back to my original idea: do a bottom-up approach. So first I tried to find the Media Key. One of the logical things to do even before that was to search for the Verify Media Key Record in memory. But it wasn't there. I then started to work on a little proggy that would scan a memdump and see everything as a Media Key: thus trying to verify it with the Verify Media Key Record. No luck.

This was frustrating: all kinds of information was in the memdump but not the Media Key (I sort of assumed/hoped it would). I made several memdumps at different moments but nada, nothing. After throwing it all away I remembered I still had a "corrupt" memdump from WinHex (it failed to finish it because WinHex said the memory had changed). It was really small compared to the others so I didn't have much hope. But when running it with my proggy: voila! I found it. Which finally gave me hope I was going in the right direction.

There were just two major problems left: how do you detect the Processing Key and if its not in memory how do you find it at all? Well since I now knew how things worked I knew the Processing Key had to be combined with a C-value to produce the Media Key. The problem was there are 513 C-values in the MKB! Searching the memory (several megabytes) for a Processing Key and assuming just one C-value would take minutes (if not hours depending on the size of the dump). So doing them all would take very long. And that while I didn't even know for sure there was a Processing Key in memory to begin with. I made a proggy that did this but using my favorite "corrupt" memdump I didn't find any Processing Key in the first megabyte (not for any C-value). It didn't look good.

But then I realized why I first didn't find the Media Key: it was removed from memory after the Volume ID was retrieved and the VUK calculated. I also saw that in my "corrupt" memdump the VUK, Vol ID, Media Key and the Title Key MAC were all closely clustered in memory: in the first 50kb (of the entire multi megabyte file!) but there were large empty parts around it. Almost as if it was cleaned up.

This gave me an idea: what I wanted to do is "record" all changes in this part of memory during startup of the movie. Hopefully I would catch something insteresting. In the end I did something a little more effiecient: I used the hd dvd vuk extractor (thanks ape!) and adapted it to slow down the software player (while scanning its memory continously) and at the very moment the Media Key (which I now knew: my bottom-up approach really paid off here) was detected it halted the player. I then made a memdump with WinHex. I now had the feeling I had something.

And I did. Not suprisingly the very first C-value was a hit. I then checked if everyting was correct, asked for confirmation and here we are.

Hope you enjoyed the ride. I'm thinking about a concept of proof proggy which does all the steps (from Processing Key to C-value to Media Key to Volume ID to VUK). It would require a Volume ID as input (which might be retrieved/guessed in another program or extension whatever). But the most important part is done: we have a Processing Key.

I'm also thinking about doing a full explanation of the AACS protection system (or at least the subset-difference technique). But only if there is any demand for it .

Regards,

arnezami

PS. For the keen observer: I'm not telling which player I used (well you can guess but you might guess wrong) to retrieve the Processing Key because I don't want to give the AACS LA any extra legal ammunition against any player company. Nothing was hacked, cracked or even reverse engineered btw: I only had to watch the "show" in my own memory. No debugger was used, no binaries changed.

so, now that this key is found, i'd assume it would be a much more trivial task to find different keys afterwards, meaning that you get to do what you want with the product you bought. anyways, i've still got some reading to do on this. i don't know a lot, but from what i can tell, it's basically taken a big step towards freeing movies on HD-DVD. personally, i think it's good because when DRM is used to enforce the usage of a movie/song, it just causes frustration and, essentialy, rips you off.

Posted: Tue May 01, 2007 5:23 pm
by Haxxzor1
Can you 'Bottom Line' this?
lol

I don't understand..

If it could be explained to me in as few words as possible, but still making sense, that would be great!
:]

Posted: Tue May 01, 2007 5:24 pm
by TomClancey
Well the topic is so complex I doubt it could be summed up in a few words.

Posted: Tue May 01, 2007 5:37 pm
by [cc]z@nd!
i'll try anyways:

DRM is digital rights management. it's meant to keep media (movies and music) from being pirated, but doesn't do that, and instead just makes the file it controls harder to deal with. for example, DRM can be used to break a song after it's played 3 times, or keep it from being put on an ipod.

what happened here is that a key used by DRM on HD-DVD movies to encrypt them has been found, meaning that any movies released using that key can now be cracked and pirated.

really, this is more of a victory against DRM than anything, because it shows how useless DRM is in doing what it's designed to; keep things from being pirated. what happens is eventually the copyright protection scheme is hacked, and the movie/song is then easy to pirate for the pirates, but hard to use for normal consumers.


i've had a bad experience with this. my mom downloaded a bunch of music in iTunes, then asked me to come put it on her mp3 player (a sandisk m230). nomatter what i tried, the music wouldn't let itself be put on a non-apple device, and in the end, we ended up with a bunch of music we could never play again, and didn't accomplish anything at all.

Posted: Tue May 01, 2007 5:48 pm
by Altimit01
Funny thing, Steve Jobs doesn't like DRM either. link

All in all, DRM really is a losing scheme. One could say the same about proprietary standards *coughdirectxcough* and several other digital capital schemes.

Posted: Tue May 01, 2007 5:49 pm
by shadowkhas
[cc]z@nd! wrote:i've had a bad experience with this. my mom downloaded a bunch of music in iTunes, then asked me to come put it on her mp3 player (a sandisk m230). nomatter what i tried, the music wouldn't let itself be put on a non-apple device, and in the end, we ended up with a bunch of music we could never play again, and didn't accomplish anything at all.
Why in God's name would you use iTunes unless you have an iPod? I guess you could wait for the DRM-free tracks that are inevitably coming (and at higher bitrates), but right now it's horrid if you have any other mp3 player.

EDIT: Altimit beat me with the Apple/DRM issue. :P

Posted: Tue May 01, 2007 6:17 pm
by DWells55
I don't understand what people have against iTunes - it's fantastic jukebox software.

Posted: Tue May 01, 2007 6:25 pm
by destroyer69
Its pretty limited to only iPods and any other Apple products.

Posted: Tue May 01, 2007 6:33 pm
by Veegie
Altimit01 wrote:Funny thing, Steve Jobs doesn't like DRM either. link

All in all, DRM really is a losing scheme. One could say the same about proprietary standards *coughdirectxcough* and several other digital capital schemes.
Yes, DirectX is a losing scheme.
You're right.

Posted: Tue May 01, 2007 6:46 pm
by shadowkhas
DWells55 wrote:I don't understand what people have against iTunes - it's fantastic jukebox software.
I don't have anything against iTunes. It's much more organized than WinAmp or WMP (the times I've tried both). I just don't like the music store, since it's still a lock-in to iPods.

Posted: Tue May 01, 2007 7:03 pm
by [cc]z@nd!
personaly, i like how itunes automaticaly updates your ipod when you plug it in, nice and minimal.

but with DRM and the RIAA, it's only a matter of time until the music industry dies. I'd say the movie industry is better off, though, because movies are hard to make, so they'll just do what they want and whatever nonsensical protection schemes they think up will be broken in a few months. that's why pirated movies/music is so attractive, you can play it on anything you want (as long as it supports that filetype) and it works like those industries used to years ago. for example, if you bought a record, there wasn't any way to keep you from playing it on a certrain brand of record player, and no real reason to.

Posted: Wed May 02, 2007 6:19 am
by Snave

Posted: Wed May 02, 2007 6:54 am
by rossmum
Goes to show how amazingly ineffective DRM is. Utterly useless and monopolising concept, and like all anti-piracy measures before it, broken relatively quickly.

They just don't get it, do they? No matter what you do, there'll always be some bright spark out there who can and will trash your anti-piracy measures in the name of digital freedom. Even if they could stop people posting stuff like this on the internet, they then have to try and deal with people burning off dozens of copies of CDs for friends, and clearly there's really not much hope of stopping that.

A lot of people still buy the product, I'd imagine more than enough to keep the companies afloat. If anything, people spreading a song or two off an album or a part of a movie helps them get publicity and even more legal purchases down the track. People spreading the whole thing... it's to be expected, and there really isn't a lot that can be done about it. I buy movies and occasionally music, but about 95% of my music collection came from friends via copied CDs, and I expect the same's true for a lot of people.

Also, I really need to stop posting in the early hours of the morning. My ability to make coherent posts really takes a dive :|

Posted: Wed May 02, 2007 8:26 am
by Geo

Posted: Wed May 02, 2007 1:21 pm
by [cc]z@nd!
oh, and it seems the digg battle against censorship has been won.

since the key was found and people started mentioning it on digg, the digg admins started deleting those links and discussions (although digg is supposedly about user-submit content. i don't think so now.) because digg was getting ad dollars from HD-DVD companies. now, though, they stopped so they can keep their community, and stories about the key are up now.

oh, and here's the number in case anyone's curious:

Code: Select all

09 F9 11 02 9D 74 E3 5B D8 41 56 C5 63 56 88 C0
what else is happening is that places that have the number mentioned have been sent DMCA takedown notices for copyright infringement. of course, it's all empty promises, though. I seem to remember the fact that you can't copyright a number (like, 2 for example).

Posted: Wed May 02, 2007 4:57 pm
by JK-47
So...?