Welcome to Doom9's Forum, THE in-place to be for everyone interested in DVD conversion.

Before you start posting please read the forum rules. By posting to this forum you agree to abide by the rules.

Domains: forum.doom9.org / forum.doom9.net / forum.doom9.se

 

Go Back   Doom9's Forum > General > Decrypting
Register FAQ Today's Posts Search

Reply
 
Thread Tools Search this Thread
Old 5th February 2007, 10:31   #1  |  Link
arnezami
Registered User
 
Join Date: Sep 2006
Posts: 390
Processing Key, Media Key and Volume ID found!!!

Wooow!

I think I just found the Volume ID of King Kong.

But I'm shocked! It doesn't appear to be anywhere near random as I expected it to be!! This could mean (just maybe) its guessable/computable...

If so then if we find the Media Key** we wouldn't have to use WinDVD to grab keys anymore . And the Media Key doesn't tell the AACS LA which software player was hacked so... This could also be the reason why AnyDVD supposedly can decrypt without the need for grabbing keys from WinDVD's memory which puzzled be deeply.

I don't want to get ahead of things but if this is true this could be very deadly for AACS. I wonder if this is due to some technical limitation. I will tell more later. Have to go to work now .

Oh yeah here it is:

Code:
    00000000: 00 22 00 00 40 00 09 18 20 06 08 41 00 20 20 20
    00000010: 20 20 00 00 xx xx xx xx xx xx xx xx xx xx xx xx
    00000020: xx xx xx xx
Look at Section: 4.10.3.1 Volume Identifier in Introduction and Common Cryptographic Elements for more details.

Regards,

arnezami

PS. For some reason (even though i'm pretty sure this is the volumeid) I just can't believe it. But it really seems like the id is split in two parts of 64 bit: one part only 00's and 20's while the other part is a little more "random" (which to some degree would make sense seeing its also split in half on the disc).

** Later in this thread it became clear we need a Processing Key. But it amounts to basicly the same thing.

Update: The Media Key of King Kong has been found now .
Update 2: The Processing Key has been found too .

Last edited by arnezami; 11th February 2007 at 15:40.
arnezami is offline   Reply With Quote
Old 5th February 2007, 11:35   #2  |  Link
evdberg
Registered User
 
Join Date: Dec 2006
Posts: 202
According to section 2.3.3 of "HD DVD and DVD Pre-recorded Book" the above might indeed be the Volume ID.

struct VolumeID {
uchar MediaType; // 0x40
uchar Reserved;
uchar UniqueNumber[12];
uchar Reserved[2];
};

Reserved fields are always filled with 0x00.

You are also right about the ID split in 2 parts. One half is stored in the BCA (Burst Cutting Area) and the other half in the Control Data Zone (whatever that may be).

Last edited by evdberg; 5th February 2007 at 11:39.
evdberg is offline   Reply With Quote
Old 5th February 2007, 19:44   #3  |  Link
arnezami
Registered User
 
Join Date: Sep 2006
Posts: 390
Thanks evdberg. That confirms this is in fact the Volume ID.

Its incredible how not random this Volume ID is. I just figured out what these "unique" 6 bytes are:

Code:
09 18 20 06 08 41
Here is part of the entry in our volume key list:

Code:
King Kong      |V|09/18/06|
Yep its a date (09/18/2006) and time (08:41) of the production. Although its done very weird since the hex is interpreted as decimals. But most importantly the Volume ID is not just guessable its even predictable! Incredible.

What does this mean?

This means that (especially for future software player updates) there would be no need for anyone to do a memdump/debug or anything. Only once per Media Key Block Version does the Media Key have to be extracted by one person in the world. If this is released everyone can decrypt any disc!!

This is opposed to having to design a reliable and working keyfinder program for a new version of a software player which may not be possible. And that would mean that everyone who would want to retrieve a volume key would have to be pretty savvy (using a real debugger etc) and this would limit the amount and speed of volume key discovery.

What the above (date/time) essentially does is vaporize the whole Host and Drive revocation scheme. Have they gone mad? Even if they do use proper unique Volume IDs from now on it will still be possible (using a very simple USB software sniffer I used) for less savvy people to get Volume IDs. And having Volume ID + Media Key equals to Volume Unique Keys . And the beauty is that a released Media Key doesn't reveal the (software) player that has been compromised.

To confirm the above it would be nice if we had some more Volume IDs. Maybe this date/time thing is only done by one distributer or something. Don't know. We have to figure it out. Since I only have one movie others would have to extract the Volume ID.

Finding the Volume ID

How did I find the Volume ID?

There are essentially two ways (now). I used the USB sniffer (with the xbox 360 HD DVD) because I knew I didn't have to bother with the (possibly obscured/wiped) memory of the software player.
  1. Download USB sniffer 1.8 then unzip and start it.
  2. Select the "USB Mass Storage Device" (I use the xbox 360 HD DVD drive) and click install.
  3. Unplug the HD DVD drive (the usb cable) and replug it again. It will be recognized by windows and the sniffer starts logging.
  4. Insert the Disc into the drive while the sniffer is.. well sniffing. Then start WinDVD and immediatly quit when the video (even the first black screen) starts. Then click 'Close' on the sniffer.
  5. You now have a huge log file (60+ MB or something). Open it in WinHex (pressing F7 for ascii only) and search for the ascii string (not hex search!) "00000000: 00 22 00 00" including the spaces (but excluding the quotes of course ).
  6. There was only one occurence of this in the whole file. So it has to be the Volume ID. Tata!

Btw: I used WinDVD but the above should also work for other players.

A different method (but less reliable I think) is to use WinDVD's memdump.
  1. Open WinDVD's memdump in WinHex
  2. Hex search (with WinHex) for 002200004000 or alternatively 0020202020200000. **
  3. There you will (usally) find the Volume ID. But I'm not sure this will always work. There may be more than one occurance. You can check if the last 16 bytes (of the 36 beginning with 0022) are random since that would have to be the MAC. If its not random you haven't found it yet so you should go on searching until you do.

I'm going to try to extract the media key. I have no idea how difficult that will be (if at all). But if we have that we could make a program that decrypts all discs without needing any keys (apart from the one media key).

I hope we can find at least a few Volume IDs. If you retrieve one please also check the creation dates of the files/dirs on the disc and post it aswell.

Greetz,

arnezami

PS. Almost forgot: make sure you remove the last 16 bytes from the Volume ID log (which is the MAC) like I did in my first post. This is because in theory they might be able to track down your drive with that part... (you don't want that). The Volume ID itself is for everybody the same (with the same movie) so that won't reveal anything about yourself .

** See this post for more Blu-Ray instructions.

Last edited by arnezami; 10th February 2007 at 09:44.
arnezami is offline   Reply With Quote
Old 5th February 2007, 20:01   #4  |  Link
hajj_3
Registered User
 
Join Date: Mar 2004
Posts: 1,288
if this works this is freaking amazing, that was the only bad part, having to use a player to find the key in memory, wondered how long it would take someone to find it.

get cracking guys!
hajj_3 is offline   Reply With Quote
Old 5th February 2007, 20:09   #5  |  Link
evdberg
Registered User
 
Join Date: Dec 2006
Posts: 202
Sorry for sounding a bit ignorant, but how does the Volume ID and MKB lead to the Volume Unique Key?
evdberg is offline   Reply With Quote
Old 5th February 2007, 20:21   #6  |  Link
noclip
Registered User
 
Join Date: Dec 2006
Posts: 154
Manchurian Candidate Volume ID: 0531200601130020202020200000

Last edited by noclip; 5th February 2007 at 20:46. Reason: right
noclip is offline   Reply With Quote
Old 5th February 2007, 20:35   #7  |  Link
Ishan
Anime Vampire
 
Ishan's Avatar
 
Join Date: Nov 2002
Location: Earth, Solar system, Milky way, Universe.
Posts: 126
Nevermind ^_^

Last edited by Ishan; 5th February 2007 at 21:18.
Ishan is offline   Reply With Quote
Old 5th February 2007, 20:42   #8  |  Link
arnezami
Registered User
 
Join Date: Sep 2006
Posts: 390
Quote:
Originally Posted by evdberg View Post
Sorry for sounding a bit ignorant, but how does the Volume ID and MKB lead to the Volume Unique Key?
I'm sorry for not explaining. The Media Key is a key resulting from the MKB (Media Key Block) and the Device keys. When combined with the Volume ID it gives the Volume Unique key.

Here is the part from the Pre-recorded Video Book section 3.3:

Quote:
2. Calculate the Volume Unique Key (Kvu):
The licensed replicator chooses a Volume ID (IDv) to be placed on the pre-recorded media and calculates a
Volume Unique Key (Kvu) as follows:
Kvu = AES-G(Km, IDv)
where AES-G represents the AES-based one-way function defined in the Introduction and Common
Cryptographic Elements book.
That basicly means that having a Volume ID (IDv) and a Media Key (Km) you can calculate the Volume Unique Key (Kvu).

Or to illustrate it (I removed the currently unused parts):



The red part is the hard part: getting the Media Key** (usually from a software player by debugging/memory snooping). But this only has to be done once per MKB and can be done by a pro.

The yellow part is what I described above: we either can (nearly) predict the Volume ID or we can get it via simple USB sniffing (the software player can't do much about that apart from bus encryption which is not implemented yet).

The blue part is the easiest: if we have the Volume ID (also called IDv) and the Media Key (Km) we can calculate the Volume Unique Key (Kvu) and then the Title Keys (Kt). This of course enables us to decrypt the content itself.

Hope that clarifies a bit.

Regards,

arnezami

** Later in this thread it became clear we need a Processing Key. But it amounts to basicly the same thing.

Last edited by arnezami; 11th February 2007 at 15:40.
arnezami is offline   Reply With Quote
Old 5th February 2007, 20:55   #9  |  Link
noclip
Registered User
 
Join Date: Dec 2006
Posts: 154
We can get the media keys now the same way muslix got the VUKs. We get a memory dump, take the first 16 bytes and the volume ID to decrypt, and see if the result is the VUK. If not, increment the offset by 1 and try again, it should be a very quick attack.
noclip is offline   Reply With Quote
Old 5th February 2007, 21:16   #10  |  Link
arnezami
Registered User
 
Join Date: Sep 2006
Posts: 390
Quote:
Originally Posted by noclip View Post
We can get the media keys now the same way muslix got the VUKs. We get a memory dump, take the first 16 bytes and the volume ID to decrypt, and see if the result is the VUK. If not, increment the offset by 1 and try again, it should be a very quick attack.
Yes exactly. Or we can even use the Verify Media Key Record (3.2.5.4 in common aacs specs) on the disc. So we have two choices there. Feel free to try (I'm currently quite busy so I expect somebody else who is better at this to beat me to it ).

So far every key (title/volume key/volume id) has been in WinDVD's memory so I don't see why the Media Key wouldn't be in it...
arnezami is offline   Reply With Quote
Old 5th February 2007, 21:19   #11  |  Link
evdberg
Registered User
 
Join Date: Dec 2006
Posts: 202
OK, I already wondered that I missed something, because I was sure we also need a device key. But if I am correct, PowerDVD keeps its device keys (although in encrypted form) in a file (001.fcl) ...

Last edited by evdberg; 5th February 2007 at 21:23.
evdberg is offline   Reply With Quote
Old 5th February 2007, 21:36   #12  |  Link
noclip
Registered User
 
Join Date: Dec 2006
Posts: 154
Quote:
Originally Posted by evdberg View Post
OK, I already wondered that I missed something, because I was sure we also need a device key. But if I am correct, PowerDVD keeps its device keys (although in encrypted form) in a file (001.fcl) ...
Who needs 'em? The only reason we would want a device key would be to decrypt the media key, which itself is already in memory.
noclip is offline   Reply With Quote
Old 5th February 2007, 22:06   #13  |  Link
evdberg
Registered User
 
Join Date: Dec 2006
Posts: 202
Reading the media key from memory is not really useful: in that case you can better grab the volume unique key as we do now ... the whole point of this exercise is that we want a method for decrypting without reading program memory, because this will most likely get harder in the future.
evdberg is offline   Reply With Quote
Old 5th February 2007, 22:08   #14  |  Link
noclip
Registered User
 
Join Date: Dec 2006
Posts: 154
You're missing the point. With the media key we can decrypt all disks released so far.
noclip is offline   Reply With Quote
Old 5th February 2007, 22:10   #15  |  Link
evdberg
Registered User
 
Join Date: Dec 2006
Posts: 202
Quote:
Originally Posted by noclip View Post
You're missing the point. With the media key we can decrypt all disks released so far.
You are wrong. Please look at the above schematic. The media key is the result (decrypting?) of the MKB and the device key.
evdberg is offline   Reply With Quote
Old 5th February 2007, 22:19   #16  |  Link
noclip
Registered User
 
Join Date: Dec 2006
Posts: 154
Quote:
Originally Posted by evdberg View Post
You are wrong. Please look at the above schematic. The media key is the result (decrypting?) of the MKB and the device key.
The device key decrypts the media key block to yield the media key. All the disks released so far use the same version of the media key block, thus the same media key.
noclip is offline   Reply With Quote
Old 5th February 2007, 22:28   #17  |  Link
arnezami
Registered User
 
Join Date: Sep 2006
Posts: 390
Quote:
Originally Posted by evdberg View Post
Reading the media key from memory is not really useful: in that case you can better grab the volume unique key as we do now ... the whole point of this exercise is that we want a method for decrypting without reading program memory, because this will most likely get harder in the future.
The point I am trying to make is that it should only be hard for one (or a few) people while it should be easy for many. Only that way will you get people to keep gathering volume unique keys. That means getting some crucial information (like the Media Key or even harder: an appropiate device key from a player's set of device keys) that can be used to decrypt discs. These discs also need specific information for decryption (the Volume ID) which can be obtained from outside the software player (by sniffing) thus making it impossible for the software player to make it harder and thus easier for the average Joes (who probably have many more movies than a few gurus have).

I do however (in principle) agree with you that it is not better (or worse) to go for the media in the memory of a player instead of the device keys. However its right now probably easier to retrieve the media key from memory than it is to extract a Device key (although technically we only need a process key but thats a different matter).

Btw I believe we should never (keep) releasing Device Keys. Its much better to release Media Keys. Unless somehow one version of an MKB can have multiple Media Keys (and as far as I understand that is not the "rule").

Last edited by arnezami; 6th February 2007 at 08:15.
arnezami is offline   Reply With Quote
Old 5th February 2007, 22:33   #18  |  Link
noclip
Registered User
 
Join Date: Dec 2006
Posts: 154
Quote:
Originally Posted by arnezami View Post
The point I am trying to make is that it should only be hard for one (or a few) people while it should be easy for many. Only that way will you get people to keep gather volume unique keys. That means getting some crucial information (like the Media Key or even harder: an appropiate device key from a player's set of device keys) that can be used to decrypt discs. These discs also need specific information for decryption (the Volume ID) which can be obtained from outside the software player (by sniffing) thus making it impossible for the software player to make it harder and thus easier for the common Joes (who probably have many more movies than a few gurus have).

I do however (in principle) agree with you that it is not better (or worse) to go for the media in the memory of a player instead of the device keys. However its right now probably easier to retrieve the media key from memory than its is to extract a Device key (technically we only need a process key but thats a different matter.

Btw we should never (keep) releasing Device Keys. Its much better to release Media Keys. Unless somehow one version of an MKB can have multiple Media Keys (and as far as I understand that not the "rule").
To go after a device key with known plaintext you must first have a known plaintext (the media key). We should focus on working our way up the chain of command from Volume to Media to Device to possibly (but unlikely) Root key.

Last edited by noclip; 5th February 2007 at 22:38.
noclip is offline   Reply With Quote
Old 5th February 2007, 22:38   #19  |  Link
madshi
Registered Developer
 
Join Date: Sep 2006
Posts: 5,015
What would stop studios from using a different media key for every disc?
madshi is offline   Reply With Quote
Old 5th February 2007, 22:42   #20  |  Link
noclip
Registered User
 
Join Date: Dec 2006
Posts: 154
Quote:
Originally Posted by madshi View Post
What would stop studios from using a different media key for every disc?
The logistics of revocation. Essentially, every time a revocation happens a new MKB is issued which can't be decrypted by the revoked devices.

They may be able to change the MKB so that all current device keys are still valid, but then they risk an easy attack on their root key, which will have them running for the hills.
noclip is offline   Reply With Quote
Old 5th February 2007, 22:43   #21  |  Link
madshi
Registered Developer
 
Join Date: Sep 2006
Posts: 5,015
Quote:
Originally Posted by noclip View Post
The logistics of revocation. Essentially, every time a revocation happens a new MKB is issued which can't be decrypted by the revoked devices.

They may be able to change the MKB so that all current device keys are still valid, but then they risk an easy attack on their root key, which will have them running for the hills.
Ah - thanks!
madshi is offline   Reply With Quote
Old 5th February 2007, 22:54   #22  |  Link
arnezami
Registered User
 
Join Date: Sep 2006
Posts: 390
Quote:
Originally Posted by noclip View Post
To go after a device key with known plaintext you must first have a known plaintext (the media key). We should focus on working our way up the chain of command from Volume to Media to Device to possibly (but unlikely) Root key.
Thats not entirely accurate. Although I agree its probably easier to go after the Media Key right now.

Why is it not entirely accurate? Well to let a known plaintext work it doesn't have to involve just one encryption step (you do not have to know the Media Key in advance). Lets say we have a disc containing a MKB. In that MKB is a verify media key record. In essense this means: if you think you have found the media key using one of many possible Device Keys (which you try one by one using the memory dump as seed) then you can check if its valid. So yes you can go for Device Keys directly. But its a lot harder I think (because of the way the subset difference algo works).

The future will tell whether its easier to go for Device Keys (and then for Media Keys) or for Media Keys directly.

Ok. Lets go for this Media Key shall we?

And more Volume IDs are helpful too .

Regards,

arnezami

PS. And I'm not talking about variant keys. Those a (little) harder still...

Last edited by arnezami; 6th February 2007 at 08:16.
arnezami is offline   Reply With Quote
Old 5th February 2007, 22:57   #23  |  Link
noclip
Registered User
 
Join Date: Dec 2006
Posts: 154
Quote:
Originally Posted by arnezami View Post
And I'm not even talking about variant keys. Thats a little harder still...
Why would we ever need to go anywhere near variant keys?
noclip is offline   Reply With Quote
Old 5th February 2007, 23:06   #24  |  Link
arnezami
Registered User
 
Join Date: Sep 2006
Posts: 390
Quote:
Originally Posted by noclip View Post
Why would we ever need to go anywhere near variant keys?
I was mostly referring to Volume and Media Variant Keys which you definitely need to decrypt all the content (otherwise you would miss like 1% or something and the video would basicly be broken at certain parts). This is the nastiest part of AACS in my opinion and I wonder when (and if) they will use it. Hopefully later than sooner.
arnezami is offline   Reply With Quote
Old 5th February 2007, 23:21   #25  |  Link
noclip
Registered User
 
Join Date: Dec 2006
Posts: 154
Quote:
Originally Posted by arnezami View Post
I was mostly referring to Volume and Media Variant Keys which you definitely need to decrypt all the content (otherwise you would miss like 1% or something and the video would basicly be broken at certain parts). This is the nastiest part of AACS in my opinion and I wonder when (and if) they will use it. Hopefully later than sooner.
I thought the variant keys were used so that AACS-LA could track down which device had been compromised, from small differences introduced into the video and audio streams.
noclip is offline   Reply With Quote
Old 5th February 2007, 23:27   #26  |  Link
evdberg
Registered User
 
Join Date: Dec 2006
Posts: 202
Quote:
Originally Posted by noclip View Post
The device key decrypts the media key block to yield the media key. All the disks released so far use the same version of the media key block, thus the same media key.
I just compared the MKBs of 2 disks and they are different. What makes you think they are all the same?
evdberg is offline   Reply With Quote
Old 5th February 2007, 23:51   #27  |  Link
arnezami
Registered User
 
Join Date: Sep 2006
Posts: 390
Quote:
Originally Posted by evdberg View Post
I just compared the MKBs of 2 disks and they are different. What makes you think they are all the same?
Assuming thats the case we would indeed need Device Keys (well technically a Process Key would suffice and may be easier to obtain).

But the idea that one difficult to obtain key (in this case a Device/Process Key) would make it possible to decrypt discs using easier to obtain Volume IDs (or even guessable/computable). Therefore making a fairly independent decrypter (not needing too much updates) possible.
arnezami is offline   Reply With Quote
Old 5th February 2007, 23:58   #28  |  Link
evdberg
Registered User
 
Join Date: Dec 2006
Posts: 202
A Process Key? Are you making that one up? As I said before, we need a device key to use the - easy to obtain - Volume ID. For the time being grabbing the VUK is the easiest in many ways ...
evdberg is offline   Reply With Quote
Old 6th February 2007, 00:26   #29  |  Link
arnezami
Registered User
 
Join Date: Sep 2006
Posts: 390
Quote:
Originally Posted by evdberg View Post
A Process Key? Are you making that one up? As I said before, we need a device key to use the - easy to obtain - Volume ID. For the time being grabbing the VUK is the easiest in many ways ...
Well its called a Processing Key (if you want to split hairs).

Anyway. Here is the quote from AACS common specs dealing with Processing Keys:

Quote:
Once the device has the correct Device Key D, it calculates a Processing Key K using AES-G3 as described
above. Using that Processing Key K and the appropriate 16 bytes of encrypted key data C, the device calculates
the 128-bit Media Key Km as follows:
Km = AES-128D(K, C) ⊕ (00000000000000000000000016 || uv)
The appropriate encrypted key data C is found in the Media Key Data Record in the Media Key Block.
The Processing Key (and a C value) results in the Media Key. Its generally wise not to reveal your Device Keys themselves (although the last Subsidiary Device Key or the resulting Processing key is least damaging because they won't be able to determine which exact stored Device Keys you have and thus cannot revoke at once) unless they already know/guessed which device (= eg WinDVD player) you got it from.

Anyway. I think we should start thinking about what happens in a few months or so. They will probably revoke the current version of WinDVD and possibly other software players (just to be safe). The questions is: How are non technical people without too much hacking/programming experience (but with lots of new movies) gonna retrieve keys?

I believe a higher order key (Processing/Subsidiary Device Key/Media Key) could be very helpful for them to extract volume keys (assuming the simple mem search used right now with WinDVD won't work anymore for them). I think we are not disagreeing on that part. And I agree its very easy now (even without higher order keys) because of WinDVD. But thats the only thing now that allows many people to get VUKs. But thats not gonna last.

I guess the thought behind all this is: lets prepare for what will happens next.

Let me be straight: I don't want to replace something that is clearly working (extracting VUKs) but I want to add something in the context of probable future events.

Regards,

arnezami

Last edited by arnezami; 6th February 2007 at 08:19.
arnezami is offline   Reply With Quote
Old 6th February 2007, 07:40   #30  |  Link
arnezami
Registered User
 
Join Date: Sep 2006
Posts: 390
Concerning the differences in the MKBROM.AACS files. I am wondering which parts of the MKBROM.AACS file differ from movie to movie (or from disc to disc?).

The most important part (for us here) is the Verify Media Key Record. In my MKBROM.AACS its at position 74h (just before the Copyright text):

Code:
00000070: xx xx xx xx 81 00 00 14  87 B8 A2 B7 C1 0B 9F AD 
00000080: F8 C4 36 1E 23 86 59 E5  xx xx xx xx xx xx xx xx
The bolded part is the actual Verification Data (for the Media Key).

I am now very curious if this part if different for other movies. Or if some movies have the same one. So if somebody could check. That would be great .

arnezami

PS. The start of the MKBROM file is probably the same for everyone: 10 00 00 0C 00 04 10 03 00 00 00 01. The last four bytes represent the version number.

Last edited by arnezami; 6th February 2007 at 08:14.
arnezami is offline   Reply With Quote
Old 6th February 2007, 08:33   #31  |  Link
jokin
Dwight Schrute's homeboy
 
Join Date: Jan 2007
Location: The Office
Posts: 136
Is this the right area?

Code:
00 00 00 00 00 00 00 00 00 22 00 00 40 00 04 06 32 04 20 11 57 47 48 44 56 4D 00 00 xx xx xx xx xx xx xx xx xx xx xx xx xx xx xx xx

Last edited by jokin; 6th February 2007 at 13:04.
jokin is offline   Reply With Quote
Old 6th February 2007, 10:07   #32  |  Link
arnezami
Registered User
 
Join Date: Sep 2006
Posts: 390
Code:
Lentgh Code: 00 22 00 00
  Volume ID: 40 00 04 06 32 04 20 11 57 47 48 44 56 4D 00 00 
        MAC: xx xx xx xx xx xx xx xx xx xx xx xx xx xx xx xx
Thats a Volume ID indeed. And the unique 12 bytes are much more random in this case (although the last six sort of look like ascii characters: assuming you got this from WinHex: how does it show up in the Ascii part of WinHex?). What movie/distributer is this from?

I still see structure. Maybe we can figure out what it stands for (like the date/time thing in my example).

arnezami

PS. Its best to remove the MAC bytes like I just did for your own protection.

Last edited by arnezami; 6th February 2007 at 22:30.
arnezami is offline   Reply With Quote
Old 6th February 2007, 10:47   #33  |  Link
evdberg
Registered User
 
Join Date: Dec 2006
Posts: 202
Quote:
The Processing Key (and a C value) results in the Media Key.
But to calculate the processing key you still need the device key(s) ... and that's my whole point.
evdberg is offline   Reply With Quote
Old 6th February 2007, 10:53   #34  |  Link
madshi
Registered Developer
 
Join Date: Sep 2006
Posts: 5,015
Quote:
Originally Posted by evdberg View Post
But to calculate the processing key you still need the device key(s) ... and that's my whole point.
As far as I understand it, if someone manages to get hold of a device key and posts it on the internet, the AACS guys will come and revocate this device key. But if you post a processing key on the internet, the AACS guys will not know from which device key this processing key was calculated, so they cannot revoke the device key.

In other words posting a processing key on the internet allows many people to decrypt their HD DVD discs without having to search for VUKs first. At the same time the device key is still secret and so cannot be revoked.

Did I get this right?
madshi is offline   Reply With Quote
Old 6th February 2007, 12:03   #35  |  Link
arnezami
Registered User
 
Join Date: Sep 2006
Posts: 390
Quote:
Originally Posted by evdberg View Post
But to calculate the processing key you still need the device key(s) ... and that's my whole point.
There are two ways to get Processing keys: using (1) Device Key(s) or (2) hacking them directly out of the software player. I'm not claiming you (or WinDVD) don't/doesn't need Device Keys to get the Media Key. The point is: you should only release the Processing Key or Last Sub Device key.

When I've got more time I may be able to explain this better. Personally I believe its much more likely we will only find one Device Key (while we should release a sub device key or processing key) when hacking a software player. But I can only explain that while also explaining the full subset difference algo.

arnezami
arnezami is offline   Reply With Quote
Old 6th February 2007, 12:06   #36  |  Link
evdberg
Registered User
 
Join Date: Dec 2006
Posts: 202
Quote:
Originally Posted by madshi View Post
In other words posting a processing key on the internet allows many people to decrypt their HD DVD discs without having to search for VUKs first. At the same time the device key is still secret and so cannot be revoked.

Did I get this right?
Yes, you got it right, although "discs" should be "disc" (single). The processing key will just like the VUK be different for every disks ... and the way you have to search for the processing key is the same as for the VUK, so why bother ?
evdberg is offline   Reply With Quote
Old 6th February 2007, 12:16   #37  |  Link
arnezami
Registered User
 
Join Date: Sep 2006
Posts: 390
Quote:
Originally Posted by evdberg View Post
Yes, you got it right, although "discs" should be "disc" (single). The processing key will just like the VUK be different for every disks ... and the way you have to search for the processing key is the same as for the VUK, so why bother ?
I will go into this later. When I have more time.

But what I'm really interested in the the difference you mentioned between the MKBs. Are the versions different? Are the Verify Media Key Records different? Or is it for example the Copyright text (eg 2006 changed into 2007) which causes the signature to be completely different and it may therefore look like a quite different MKB (while the Media is still the same). I just don't know. I only have one disc. Please help us out here .

arnezami

Last edited by arnezami; 6th February 2007 at 12:25.
arnezami is offline   Reply With Quote
Old 6th February 2007, 12:34   #38  |  Link
evdberg
Registered User
 
Join Date: Dec 2006
Posts: 202
I double checked the files at the location you showed in post #30 (0x78 to 0x88), and they are different for all movies (and different from your values).
evdberg is offline   Reply With Quote
Old 6th February 2007, 13:02   #39  |  Link
K40
Registered User
 
Join Date: Jan 2007
Posts: 57
In the MKBROM.AA.. of Serenity are these values:

00000070: xx xx xx xx 81 00 00 14 F0 5A D7 30 E4 1A DE 4E
00000080: B4 2A 11 61 0B DC C5 41 xx xx xx xx xx xx xx xx

If this is helping you i can post some more later
K40 is offline   Reply With Quote
Old 6th February 2007, 13:11   #40  |  Link
zeroprobe
Registered User
 
Join Date: Jan 2002
Posts: 155
Quote:
Originally Posted by evdberg View Post
The processing key will just like the VUK be different for every disks ...
disc not disks.
zeroprobe is offline   Reply With Quote
Old 6th February 2007, 13:12   #41  |  Link
jokin
Dwight Schrute's homeboy
 
Join Date: Jan 2007
Location: The Office
Posts: 136
Quote:
Originally Posted by arnezami View Post
Code:
Lentgh Code: 00 22 00 00
  Volume ID: 40 00 04 06 32 04 20 11 57 47 48 44 56 4D 00 00 
        MAC: xx xx xx xx xx xx xx xx xx xx xx xx xx xx xx xx
Thats a Volume ID indeed. And the unqiue 12 bytes are much more random in this case (although the last six sort of look like ascii characters: assuming you got this from WinHex: how does it show up in the Ascii part of WinHex?). What movie/distributer is this from?

I still see structure. Maybe we can figure out what it stands for (like the date/time thing in my example).

arnezami

PS. Its best to remove the MAC bytes like I just did for your own protection.
It is a memory dump I still had when I found the volume key for Apollo 13 from Universal studios.
Attached Images
File Type: jpg ss.jpg (28.1 KB, 10441 views)
jokin is offline   Reply With Quote
Old 6th February 2007, 13:52   #42  |  Link
evdberg
Registered User
 
Join Date: Dec 2006
Posts: 202
Quote:
Originally Posted by zeroprobe View Post
disc not disks.
You mean disk ... disc is UK, disk US ... and since Silicon Valley is in the US ... disk is used with computer related round objects, disc is used for other round objects ... curious enough the CD is Compact Disc, most likely because the CD was not related to computers when it was invented.

Last edited by evdberg; 6th February 2007 at 14:00.
evdberg is offline   Reply With Quote
Old 6th February 2007, 17:43   #43  |  Link
The_ByteMaster
(Trial period expired!)
 
Join Date: Jan 2007
Location: Halifax, NS, CANADA
Posts: 17
Quote:
Originally Posted by evdberg View Post
You mean disk ... disc is UK, disk US ... and since Silicon Valley is in the US ... disk is used with computer related round objects, disc is used for other round objects ... curious enough the CD is Compact Disc, most likely because the CD was not related to computers when it was invented.
OFFTOPIC
Actually "Disc" is in the definition, just like you said
CD = Compact Disc
DVD = Digital Versatile Disc

Usually, "The Queen's English" is used for these matters.

The trailing D's are defined to mean "Disc". That is why "backing up your compact disc to your hard disk" looks funny but is correct in U.S. english.
/OFFTOPIC

ONTOPIC
I think it's great when we can find another way in, aside from using the volume unique keys. You bet software players are going to be hardened against these kinds of attacks. Snooping keys off a USB bus combined with knowledge of a "secret" device key might be the only way to go 2 years from now. For now there's no reason not to use the volume unique keys, but you have to be prepared when AACS LA is taking it to the next level.
The_ByteMaster is offline   Reply With Quote
Old 6th February 2007, 19:47   #44  |  Link
arnezami
Registered User
 
Join Date: Sep 2006
Posts: 390
Quote:
Originally Posted by jokin View Post
Is this the right area?

Code:
00 00 22 00 00 40 00 04 06 32 04 20 11 57 47 48 44 56 4D 00 00
Does anybody have more Volume IDs of this form? Do you by any chance jokin?

In order to find a pattern or see what parts of the Volume IDs are different between different movies we need to have more Volume IDs. You can read the beginning of this thread to see how to extract Volume IDs. The more we have the better . Especially the one with no date/time (like the one from jokin). If we find a pattern we don't have to extract these Volume IDs anymore since we can then "guess" them (where "guessing" means: trying millions at a time using a computer). So even if we get a hint of a pattern that might be good enough.

Its also interesting to know that there are now two different versions.

First the ones with date/time in it:

- King Kong (USA) / 09-18-2006 / Universal studios / IME
- Manchurian Candidate (???) / 05-31-2006 / ??? / IME??

Then the one(s) with 6 ascii characters in it (and maybe two 24 bit numbers?) :

- Apollo 13 (???) / Universal studios / IME?? (ascii chars: WGHDVM - is this an Acronym?)

It would be good to have more of these (and there may be more groups) so we can maybe figure this out.

As for the different MKBs and Media Keys: I think its pretty clear that they are different on every disc. So we need to get a Processing Key (or sub Device keys) to be able to decrypt different discs**.

arnezami

** It can be proven whether or not one Processing Key can be used to decrypt every disc released so far: if the Explicit Subset-Difference Record is the same on every disc (I'm pretty sure it is) then the same Processing Key can be used. This Subset Record starts at position 0x0704 in my MKBROM.AACS file and the first 16 bytes are: 04000A1017000000011700800001. Please somebody check if its the same on at least two discs.

Last edited by arnezami; 6th February 2007 at 21:49.
arnezami is offline   Reply With Quote
Old 6th February 2007, 20:13   #45  |  Link
evdberg
Registered User
 
Join Date: Dec 2006
Posts: 202
You won't give up, won't you? But anyway, I checked 2 disks for you and guess what: the value starting at 0x704 is indeed the same! Please note that you only gave 14 bytes of data, but most likely the last 2 bytes are 1701.
I am not sure what you looking at. All I see is a repeating 5 bytes pattern in which the 2nd byte is increased by 1 every 2 patterns, and the 3rd byte is alternatively 0x00 and 0x80. It looks like counting 0, 0.5, 1, 1.5, 2, etc.

Last edited by evdberg; 6th February 2007 at 20:21.
evdberg is offline   Reply With Quote
Old 6th February 2007, 20:34   #46  |  Link
arnezami
Registered User
 
Join Date: Sep 2006
Posts: 390
Quote:
Originally Posted by evdberg View Post
You won't give up, won't you? But anyway, I checked 2 disks for you and guess what: the value starting at 0x704 is indeed the same! Please note that you only gave 14 bytes of data, but most likely the last 2 bytes are 1701.
I am not sure what you looking at. All I see is a repeating 5 bytes pattern in which the 2nd byte is increased by 1 every 2 patterns, and the 3rd byte is alternatively 0x00 and 0x80. It looks like counting 0, 0.5, 1, 1.5, 2, etc.
Well you were right about the Media Keys being different. I assumed they wouldn't do that and I was wrong.

In this case though I know the Processing Key is able to decrypt multiple discs (which is what our aim is ) because of the algo used leads to the same position in the tree (because all the subsets are identical) with all these discs. And the position essentially determines which Processing Key you end up with. Its the C-values that make the Media Key different on every disc. These C-values are inside the Media Key Data Record which start at 0x1114 in my MKBROM.AACS file and starts with 0500xxxx followed by many C-values of 16 bytes each. If Media Keys are different then these C-values should be too. Just check it.

arnezami

Last edited by arnezami; 6th February 2007 at 20:55.
arnezami is offline   Reply With Quote
Old 6th February 2007, 21:32   #47  |  Link
blutach
Country Member
 
blutach's Avatar
 
Join Date: Sep 2004
Location: is everything!
Posts: 6,499
Can we leave the spelling and grammar to another place please?

Regards
__________________
Les

Only use genuine Verbatim or Taiyo Yuden media.
blutach is offline   Reply With Quote
Old 6th February 2007, 22:50   #48  |  Link
pacman2006
Registered User
 
Join Date: Dec 2006
Posts: 11
Quote:
Originally Posted by arnezami View Post

- Apollo 13 (???) / Universal studios / IME?? (ascii chars: WGHDVM - is this an Acronym?).
HDVM is the basic subset of graphics for menus and subtitles. According to a discussion here:
http://forums.appleinsider.com/archi...59917-p-5.html

It's just a guess. Also, Don't know about WG.
pacman2006 is offline   Reply With Quote
Old 6th February 2007, 22:59   #49  |  Link
arnezami
Registered User
 
Join Date: Sep 2006
Posts: 390
Quote:
Originally Posted by pacman2006 View Post
HDVM is the basic subset of graphics for menus and subtitles. According to a discussion here:
http://forums.appleinsider.com/archi...59917-p-5.html

It's just a guess. Also, Don't know about WG.
Ok. Thanks. This definatly feels like its not random. And thats important.

It would be sweet if we could get another one of these Volume IDs extracted and see if the "WG HDVM" changes. If not than we wouldn't have to worry about that part being random/changable (this is important is you have to guess parts of the Volume ID: the more is fixed the better).
arnezami is offline   Reply With Quote
Old 7th February 2007, 00:10   #50  |  Link
Ishan
Anime Vampire
 
Ishan's Avatar
 
Join Date: Nov 2002
Location: Earth, Solar system, Milky way, Universe.
Posts: 126
I got the VID for Serenity (US), you're gonna laugh I guess

Code:
00000000: 00 22 00 00 40 00 53 45 52 45 4e 49 54 59 20 20
00000010: 20 20 00 00 xx xx xx xx xx xx xx xx xx xx xx xx
00000020: xx xx xx xx
Wich of the 12 bytes "UniqueNumber" translate in ascii to :

Code:
"SERENITY    "
I'm not kidding, check for yourself
Ishan is offline   Reply With Quote
Old 7th February 2007, 00:43   #51  |  Link
mrazzido
Registered User
 
mrazzido's Avatar
 
Join Date: Jan 2007
Posts: 114
hey

is volume id in blu-ray avaible is it useable? i can try to put my bluray burner in a usb case and sniff the usb port.
mrazzido is offline   Reply With Quote
Old 7th February 2007, 04:56   #52  |  Link
awhitehead
Registered User
 
Join Date: Jan 2007
Location: Tel-Aviv, Israel
Posts: 185
Title: Full Metal Jacket (US)
Studio: Warner Brothers
Modification Date: 4/17/2006 8:57 PM
UDF volume name: FULL_METAL_JACKET

USBsnoop log:
Code:
 TransferBufferMDL    = 83b06f88
    00000000: 00 22 00 00 40 00 46 55 4c 4c 4d 45 54 41 4c 4a
    00000010: 41 43 00 00 xx xx xx xx xx xx xx xx xx xx xx xx
    00000020: xx xx xx xx
  UrbLink              = 00000000
[56868 ms]
HEX to ASCII translates this to FULLMETALJAC



MKBROM.AACS:
Code:
00000070 8D FF 1D E9 81 00 00 14 02 74 7B 32 9D 76 6C C7
00000080 C4 7F E4 04 DA 71 94 3D 7F 00 00 70 28 43 29 20 
00000090 43 6F 70 79 72 69 67 68 74 20 32 30 30 36 2C 20
Hope this helps!

Andy

Last edited by awhitehead; 7th February 2007 at 05:02. Reason: Added HEX to ASCII translation
awhitehead is offline   Reply With Quote
Old 7th February 2007, 06:15   #53  |  Link
Mug Funky
interlace this!
 
Mug Funky's Avatar
 
Join Date: Jun 2003
Location: i'm in ur transfers, addin noise
Posts: 4,555
finding patterns in volume IDs is a red herring i suspect.

if there is a pattern, it would likely vary per replicator. there's no requirement for them to follow a pattern (or in fact to be well hidden), so it's no surprise they convey mundane information like title, date, etc instead of random numbers.

however, it does give us a bit more known plain-text. whether that helps us or not remains to be seen.

that's my 2 cents anyway...
__________________
sucking the life out of your videos since 2004
Mug Funky is offline   Reply With Quote
Old 7th February 2007, 06:33   #54  |  Link
SBeaver
Registered User
 
Join Date: Dec 2002
Posts: 86
Quote:
Originally Posted by Mug Funky View Post
however, it does give us a bit more known plain-text.

Could you explain what you mean by this?
Don't you mean that it gives us a bit of the key?

edit: and in any case, if the remainder of the key can't be guessed, bruteforced, or somehow calculated, it's of no use, is it?

Last edited by SBeaver; 7th February 2007 at 06:36.
SBeaver is offline   Reply With Quote
Old 7th February 2007, 08:01   #55  |  Link
arnezami
Registered User
 
Join Date: Sep 2006
Posts: 390
Quote:
Originally Posted by Ishan View Post
I got the VID for Serenity (US), you're gonna laugh I guess

Code:
"SERENITY    "

Quote:
Originally Posted by awhitehead View Post
Title: Full Metal Jacket (US)
Studio: Warner Brothers
Modification Date: 4/17/2006 8:57 PM
UDF volume name: FULL_METAL_JACKET

HEX to ASCII translates this to FULLMETALJAC
Thanks all!

This is indeed funny. A week ago I was really concerned about this Volume ID. I thought it would be very hard to get. But well...

I guess there are now 3 types of Volume IDs

1) With Date/Time
2) With 2x24bit? + 6 Captials WGHDVM (possibly fixed)
3) With the name of the movie!

I'm not sure how many replicators there are. But the person that fills in the Volume ID can do this after the Media Key/MKB are made and signed by the AACS LA (in their little "bunker"). So yes Replicators could do that. I'm curious who makes this decision and to what extend they can be "forced" to use a more random code. Well anyway. Maybe we can use barcodes to see if we can categorize them? I wonder if we have found all types used so far.

Of course they could change this Volume ID into a more random number. But as long as they don't we might aswell take advatage of it.

Does anybody have more of the WGHDVM type? The other 2 are pretty clear now .

Quote:
Originally Posted by mrazzido View Post
hey

is volume id in blu-ray avaible is it useable? i can try to put my bluray burner in a usb case and sniff the usb port.
Ooh yes! I would be very interested if this also works for Blu-Ray (according to the common specs it should). I'm also curious if they use a standardized system or something.

I would also be interested if this works with PowerDVD. Since it detects debuggers I wonder if it will detect sniffers too. If not then maybe we can devise a way to cloack it (the sniffer also uses a service so that may be hard to do).

And for those application/GUI programmers out there: since USB sniffer is open source maybe we can strip it from all things we don't need and make it a one-click type of application to retrieve the Volume ID only: "Volume ID Sniffer" . That could be very helpful in the future. Maybe we could also make one for directly connected IDE drives.

I'm going hunting for a Media and Processing Key .

Regards,

arnezami

Last edited by arnezami; 11th February 2007 at 18:18.
arnezami is offline   Reply With Quote
Old 7th February 2007, 11:39   #56  |  Link
jokin
Dwight Schrute's homeboy
 
Join Date: Jan 2007
Location: The Office
Posts: 136
Quote:
Originally Posted by arnezami View Post
Does anybody have more of the WGHDVM type? The other 2 are pretty clear now .
Here are two more:

Batman Begins:



King Kong:


Last edited by jokin; 7th February 2007 at 12:24.
jokin is offline   Reply With Quote
Old 7th February 2007, 11:57   #57  |  Link
Mtz
Registered User
 
Mtz's Avatar
 
Join Date: Sep 2003
Location: On The Beach
Posts: 714
sorry for offtopic. jokin, remove the .th from your screnshots links.

enjoy,
Mtz
Mtz is offline   Reply With Quote
Old 7th February 2007, 12:25   #58  |  Link
jokin
Dwight Schrute's homeboy
 
Join Date: Jan 2007
Location: The Office
Posts: 136
Quote:
Originally Posted by Mtz View Post
sorry for offtopic. jokin, remove the .th from your screnshots links.

enjoy,
Mtz
Thanks.
jokin is offline   Reply With Quote
Old 7th February 2007, 13:58   #59  |  Link
Momotte
Registered User
 
Join Date: Apr 2004
Posts: 55
Is there something that I do not understand or is the VolumeID not enough to be able to perform decryption ?
All of this sniffing is interesting, but for us people who do not completely understand the math, how to we get to the VUK or to a key that allows us to perform the data decryption ?

thanks...
Momotte is offline   Reply With Quote
Old 7th February 2007, 14:08   #60  |  Link
jokin
Dwight Schrute's homeboy
 
Join Date: Jan 2007
Location: The Office
Posts: 136
Quote:
Originally Posted by Momotte View Post
Is there something that I do not understand or is the VolumeID not enough to be able to perform decryption ?
All of this sniffing is interesting, but for us people who do not completely understand the math, how to we get to the VUK or to a key that allows us to perform the data decryption ?

thanks...
http://forum.doom9.org/showthread.php?t=120970
jokin is offline   Reply With Quote
Old 7th February 2007, 14:38   #61  |  Link
arnezami
Registered User
 
Join Date: Sep 2006
Posts: 390
Quote:
Originally Posted by Momotte View Post
Is there something that I do not understand or is the VolumeID not enough to be able to perform decryption ?
All of this sniffing is interesting, but for us people who do not completely understand the math, how to we get to the VUK or to a key that allows us to perform the data decryption ?

thanks...
You need a VUK to decrypt the data.

There are essentially two ways of getting the VUK:

1) Use jokin's key finder while WinDVD is playing the movie (this may not work in the future)
2) Get the Volume ID and use a (still to be found) general Processing/Device key to get the VUK. (as long as a general key will be found for each MKB version this will pretty much always work)

So in this thread we are talking about an alternative way of getting VUKs. But for now just use the keyfinder.

arnezami

Last edited by arnezami; 7th February 2007 at 14:41.
arnezami is offline   Reply With Quote
Old 7th February 2007, 16:34   #62  |  Link
Momotte
Registered User
 
Join Date: Apr 2004
Posts: 55
Quote:
Originally Posted by arnezami View Post
You need a VUK to decrypt the data.

There are essentially two ways of getting the VUK:

1) Use jokin's key finder while WinDVD is playing the movie (this may not work in the future)
2) Get the Volume ID and use a (still to be found) general Processing/Device key to get the VUK. (as long as a general key will be found for each MKB version this will pretty much always work)

So in this thread we are talking about an alternative way of getting VUKs. But for now just use the keyfinder.

arnezami
OK, you confirmed I was at least following a little. If you look at my first question, I was confused because I thought we could decrypt it only with the volumeid but it is not the case, we need more.

Thanks for your time,
Momotte is offline   Reply With Quote
Old 7th February 2007, 18:20   #63  |  Link
Ishan
Anime Vampire
 
Ishan's Avatar
 
Join Date: Nov 2002
Location: Earth, Solar system, Milky way, Universe.
Posts: 126
Quote:
Originally Posted by arnezami View Post
...I would also be interested if this works with PowerDVD. Since it detects debuggers I wonder if it will detect sniffers too. If not then maybe we can devise a way to cloack it (the sniffer also uses a service so that may be hard to do)...
Works fine with PowerDVD 7.2 Ultra. And it seems there's no way to ununstall the service could be a problem in the future...
Ishan is offline   Reply With Quote
Old 7th February 2007, 18:34   #64  |  Link
jkenzie
Registered User
 
Join Date: Jan 2007
Posts: 40
Another issue I had when I ran it with PowerDvd. Closing the service did not stop the log. It grew to 500K before I finally had to reboot with out the USB drive.
jkenzie is offline   Reply With Quote
Old 7th February 2007, 18:43   #65  |  Link
arnezami
Registered User
 
Join Date: Sep 2006
Posts: 390
Quote:
Originally Posted by Ishan View Post
Works fine with PowerDVD 7.2 Ultra. And it seems there's no way to ununstall the service could be a problem in the future...
Quote:
Originally Posted by jkenzie View Post
Another issue I had when I ran it with PowerDvd. Closing the service did not stop the log. It grew to 500K before I finally had to reboot with out the USB drive.
Its good to hear PowerDVD works as well. There was a small possibility it would use bus encryption but clearly it doesn't.

It does indeed seem that the sniffer has some bugs in it. Those (at some point) have to be removed (and it has to be stripped of not required stuff) or we could use a different one (or an software IDE sniffer?).

Last edited by arnezami; 7th February 2007 at 18:50.
arnezami is offline   Reply With Quote
Old 7th February 2007, 19:15   #66  |  Link
Ishan
Anime Vampire
 
Ishan's Avatar
 
Join Date: Nov 2002
Location: Earth, Solar system, Milky way, Universe.
Posts: 126
This sniffer is a bit buggy but works fine for me. I'll get some more VID when I'll get more HDDVD movies...
Ishan is offline   Reply With Quote
Old 7th February 2007, 19:42   #67  |  Link
arnezami
Registered User
 
Join Date: Sep 2006
Posts: 390
Thanks to jokin .

Appollo 13:
Code:
Hex:   40 00 04 06 32 04 20 11 57 47 48 44 56 4D 00 00
Dec:         04 06 50 04 32 17
Ascii:                          W  G  H  D  V  M
Batman Begins:

Code:
Hex:   40 00 40 06 26 08 10 15 57 47 48 44 56 4D 00 00
Dec:         64 06 38 08 16 21
Ascii:                          W  G  H  D  V  M
Anybody see what these six numbers stand for? They are all pretty low (<= 64) so I have the feeling they mean something.

Last edited by arnezami; 7th February 2007 at 20:17.
arnezami is offline   Reply With Quote
Old 7th February 2007, 20:05   #68  |  Link
melakai
Registered User
 
Join Date: Jan 2007
Posts: 28
@arnezami

this is really minor, but i thought i should point out, there is an error in your apollo 13 hex2dec conversion. 06 should be 06, not 05 interesting to note that this one value is the same on both WGHDVM titles (aside from the WGHDVM values themselves)
melakai is offline   Reply With Quote
Old 7th February 2007, 20:18   #69  |  Link
arnezami
Registered User
 
Join Date: Sep 2006
Posts: 390
Thanks melakai

Some things I've noticed (when looking at these six numbers):

- The second number is very low (=< 6) and is the same for both
- The fourth number is also very low (<= 8)
- The sixth number is odd, all others are even
- The third number is somewhat higher than the last 5 numbers
- The first number has only 4's in it

It think we could use more of these to figure it out a little better.

Last edited by arnezami; 7th February 2007 at 20:27.
arnezami is offline   Reply With Quote
Old 7th February 2007, 20:28   #70  |  Link
SBeaver
Registered User
 
Join Date: Dec 2002
Posts: 86
I think it's just an acronym that they use one their discs, it doesn't even have to mean anything.
As long as you can still sniff them out anyway, why not try and break something else more important instead.
Try and get the device keys (or is it host keys?) from the software players to start with and then go on from there.
If all xbox players have the same device keys and you can manage to extract it, that would be a big step forward.

edit: btw, how many iterations would it take to bruteforce the discs with the WGHDVM?
Can't be that many, like (2^3)^6 possible values, that's no work at all.

Last edited by SBeaver; 7th February 2007 at 20:34.
SBeaver is offline   Reply With Quote
Old 7th February 2007, 20:32   #71  |  Link
arnezami
Registered User
 
Join Date: Sep 2006
Posts: 390
Quote:
Originally Posted by SBeaver View Post
I think it's just an acronym that they use one their discs, it doesn't even have to mean anything.
As long as you can still sniff them out anyway, why not try and break something else more important instead.
Try and get the device keys (or is it host keys?) from the software players to start with and then go on from there.
If all xbox players have the same device keys and you can manage to extract it, that would be a big step forward.
Ok. I'll try to concentrate on extracting keys. But if somebody or I succeeds then being able to calculate the Volume IDs would make it possible to decrypt all discs without sniffing or memdumps or anything. That would be nice .
arnezami is offline   Reply With Quote
Old 7th February 2007, 20:53   #72  |  Link
SBeaver
Registered User
 
Join Date: Dec 2002
Posts: 86
If someone has a volume id decrypted and encrypted, and just say how to check if it's correct (that's done through hashing if I understand correctly) I could try fiddle around with it in some mathematics software and benchmark and try to refine the way to get the number with as few interations as possible while keeping it functional.
I'm doing a lot of this stuff at university right now and this would be a lot more interesting to try.
If the different manufacturers all use different naming schemes, it's likely they also have some other thing on their discs that is unique to only them which could make for a good detection system, unless the manufacturer differences is only between the different movie companies in which case you can just enter select the manufacturer in a list an the app selects the best way to bruteforce the key.
Since this key still isn't very useful maybe it doesn't matter but it's a fun exercise still.

edit: btw i made edit in above post
SBeaver is offline   Reply With Quote
Old 7th February 2007, 23:03   #73  |  Link
evdberg
Registered User
 
Join Date: Dec 2006
Posts: 202
Before people spend any more time on this ... as can be read from the documents and follows from the fact that you can 'sniff' the data from the USB, the Volume ID is exchanged unencrypted between the drive and the player. Hence getting hold of the Volume ID is not an issue ... please focus on the means to get from the Volume ID to the VUK ... just my 2 cents ...
evdberg is offline   Reply With Quote
Old 8th February 2007, 03:11   #74  |  Link
arctor
Registered User
 
Join Date: Jan 2007
Posts: 7
I'm a little confused if this line of attack will be a massive gain.

Essentially it seems that by finding the device key you will be able to get the volume key directly without the need to do a memory dump while the player is playing it.

However if AACS take action against the compromised player they should start issuing new discs with a MKB file that does not contain the Media Key encrypted with the compromised player device key. Therefore the player could try and paly the media but it would not be able to decrypt it. Likewise any decryption utility using that device key would fail.

It got me thinking about what is in a Media Key Block file. Presumably AACS have generated all the device keys for all future players and when a new player is developed the AACS will release a key to that player. Also all discs (and all discs that have been made in the past) must have there media keys encrypted with the the total set of device keys. However the moment that a player is "revoked" then that device key is not used to encrypt future media keys.

In saying that it may take a long time for a key to get revoked. And the creation of a utility that can get the Volume Key without using a player would be nice as you don't need a VUK finder program. Don't want to discourage just want to check if my reasoning right
arctor is offline   Reply With Quote
Old 8th February 2007, 08:08   #75  |  Link
arnezami
Registered User
 
Join Date: Sep 2006
Posts: 390
Quote:
Originally Posted by arctor View Post
I'm a little confused if this line of attack will be a massive gain.

Essentially it seems that by finding the device key you will be able to get the volume key directly without the need to do a memory dump while the player is playing it.

However if AACS take action against the compromised player they should start issuing new discs with a MKB file that does not contain the Media Key encrypted with the compromised player device key. Therefore the player could try and paly the media but it would not be able to decrypt it. Likewise any decryption utility using that device key would fail.

It got me thinking about what is in a Media Key Block file. Presumably AACS have generated all the device keys for all future players and when a new player is developed the AACS will release a key to that player. Also all discs (and all discs that have been made in the past) must have there media keys encrypted with the the total set of device keys. However the moment that a player is "revoked" then that device key is not used to encrypt future media keys.

In saying that it may take a long time for a key to get revoked. And the creation of a utility that can get the Volume Key without using a player would be nice as you don't need a VUK finder program. Don't want to discourage just want to check if my reasoning right
There are several arguments to expand our capabilities to this approach:
  • Retrieval of the Volume ID is standardized: a very specific response comes from a drive (even Blu-Ray I think) and happens outside the software player. They can do much less about preventing the sniffing than they can about hiding/removing the VUK in memory.
  • The bulk of the future VUKs will have to be found by non-hackers (hackers do not own all discs) and therefore if its easy for most people (but hard for one) the spreading of VUKs can be fast. But if its (somewhat) easier for a hacker to only retrieve a VUK it will be harder for others since they do not know how to do extract VUKs like the hacker does. As an example: there are people now who do not have the Japanese version of WinDVD (but have for example PowerDVD) and they can't retrieve VUKs. But with retrieving volume ids its more straightforward: if you can play the disc you can get the volume id.
  • A company who presses discs can change each batch (generating a new title key file and volume id) wihtout having to go to the AACS LA signing process. So its probably much easier for them to change VUKs than it is to change the Media Key on a disc. This way there could be many different VUKs for one movie but just one or a few Media Keys.
  • When new discs are sold in the stores (with new subsets using different device keys) there should already be software players ready to play those discs. So there is always a window where a hacker can retrieve Device Keys (from the new or still non-revoked player) even when no new discs have been released yet! This could mean the decryption process may practically always work . This also means the hacker does not need to have the new discs to make them decryptable he just needs the new player.
  • Releasing a Processing Key only will still not allow "them" to (clearly) identify the compromised player. This could strenghten WinDVD's legal position: this is a bussiness, WinDVD has a contract, and I guess they will only have to revoke their own player if the AACS LA can show/prove that their player (the device keys that is) was comprimised.
  • And of course the more ways to get a volume key the better. I see this method as a additional attack vector. Its also a quite different technique.

Of course there are also problems with this technique:
  • It may be really hard to get to the Processing/Device Keys. I've testing a bit and it doesn't look promising... yet .
  • There is a possibility they are going to encrypt the bus to the drive. This can only be done with drives that are capable of bus encryption (and since the scheme isn't finished yet I suspect no drive right now can). I do not know if these bus encryption capable drives are/will be common or not.
  • Even releasing a Processing Key releals a little bit about the player. But then again: they probably already know or can guess which player it is. I'm not sure how this works legally between Player company and AACS LA.

An even more ambitious approach would be to retrieve both the Processing Key and the Host private key (of a software player). That way we wouldn't even have to sniff Volume IDs anymore. But keep in mind that hosts are subject to revocation aswell and this is even harder for the hacker.

Hope I cleared it up a bit.

Regards,

arnezami

Last edited by arnezami; 8th February 2007 at 23:14.
arnezami is offline   Reply With Quote
Old 8th February 2007, 08:22   #76  |  Link
HyperHacker
Resident DRM Hater
 
HyperHacker's Avatar
 
Join Date: Oct 2006
Location: International waters
Posts: 242
Quote:
Originally Posted by SBeaver View Post
btw, how many iterations would it take to bruteforce the discs with the WGHDVM?
Can't be that many, like (2^3)^6 possible values, that's no work at all.
6 bytes = 48 bits. 2^48 = 281,474,976,710,656. :-/ Hopefully I did that wrong. And that's assuming "WGHDVM\0\0" is always in the same place.

jokin, you blanked out some of the hex in your screenshot, but not the ASCII that goes with it. It wouldn't be difficult to figure out what the hex was from the ASCII, since this editor doesn't appear to ignore characters 00-1F and 7F-FF.
__________________
Because Moogles pwn.
HyperHacker is offline   Reply With Quote
Old 8th February 2007, 09:01   #77  |  Link
jokin
Dwight Schrute's homeboy
 
Join Date: Jan 2007
Location: The Office
Posts: 136
Quote:
Originally Posted by HyperHacker View Post
6 bytes = 48 bits. 2^48 = 281,474,976,710,656. :-/ Hopefully I did that wrong. And that's assuming "WGHDVM\0\0" is always in the same place.

jokin, you blanked out some of the hex in your screenshot, but not the ASCII that goes with it. It wouldn't be difficult to figure out what the hex was from the ASCII, since this editor doesn't appear to ignore characters 00-1F and 7F-FF.
Thanks for pointing that out. I am not sure why I am blanking it out. Someone said it was a MAC address but it is different for each disc I have done. Could someone explain that more. I have 3 more movies to do the dumps for.
jokin is offline   Reply With Quote
Old 8th February 2007, 11:32   #78  |  Link
SBeaver
Registered User
 
Join Date: Dec 2002
Posts: 86
ok i counted without the 06, but i still typed the wrong number.
Anyway, that, combined with patterns of the code, like all numbers are under 70 or something.

I googled to check and found this:

"Swiss-based Ph.D. Student Solves 48-bit
Key in RSA Data Security's Secret-Key Challenge; Search rate by 3,500 computers reaches 1.5 trillion keys per hour"

Note that this was from 1997
SBeaver is offline   Reply With Quote
Old 8th February 2007, 11:44   #79  |  Link
arnezami
Registered User
 
Join Date: Sep 2006
Posts: 390
Quote:
Originally Posted by SBeaver View Post
ok i counted without the 06, but i still typed the wrong number.
Anyway, that, combined with patterns of the code, like all numbers are under 70 or something.

I googled to check and found this:

"Swiss-based Ph.D. Student Solves 48-bit
Key in RSA Data Security's Secret-Key Challenge; Search rate by 3,500 computers reaches 1.5 trillion keys per hour"

Note that this was from 1997
Brute forcing these Volume IDs is not really an option (and not really required). But I believe we may be able to reduce it much further so it can be very easely guessed.

But we need more examples for that!
arnezami is offline   Reply With Quote
Old 8th February 2007, 22:34   #80  |  Link
arctor
Registered User
 
Join Date: Jan 2007
Posts: 7
Thanks arnezami, thats a good answer and covers a lot of the things I didn't think of. Like the idea of finding the host private key. Maybe it will be easier to find as its bit bigger and may be stored very close in memory to the host public key (which should be viewable in the USB sniff.)
arctor is offline   Reply With Quote
Old 9th February 2007, 12:30   #81  |  Link
arnezami
Registered User
 
Join Date: Sep 2006
Posts: 390
I think I've found the Volume ID of a Blu-Ray disc. Well its from a memdump of WinDVD playing Lord of War.

Anyway here it is:

Code:
Length Code: 00 22 00 00 
Volume ID:   9F A6 47 7B B0 10 30 A5 63 7F 36 E1 9D C4 ED 11 
MAC:         xx xx xx xx xx xx xx xx xx xx xx xx xx xx xx xx
As you can see this is properly random and not at all guessable. I'm not sure if its possible the volume ID is encrypted here because then the 00 22 00 00 would probably have been encrypted too (although the protocol might not allow that). Not sure. My gut says its not encrypted. We can check this though if we have two dumps of the same disc (but the second dump after a restart of WinDVD) and compare the Volume IDs. They should be the same.

Because it has no 40 00 in it (like with HD DVDs) its much harder to find in a memdump but sniffing should be easier (searching for "00000000: 00 22 00 00"). But if you have a Blu-Ray burner and have a memdump of WinDVD you can try to hex search for 00 22 00 00. You will find many occurrences of that but only one with 32 random bytes behind it (= Volume ID + MAC). Thats the way I found it anyway (I mainly looked at the ascii part when pressing F3 so I could quickly see if it was followed by random bytes. I found it around Offset 4ABxxx but it could vary: between 300000 and 500000 would be my guess).

Something different. Regarding Device Keys. Could some people count the number of 0xx.fcl files their PowerDVD version has? (where xx are sequenced numbers) I suspect the newer versions have more of them. This is still a "feeling" but it could be interesting (its possible the new PowerDVD version got a different set of Device Keys already...)

Back to hunting

Regards,

arnezami

PS. I just found out my xbox 360 HD DVD is not capable of Bus Encryption . If you do a text search in your sniff log on "00000000: 00 72" you'll find two occurrances. The one with 01 (not 02) at the blue byte is the Drive Certificate. The byte right next to it should be 00 (red) if not then you're screwed otherwise you will always be able to sniff volume IDs . Here is mine:

Code:
00000000: 00 72 00 00 xx xx xx xx xx xx xx xx xx xx xx xx
00000010: xx xx xx xx xx xx xx xx 01 00 00 5c xx xx xx xx
Be careful with posting this stuff. If you are not you could reveal your drive id. Btw. if you have a PC drive and a memdump you may be able to find it using a hex search for 00720000 or 0100005C or 0101005C (but there are either lots or none of those so its hard).

PPS. Apparently WinDVD isn't capable either. Seems they really haven't implemented Bus Encryption yet.

Last edited by arnezami; 15th March 2007 at 20:38.
arnezami is offline   Reply With Quote
Old 9th February 2007, 22:00   #82  |  Link
jkenzie
Registered User
 
Join Date: Jan 2007
Posts: 40
Quote:
Originally Posted by arnezami View Post
Something different. Regarding Device Keys. Could some people count the number of 0xx.fcl files their PowerDVD version has? (where xx are sequenced numbers) I suspect the newer versions have more of them. This is still a "feeling" but it could be interesting (its possible the new PowerDVD version got a different set of Device Keys already...)

My version has two. .000 and .001. What new version are you speaking of?
jkenzie is offline   Reply With Quote
Old 10th February 2007, 07:51   #83  |  Link
arnezami
Registered User
 
Join Date: Sep 2006
Posts: 390
Quote:
Originally Posted by jkenzie View Post
My version has two. .000 and .001. What new version are you speaking of?
Only two. Hmmm... So not 23 or 27. Interesting... Whats their size: roughly 630 bytes each?

I ask because a full set of Device Keys would have 31 + 30 + 29 + .. + .. + 1 =~ 500 Keys. So that would require 500 x 16 =~ 8000 bytes. Now they could do without certain Keys and only give 31 Keys (or even a little less) but that would mean that when two non-adjacent Players are revoked this PowerDVD version has to get new Keys by default. Because it wouldn't have keys for sub-trees. Hard to explain quickly.

Of course this is only relevant if these fcl files ineed contain the Device Keys that is .

Do you have Power DVD 6.5 or 7.1 or 7.2 installed?

Last edited by arnezami; 10th February 2007 at 08:47.
arnezami is offline   Reply With Quote
Old 10th February 2007, 08:02   #84  |  Link
jkenzie
Registered User
 
Join Date: Jan 2007
Posts: 40
Some interesting things about the 001.fcl file.
I noticed the original file date was 9/21/2006 from an install I had on a separate partition, but it had recently been modified in my main install. It showed a date of 2/5/2007.
The files were infact different, but not by much, it was actually smaller than the original.
Every time you put in a new movie it writes to the 001.fcl.
jkenzie is offline   Reply With Quote
Old 10th February 2007, 08:05   #85  |  Link
jkenzie
Registered User
 
Join Date: Jan 2007
Posts: 40
I have both 7.1 and 7.2 installed
000.fcl is 14KB
001.fcl is 19KB
both versions
jkenzie is offline   Reply With Quote
Old 10th February 2007, 08:36   #86  |  Link
arnezami
Registered User
 
Join Date: Sep 2006
Posts: 390
Quote:
Originally Posted by jkenzie View Post
Some interesting things about the 001.fcl file.
I noticed the original file date was 9/21/2006 from an install I had on a separate partition, but it had recently been modified in my main install. It showed a date of 2/5/2007.
The files were infact different, but not by much, it was actually smaller than the original.
Every time you put in a new movie it writes to the 001.fcl.
Hmm. Interesting. Thanks. A few questions:

- Are you sure its every time you put in a new movie? Not every time Power DVD gets new keys from the internet? Can you re-install and insert a new movie (for that new installation) and check whether the file(s) has/have changed? What movies do change it? Does it change only once or with every new movie?
- How many versions do you know of?
- Is 000.fcl still original?
- Is there any difference in behaviour between 7.1 and 7.2 in this matter?
- What do you mean by "not by much": how many bytes of difference are we talking about and where? Are you talking about a difference in the content or just the size? Are they different in content?

General question: does anybody have an (old) PowerDVD version that doesn't support HD/BD playback? Does it also have *.fcl files?

Thanks.

arnezami

PS. Its possible they have given a separate Key Set for BD. Which means two full sets would need roughly 16kb.
PPS. It might be possible Power DVD is removing Device Keys it knows it will never need (which it can see from the MKB on the first disc it sees) which might explain the "shrinking" here.

Last edited by arnezami; 10th February 2007 at 09:02.
arnezami is offline   Reply With Quote
Old 10th February 2007, 09:20   #87  |  Link
arnezami
Registered User
 
Join Date: Sep 2006
Posts: 390
Making a perfect (but encrypted) backup

I've got a related idea.

It just may be possible to create a perfect (but still encrypted) backup which is still playable. It would require re-encrypting the title key file and mac-ing it (with a new VUK) This new VUK would derive from the Volume ID of a re-writable (here lies the possible problem) and the unchanged Media Key (derived from the MKB).

To test if this even could work somebody with a HD DVD burner (and maybe a usb connected HD DVD drive) would have to try the following:

- Burn all (still encrypted) files to the new rewritable disc (do a bit-for-bit copy)
- Put it in a (preferably usb) HD DVD drive (and with usb turn on the sniffer) and start a software player (btw the movie won't play)
- See if the log contains a Volume ID (or if you don't have it usb connected and can't use the sniffer: if its in Jap WinDVD's memdump, see page 1 of this thread for instructions but leave out the 40 00 part like with Blu-Ray). If so it just might be possible...

Its entirely possible the disc is first somehow checked if its a pre-recorded one (eg. the drive missing the HRL in the lead-in area: or does the bit-for-bit copy that too? or something in the so called "system lead-in") which ends the story right away. But its worth a try I think.

arnezami

Last edited by arnezami; 10th February 2007 at 15:55.
arnezami is offline   Reply With Quote
Old 10th February 2007, 10:07   #88  |  Link
jkenzie
Registered User
 
Join Date: Jan 2007
Posts: 40
It's hard to tell when it is actually changing the file. This is the original file header:
Code:
00000000   43 4C 46 43 4C 30 30 31  01 00 00 00 00 00 00 00  01 00 00 00 00 00 00 00  00 03 01 05   CLFCL001                    
0000001C   00 06 00 00 00 02 01 00  00 07 00 00 00 00 00 00  00 00 00 00 00 08 00 00  00 00 00 02                               
00000038   00 00 00 00 00 00 00 00  00 00 00 00 00 00 00 00  00 00 00 00 00 00 00 00  00 00 00 00                               
00000054   00 00 00 00 00 00 00 00  00 00 00 00 00 00 00 00  00 00 00 00 30 30                                          00
If I overwrite my 001.fcl file with the original, as I play the first disc, it changes to this. With no other changes to the file.

Code:
00000000   43 4C 46 43 4C 30 30 31  01 00 00 00 00 00 00 00  01 00 00 00 00 00 00 00  00 03 01 05   CLFCL001                    
0000001C   00 06 00 00 00 03 01 05  00 07 00 00 00 00 00 00  00 00 00 00 00 08 00 00  00 00 00 02                               
00000038   00 00 00 00 00 00 00 00  00 00 00 00 00 00 00 00  00 00 00 00 00 00 00 00  00 00 00 00                               
00000054   00 00 00 00 00 00 00 00  00 00 00 00 00 00 00 00  00 00 00 00 30 30                                          00
My current version looks like this but ia also 1576 bytes smaller
Code:
00000000   43 4C 46 43 4C 30 30 30  01 00 00 00 00 00 00 00  01 00 00 00 00 00 00 00  00 07 00 06   CLFCL000                    
0000001C   00 06 00 00 00 02 00 05  00 07 00 00 00 00 00 00  00 00 00 00 00 08 00 00  00 00 00 02                               
00000038   00 00 00 00 00 00 00 00  00 00 00 00 00 00 00 00  00 00 00 00 00 00 00 00  00 00 00 00                               
00000054   00 00 00 00 00 00 00 00  00 00 00 00 00 00 00 00  00 00 00 00 20 20
jkenzie is offline   Reply With Quote
Old 10th February 2007, 10:59   #89  |  Link
arnezami
Registered User
 
Join Date: Sep 2006
Posts: 390
@jkenzie (or anybody else who has PowerDVD): could you try the following:

Open the 001.fcl file in WinHex (make a backup first) and see if there are any random stuff in it (I suspect the bulk is random is it?) Now change one byte in that area and try if Power DVD will play a movie. And try changing the file at different places (but only change at most one byte compared the the backup) and see what happens.

This could pin-point the exact position of the Device Keys used. But its possible there is some kind of checksum which disables this technique. If it works all the time then I suspect there are no Device Keys in it at all.
arnezami is offline   Reply With Quote
Old 10th February 2007, 11:52   #90  |  Link
mrazzido
Registered User
 
mrazzido's Avatar
 
Join Date: Jan 2007
Posts: 114
i have bd burner i made an complete image of a encrypted movie, burn bd yet on rw 30mins to go :-). i try windvd then what memdumb says then.

Last edited by mrazzido; 10th February 2007 at 11:56.
mrazzido is offline   Reply With Quote
Old 10th February 2007, 12:13   #91  |  Link
arnezami
Registered User
 
Join Date: Sep 2006
Posts: 390
Quote:
Originally Posted by mrazzido View Post
i have bd burner i made an complete image of a encrypted movie, burn bd yet on rw 30mins to go :-). i try windvd then what memdumb says then.
If you can't find the Volume ID easely you may want to try to find the VUK using ape's hd-dvd volume key finder or use jokin's while WinDVD is running (there is also a possible timing issue: when WinDVD sees its a corrupt disc it may remove all information from memory or even crash, if that happens than just before that the dump has to be made). And see if it finds the VUK (which almost certainly is different from the one retrieved from the original disc)...

[edit] Sorry you need the bluray key finder of course... (but it checks for title/CPS keys so i'm not sure if this is a good test. Well maybe..)

Last edited by arnezami; 10th February 2007 at 12:27.
arnezami is offline   Reply With Quote
Old 10th February 2007, 13:01   #92  |  Link
mrazzido
Registered User
 
mrazzido's Avatar
 
Join Date: Jan 2007
Posts: 114
i try to start the decrypted movie with windvd , windvd crached after push start. windvd try to load ( drive is working) the movie . then 2sec later crahed.
mrazzido is offline   Reply With Quote
Old 10th February 2007, 13:32   #93  |  Link
arnezami
Registered User
 
Join Date: Sep 2006
Posts: 390
Quote:
Originally Posted by mrazzido View Post
i try to start the decrypted movie with windvd , windvd crached after push start. windvd try to load ( drive is working) the movie . then 2sec later crahed.
I think there are several possibities here. One (relatively easy) way would be to install Visual C++ (just an example). After starting Visual C++ and then pushing the start button in WinDVD it (= MSDEV.exe which should be in memory) will intercept the crashing application and ask if you want to debug the application. At that moment (before clicking 'ok' on the pop-up) you can do a memdump of WinDVD.

There are probably many other ways (maybe somebody else can give suggestions) but this will most likely work fine.

Its interesing it actually crashes because that could mean we really fooled it (which is good news) .

Last edited by arnezami; 10th February 2007 at 13:41.
arnezami is offline   Reply With Quote
Old 10th February 2007, 15:10   #94  |  Link
mrazzido
Registered User
 
mrazzido's Avatar
 
Join Date: Jan 2007
Posts: 114
powerdvd says this movie is aasc crypted cant play the movie.
mrazzido is offline   Reply With Quote
Old 10th February 2007, 15:22   #95  |  Link
arnezami
Registered User
 
Join Date: Sep 2006
Posts: 390
Quote:
Originally Posted by mrazzido View Post
powerdvd says this movie is aasc crypted cant play the movie.
That sounds right. The movie is encrypted and the current volume ID (which is unknown for the moment) and Media Key won't produce a VUK that decrypts the Title Key file correctly.

In order to make this completely work we need to know (1) if the VUK is calculated at all (2) what that VUK is (3) encrypt the decrypted Title Key file with this new VUK (4) change the iso with the new Title Key file bytes (5) burn the new iso.

Keep in mind we are still at step 1 and 2.

But for the moment it appears the Software player notices that decrypting the Title keys (with the "strange" VUK) isn't working. Which is correct since we haven't changed the Title Key file yet.

In order to get any further we need to know if the Volume ID is extracted (which could be a sign that 1 is working) or extract the VUK directly (which sovles 1 and 2). But we can only do that with either a sniff log or a memdump.

It might be possible to do a memdump (or use the key finder) during the 2 seconds you mentioned. Its tricky though... The best way is to let the crash be intercepted.
arnezami is offline   Reply With Quote
Old 10th February 2007, 15:27   #96  |  Link
mrazzido
Registered User
 
mrazzido's Avatar
 
Join Date: Jan 2007
Posts: 114
just an idea ?? we need a "hd dvd or blu-ray emu" that powerdvd or windvd think a original disc is inside. then the programm has a databse with the keys. ripped from windvd memdump.
mrazzido is offline   Reply With Quote
Old 10th February 2007, 15:45   #97  |  Link
arnezami
Registered User
 
Join Date: Sep 2006
Posts: 390
Quote:
Originally Posted by mrazzido View Post
just an idea ?? we need a "hd dvd or blu-ray emu" that powerdvd or windvd think a original disc is inside. then the programm has a databse with the keys. ripped from windvd memdump.
Then its probably better to decrypt and play it (with an open source player). The gest of the above idea is that you might fool for example a PS3 or fool WinDVD/PowerDVD without the need of any software to be installed and without needing to decrypt the entire disc: a simple fix to the title key file in the iso would do the trick (if this works of course ). In principle you could even let a burning program do it on-the-fly for you.

Anyway maybe the posts (by mrazzido and me replying to him and my original idea-starter-post) about this subject (making an encrypted perfect copy) should be moved to separate thread because it really is a related idea. But has nothing much to do with trying to find Device/Processing/Media Keys and Volume IDs (sorry mods didn't really anticipate this).

Last edited by arnezami; 10th February 2007 at 16:02.
arnezami is offline   Reply With Quote
Old 10th February 2007, 17:54   #98  |  Link
jkenzie
Registered User
 
Join Date: Jan 2007
Posts: 40
Quote:
Originally Posted by arnezami View Post
@jkenzie (or anybody else who has PowerDVD): could you try the following:

Open the 001.fcl file in WinHex (make a backup first) and see if there are any random stuff in it (I suspect the bulk is random is it?) Now change one byte in that area and try if Power DVD will play a movie. And try changing the file at different places (but only change at most one byte compared the the backup) and see what happens.

This could pin-point the exact position of the Device Keys used. But its possible there is some kind of checksum which disables this technique. If it works all the time then I suspect there are no Device Keys in it at all.
If I change one byte at any point in the file the player will not initialize. I get the 1103 error.
IÂ’ve watched the changes several times with several different discÂ’s inserted as first play. I always end up with a different .fcl file.
I don't think the changes are from am internet update, because the computer I'm testing this on has no connection.
jkenzie is offline   Reply With Quote
Old 10th February 2007, 18:16   #99  |  Link
arnezami
Registered User
 
Join Date: Sep 2006
Posts: 390
Quote:
Originally Posted by jkenzie View Post
If I change one byte at any point in the file the player will not initialize. I get the 1103 error.
IÂ’ve watched the changes several times with several different discÂ’s inserted as first play. I always end up with a different .fcl file.
I don't think the changes are from am internet update, because the computer I'm testing this on has no connection.
Ok. Thanks.
arnezami is offline   Reply With Quote
Old 11th February 2007, 07:23   #100  |  Link
arnezami
Registered User
 
Join Date: Sep 2006
Posts: 390
After some (sometimes frustrating) work I found the Media Key of King Kong:

Code:
07 4E 1F C8 8F B9 B7 80 A2 25 CA A2 3B C3 DB 56


With that we are one step closer to finding a Processing Key .

Last edited by arnezami; 11th February 2007 at 09:15.
arnezami is offline   Reply With Quote
Old 11th February 2007, 08:54   #101  |  Link
Adub
Fighting spam with a fish
 
Adub's Avatar
 
Join Date: Sep 2005
Posts: 2,795
Excellent job!
This is really great as it provides another manner of attack, thus preventing, well, "prevention".
Now, how the heck did you do it?
Adub is offline   Reply With Quote
Old 11th February 2007, 13:17   #102  |  Link
arnezami
Registered User
 
Join Date: Sep 2006
Posts: 390
Wooow. I think I did it .

Processing Key found!!!



More info later.

To be sure I need to confirm my finding. I need the following (from anybody with a HD DVD disc):

1) - Movie Title (not King Kong please )

2) - The Verify Media Key Record in the MKBROM.AACS file. It starts with 81 00 00 14 followed by the 16 byte Record. In my case this it at Offset 00000120h. Here is mine:
Code:
81 00 00 14 87 B8 A2 B7 C1 0B 9F AD F8 C4 36 1E 23 86 59 E5 7F 00 00 xx
3) - The first C-Value in the MKBROM.AACS file (also called Media Key Data). It starts with 05 00 20 14 (the 20 14 could be different but is probably the same) followed by the first 16 byte C-Value. In my case this it at Offset 00004376h. Here is mine:
Code:
05 00 20 14 6D 02 CA C6 7B 1A 7E 95 C2 16 EF D4 C9 28 09 CF D3 CE 9A DC
If you react quickly I can check if the Processing Key is really valid (for multiple discs).



Yeah I'm happy...

arnezami
arnezami is offline   Reply With Quote
Old 11th February 2007, 13:38   #103  |  Link
hajj_3
Registered User
 
Join Date: Mar 2004
Posts: 1,288
im confused with all these keys lol. hopefully all the keys will be found on the disc soon, rather than in memory, so we can scan the disc and find all the keys.
hajj_3 is offline   Reply With Quote
Old 11th February 2007, 14:01   #104  |  Link
Eeknay
Registered User
 
Join Date: Jul 2005
Posts: 54
1.) The Departed
2.)
Quote:
FF 29 11 E9 96 16 5D 97 29 2D BB A0 3C A9 0D E0
3.)
Quote:
68 07 C3 23 7E 18 6F 7F BC 78 E2 DC 26 C5 84 0B
Hope that helps.

EDIT: Here's another disc just for kicks.

1.) Spy Game
2.)
Quote:
7C AD 1D 65 D5 9E C1 67 A7 96 E5 C2 13 23 08 22
3.)
Quote:
59 28 94 3F 5C 09 19 2C 8D 54 0A 77 45 BE 3E 6D

Last edited by Eeknay; 11th February 2007 at 14:06.
Eeknay is offline   Reply With Quote
Old 11th February 2007, 14:09   #105  |  Link
arnezami
Registered User
 
Join Date: Sep 2006
Posts: 390
Quote:
Originally Posted by Eeknay View Post
1.) The Departed
2.)
3.)

Hope that helps.

EDIT: Here's another disc just for kicks.

1.) Spy Game
2.)
3.)
YES YES YES!! It works!

I'm going to take some rest now (I need it ). But will tell all later.

Here is the Processing Key which should work on all HD DVD discs (and maybe even Blu-Ray discs) released so far:

Code:
09 F9 11 02 9D 74 E3 5B D8 41 56 C5 63 56 88 C0
Save it. Store it.

Regards,

arnezami

PS. As explained before in order to get a VUK you now only need a Volume ID (which should be fairly easy to get or even to guess...).

Last edited by arnezami; 11th February 2007 at 14:11.
arnezami is offline   Reply With Quote
Old 11th February 2007, 14:53   #106  |  Link
hd1080p
Registered User
 
Join Date: Jan 2007
Posts: 21
Indeed a real breakthrough!!

Congrats everybody for the thrill of witnessing how DRM was defeated. February 11, 2007 is a day to be remembered.
I predict that movies will one day be liberated without DRM and we are all going to loose all the fun and excitement.
Fairuse wins!!


PS. As in LOR, this is the KEY(RING) to conquer all!!
Now, we have to find the processing key for blueray to help out HD-DVD market position. Movie studios may just stop releasing new movies on HD-DVDs. There should be a level playing field for the competing formats.

Last edited by hd1080p; 11th February 2007 at 15:45. Reason: Comment
hd1080p is offline   Reply With Quote
Old 11th February 2007, 14:54   #107  |  Link
blutach
Country Member
 
blutach's Avatar
 
Join Date: Sep 2004
Location: is everything!
Posts: 6,499
Nice work arnezami

Regards
__________________
Les

Only use genuine Verbatim or Taiyo Yuden media.
blutach is offline   Reply With Quote
Old 11th February 2007, 17:12   #108  |  Link
arnezami
Registered User
 
Join Date: Sep 2006
Posts: 390
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.

Last edited by arnezami; 11th February 2007 at 19:21.
arnezami is offline   Reply With Quote
Old 11th February 2007, 17:18   #109  |  Link
jokin
Dwight Schrute's homeboy
 
Join Date: Jan 2007
Location: The Office
Posts: 136
Awesome awesome work.

And when you have time please explain the subset-difference technique.

Thanks again.
jokin is offline   Reply With Quote
Old 11th February 2007, 17:22   #110  |  Link
hd1080p
Registered User
 
Join Date: Jan 2007
Posts: 21
What a show!!

It is better than the real movie show. You are a genius!!
Please continue the work with blueray.
hd1080p is offline   Reply With Quote
Old 11th February 2007, 17:24   #111  |  Link
zeroprobe
Registered User
 
Join Date: Jan 2002
Posts: 155
great stuff. More write ups of the whole process would be greatly appreciated. More information the better.

How about one for bluray
zeroprobe is offline   Reply With Quote
Old 11th February 2007, 17:25   #112  |  Link
arnezami
Registered User
 
Join Date: Sep 2006
Posts: 390
Quote:
Originally Posted by hd1080p View Post
It is better than the real movie show. You are a genius!!
Please continue the work with blueray.
If somebody can give the same info Eeknay gave above (but for a Blu-Ray disc) I could see if this Processing Key works for Blu-Ray aswell.

Last edited by arnezami; 11th February 2007 at 17:42.
arnezami is offline   Reply With Quote
Old 11th February 2007, 17:29   #113  |  Link
pacman2006
Registered User
 
Join Date: Dec 2006
Posts: 11
Amazing work Arnezami!

I'm trying to understand the full aspect of having a processing key. Will this work for future discs too, or is this key also revokable?
pacman2006 is offline   Reply With Quote
Old 11th February 2007, 17:40   #114  |  Link
hd1080p
Registered User
 
Join Date: Jan 2007
Posts: 21
Unfortunately, they (MPAA) can change the keys for future releases. At least now all current HD-DVD releases are deemed DRM free.
Fortunately, using ARNEZAMI's methodology, we can find them again using the particular player. Of course, they (player vendor) can change the way they implement the AACS DRM or even MPAA people can even change the AACS specs.





Quote:
Originally Posted by pacman2006 View Post
Amazing work Arnezami!

I'm trying to understand the full aspect of having a processing key. Will this work for future discs too, or is this key also revokable?

Last edited by hd1080p; 11th February 2007 at 18:13. Reason: Error
hd1080p is offline   Reply With Quote
Old 11th February 2007, 18:14   #115  |  Link
LokiHD
Registered User
 
Join Date: Dec 2006
Posts: 48
nice!

too funny..
LokiHD is offline   Reply With Quote
Old 11th February 2007, 18:15   #116  |  Link
mb2696
Registered User
 
Join Date: Jan 2007
Posts: 39
@arnezami - Amazing work!!! I'd really like to hear your in-depth take on AACS as well.
mb2696 is offline   Reply With Quote
Old 11th February 2007, 18:18   #117  |  Link
madshi
Registered Developer
 
Join Date: Sep 2006
Posts: 5,015
That sounds very nice!

But what happens if Volume IDs are created with real random numbers in the future? Will a Processing Key then still help?

Thanks!
madshi is offline   Reply With Quote
Old 11th February 2007, 19:33   #118  |  Link
buttfacepoop
Registered User
 
Join Date: Feb 2005
Posts: 13
Quote:
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.
arnezami,

thanks for your fantastic work.

i think by describing your exact method in finding the key, however, may lead people/MPAA to the exact player that is being used. perhaps when you in the future crack the player just post the key, no explanation?
buttfacepoop is offline   Reply With Quote
Old 11th February 2007, 20:40   #119  |  Link
SBeaver
Registered User
 
Join Date: Dec 2002
Posts: 86
I wasn't expecting this so soon.
You really did a great job, and whomever made the software player f**ked up serverely.

You shouldn't give up on the device keys though, we should steal all the keys they have.

btw is it possible to find the processing key with the usb sniffer, now that you know what the key is?
or is it moved over in encrypted form?
and finding it on the disk would be great, even if it's encrypted in several layers.

Anyway, you rock
SBeaver is offline   Reply With Quote
Old 11th February 2007, 21:53   #120  |  Link
tonyp12
Registered User
 
Join Date: Oct 2002
Location: Florida, USA
Posts: 90
So now that we have a Processing key,
How time consuming would it be to guess the VID (instead of USB sniffing)?

For example a decrypter that says
"please wait, I'm trying 2million possible keys"
And do that in about 30 seconds.

Last edited by tonyp12; 11th February 2007 at 22:01.
tonyp12 is offline   Reply With Quote
Old 11th February 2007, 22:34   #121  |  Link
SBeaver
Registered User
 
Join Date: Dec 2002
Posts: 86
Quote:
Originally Posted by tonyp12 View Post
So now that we have a Processing key,
How time consuming would it be to guess the VID (instead of USB sniffing)?

For example a decrypter that says
"please wait, I'm trying 2million possible keys"
And do that in about 30 seconds.
That would take some time to figure out.
A good start would be if we could get more sniffed volume IDs and unencrypted Volume IDs from different discs so we can figure out the patterns in the keys, if there are any.
If you can guess the key down to 6 unknown bytes by jst knowing the manufacturer then it's will work, but the more unknown bytes the more impossible it gets.
Finding a pattern is the only way i think, and it will work as long as the discs follow these patterns.
As soon as they fall outside the box then you have to go sniff again.
SBeaver is offline   Reply With Quote
Old 11th February 2007, 22:44   #122  |  Link
Ishan
Anime Vampire
 
Ishan's Avatar
 
Join Date: Nov 2002
Location: Earth, Solar system, Milky way, Universe.
Posts: 126
I don't think there's any pattern, it seems it's different for each manufacturer.
Ishan is offline   Reply With Quote
Old 11th February 2007, 22:53   #123  |  Link
SBeaver
Registered User
 
Join Date: Dec 2002
Posts: 86
Quote:
Originally Posted by Ishan View Post
I don't think there's any pattern, it seems it's different for each manufacturer.
well that is a patterns, there is just a few manufacturers making all (edit: most) the discs anyway so if we know patterns for each that is enough.
not a perfect solution though.
SBeaver is offline   Reply With Quote
Old 11th February 2007, 22:54   #124  |  Link
madshi
Registered Developer
 
Join Date: Sep 2006
Posts: 5,015
I rather think if the manufacturers/studios get notice of this thread they will probably make Volume IDs much more random than before. So I rather doubt that guessing will work in the future.
madshi is offline   Reply With Quote
Old 11th February 2007, 23:09   #125  |  Link
tonyp12
Registered User
 
Join Date: Oct 2002
Location: Florida, USA
Posts: 90
It probably will take 2 months before we start seeing
any changes in the values they use for Processing Key and VID.

It would be cool to have a HDDVD-decrypter that can decrypt
any disc from the top10 manufactures before this date without memdump/sniffing/keydb.cfg

After that it will be a cat and mouse game.

Last edited by tonyp12; 11th February 2007 at 23:15.
tonyp12 is offline   Reply With Quote
Old 11th February 2007, 23:19   #126  |  Link
evdberg
Registered User
 
Join Date: Dec 2006
Posts: 202
Arnezami did great work, but he played out his cards much too soon ...
evdberg is offline   Reply With Quote
Old 11th February 2007, 23:35   #127  |  Link
blutach
Country Member
 
blutach's Avatar
 
Join Date: Sep 2004
Location: is everything!
Posts: 6,499
Quote:
Originally Posted by SBeaver View Post
You shouldn't give up on the device keys though, we should steal all the keys they have.
Rather poor choice of words. Nobody here is stealing anything - they are exercising their rights to play their legally bought material however they want to.

Regards
__________________
Les

Only use genuine Verbatim or Taiyo Yuden media.
blutach is offline   Reply With Quote
Old 11th February 2007, 23:39   #128  |  Link
Adub
Fighting spam with a fish
 
Adub's Avatar
 
Join Date: Sep 2005
Posts: 2,795
@evdberg
What exactly do you mean about playing his cards to soon? Are you saying he should have waited until the VUK memdump search method was retired?

What would you have done?
Adub is offline   Reply With Quote
Old 12th February 2007, 00:15   #129  |  Link
SBeaver
Registered User
 
Join Date: Dec 2002
Posts: 86
Quote:
Originally Posted by blutach View Post
Rather poor choice of words. Nobody here is stealing anything - they are exercising their rights to play their legally bought material however they want to.

Regards
Well stealing is their definition of what people are doing.
Let's just say we are making copies of their keys just in case they lose them.
SBeaver is offline   Reply With Quote
Old 12th February 2007, 00:23   #130  |  Link
evdberg
Registered User
 
Join Date: Dec 2006
Posts: 202
Quote:
Originally Posted by Merlin7777 View Post
@evdberg
What exactly do you mean about playing his cards to soon? Are you saying he should have waited until the VUK memdump search method was retired?
Definitely !

Quote:
Originally Posted by Merlin7777 View Post
What would you have done?
I can understand his enthusiasm (it clearly showed from his posts), he was on to something and I know how that feels. But since the current method is still not counteracted, it's better to keep it to yourself ... don't bring other people on ideas ... well, the rabbit is out of the hat now, we will see what happens, but my guess is that a very promising method is wasted now.
evdberg is offline   Reply With Quote
Old 12th February 2007, 00:48   #131  |  Link
xyz987
Registered User
 
Join Date: Dec 2006
Posts: 142
Quote:
Originally Posted by arnezami View Post
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 .
Congratulations :-)

And yes, there is demand ;-)

xyz987 is offline   Reply With Quote
Old 12th February 2007, 01:08   #132  |  Link
xyz987
Registered User
 
Join Date: Dec 2006
Posts: 142
Quote:
Originally Posted by evdberg View Post
I can understand his enthusiasm (it clearly showed from his posts), he was on to something and I know how that feels. But since the current method is still not counteracted, it's better to keep it to yourself ... don't bring other people on ideas ... well, the rabbit is out of the hat now, we will see what happens, but my guess is that a very promising method is wasted now.
May be they can revoke this Processing Key. So what?. In fact i want to see them revoking tons of keys. More easy will be to guest the Master Key.

Last edited by xyz987; 12th February 2007 at 02:02.
xyz987 is offline   Reply With Quote
Old 12th February 2007, 01:59   #133  |  Link
noclip
Registered User
 
Join Date: Dec 2006
Posts: 154
Some of you are missing the true meaning of this compromise. If they revoke this processing key, we just take a player compatible with a new processing key, put in one of the titles that's already cracked, and go around in memory looking for the known key. We find it, insert a new title, look in the same place and we have a new processing key.
noclip is offline   Reply With Quote
Old 12th February 2007, 04:22   #134  |  Link
Adub
Fighting spam with a fish
 
Adub's Avatar
 
Join Date: Sep 2005
Posts: 2,795
That's what I was thinking, I just wasn't sure that it would be so simple to find the new key quickly.
Adub is offline   Reply With Quote
Old 12th February 2007, 05:53   #135  |  Link
tonyp12
Registered User
 
Join Date: Oct 2002
Location: Florida, USA
Posts: 90
Quote:
memory looking for the known key. We find it, insert a new title, look in the same place and we have a new processing key.
AACS-LA probably will revoke both windvd and powerdvd device keys,
give out new device and processing keys.
But only after the makers of the software players shows that
no keys whatsoever are in memory in plain view at any time.

The keys will only be in the CPU's register for a brief time.
tonyp12 is offline   Reply With Quote
Old 12th February 2007, 05:56   #136  |  Link
Galileo2000
Registered User
 
Join Date: Jan 2007
Posts: 224
Great job.

And yes, we DEMAND explanations!

BTW, I think I guessed your player all right.

You gave me a processing key in one of your posts.
Galileo2000 is offline   Reply With Quote
Old 12th February 2007, 10:42   #137  |  Link
evdberg
Registered User
 
Join Date: Dec 2006
Posts: 202
Quote:
Originally Posted by Merlin7777 View Post
That's what I was thinking, I just wasn't sure that it would be so simple to find the new key quickly.
I am pretty sure that Cyberlink and InterVideo have to make sure it won't be as easy as it is now ... or worst case: their keys are revoked and they do not get new ones at all !
evdberg is offline   Reply With Quote
Old 12th February 2007, 12:13   #138  |  Link
cyber1
Registered User
 
Join Date: Dec 2006
Posts: 13
Quote:
Originally Posted by tonyp12 View Post
AACS-LA probably will revoke both windvd and powerdvd device keys,
give out new device and processing keys.
But only after the makers of the software players shows that
no keys whatsoever are in memory in plain view at any time.

The keys will only be in the CPU's register for a brief time.
This is probably what is going to happen, the only reason that the search-memdump-method have worked so far is that one HD-DVD application have a terrible AACS implementation. It's going to be much harder in the future.
cyber1 is offline   Reply With Quote
Old 12th February 2007, 12:37   #139  |  Link
zeroprobe
Registered User
 
Join Date: Jan 2002
Posts: 155
Quote:
Originally Posted by cyber1 View Post
This is probably what is going to happen, the only reason that the search-memdump-method have worked so far is that one HD-DVD application have a terrible AACS implementation. It's going to be much harder in the future.
I really can't see them stopping us finding the VUK's . As we already know them for 150 titles.

We know what to look for as you just use the new "improved" software player to playback an old hddvd disc. Then we just search for the old vuks. They messed up now and we now know what we are looking for.
zeroprobe is offline   Reply With Quote
Old 12th February 2007, 13:38   #140  |  Link
pacman2006
Registered User
 
Join Date: Dec 2006
Posts: 11
Quote:
Originally Posted by zeroprobe View Post
We know what to look for as you just use the new "improved" software player to playback an old hddvd disc. Then we just search for the old vuks.
The new software players will do everything to hide the vuk's. A simple search for the keys won't work. The keys will be scrambled. They could also do several other things to hide the keys, but I won't give them any good ideas.
pacman2006 is offline   Reply With Quote
Old 12th February 2007, 14:05   #141  |  Link
evdberg
Registered User
 
Join Date: Dec 2006
Posts: 202
Quote:
Originally Posted by pacman2006 View Post
The new software players will do everything to hide the vuk's.
And because of Arnezami's work most likely also the other keys like the Media and Processing key ... and that is what I meant with 'playing his cards too soon'.
evdberg is offline   Reply With Quote
Old 12th February 2007, 14:18   #142  |  Link
arnezami
Registered User
 
Join Date: Sep 2006
Posts: 390
Quote:
Originally Posted by evdberg View Post
And because of Arnezami's work most likely also the other keys like the Media and Processing key ... and that is what I meant with 'playing his cards too soon'.
Nonsense. I have no time now but will have later.

But this for now: the Processing Key and/or Device Keys of a player were already compromised before this thread even started. Keep your facts straight. I started this topic knowing AnyDVD had already done it. But that was not the only reason. Will explain more later.

Please concentrate now on doing something constructive. Like trying to build sniffing software, giving more Volume IDs, getting Blu-Ray C-values/Validate Media Key etc.

Regards,

arnezami

Last edited by arnezami; 13th February 2007 at 07:28.
arnezami is offline   Reply With Quote
Old 12th February 2007, 16:17   #143  |  Link
evdberg
Registered User
 
Join Date: Dec 2006
Posts: 202
Quote:
Originally Posted by arnezami View Post
I started this topic knowing AnyDVD had already done it.
Where did you read this? I can only find speculation and phrases like "So just how does AnyDVD HD work? Has SlySoft managed to really crack AACS? For now, no one is sure just how AnyDVD HD will work exactly.". I agree with you to keep the facts straight ...
evdberg is offline   Reply With Quote
Old 12th February 2007, 22:16   #144  |  Link
zeroprobe
Registered User
 
Join Date: Jan 2002
Posts: 155
Quote:
Originally Posted by evdberg View Post
Where did you read this? I can only find speculation and phrases like "So just how does AnyDVD HD work? Has SlySoft managed to really crack AACS? For now, no one is sure just how AnyDVD HD will work exactly.". I agree with you to keep the facts straight ...
Every post you make is negative, you don't have a clue what your talking about.

Theres only two possible ways AnyDVD can work and I can 99.9% say that they didn't break aacs so it must be this way.
zeroprobe is offline   Reply With Quote
Old 12th February 2007, 22:17   #145  |  Link
evdberg
Registered User
 
Join Date: Dec 2006
Posts: 202
Anyway ... in the meantime that this forum was down due to moving to another server, I made a small program that implements what is discussed in this thread. I can only conclude it works perfectly fine, and I am amazed that this one processing key every time works on the very first c-value (of 512 available). Obviously someone at the mastering facility was very lazy ...

Last edited by evdberg; 12th February 2007 at 22:21.
evdberg is offline   Reply With Quote
Old 12th February 2007, 22:19   #146  |  Link
Dethis
Registered User
 
Join Date: Jan 2006
Posts: 57
Quote:
Originally Posted by evdberg View Post
.... For now, no one is sure just how AnyDVD HD will work exactly.". ...
Except beta testers..
Dethis is offline   Reply With Quote
Old 12th February 2007, 22:20   #147  |  Link
evdberg
Registered User
 
Join Date: Dec 2006
Posts: 202
Quote:
Originally Posted by zeroprobe View Post
Every post you make is negative, you don't have a clue what your talking about.
I can only conclude that you have no idea who I am ...

Quote:
Originally Posted by zeroprobe View Post
Theres only two possible ways AnyDVD can work and I can 99.9% say that they didn't break aacs so it must be this way.
For all we know they just include a lookup table with all known VUKs. Since they release twice a week a new version of AnyDVD, they can keep that table up-to-date. And since you can not read the Volume ID directly from a disk (must go through secured handshake commands through MMC commands), they can't use this new method. So indeed there are 2 methods: either the above mentioned lookup table of VUKs, or they use a device key and perform the whole protocol.

Last edited by evdberg; 12th February 2007 at 22:27.
evdberg is offline   Reply With Quote
Old 12th February 2007, 22:20   #148  |  Link
xyz987
Registered User
 
Join Date: Dec 2006
Posts: 142
Quote:
Originally Posted by evdberg View Post
Anyway ... in the meantime that this forum was down due to moving to another server, I made a small program that implements what is discussed in this thread. I can only conclude it works perfectly fine, and I am amazed that this one processing key every time works on the very first c-value (of 512 available).
Source code please :-)
xyz987 is offline   Reply With Quote
Old 12th February 2007, 22:20   #149  |  Link
arnezami
Registered User
 
Join Date: Sep 2006
Posts: 390
Quote:
Originally Posted by zeroprobe View Post
Every post you make is negative, you don't have a clue what your talking about.

Theres only two possible ways AnyDVD can work and I can 99.9% say that they didn't break aacs so it must be this way.
Thank you so much. For a moment I thought I was biased. I really considered spending (or should I say wasting) useful time on a response. But you said it very clearly in two sentences.

Last edited by arnezami; 12th February 2007 at 22:40.
arnezami is offline   Reply With Quote
Old 12th February 2007, 22:22   #150  |  Link
evdberg
Registered User
 
Join Date: Dec 2006
Posts: 202
Quote:
Originally Posted by Dethis View Post
Except beta testers..
They can only test functionality of the program, they do not know anything about its workings.
evdberg is offline   Reply With Quote
Old 12th February 2007, 22:32   #151  |  Link
Electrox3d
Registered User
 
Join Date: Feb 2003
Posts: 41
I've got blu-ray drives coming out of my ears... anything you want me to try?
__________________
___
Electrox3d is offline   Reply With Quote
Old 12th February 2007, 22:36   #152  |  Link
arnezami
Registered User
 
Join Date: Sep 2006
Posts: 390
Quote:
Originally Posted by xyz987 View Post
Source code please :-)
Some sample code for those eagerly waiting:
Code:
	// Processing Key
	static unsigned char processing_key[16] = {0x09,0xF9,0x11,0x02,0x9D,0x74,0xE3,0x5B,0xD8,0x41,0x56,0xC5,0x63,0x56,0x88,0xC0};

	// Encrypted C Value
	static unsigned char encrypted_c_value[16] = {0x6D,0x02,0xCA,0xC6,0x7B,0x1A,0x7E,0x95,0xC2,0x16,0xEF,0xD4,0xC9,0x28,0x09,0xCF};

	//Decrypted C Value
	static unsigned char decrypted_c_value[16];
	static unsigned char uv[4] = {0x00,0x00,0x00,0x01};

	// Media Key
	static unsigned char media_key[16]; 

	//Encrypted Verification Data (King Kong)
	static unsigned char encrypted_verification_data[16] = {0x87,0xB8,0xA2,0xB7,0xC1,0x0B,0x9F,0xAD,0xF8,0xC4,0x36,0x1E,0x23,0x86,0x59,0xE5};

	//Decrypted Verification Data Should Be
	static unsigned char decrypted_verification_data_should_be[8] = {0x01,0x23,0x45,0x67,0x89,0xAB,0xCD,0xEF};

	//Decrypted Verification Data
	static unsigned char decrypted_verification_data[16];

	// Volume ID
	static unsigned char volume_id[16] = {0x40,0x00,0x09,0x18,0x20,0x06,0x08,0x41,0x00,0x20,0x20,0x20,0x20,0x20,0x00,0x00};
	
	//Decrypted Volume ID
	static unsigned char decrypted_volumeid[16];

	//Volume Unique Key
	static unsigned char volume_unqiue_key[16];
	

	// First decrypt the C-value with the processing key
	oRijndael.MakeKey((char *)processing_key, CRijndael::sm_chain0, 16, 16);
	oRijndael.DecryptBlock((char *)encrypted_c_value, (char *)decrypted_c_value);

	// Then XOR it with with the uv (of the corresponding C-value)
	for (j = 0; j < 16; j++)
	{
		if (j < 12)
		{
			media_key[j] = decrypted_c_value[j];
		}
		else
		{
			media_key[j] = decrypted_c_value[j]^uv[j-12];
		}
	}

	// Then check if the resulting media key is correct using the verify media key record
	oRijndael.MakeKey((char *)media_key, CRijndael::sm_chain0, 16, 16);
	oRijndael.DecryptBlock((char *)encrypted_verification_data, (char *)decrypted_verification_data);

	if (!memcmp(decrypted_verification_data_should_be, decrypted_verification_data, 8))
	{
		for (j = 0; j < 16; j++)
		{
			printf("%02X ", decrypted_verification_data[j]);
		}
	}
	printf("\n");

	// Then do a AES-G (basicly a decrypt and an XOR) on the media key + volumeID
	oRijndael.MakeKey((char *)media_key, CRijndael::sm_chain0, 16, 16);
	oRijndael.DecryptBlock((char *)volume_id, (char *)decrypted_volumeid);
	for (j = 0; j < 16; j++)
	{
		volume_unqiue_key[j] = volume_id[j]^decrypted_volumeid[j];
	}
	printf("\n");

	// This results in the Volume Unique Key
	for (j = 0; j < 16; j++)
	{
		printf("%02X ", volume_unqiue_key[j]);
	}
	printf("\n");

Last edited by arnezami; 13th February 2007 at 00:02.
arnezami is offline   Reply With Quote
Old 12th February 2007, 22:42   #153  |  Link
xyz987
Registered User
 
Join Date: Dec 2006
Posts: 142
Quote:
Originally Posted by arnezami View Post
Some sample code for those eagerly waiting:
Great!!

xyz987 is offline   Reply With Quote
Old 12th February 2007, 22:50   #154  |  Link
xyz987
Registered User
 
Join Date: Dec 2006
Posts: 142
Quote:
Originally Posted by Electrox3d View Post
I've got blu-ray drives coming out of my ears... anything you want me to try?
Of course, we want to know if arnezami's Processing Key works with BluRay movies.

I suppose arnezami will give you instructions soon.
xyz987 is offline   Reply With Quote
Old 12th February 2007, 22:51   #155  |  Link
evdberg
Registered User
 
Join Date: Dec 2006
Posts: 202
And a small PC prog to play around with it ... (had to convert it from my Mac test version)

Usage: mkb <mkb_file> [volume_id]
Attached Files
File Type: zip mkb.exe.zip (26.7 KB, 5080 views)
evdberg is offline   Reply With Quote
Old 12th February 2007, 22:52   #156  |  Link
blutach
Country Member
 
blutach's Avatar
 
Join Date: Sep 2004
Location: is everything!
Posts: 6,499
Guys - I wake up to something building to a flame a war?

Let's keep it on an even keel and stick to the technical please. We all have something to contribute - let's do it in a postive way!

Regards
__________________
Les

Only use genuine Verbatim or Taiyo Yuden media.
blutach is offline   Reply With Quote
Old 12th February 2007, 22:57   #157  |  Link
xyz987
Registered User
 
Join Date: Dec 2006
Posts: 142
Quote:
Originally Posted by evdberg View Post
And a small PC prog to play around with it ... (had to convert it from my Mac test version)

Usage: mkb <mkb_file> [volume_id]
xyz987 is offline   Reply With Quote
Old 12th February 2007, 23:01   #158  |  Link
appleguru
Registered User
 
Join Date: Aug 2004
Posts: 6
Quote:
Originally Posted by evdberg View Post
And a small PC prog to play around with it ... (had to convert it from my Mac test version)

Usage: mkb <mkb_file> [volume_id]

Can I get the mac version?
appleguru is offline   Reply With Quote
Old 12th February 2007, 23:04   #159  |  Link
evdberg
Registered User
 
Join Date: Dec 2006
Posts: 202
Quote:
Originally Posted by appleguru View Post
Can I get the mac version?
Sure ... if you explain me how you can read a HD-DVD using the Xbox-360 drive on the Mac? Because if I insert a disk in the drive, OS-X comes up with the message "Unknown format, Ignore or Eject".
evdberg is offline   Reply With Quote
Old 12th February 2007, 23:08   #160  |  Link
Electrox3d
Registered User
 
Join Date: Feb 2003
Posts: 41
Quote:
Originally Posted by xyz987 View Post
Of course, we want to know if arnezami's Processing Key works with BluRay movies.

I suppose arnezami will give you instructions soon.
So... Should I run the USBsniffer program using a blu-ray drive / movie / WinDVD like the HDDVD instructions did? or is it something else that needs to be tested w/blu-ray?

Arnezami - what test would you like done w/blu-ray?
__________________
___
Electrox3d is offline   Reply With Quote
Old 12th February 2007, 23:11   #161  |  Link
appleguru
Registered User
 
Join Date: Aug 2004
Posts: 6
Quote:
Originally Posted by evdberg View Post
Sure ... if you explain me how you can read a HD-DVD using the Xbox-360 drive on the Mac? Because if I insert a disk in the drive, OS-X comes up with the message "Unknown format, Ignore or Eject".
Leopard my friend
appleguru is offline   Reply With Quote
Old 12th February 2007, 23:13   #162  |  Link
evdberg
Registered User
 
Join Date: Dec 2006
Posts: 202
Here you go ... the Mac OS-X Universal binary !
Attached Files
File Type: zip mkb.zip (29.4 KB, 2182 views)
evdberg is offline   Reply With Quote
Old 12th February 2007, 23:13   #163  |  Link
appleguru
Registered User
 
Join Date: Aug 2004
Posts: 6
RE: reading HD DVD discs in leopard.. they mount, but show up in the finder as empty. If you ls -a them in the terminal you can see that it does indeed show the files. Seems apple updated the UDF drivers for leopard in preparation for next gen video support.
appleguru is offline   Reply With Quote
Old 12th February 2007, 23:14   #164  |  Link
arnezami
Registered User
 
Join Date: Sep 2006
Posts: 390
Quote:
Originally Posted by Electrox3d View Post
So... Should I run the USBsniffer program using a blu-ray drive / movie / WinDVD like the HDDVD instructions did? or is it something else that needs to be tested w/blu-ray?

Arnezami - what test would you like done w/blu-ray?
The things we need to see if this processing key works with Blu-Ray aswell (I've already heard the proc key is in a Blu-Ray memdump so its very likely now) is in this post.

So we need:

(1) Title of the Movie (not really needed but is nice to know)
(2) The Verify Media Key Record in the MKBROM.AACS
(3) The first C-Value in the MKBROM.AACS file

Then we will know if it works for Blu-Ray aswell.

And if you will (optional) :

(4) To go towards the VUK we also need the Volume ID (you either should use a sniffer or if you don't have it usb connected: a memdump which is harder, read the instruction in this thread)

Last edited by arnezami; 12th February 2007 at 23:22.
arnezami is offline   Reply With Quote
Old 12th February 2007, 23:14   #165  |  Link
appleguru
Registered User
 
Join Date: Aug 2004
Posts: 6
Quote:
Originally Posted by evdberg View Post
Here you go ... the Mac OS-X Universal binary !
Thanks... Not quite sure what it does yet, but I like to play around
appleguru is offline   Reply With Quote
Old 12th February 2007, 23:20   #166  |  Link
xyz987
Registered User
 
Join Date: Dec 2006
Posts: 142
Quote:
Originally Posted by Electrox3d View Post
So... Should I run the USBsniffer program using a blu-ray drive / movie / WinDVD like the HDDVD instructions did? or is it something else that needs to be tested w/blu-ray?
No, in fact arnezami just needs 2 data from your BluRay disk (Verify Media Key Record and first C-Value) to test the Processing Key.

On HD-DVD disk these data are stored in MKBROM.AACS file. Unfortunately I don't know if file name or key offsets inside file are the same in BluRay.
xyz987 is offline   Reply With Quote
Old 12th February 2007, 23:33   #167  |  Link
Electrox3d
Registered User
 
Join Date: Feb 2003
Posts: 41
Quote:
Originally Posted by arnezami View Post
The things we need to see if this processing key works with Blu-Ray aswell (I've already heard the proc key is in a Blu-Ray memdump so its very likely now) is in this post.

So we need:

(1) Title of the Movie (not really needed but is nice to know)
(2) The Verify Media Key Record in the MKBROM.AACS
(3) The first C-Value in the MKBROM.AACS file

Then we will know if it works for Blu-Ray aswell.

And if you will (optional) :

(4) To go towards the VUK we also need the Volume ID (you either should use a sniffer or if you don't have it usb connected: a memdump which is harder, read the instruction in this thread)
OK, so where do I find the MKBROM.AACS file? It is not located on the BD movie disc, is this file created when the movie is played somewhere?

I can use the sniffer for (4), and I read the instructions for it, so when I make the log file using the sniffer, is it called VolumeID in the log?
__________________
___
Electrox3d is offline   Reply With Quote
Old 12th February 2007, 23:38   #168  |  Link
xyz987
Registered User
 
Join Date: Dec 2006
Posts: 142
Quote:
Originally Posted by Electrox3d View Post
OK, so where do I find the MKBROM.AACS file? It is not located on the BD movie disc, is this file created when the movie is played somewhere?
No, it is on BluRay disk (may be with another name, but it is on disk). Did you look at AACS directory on disk?

Edit:

From ACCS specification for prerecorded BluRay:

"Each BD-ROM disc that contains content encrypted by AACS [using a CPS Unit Key that is provided in the
AACS directory] shall include two Read-Only Media Key Blocks (MKB). The MKB “MKB_RO.inf” shall be
stored in the “\AACS” directory and in the “\AACS\DUPLICATE” directory."

Last edited by xyz987; 12th February 2007 at 23:47.
xyz987 is offline   Reply With Quote
Old 12th February 2007, 23:39   #169  |  Link
arnezami
Registered User
 
Join Date: Sep 2006
Posts: 390
Quote:
Originally Posted by xyz987 View Post
No, in fact arnezami just needs 2 data from your BluRay disk (Verify Media Key Record and first C-Value) to test the Processing Key.

On HD-DVD disk these data are stored in MKBROM.AACS file. Unfortunately I don't know if file name or key offsets inside file are the same in BluRay.
Sorry. (i'm not used to Blu-Ray yet) it should be called MKB_RO.inf. And I think it should have the same layout of that of a MKBROM.AACS file (on a HD DVD disc). So my other directions should stay the same. Keep us informed .

Keep in mind you have to open it with a hex editor (best is WinHex).

Last edited by arnezami; 12th February 2007 at 23:42.
arnezami is offline   Reply With Quote
Old 12th February 2007, 23:51   #170  |  Link
ioakougroup
Registered User
 
Join Date: Dec 2006
Posts: 2
Oups U Did It Again!!!

Quote:
Originally Posted by arnezami View Post
YES YES YES!! It works!

I'm going to take some rest now (I need it ). But will tell all later.

Here is the Processing Key which should work on all HD DVD discs (and maybe even Blu-Ray discs) released so far:

Code:
09 F9 11 02 9D 74 E3 5B D8 41 56 C5 63 56 88 C0
Save it. Store it.

Regards,

arnezami

PS. As explained before in order to get a VUK you now only need a Volume ID (which should be fairly easy to get or even to guess...).
WELL DONE MATE!!!
ioakougroup is offline   Reply With Quote
Old 12th February 2007, 23:57   #171  |  Link
Electrox3d
Registered User
 
Join Date: Feb 2003
Posts: 41
Quote:
Originally Posted by arnezami View Post
Sorry. (i'm not used to Blu-Ray yet) it should be called MKB_RO.inf. And I think it should have the same layout of that of a MKBROM.AACS file (on a HD DVD disc). So my other directions should stay the same. Keep us informed .

Keep in mind you have to open it with a hex editor (best is WinHex).
Ok, so far here's what I've got:

(1) Title: Talladega Nights (disc included w/PS3, not uncut retail copy)
(2) The Verify Media Key Record in the MKB_RO.inf file:
81 00 00 14 B3 85 A4 20 78 21 99 80 71 06 27 B2 7B F7 C5 41 7F 00 00 xx
(3) The First C-Value in the MKB_RO.inf file:
05 00 20 14 CB B1 61 65 DD C1 96 FC 65 D0 E6 A0 33 30 45 F5 32 62 2D 6D

So for (4), when I use the USB sniffer and I open the program, I have over ten "USB Mass Storage Device" items listed... is there a way of being sure I've selected the correct one? EDIT: I think I got it... post in a minute.
__________________
___

Last edited by Electrox3d; 13th February 2007 at 00:07.
Electrox3d is offline   Reply With Quote
Old 13th February 2007, 00:07   #172  |  Link
arnezami
Registered User
 
Join Date: Sep 2006
Posts: 390
Quote:
Originally Posted by Electrox3d View Post
Ok, so far here's what I've got:

(1) Title: Talladega Nights (disc included w/PS3, not uncut retail copy)
(2) The Verify Media Key Record in the MKB_RO.inf file:
81 00 00 14 B3 85 A4 20 78 21 99 80 71 06 27 B2 7B F7 C5 41 7F 00 00 xx
(3) The First C-Value in the MKB_RO.inf file:
05 00 20 14 CB B1 61 65 DD C1 96 FC 65 D0 E6 A0 33 30 45 F5 32 62 2D 6D

So for (4), when I use the USB sniffer and I open the program, I have over ten "USB Mass Storage Device" items listed... is there a way of being sure I've selected the correct one?
It works!!!

Much thanks.

Blu-Ray is also decryptable with this Processing Key. You just confirmed this.

The Media Key that is. As for selecting the right USB Mass Storage Device I really don't know. What else have you attached on your usb? Maybe just try: whatever generates large log files after starting your Software Player is the right one .

Last edited by arnezami; 13th February 2007 at 00:12.
arnezami is offline   Reply With Quote
Old 13th February 2007, 00:08   #173  |  Link
evdberg
Registered User
 
Join Date: Dec 2006
Posts: 202
My small prog should also work with BluRay, just use the MKB_RO.INF as 1st parameter (instead of MKBROM.AACS). Les, can you approve the attachment?
evdberg is offline   Reply With Quote
Old 13th February 2007, 00:08   #174  |  Link
Founditalso
Registered User
 
Join Date: Jan 2007
Posts: 21
Quote:
Originally Posted by arnezami View Post
Sorry. (i'm not used to Blu-Ray yet) it should be called MKB_RO.inf. And I think it should have the same layout of that of a MKBROM.AACS file (on a HD DVD disc). So my other directions should stay the same. Keep us informed .

Keep in mind you have to open it with a hex editor (best is WinHex).
Another one (if I did everything right)

House Of Flying Daggers
81 00 00 14 0E 6C 59 50 9C 1C 9D 8C CC DD 5F 26 CF C7 28 8F
05 00 20 14 8D C1 F2 60 95 D0 6B 48 B4 F2 01 C3 30 D8 35 2D
Does it help?
Founditalso is offline   Reply With Quote
Old 13th February 2007, 00:15   #175  |  Link
arnezami
Registered User
 
Join Date: Sep 2006
Posts: 390
Quote:
Originally Posted by Founditalso View Post
Another one (if I did everything right)

House Of Flying Daggers
81 00 00 14 0E 6C 59 50 9C 1C 9D 8C CC DD 5F 26 CF C7 28 8F
05 00 20 14 8D C1 F2 60 95 D0 6B 48 B4 F2 01 C3 30 D8 35 2D
Does it help?
Works too! Another confirmation...
arnezami is offline   Reply With Quote
Old 13th February 2007, 00:16   #176  |  Link
xyz987
Registered User
 
Join Date: Dec 2006
Posts: 142
Quote:
Originally Posted by arnezami View Post
It works!!!

Blu-Ray is also decryptable with this Processing Key.
Congratulations again :-)

They are using the same root/master key for both BluRay and HD-DVD. So any Processing/Device Key should work for both.

Are you reading this, AnyDVD guys?. Start developing the new version with BluRay support ;-D
xyz987 is offline   Reply With Quote
Old 13th February 2007, 00:20   #177  |  Link
xyz987
Registered User
 
Join Date: Dec 2006
Posts: 142
Quote:
Originally Posted by Electrox3d View Post
(1) Title: Talladega Nights (disc included w/PS3, not uncut retail copy)
(2) The Verify Media Key Record in the MKB_RO.inf file:
81 00 00 14 B3 85 A4 20 78 21 99 80 71 06 27 B2 7B F7 C5 41 7F 00 00 xx
(3) The First C-Value in the MKB_RO.inf file:
05 00 20 14 CB B1 61 65 DD C1 96 FC 65 D0 E6 A0 33 30 45 F5 32 62 2D 6D
Now you can say everybody you helped to break BluRay :-)

xyz987 is offline   Reply With Quote
Old 13th February 2007, 00:22   #178  |  Link
arnezami
Registered User
 
Join Date: Sep 2006
Posts: 390
Quote:
Originally Posted by xyz987 View Post
Congratulations again :-)

They are using the same root/master key for both BluRay and HD-DVD. So any Processing/Device Key should work for both.

Are you reading this, AnyDVD guys?. Start developing the new version with BluRay support ;-D
Don't forget AnyDVD do not need to extract the Volume ID. Which could mean 1 of 2 things: they have the Host private key or they are guessing the HD DVD Volume IDs.

Which brings us to our most needed information from those who have HD DVD discs.

Please post Volume IDs of this type (if you find any)

Appollo 13:
Code:
Hex:   40 00 04 06 32 04 20 11 57 47 48 44 56 4D 00 00
Ascii:                          W  G  H  D  V  M
Batman Begins:

Code:
Hex:   40 00 40 06 26 08 10 15 57 47 48 44 56 4D 00 00
Ascii:                          W  G  H  D  V  M
Please help us here.

This could be very useful in determining a way of guessing the Volume IDs for HD DVDs (which might be the reason AnyDVD is only supporting HD DVD atm ).

Last edited by arnezami; 13th February 2007 at 00:27.
arnezami is offline   Reply With Quote
Old 13th February 2007, 00:23   #179  |  Link
Electrox3d
Registered User
 
Join Date: Feb 2003
Posts: 41
Quote:
Originally Posted by Electrox3d View Post
Ok, so far here's what I've got:

(1) Title: Talladega Nights (disc included w/PS3, not uncut retail copy)
(2) The Verify Media Key Record in the MKB_RO.inf file:
81 00 00 14 B3 85 A4 20 78 21 99 80 71 06 27 B2 7B F7 C5 41 7F 00 00 xx
(3) The First C-Value in the MKB_RO.inf file:
05 00 20 14 CB B1 61 65 DD C1 96 FC 65 D0 E6 A0 33 30 45 F5 32 62 2D 6D

So for (4), when I use the USB sniffer and I open the program, I have over ten "USB Mass Storage Device" items listed... is there a way of being sure I've selected the correct one? EDIT: I think I got it... post in a minute.
OK, for the VolumeID, I *think* you are asking for the 6 bytes after the 00 22 00 00, right? Here's what I found for this disc:
00000000: 00 22 00 00 7f 58 3c b4 6c 30

EDIT: I read a little more about the blu-ray VolumeID, and it seems more complicated than this... From what I understand, there is only one place that has 32 random bytes after the 00 22 00 00... how do I find the correct one? Do I have to get multiple logs and compare them?
__________________
___

Last edited by Electrox3d; 13th February 2007 at 00:37.
Electrox3d is offline   Reply With Quote
Old 13th February 2007, 00:46   #180  |  Link
arnezami
Registered User
 
Join Date: Sep 2006
Posts: 390
Quote:
Originally Posted by Electrox3d View Post
OK, for the VolumeID, I *think* you are asking for the 6 bytes after the 00 22 00 00, right? Here's what I found for this disc:
00000000: 00 22 00 00 7f 58 3c b4 6c 30

EDIT: I read a little more about the blu-ray VolumeID, and it seems more complicated than this... From what I understand, there is only one place that has 32 random bytes after the 00 22 00 00... how do I find the correct one? Do I have to get multiple logs and compare them?
I need 16 bytes (not 6 bytes) after the 00 22 00 00. So 10 more . But not more than that! (for your own protection)

Last edited by arnezami; 13th February 2007 at 00:51.
arnezami is offline   Reply With Quote
Old 13th February 2007, 00:49   #181  |  Link
Electrox3d
Registered User
 
Join Date: Feb 2003
Posts: 41
Quote:
Originally Posted by arnezami View Post
I need 16 bytes (not 6 bytes) after the 00 22 00 00. So 10 more .
Here's the full string, making it 16 bytes including the 00 22 00 00:
00000000: 00 22 00 00 7f 58 3c b4 6c 30 99 e5 c8 99 44 08

Is this it? It seems the 00 22 00 00 shouldn't be part of the 16 bytes... after 99 44 08 there's a period, then it starts a new line with "0000010: xx xx xx xx xx xx xx xx xx xx xx xx xx xx xx xx"
__________________
___

Last edited by Electrox3d; 13th February 2007 at 00:52.
Electrox3d is offline   Reply With Quote
Old 13th February 2007, 00:58   #182  |  Link
arnezami
Registered User
 
Join Date: Sep 2006
Posts: 390
Quote:
Originally Posted by Electrox3d View Post
Here's the full string, making it 16 bytes:
00000000: 00 22 00 00 7f 58 3c b4 6c 30 99 e5 c8 99 44 08

Is this it?
Sorry no still 4 bytes short.

What is the title of the movie? For full confirmation I probably also need the encrypted title key in the CPS unit key file. I'll try to find out where you can find that.
arnezami is offline   Reply With Quote
Old 13th February 2007, 00:58   #183  |  Link
Electrox3d
Registered User
 
Join Date: Feb 2003
Posts: 41
Quote:
Originally Posted by arnezami View Post
Yes thats it . Perfect.

What is the title of the movie? For full confirmation I probaly also need something the encrypted CPS unit key. I'll try to find out where you can find that.
Talladega Nights The Ballad of Ricky Bobby (the edition that comes with ps3, not the uncut retail edition)

Ok, in addition, I found that the three lines in the hex editor equal up to 32 characters total (minus the 00 22 00 00) and this is probably the VolumeID and MAC, wouldn't you think?
00000000: 00 22 00 00 7f 58 3c b4 6c 30 99 e5 c8 99 44 08
00000010: 07 f7 41 4b xx xx xx xx xx xx xx xx xx xx xx xx
00000020: xx xx xx xx

So VolumeID is probably: 7f 58 3c b4 6c 30 99 e5 c8 99 44 08 07 f7 41 4b
__________________
___
Electrox3d is offline   Reply With Quote
Old 13th February 2007, 01:07   #184  |  Link
xyz987
Registered User
 
Join Date: Dec 2006
Posts: 142
Quote:
Originally Posted by arnezami View Post
Don't forget AnyDVD do not need to extract the Volume ID. Which could mean 1 of 2 things: they have the Host private key or they are guessing the HD DVD Volume IDs.
No, there is another method. They can redirect through Internet the USB conection between HD-DVD device (at home of AnyDVD user) and an authorized HD-DVD host (WinDVD, PowerDVD, whatsoever) running on an AnyDVD developers server. They can sniff VolumeID that way.

And another method: a hacked device firmware can algo give you the VolumeID sans Host Private Key.
xyz987 is offline   Reply With Quote
Old 13th February 2007, 01:14   #185  |  Link
arnezami
Registered User
 
Join Date: Sep 2006
Posts: 390
Quote:
Originally Posted by Electrox3d View Post
Talladega Nights The Ballad of Ricky Bobby (the edition that comes with ps3, not the uncut retail edition)

Ok, in addition, I found that the three lines in the hex editor equal up to 32 characters total (minus the 00 22 00 00) and this is probably the VolumeID and MAC, wouldn't you think?
00000000: 00 22 00 00 7f 58 3c b4 6c 30 99 e5 c8 99 44 08
00000010: 07 f7 41 4b xx xx xx xx xx xx xx xx xx xx xx xx
00000020: xx xx xx xx

So VolumeID is probably: 7f 58 3c b4 6c 30 99 e5 c8 99 44 08 07 f7 41 4b
Yes this is right.

This results in the following Volume Unique Key:

Code:
9A C3 7C 74 93 F6 BA 64 A7 AE E2 D4 E8 6C 0F 8C
Now if you have a memdump its probably in it. Otherwise we would have to use it to decrypt the encrypted CPS Unit Key (=Title Key for HD DVD).

PS. I have to go to sleep ....
arnezami is offline   Reply With Quote
Old 13th February 2007, 01:20   #186  |  Link
Electrox3d
Registered User
 
Join Date: Feb 2003
Posts: 41
Quote:
Originally Posted by arnezami View Post
Yes this is right.

This results in the following Volume Unique Key:

Code:
9A C3 7C 74 93 F6 BA 64 A7 AE E2 D4 E8 6C 0F 8C
Now if you have a memdump its probably in it. Otherwise we would have to use it to decrypt the encrypted CPS Unit Key (=Title Key for HD DVD).

PS. I have to go to sleep ....
Tell me how to get a memdump. (aww... sleep?? where do u live??, its mid-day here)
__________________
___
Electrox3d is offline   Reply With Quote
Old 13th February 2007, 01:28   #187  |  Link
xyz987
Registered User
 
Join Date: Dec 2006
Posts: 142
Quote:
Originally Posted by arnezami View Post
Now if you have a memdump its probably in it. Otherwise we would have to use it to decrypt the encrypted CPS Unit Key (=Title Key for HD DVD).
CPS Unit Key of Talladega Nights (US PS3 version) is a previously published key. It was published at Janvitos thread. Here is the key:

243302819492872FB60BF20BCCE28531

Last edited by xyz987; 13th February 2007 at 01:42. Reason: stupid error
xyz987 is offline   Reply With Quote
Old 13th February 2007, 01:36   #188  |  Link
guile
Registered User
 
Join Date: Oct 2002
Posts: 65
WOW!! A LOT has happened in a few days. Excellent work here. Please approve Edvberg's file, I would like to play with it.
guile is offline   Reply With Quote
Old 13th February 2007, 01:49   #189  |  Link
HyperHacker
Resident DRM Hater
 
HyperHacker's Avatar
 
Join Date: Oct 2006
Location: International waters
Posts: 242
Quote:
Originally Posted by arnezami View Post
General question: does anybody have an (old) PowerDVD version that doesn't support HD/BD playback? Does it also have *.fcl files?
Do you still need this? I have PowerDVD 6 "2CH" that came with a DVD burner I bought recently. I see no mention of Blu-ray or HD-DVD on the disc; I've never actually used it (just now, to check the version, was the first time I ever even took it out of the sleeve) since VLC does the job nicely. (It wasn't an HD-DVD or Blu-ray drive, though, so I highly doubt they included software that could play those. )
__________________
Because Moogles pwn.
HyperHacker is offline   Reply With Quote
Old 13th February 2007, 05:18   #190  |  Link
arnezami
Registered User
 
Join Date: Sep 2006
Posts: 390
Quote:
Originally Posted by Electrox3d View Post
Tell me how to get a memdump. (aww... sleep?? where do u live??, its mid-day here)
I'm sort of awake again . My biological clock is totally screwed.

Anyway.

Here is an easier check (I did the reverse by doing some encrypting). If all is correct (no typos, no mistakes, exact same movie, no bus encryption etc) this should be the encrypted CPS Unit Key:

Code:
81 9C CC E5 F7 FC F2 C8 F3 0F D5 59 F0 DD CA 0E
To check if this is correct you can open your Unit_Key_RO.inf file with winhex and hex search for 819CCCE5 and if found you can check if all 16 bytes are the same. If they are then we know the sniffed Volume ID is working for Blu-Ray aswell... (that would be great news)

Btw: anybody with this movie (Talladega Nights - US PS3 version) can check this: the unit key file is on the disc.

Last edited by arnezami; 13th February 2007 at 05:25.
arnezami is offline   Reply With Quote
Old 13th February 2007, 07:34   #191  |  Link
arnezami
Registered User
 
Join Date: Sep 2006
Posts: 390
Quote:
Originally Posted by evdberg View Post
And a small PC prog to play around with it ... (had to convert it from my Mac test version)

Usage: mkb <mkb_file> [volume_id]
I can confirm it works correctly. Well done .

Thanks. That also saves me quite some time.

Regards,

arnezami

Last edited by arnezami; 13th February 2007 at 09:32.
arnezami is offline   Reply With Quote
Old 13th February 2007, 07:48   #192  |  Link
blutach
Country Member
 
blutach's Avatar
 
Join Date: Sep 2004
Location: is everything!
Posts: 6,499
For people suggesting AnyDVD do things:

1. We are not Slysoft's forum, although I know they read us.

2. I fervently hope that the work done freely and with such fervour, intellect and imagination by our members will not simply result in a commercial product being launched that takes advantage of all your good work. I truly hope that the work done here can merge into a user friendly freeware product to enable the soon to be many HD-DVD/BR users to backup their material.

Regards
__________________
Les

Only use genuine Verbatim or Taiyo Yuden media.
blutach is offline   Reply With Quote
Old 13th February 2007, 09:48   #193  |  Link
xyz987
Registered User
 
Join Date: Dec 2006
Posts: 142
Quote:
Originally Posted by blutach View Post
[color=blue]For people suggesting AnyDVD do things:
I was just making a joke :-)

In fact I am a Linux user and a free software zealot, so I am not interested on AnyDVD :-)
xyz987 is offline   Reply With Quote
Old 13th February 2007, 09:54   #194  |  Link
He-Man
Guest
 
Posts: n/a
Quote:
Originally Posted by Electrox3d View Post
Tell me how to get a memdump. (aww... sleep?? where do u live??, its mid-day here)
You don't actually need a memdump to get the Blu-ray Volume Unique Key and CPS Unit Key, just use ape's Blu-ray Key Finder while WindDVD is playing the Blu-ray disc:
http://forum.doom9.org/showthread.php?t=121021

ape has also made a similar HD DVD Voulme Unique Key Finder:
http://forum.doom9.org/showthread.php?t=120970
  Reply With Quote
Old 13th February 2007, 15:53   #195  |  Link
christopherw
Registered User
 
Join Date: Mar 2006
Posts: 24
Happy days Can't believe I only just heard about this!

Well done to all involved. Place your bets on when the movie industry'll finally take a hint
christopherw is offline   Reply With Quote
Old 13th February 2007, 17:47   #196  |  Link
FoxDisc
Registered User
 
Join Date: Jan 2007
Posts: 274
Quote:
Originally Posted by arnezami View Post
That basicly means that having a Volume ID (IDv) and a Media Key (Km) you can calculate the Volume Unique Key (Kvu).

Or to illustrate it (I removed the currently unused parts):



The red part is the hard part: getting the Media Key** (usually from a software player by debugging/memory snooping). But this only has to be done once per MKB and can be done by a pro.

The yellow part is what I described above: we either can (nearly) predict the Volume ID or we can get it via simple USB sniffing (the software player can't do much about that apart from bus encryption which is not implemented yet).

The blue part is the easiest: if we have the Volume ID (also called IDv) and the Media Key (Km) we can calculate the Volume Unique Key (Kvu) and then the Title Keys (Kt). This of course enables us to decrypt the content itself.

Hope that clarifies a bit.

Regards,

arnezami

** Later in this thread it became clear we need a Processing Key. But it amounts to basicly the same thing.
I would appreciate a summary/restatement/explanation of this. I've looked at some of the AACS source documents, but I still don't understand where the "processing key" fits into the picture. Specifically, it looked to me like the player stores a device key (in the player or player software) that was created from some master key in the secret possession of the AACS licensing authority. The device key is used to decrypt the MKB (on the disk) to get the media key (Km). The device key is subject to revocation by the AACSLA by changing the MKB on future disks such that the old revoked device key no longer works with the new MKB on the new disks to get a valid media key.

The media key is used with the volume ID (stored on the disk) to get the volume unique key (Kvu) After processing, this decrypted Kvu volume unique key is in the memory of WinDVD and can be grabbed by other tools developed here. It is specific to the disk. The volume unique key can be used to decrypt an encrypted title key (stored on the disk) to get the decrypted title key Kt which is now in memory of WinDVD and can also be grabbed by tools here when decrypted and being used in the memory.

If we had the device key, then the disk could be read directly to obtain the final decrypted title key without any of the memory reading. Memory reading to find title key/volume unique key is subject to attack by making it more difficult to find in memory simply by updating software players, without changing any issued device keys or MKBs. Knowledge of the device key makes it easy to write a decrypting program and is only subject to revocation using the MKB changing - device key revocation process, something the AACS LA may not be really anxious to do on a regular basis.

Where does the "processing key" of the title of this thread fit into this picture? Is it the same as the device key or am I missing an important piece of this puzzle and the decrypting process? Thanks for filling in any gaps/errors in my summary above.
FoxDisc is offline   Reply With Quote
Old 13th February 2007, 18:12   #197  |  Link
oddball
Registered User
 
Join Date: Jan 2002
Posts: 1,101
I predict by the time they start revoking (If ever) the whole thing will have been broken wide open. Well I hope so anyhow. Everything that can be made by man can also be broken with some enginuity. The first Quantum computer was recently announced. When those start appearing on desktops the encrytion used will become moot. But it will probably be cracked before then even looking at the speed it's moving right now.
oddball is offline   Reply With Quote
Old 13th February 2007, 18:40   #198  |  Link
mrazzido
Registered User
 
mrazzido's Avatar
 
Join Date: Jan 2007
Posts: 114
sorry offtopic..

on german news site HEISE is an article all about this *g.
mrazzido is offline   Reply With Quote
Old 13th February 2007, 18:46   #199  |  Link
FoxDisc
Registered User
 
Join Date: Jan 2007
Posts: 274
Quote:
Originally Posted by oddball View Post
I predict by the time they start revoking (If ever) the whole thing will have been broken wide open. Well I hope so anyhow. Everything that can be made by man can also be broken with some enginuity. The first Quantum computer was recently announced. When those start appearing on desktops the encrytion used will become moot. But it will probably be cracked before then even looking at the speed it's moving right now.
It may look like things are moving fast, but IMHO, nothing being done here comes anywhere near to breaking the cryptography that AACS relies on. Let's face it. The **AA has a near hopeless task. They have to let people watch movies, so no matter how much advanced cryptography they use, they have to give the users the keys to decrypt the data. The keys have to be inside the player, so the best they can do is make it hard to get those keys. That's what's being done here - people are finding the keys that they give us. I see no sign that anyone is breaking any encryption by figuring out keys they don't give us (the master key held by the AACS LA) or even calculating the keys they've already given us (device keys) as opposed to finding them in memory when being used.

Of course, no one needs to break the encryption - finding keys they give us is good enough. It's probably harder for the AACS LA to change device keys and MKBs than it is for others to find them.

Perhaps quantum computing will eventually allow the encryption to be broken, but until then, the AACS system still technically "works" and they can revoke device keys and force them to be found again. All they manage to do is piss off their customers when authorized equipment won't work and DRM free backups do. Eventually, they are bound to see the light.
FoxDisc is offline   Reply With Quote
Old 13th February 2007, 18:59   #200  |  Link
Electrox3d
Registered User
 
Join Date: Feb 2003
Posts: 41
Quote:
Originally Posted by arnezami View Post
I'm sort of awake again . My biological clock is totally screwed.

Anyway.

Here is an easier check (I did the reverse by doing some encrypting). If all is correct (no typos, no mistakes, exact same movie, no bus encryption etc) this should be the encrypted CPS Unit Key:

Code:
81 9C CC E5 F7 FC F2 C8 F3 0F D5 59 F0 DD CA 0E
To check if this is correct you can open your Unit_Key_RO.inf file with winhex and hex search for 819CCCE5 and if found you can check if all 16 bytes are the same. If they are then we know the sniffed Volume ID is working for Blu-Ray aswell... (that would be great news)

Btw: anybody with this movie (Talladega Nights - US PS3 version) can check this: the unit key file is on the disc.
Yup, I opened Unit_Key_RO.inf and found that CPS Unit Key.
Code:
81 9C CC E5 F7 FC F2 C8 F3 0F D5 59 F0 DD CA 0E
Awesome!
Attached Images
File Type: gif CPS-Unit-Key.gif (3.0 KB, 17098 views)
__________________
___

Last edited by Electrox3d; 13th February 2007 at 19:03.
Electrox3d is offline   Reply With Quote
Old 13th February 2007, 19:15   #201  |  Link
XStylus
Registered User
 
XStylus's Avatar
 
Join Date: Jan 2004
Posts: 22
Quote:
Originally Posted by arnezami View Post
Wooow. I think I did it .

Processing Key found!!!
Arnezami, I'll tell you the same thing I told muslix64. Unless you're DVD Jon's neighbor in Norway, PROTECT YOUR IDENTITY. Fixing these DRM crippled technologies is only 75% of the victory. The remaining 25% is in making sure you don't become a martyr.

The greatest victories against the rights-thieving media industries are ones where they are denied their pound of flesh.

I'm also mildly curious as to what Doom9's policies are in case it was ever subpoenaed for IP address info. I know it'd certainly be the toughest decision they'd ever have to make.

Last edited by XStylus; 13th February 2007 at 19:21.
XStylus is offline   Reply With Quote
Old 13th February 2007, 19:19   #202  |  Link
Electrox3d
Registered User
 
Join Date: Feb 2003
Posts: 41
Quote:
Originally Posted by XStylus View Post
Arnezami, I'll tell you the same thing I told muslix64. Unless you're DVD Jon's neighbor in Norway, PROTECT YOUR IDENTITY. Fixing these DRM crippled technologies is only 75% of the victory. The remaining 25% is in making sure you don't become a martyr.

The greatest victories against the rights-thieving media industries are ones where they are denied their pound of flesh.
There's no law against opening up a .aacs or .inf file on a disc and looking around. Or looking at what your computer is putting into memory... or what information is streaming across usb...
__________________
___

Last edited by Electrox3d; 13th February 2007 at 19:24.
Electrox3d is offline   Reply With Quote
Old 13th February 2007, 19:30   #203  |  Link
XStylus
Registered User
 
XStylus's Avatar
 
Join Date: Jan 2004
Posts: 22
Quote:
Originally Posted by Electrox3d View Post
There's no law against opening up a .aacs or .inf file on a disc and looking around. Or looking at what your computer is putting into memory... or what information is streaming across usb...
For the purpose of argument, I will agree. However, if the information you discover is disseminated and implemented for the purpose of circumventing a copy protection measure, it is illegal in countries with DMCA-like legislation.
XStylus is offline   Reply With Quote
Old 13th February 2007, 19:37   #204  |  Link
Doom9
clueless n00b
 
Join Date: Oct 2001
Location: somewhere over the rainbow
Posts: 10,583
didn't we head down that road again before and didn't I put up a hefty roadblock?
__________________
For the web's most comprehensive collection of DVD backup guides go to www.doom9.org
Doom9 is offline   Reply With Quote
Old 13th February 2007, 19:45   #205  |  Link
bob0r
Pain and suffering
 
bob0r's Avatar
 
Join Date: Jul 2002
Posts: 1,337
So for the retards like me:

I have a movie, encrpyted, copied via the PS3 on my HDD, no computer hddvd player or bluray player, only a computer with software.

I have mkb.exe and BackupBluRay, can one now make a working copy on a computer using just this software, or do i still need a hddvd player or in this case bluray player?
bob0r is offline   Reply With Quote
Old 13th February 2007, 19:58   #206  |  Link
Electrox3d
Registered User
 
Join Date: Feb 2003
Posts: 41
fyi, anydvd hd is in beta... http://forum.doom9.org/showthread.php?t=122174
__________________
___
Electrox3d is offline   Reply With Quote
Old 13th February 2007, 20:24   #207  |  Link
XStylus
Registered User
 
XStylus's Avatar
 
Join Date: Jan 2004
Posts: 22
Quote:
Originally Posted by Doom9 View Post
didn't we head down that road again before and didn't I put up a hefty roadblock?
I'll have to plead felony stupid on this one and ask which/when/where/what you're referring to. ^^;;;
XStylus is offline   Reply With Quote
Old 13th February 2007, 20:57   #208  |  Link
arnezami
Registered User
 
Join Date: Sep 2006
Posts: 390
Quote:
Originally Posted by Electrox3d View Post
Yup, I opened Unit_Key_RO.inf and found that CPS Unit Key.
Code:
81 9C CC E5 F7 FC F2 C8 F3 0F D5 59 F0 DD CA 0E
Awesome!
Great! No Bus decryption on Blu-ray drives yet and its confirmed Blu-ray uses the same Processing Key as HD DVD.

Very good news indeed .

@FoxDisc: i'm working on something. Please have patience. I need to take time to put it all together and make it comprehensible for everyone (given my available time this could take a couple of days). You've got pretty much everything right. The role of the Processing Key will be explained .

Last edited by arnezami; 13th February 2007 at 21:00.
arnezami is offline   Reply With Quote
Old 13th February 2007, 21:11   #209  |  Link
hd1080p
Registered User
 
Join Date: Jan 2007
Posts: 21
Arnezami did no wrong!!

Arnezami did no wrong. He studied the publicly available AACS specs and really understood them in and out. And then he knew when, where and when to look. There is no law against someone who looked and he didn't steal anything. He just found the keys under the doormat and he didn't go in. Arnezami has nothing to worry about and he didn't violate any copyright laws. He did it for the challenge and the thrill of discovery.


Quote:
Originally Posted by XStylus View Post
Arnezami, I'll tell you the same thing I told muslix64. Unless you're DVD Jon's neighbor in Norway, PROTECT YOUR IDENTITY. Fixing these DRM crippled technologies is only 75% of the victory. The remaining 25% is in making sure you don't become a martyr.

The greatest victories against the rights-thieving media industries are ones where they are denied their pound of flesh.

I'm also mildly curious as to what Doom9's policies are in case it was ever subpoenaed for IP address info. I know it'd certainly be the toughest decision they'd ever have to make.
hd1080p is offline   Reply With Quote
Old 13th February 2007, 21:13   #210  |  Link
Doom9
clueless n00b
 
Join Date: Oct 2001
Location: somewhere over the rainbow
Posts: 10,583
For those who didn't catch my hint: stay on topic. Stuff about "protect your identity", and legal discussion don't belong neither in this thread nor in this subforum. I've warned people about that in the backuphddvd thread a while back and I'm very disappointed that I have to sing the same song again so soon.
__________________
For the web's most comprehensive collection of DVD backup guides go to www.doom9.org
Doom9 is offline   Reply With Quote
Old 13th February 2007, 22:14   #211  |  Link
Founditalso
Registered User
 
Join Date: Jan 2007
Posts: 21
Quote:
Originally Posted by arnezami View Post
Please post Volume IDs of this type (if you find any)

Appollo 13:
Code:
Hex:   40 00 04 06 32 04 20 11 57 47 48 44 56 4D 00 00
Ascii:                          W  G  H  D  V  M
Batman Begins:

Code:
Hex:   40 00 40 06 26 08 10 15 57 47 48 44 56 4D 00 00
Ascii:                          W  G  H  D  V  M
Please help us here.

This could be very useful in determining a way of guessing the Volume IDs for HD DVDs (which might be the reason AnyDVD is only supporting HD DVD atm ).
Are you still interested in HD DVD Volume ID's?

Name and file date and time (mm/dd/yyyy hh:mm):
VID:

Constantine 05/12/2006 5:05
40 00 30 06 53 05 16 11 57 47 48 44 56 4d 00 00

16 Blocks 05/18/2006 2:48
40 00 07 06 02 05 17 17 57 47 48 44 56 4d 00 00

Kiss Kiss Bang Bang 05/25/2006 4:07
40 00 12 06 51 05 15 24 57 47 48 44 56 4d 00 00

Lady in the Water 10/19/2006 8:36
40 00 08 06 16 10 23 18 57 47 48 44 56 4d 00 00

MI3 10/03/2006 15:34
40 00 20 06 10 03 07 19 00 20 20 20 20 20 00 00

Miami Vice 11/17/2006 8:13
40 00 11 16 20 06 08 28 00 20 20 20 20 20 00 00

Swordfish 04/15/2006 2:10
40 00 53 57 4f 52 44 46 49 53 48 20 20 20 00 00

The Matador 10/19/2006 20:41
40 00 ba be 00 00 00 00 00 00 00 00 00 1c 00 00

Enjoy!
Founditalso is offline   Reply With Quote
Old 13th February 2007, 22:26   #212  |  Link
melakai
Registered User
 
Join Date: Jan 2007
Posts: 28
Quote:
Originally Posted by Founditalso View Post
Are you still interested in HD DVD Volume ID's?
Yes, we've got a sticky for them: http://forum.doom9.org/showthread.php?t=120611
melakai is offline   Reply With Quote
Old 13th February 2007, 22:36   #213  |  Link
FoxDisc
Registered User
 
Join Date: Jan 2007
Posts: 274
Quote:
Originally Posted by arnezami View Post
@FoxDisc: i'm working on something. Please have patience. I need to take time to put it all together and make it comprehensible for everyone (given my available time this could take a couple of days). You've got pretty much everything right. The role of the Processing Key will be explained .
@arnezami: Thanks for the quickie reply - it's truly appreciated. There's certainly no hurry - take your time. Do whatever you think is most important first. I'm just trying to understand the whole picture.
FoxDisc is offline   Reply With Quote
Old 13th February 2007, 22:38   #214  |  Link
Founditalso
Registered User
 
Join Date: Jan 2007
Posts: 21
Quote:
Originally Posted by melakai View Post
Yes, we've got a sticky for them: http://forum.doom9.org/showthread.php?t=120611

The sticky is for VUK's.
Mine are VID's
Founditalso is offline   Reply With Quote
Old 13th February 2007, 23:01   #215  |  Link
arnezami
Registered User
 
Join Date: Sep 2006
Posts: 390
@Founditalso: Thanks. I'm just looking if there is an easy way to predict these Volume IDs. Maybe there are too many types and we have to find and reveal the private host key (or just accept sniffing as part of the process).

Code:
Constantine 05/12/2006 5:05
Hex:   40 00 30 06 53 05 16 11 57 47 48 44 56 4d 00 00
Ascii:                          W  G  H  D  V  M

16 Blocks 05/18/2006 2:48
Hex:   40 00 07 06 02 05 17 17 57 47 48 44 56 4d 00 00
Ascii:                          W  G  H  D  V  M

Kiss Kiss Bang Bang 05/25/2006 4:07
Hex:   40 00 12 06 51 05 15 24 57 47 48 44 56 4d 00 00
Ascii:                          W  G  H  D  V  M

Lady in the Water 10/19/2006 8:36
Hex:   40 00 08 06 16 10 23 18 57 47 48 44 56 4d 00 00
Ascii:                          W  G  H  D  V  M

Appollo 13:
Hex:   40 00 04 06 32 04 20 11 57 47 48 44 56 4D 00 00
Ascii:                          W  G  H  D  V  M

Batman Begins:
Hex:   40 00 40 06 26 08 10 15 57 47 48 44 56 4D 00 00
Ascii:                          W  G  H  D  V  M
The 06 is very likely YY. So I suspect the other numbers have something to do with time/date or something aswell. The last two bolded ones look like HHMM.

Code:
MI3 10/03/2006 15:34
40 00 20 06 10 03 07 19 00 20 20 20 20 20 00 00
This is YYYYMMDD HHMM probably (ISO format).

Code:
Miami Vice 11/17/2006 8:13
40 00 11 16 20 06 08 28 00 20 20 20 20 20 00 00
This is MMDDYYYY HHMM probably (US format).

Code:
Swordfish 04/15/2006 2:10
40 00 53 57 4f 52 44 46 49 53 48 20 20 20 00 00
Simple: SWORDFISH

Code:
The Matador 10/19/2006 20:41
40 00 ba be 00 00 00 00 00 00 00 00 00 1c 00 00
This seems to be a new type. Are you really sure this one is correct?

Last edited by arnezami; 13th February 2007 at 23:09.
arnezami is offline   Reply With Quote
Old 13th February 2007, 23:03   #216  |  Link
FoxDisc
Registered User
 
Join Date: Jan 2007
Posts: 274
Quote:
Originally Posted by FoxDisc View Post
I'm just trying to understand the whole picture.
I realized that I had been looking at the wrong part of the AACS specs. I was looking at the HD-DVD recorded specs, when I needed to look at the introduction and common crypto specs. Section 3.2.4 tells how to calculate the Media key:

Quote:
Once the device has the correct Device Key D, it calculates a Processing Key K using AES-G3 as described
above. Using that Processing Key K and the appropriate 16 bytes of encrypted key data C, the device calculates
the 128-bit Media Key Km as follows:
Km = AES-128D(K, C) ⊕ (00000000000000000000000016 || uv)
The appropriate encrypted key data C is found in the Media Key Data Record in the Media Key Block.
This gives me the big picture - we don't have a device key, but we've got an intermediate key that the device key gives us that is disk independent and leads to the same answer as the device key would get us. Of course, I'd still love to read arnezami's description later. I'm still working on the whole leaf/node business.
FoxDisc is offline   Reply With Quote
Old 13th February 2007, 23:20   #217  |  Link
SvT
Never Grow Up !
 
SvT's Avatar
 
Join Date: Mar 2004
Location: EU
Posts: 131
Quote:
Originally Posted by arnezami View Post
[code]Constantine 05/12/2006 5:05
Hex: 40 00 30 06 53 05 16 11 57 47 48 44 56 4d 00 00
16 Blocks 05/18/2006 2:48
Hex: 40 00 07 06 02 05 17 17 57 47 48 44 56 4d 00 00
Kiss Kiss Bang Bang 05/25/2006 4:07
Hex: 40 00 12 06 51 05 15 24 57 47 48 44 56 4d 00 00
Lady in the Water 10/19/2006 8:36
Hex: 40 00 08 06 16 10 23 18 57 47 48 44 56 4d 00 00

The 06 is very likely YY. So I suspect the other numbers have something to do with time/date or something aswell. The last two bolded ones look like HHMM.
The 2 before that look like MM or is that just luck ?

Last edited by SvT; 14th February 2007 at 02:04. Reason: Mixed up european and USA date.
SvT is offline   Reply With Quote
Old 13th February 2007, 23:24   #218  |  Link
Founditalso
Registered User
 
Join Date: Jan 2007
Posts: 21
Quote:
Originally Posted by arnezami;953984[code
The Matador 10/19/2006 20:41
40 00 ba be 00 00 00 00 00 00 00 00 00 1c 00 00[/code]

This seems to be a new type. Are you really sure this one is correct?
Matador is a special case. The disc doesn't play with WinDVD 8 HD. WinDVD stops working and I do not even see the black screen. I do have a log file with the VID however.
When I play it with PowerDVD 7.1 HD it starts but then I get a screen that says that because of parental settings of the player the disc does not play. When I sniff PowerDVD I get the same VID however.

BTW Did you know that the VID's can be found with WinDVD as wel as with PowerDVD? I checked with King Kong and it works (but maybe that is normal).

So with respect to The Matador, as PowerDVD and WinDVD give the same VID, I guess that is what it is?

If you want me to check other things, I have both HD and BD, just let me know.
Founditalso is offline   Reply With Quote
Old 13th February 2007, 23:43   #219  |  Link
salkku
Registered User
 
Join Date: Feb 2006
Posts: 25
Great work indeed ( tho I don't have either of those players )

I wonder why some people don't want to "reveal the cards". I mean, in general sense, nothing gets done if we keep postponing things.

I also wonder why the media corporations try to produce some naive protection technology on audio and/or video at all, because the protections can and and will be broken. If nothing else helps, one can just record the HD-show with his HD-videocam.
salkku is offline   Reply With Quote
Old 14th February 2007, 01:07   #220  |  Link
He-Man
Guest
 
Posts: n/a
Quote:
Originally Posted by arnezami View Post
@Founditalso: Thanks. I'm just looking if there is an easy way to predict these Volume IDs. Maybe there are too many types and we have to find and reveal the private host key (or just accept sniffing as part of the process).

Code:
Constantine 05/12/2006 5:05
Hex:   40 00 30 06 53 05 16 11 57 47 48 44 56 4d 00 00
Ascii:                          W  G  H  D  V  M

16 Blocks 05/18/2006 2:48
Hex:   40 00 07 06 02 05 17 17 57 47 48 44 56 4d 00 00
Ascii:                          W  G  H  D  V  M

Kiss Kiss Bang Bang 05/25/2006 4:07
Hex:   40 00 12 06 51 05 15 24 57 47 48 44 56 4d 00 00
Ascii:                          W  G  H  D  V  M

Lady in the Water 10/19/2006 8:36
Hex:   40 00 08 06 16 10 23 18 57 47 48 44 56 4d 00 00
Ascii:                          W  G  H  D  V  M

Appollo 13:
Hex:   40 00 04 06 32 04 20 11 57 47 48 44 56 4D 00 00
Ascii:                          W  G  H  D  V  M

Batman Begins:
Hex:   40 00 40 06 26 08 10 15 57 47 48 44 56 4D 00 00
Ascii:                          W  G  H  D  V  M
The 06 is very likely YY. So I suspect the other numbers have something to do with time/date or something aswell. The last two bolded ones look like HHMM.
Blue = YY (year)
Red = MM (month)
Orange = DD minus 1 (date)

I guess the two bytes in between YY, MM & DD are mm (minute) and hh (hour) respectively and the byte before YY is probably ss (second).
So the embedded time and date stamp is probably in this order: 40 00 ss YY mm MM hh DD 57 47 48 44 56 4D 00 00

Last edited by He-Man; 14th February 2007 at 01:30.
  Reply With Quote
Old 14th February 2007, 01:34   #221  |  Link
melakai
Registered User
 
Join Date: Jan 2007
Posts: 28
Quote:
Originally Posted by Founditalso View Post
The sticky is for VUK's.
Mine are VID's
terribly sorry, i stand corrected!
melakai is offline   Reply With Quote
Old 14th February 2007, 02:39   #222  |  Link
xyz987
Registered User
 
Join Date: Dec 2006
Posts: 142
Quote:
Originally Posted by bob0r View Post
So for the retards like me:

I have a movie, encrpyted, copied via the PS3 on my HDD, no computer hddvd player or bluray player, only a computer with software.

I have mkb.exe and BackupBluRay, can one now make a working copy on a computer using just this software, or do i still need a hddvd player or in this case bluray player?
Nowadays you still need an USB BluRay player, an USB sniffer, and an authorized BluRay soft player (WinDVD or alike).

However, it is just a cuestion of time (probably months) you will just need the PS3 conected to your PC through home network, with appropiate programs running on both sides.

Basically what you need is an "USB sniffer and network redirector". In fact two: a host version for PC and a client version for PS3.
xyz987 is offline   Reply With Quote
Old 14th February 2007, 02:49   #223  |  Link
jokin
Dwight Schrute's homeboy
 
Join Date: Jan 2007
Location: The Office
Posts: 136
Quote:
Originally Posted by xyz987 View Post
Nowadays you still need an USB BluRay player, an USB sniffer, and an authorized BluRay soft player (WinDVD or alike).

However, it is just a cuestion of time (probably months) you will just need the PS3 conected to your PC through home network, with appropiate programs running on both sides.

Basically what you need is an "USB sniffer and network redirector". In fact two: a host version for PC and a client version for PS3.
Theoretically you can put any IDE / SATA Blu-Ray drive in an external USB case.
jokin is offline   Reply With Quote
Old 14th February 2007, 02:55   #224  |  Link
xyz987
Registered User
 
Join Date: Dec 2006
Posts: 142
Quote:
Originally Posted by jokin View Post
Theoretically you can put any IDE / SATA Blu-Ray drive in an external USB case.
So it becomes an USB BluRay player ;-)
xyz987 is offline   Reply With Quote
Old 14th February 2007, 04:33   #225  |  Link
jokin
Dwight Schrute's homeboy
 
Join Date: Jan 2007
Location: The Office
Posts: 136
Just found a little tidbit of information on the 360 HD drive. My friend installed my HD drive on his 360 a week or so ago to try it out. He then returned it to me and borrowed it again yesterday and it still worked without installing the software again. Today he bought his drive and plugged it in. It asked for the install disc to update the software. Could this be installing the device keys on the drive or the 360 itself with the included disc?
jokin is offline   Reply With Quote
Old 14th February 2007, 05:55   #226  |  Link
arnezami
Registered User
 
Join Date: Sep 2006
Posts: 390
Quote:
Originally Posted by He-Man View Post
Blue = YY (year)
Red = MM (month)
Orange = DD minus 1 (date)

I guess the two bytes in between YY, MM & DD are mm (minute) and hh (hour) respectively and the byte before YY is probably ss (second).
So the embedded time and date stamp is probably in this order: 40 00 ss YY mm MM hh DD 57 47 48 44 56 4D 00 00
Just Brilliant. I think you nailed that one .

Last edited by arnezami; 14th February 2007 at 06:29.
arnezami is offline   Reply With Quote
Old 14th February 2007, 07:25   #227  |  Link
Founditalso
Registered User
 
Join Date: Jan 2007
Posts: 21
Quote:
Originally Posted by arnezami View Post
Just Brilliant. I think you nailed that one .
Does anybody know the date and time of the files on Batman Begins and Apollo 13?
Founditalso is offline   Reply With Quote
Old 14th February 2007, 07:30   #228  |  Link
HD Hell
Registered User
 
Join Date: Dec 2006
Posts: 19
Congratulations, arnezami (and others!) - stunning!
HD Hell is offline   Reply With Quote
Old 14th February 2007, 13:07   #229  |  Link
Exiton
Registered User
 
Join Date: Jan 2007
Posts: 18
So will this make a stand alone app to retrieve keys? Or still work with a software player and get the key from an error memory dump?
Exiton is offline   Reply With Quote
Old 14th February 2007, 15:47   #230  |  Link
FoxDisc
Registered User
 
Join Date: Jan 2007
Posts: 274
Quote:
Originally Posted by Exiton View Post
So will this make a stand alone app to retrieve keys? Or still work with a software player and get the key from an error memory dump?
I'm going to take a shot at answering this. I'm nowhere near to fully understanding the whole system, so take this for what it's worth - and wait for someone to correct me if I'm wrong.

I think the answer is yes, this could make a stand alone app. I think there's enough here for someone to make a software player.
I think the app would stop working if and when the AACSLA changes the MKB.

Obviously, the app would have to read data off the disk. I'm assuming that's possible IOW, I'm assuming that there is nothing in the firmware of the drives being sold that reads an HD or BD disk and says to itself "I'm not authorized to tell the PC what's in the MKB of this disk" or that if there is such a thing that the drive firmware could be cracked/hacked to allow the MKB to be read. I've read the AACS specs about Drive Revocation Lists (drive=the optical drive) and Host Revocation Lists (host=the software player) and I'm not fully certain of the implications of those lists.

I'm also assuming that the Processing Key we have now would not equal a new Processing Key calculated from a future disk released with a new MKB. After a drive revocation and new MKB, someone would again have to find the new Processing Key/Device Key. (It would be stupid to design AACS so that a revoked device key could not calculate the Processing key from the new MKB, but if it could calculate it, the answer would be the same as it would have gotten by calculating the processing key from an older MKB with the revoked device key. Of course, I can't really say with any authority how stupid/smart the AACS system might be.)
FoxDisc is offline   Reply With Quote
Old 14th February 2007, 17:47   #231  |  Link
brand1130x
Registered User
 
Join Date: Jan 2007
Posts: 5
how impossible would it be to find the master key? and what could you do with it?
brand1130x is offline   Reply With Quote
Old 14th February 2007, 17:59   #232  |  Link
evdberg
Registered User
 
Join Date: Dec 2006
Posts: 202
As far as I know there is no such thing as a 'master key', so it will be very hard to find ...
evdberg is offline   Reply With Quote
Old 14th February 2007, 18:12   #233  |  Link
brand1130x
Registered User
 
Join Date: Jan 2007
Posts: 5
so is this processing key the "holy grail" of keys?
brand1130x is offline   Reply With Quote
Old 14th February 2007, 18:30   #234  |  Link
SBeaver
Registered User
 
Join Date: Dec 2002
Posts: 86
Quote:
Originally Posted by brand1130x View Post
so is this processing key the "holy grail" of keys?
A complete list of device keys would be great aswell
SBeaver is offline   Reply With Quote
Old 14th February 2007, 18:51   #235  |  Link
xdvst8x
Registered User
 
Join Date: Feb 2007
Posts: 7
blu-ray

i have both a sony internal blu-ray drive and a plextor drive.
it will not let me watch the movie.. i have both win dvd bd and power dvd bd neither will even try to play the disc.

i can read the drive contents though my computer.
and i have copied Mission Impossible. but i am unable to get win dvd bd to open the disc so i can extract keys.. i have about 64 bd titles now.. please advise.
xdvst8x is offline   Reply With Quote
Old 14th February 2007, 18:54   #236  |  Link
Electrox3d
Registered User
 
Join Date: Feb 2003
Posts: 41
So, after more research, I found that a month ago there was a post here at doom9 ( http://forum.doom9.org/showthread.php?t=120988 )with tons of blu-ray keys, and even a program that pulls the keys automatically if you have WinDVD. Why did we do this all over again in this thread?

BTW- using the keys already found in the other thread I was able to get a 1080p blu-ray preview playing in WMV on the Xbox 360... next to try it with H.264 for PS3...
__________________
___

Last edited by Electrox3d; 14th February 2007 at 18:58.
Electrox3d is offline   Reply With Quote
Old 14th February 2007, 19:15   #237  |  Link
madshi
Registered Developer
 
Join Date: Sep 2006
Posts: 5,015
Quote:
Originally Posted by Electrox3d View Post
So, after more research, I found that a month ago there was a post here at doom9 ( http://forum.doom9.org/showthread.php?t=120988 )with tons of blu-ray keys, and even a program that pulls the keys automatically if you have WinDVD. Why did we do this all over again in this thread?
Perhaps you should reread this thread.
madshi is offline   Reply With Quote
Old 14th February 2007, 19:24   #238  |  Link
FoxDisc
Registered User
 
Join Date: Jan 2007
Posts: 274
Quote:
Originally Posted by evdberg View Post
As far as I know there is no such thing as a 'master key', so it will be very hard to find ...
Your posts demonstrate a high level of knowledge, so I'm reluctant to disagree, but the AACS LA has the ability to generate a new MKB that revokes some device keys, but not others, and they can generate new device keys that will work with new and old MKBs. No one here can do any of this. The AACS LA has secret keys that are used to perform those functions. If people here had the key(s) they have locked in their vaults, they could generate device keys, new MKBs, etc. and the system would be forever broken.

That's why no one here can say that the AES/AACS system has been cracked - it's only been bypassed. Getting the secret keys stored in the AACS LA vault will be very very very hard. Cryptographically, the AES/AACS system is very very good and not likely to be broken soon.

It was bypassed because the whole concept of encrypting something that you have to let the recipient decrypt is a fundamentally flawed concept. They have to give out the keys to millions of people so they can watch the encrypted movies - how can they expect to keep them secret? The only thing they can keep secret is how to make the keys they give out.
FoxDisc is offline   Reply With Quote
Old 14th February 2007, 19:52   #239  |  Link
FoxDisc
Registered User
 
Join Date: Jan 2007
Posts: 274
Quote:
Originally Posted by brand1130x View Post
so is this processing key the "holy grail" of keys?
No. It's a key derived from a device key and other information on a disk that allows other keys to be calculated, ultimately leading to the final title key that decrypts the video data. It appears to have the advantage that every device key currently issued (these are in the players) when used with the current MKB on every disc currently issued (BuRay and HD-DVD) results in this same Processing Key, which then leads to the correct Title Key. If I understand it correctly, this Processing Key will no longer work with new disks if the new disks are provided with a new MKB.

There are currently two AACS bypass methods. One is this Processing Key, which works for all disks and comes from sniffing the USB connection, and one is the Title Key/Volume Unique Key which works for only the specific disk it was obtained from and comes from the memory dump of a player while playing that disk.

What can they do to stop future bypasses? I don't honestly know for sure, and I'd trust Arnezami's analysis, more than anything I say here, but I'll take a stab at it:

To stop the first method (described in this thread), they will have to make the Processing Key that is currently being calculated from the current device keys and MKBs not work. I think that means they have to change the MKB on new disks (this is a fairly big deal, but it's part of their designed in system). Second, they'll have to try to prevent the new Processing Key from being sniffed as this one was.

To stop the second method (title key from mem dump), they could simply have the offending software rewritten to try to make it harder to locate the title key.

I suppose they could stop allowing software players altogether, making it harder to implement either method, as hardware extraction is more difficult than hacking a PC. The battle goes on, but I'm putting my money on the people here who don't want DRM and do want to make fair use of what they buy. Either way, it's interesting to watch.
FoxDisc is offline   Reply With Quote
Old 14th February 2007, 19:52   #240  |  Link
Electrox3d
Registered User
 
Join Date: Feb 2003
Posts: 41
Quote:
Originally Posted by madshi View Post
Perhaps you should reread this thread.
I have been following this thread... I in fact tested if Blu-ray worked the same as HD-DVD... but I guess I needed to learn more about what happened a month ago before I really understood what we were doing here.

From what I understand a month ago every movie had a different key, but now we've found a type of universal key that both hd-dvd and blu-ray use? Hope thats close.

EDIT: FoxDisc, your post above mine really helped me to understand this thread better. Thanks!
__________________
___
Electrox3d is offline   Reply With Quote
Old 14th February 2007, 19:54   #241  |  Link
oddball
Registered User
 
Join Date: Jan 2002
Posts: 1,101
Which is why it's probably worthless even trying. Just bypass it altogether like it is now and wait for updates once/if they change things. They are probably relying on this fact to slowdown the process.
oddball is offline   Reply With Quote
Old 14th February 2007, 20:26   #242  |  Link
FoxDisc
Registered User
 
Join Date: Jan 2007
Posts: 274
Quote:
Originally Posted by Electrox3d View Post
EDIT: FoxDisc, your post above mine really helped me to understand this thread better. Thanks!
You are welcome, but I've tried to emphasize that I do not see the entire picture yet, and what I do see is not all that clear. I hope this isn't just thread clutter. There are lots of things I said that are perhaps not true, and lots of details I glossed over that might change things. For example, I said the Processing Key works with all disks and all device keys used with all MKBs to end up with the same processing key. I really doubt that all disks have been checked - This thread only seems to list a dozen or so. Perhaps it won't work with some.

Also, there are lots of details in the whole chain of decryption from device keys to title keys via the MKB. Device Keys are used to calculate Subsidiary Device Keys and Processing Keys. The Processing Key is used with the encrypted key data C (found in the MKB) to create the Media Key....etc.

I think they can make the Processing Key invalid without revoking any Device Keys, simply by changing the MKB (maybe changing the key data C), but I'm not sure. I think they have some options with encrypting the USB communication, but I'm not sure. I think they have some options relating to interaction between the optical drive and the disk before any data gets delivered by the drive to the PC via the USB bus, but I'm not sure. You get the idea. As I said, it will be interesting to see how this all plays out.
FoxDisc is offline   Reply With Quote
Old 14th February 2007, 22:02   #243  |  Link
guile
Registered User
 
Join Date: Oct 2002
Posts: 65
Silly question. I am VERY interested in this amazing development and have been following this thread. My question is with regards to Blu Ray. I do NOT have a hdcp compliant rig but do in fact have a Blu Ray drive (which I plan on housing in an external usb enclosure for experimenting). Powerdvd blu ray will not play but....will play for about 5 seconds (as we all know) before giving me the usuall "Non compliant setup" message.

Will this few seconds of playback be enough to extract anything? Or would it actually have to be the "Movie" (rather then the FBI warning that is usually in the first few seconds of playback). Thanks

g
guile is offline   Reply With Quote
Old 14th February 2007, 22:26   #244  |  Link
Electrox3d
Registered User
 
Join Date: Feb 2003
Posts: 41
Quote:
Originally Posted by guile View Post
Silly question. I am VERY interested in this amazing development and have been following this thread. My question is with regards to Blu Ray. I do NOT have a hdcp compliant rig but do in fact have a Blu Ray drive (which I plan on housing in an external usb enclosure for experimenting). Powerdvd blu ray will not play but....will play for about 5 seconds (as we all know) before giving me the usuall "Non compliant setup" message.

Will this few seconds of playback be enough to extract anything? Or would it actually have to be the "Movie" (rather then the FBI warning that is usually in the first few seconds of playback). Thanks

g

This is probably enough to sniff, I only had the movie play for about 1 second before I closed the program.

Also, if it ends up it doesn't work, then you could always just plug in a VGA monitor, HDCP doesn't activate with VGA cause its analog.
__________________
___
Electrox3d is offline   Reply With Quote
Old 14th February 2007, 22:39   #245  |  Link
Multiplex
Registered User
 
Join Date: Feb 2007
Location: State of confusion
Posts: 7
Bus tracing tips.

Q. Will this few seconds of playback be enough to extract anything?
A. Yes. By the time you see video, the VID is posted to the bus.

Q. What about non-usb connections?
A. Two words: Bus Hound.

Q. Can the drive read the MKB?
A. If I read AACS correctly, part of the MKB can live in the disc lead-in. That is outside file space, so it could be tricky on the host end to get at that part. Still, a read is a read. It's not like CSS, where you can't even read the sectors without a encrypted handshake.

Q. I hate searching gobs and gobs of bus traces
A. The VID is returned in response to a READ DVD STRUCTURE command AD 01 00 00 00 00 00 80. Find that going to the drive, and the data back contains the VID. There are maybe 7 total AD 01 commands in a whole disk trace.

Q. Can somebody just write a utility to grab a media VID from the drive?
A. Yes. It's trivial. Just send around 8 ATAPI commands in a row. The difficulty is that you'll need a trusted player key to establish a bus handshake before READ DVD STRUCTURE will give you a key back. Exposing a trusted player key this way will lead to its being killed sooner than later.
Multiplex is offline   Reply With Quote
Old 15th February 2007, 01:06   #246  |  Link
xyz987
Registered User
 
Join Date: Dec 2006
Posts: 142
Quote:
Originally Posted by Multiplex View Post
Q. Can the drive read the MKB?
A. If I read AACS correctly, part of the MKB can live in the disc lead-in. That is outside file space, so it could be tricky on the host end to get at that part. Still, a read is a read. It's not like CSS, where you can't even read the sectors without a encrypted handshake.
No, MBK is entirely on a file. VolumeID is outside file space.

Note VolumeID is not encrypted. If you hack your device firmware you don't need USB sniffing, neither bus handshake.

Xbox HD-DVD drive and PS3 are good candidates for firmware hacking. It is necessary a hight level to hack a firmware, but not so hight to "update" firmware to a hacked one.
xyz987 is offline   Reply With Quote
Old 15th February 2007, 02:09   #247  |  Link
xyz987
Registered User
 
Join Date: Dec 2006
Posts: 142
Quote:
Originally Posted by evdberg View Post
As far as I know there is no such thing as a 'master key', so it will be very hard to find ...
You are probably right (I am still trying to understand AACS).

Note however there are just 253 Device Keys per product (a BluRay home theater, for instance). As far as i can see, if there is no such "master key", after 253 Device Key revocations some legitime players will stop playing newly released movies.

Is it so easy?. Do we need just to get 253 Device Keys from different players to break the revocation system?
xyz987 is offline   Reply With Quote
Old 15th February 2007, 07:15   #248  |  Link
arnezami
Registered User
 
Join Date: Sep 2006
Posts: 390
You guys are asking all the right questions .

Because you are so eager I will give you a little sneak peak of what is to come:



Thats a blue truck with a looong trailer and no reverse... (and some Parking spots)

Regards,

arnezami

PS. I will have lots of time tomorrow (and in the weekend) so hopefully you won't have to wait too long .

Last edited by arnezami; 15th February 2007 at 07:33.
arnezami is offline   Reply With Quote
Old 15th February 2007, 07:20   #249  |  Link
jokin
Dwight Schrute's homeboy
 
Join Date: Jan 2007
Location: The Office
Posts: 136
Lol , ok looks good but I hope the truck has brakes to keep from rolling back down the hill.
jokin is offline   Reply With Quote
Old 15th February 2007, 14:22   #250  |  Link
xyz987
Registered User
 
Join Date: Dec 2006
Posts: 142
I think I am starting to understand how this thing works. AACS LA gives each player manufacturer a set of Device Keys (probably just ramdom keys). Each time a movie is printed AACS LA gives disk replicator a Media Key (a ramdom key) and a MKB, i.e. a set of copies of the encrypted Media Key. Each copy is just the Media Key encrypted with a different Device Key. AACS LA chooses the Device Keys to generate MKB in a way that any non-revoked player has at least one Device Key that can decrypt one of the copies of the encrypted Media Key.

Disk replicator combine Media Key with a VolumeID they choose (VolumeID is just to avoid bit-per-bit home disk copying) to produce Volume Key. The movie is encrypted using a random key (Title Key) and the Title Key is encrypted with the Volume Key.

Players just read MKB, look for the fist copy of the encrypted Media Key they can decrypt (because player has the Device Key it was used to encrypt this copy of the Media Key), and get it decrypted. Then they read VolumeID (with a previous cryptographic handshake in case of soft players), calculate Volume Key, use it to decrypt Title Key, and decrypt the movie.

However, I still don't understand the role of the Processing Key. It seems that the Processing Key is just a Device Key. Why it is named differently?

Last edited by xyz987; 15th February 2007 at 14:34. Reason: trivial
xyz987 is offline   Reply With Quote
Reply


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT +1. The time now is 17:20.


Powered by vBulletin® Version 3.8.11
Copyright ©2000 - 2026, vBulletin Solutions Inc.