Slashdot Mirror


HD-DVD and Blu-Ray AACS DRM Cracked

EGSonikku writes "According to this article on Endgadget, the AACS DRM used in HD-DVD and Blu-Ray has been cracked. The program allows one to decrypt and dump the video for play on a users hard drive, or it can be burned to a blank HD-DVD and played on a stand-alone player. According to the accompanying video, a source release for the program will be made available in January. Time to get that $200 Xbox 360 HD-DVD drive?" Warning: this link contains video.

19 of 432 comments (clear)

  1. Not really cracked, more like circumvented by sith · · Score: 5, Interesting

    As best as I've been able to gather from what I've read today, the very clever fellow just implemented that publicly available decryption routine, and also discovered an (as of yet unreleased) method for obtaining decryption keys. It seems very likely from everything I've read that he is pulling the keys from the PowerDVD program - perhaps they're left unencrypted similar to the original DeCSS obtained a key from the Xing player?

    In any case, it will be interesting to see how this is dealt with, and whether key revocation can/can't break this. The author thinks it can't - the cat is out of the bag and is staying that way.

    We'll see. I think it's good news for us though, no matter what.

    1. Re:Not really cracked, more like circumvented by Myen · · Score: 5, Interesting

      Yes, and the Engadget article that is TFA is mistaken... He didn't supply any keys, just disc IDs (to map to human readable names of the discs). The place where the keys would have been were all stubbed out with all nulls.

      If this is a crack for the DRM, then GPG is a crack for PGP.

    2. Re:Not really cracked, more like circumvented by FuturePastNow · · Score: 5, Insightful
      According to the program's creator:

      I was very surprise to realize that the title key is there, in memory!

      Older systems make Trusted Computing their bitch. Oh yeah.
      --
      Give a man fire, and you warm him for the night. Set a man on fire, and you warm him for the rest of his life.
    3. Re:Not really cracked, more like circumvented by Rufus211 · · Score: 5, Interesting
      As best as I've been able to gather from what I've read today, the very clever fellow just implemented that publicly available decryption routine, and also discovered an (as of yet unreleased) method for obtaining decryption keys. It seems very likely from everything I've read that he is pulling the keys from the PowerDVD program - perhaps they're left unencrypted similar to the original DeCSS obtained a key from the Xing player?


      Exactly. I've read the source code he released and it's less than 500 lines of Java. All it does is open each file on an HD-DVD and call the built-in Java AES decryption functions on each "pack" of HD data. There's a slight bit of handling for the pack format and all, but it's straight from the AACS spec.

      Now the interesting thing I found from the "pre-recorded video book" spec were these two quotes (page 18):
      A licensed product shall treat its Device Keys as highly confidential, as defined in the license agreement.
      and
      Except where otherwise provided for in these specifications, the values used to enable playback of AACS content (e.g. Title Keys and Volume ID) shall be discarded upon removal of the instance of media from which they were retrieved. Any derived or intermediate cryptographic values shall also be discarded.

      So it seems that PowerDVD (or whatever player was used) was fully within the spec to no protect the Title Keys that are assumed to have be swipped by this prog.
    4. Re:Not really cracked, more like circumvented by dtfinch · · Score: 5, Informative

      They have many keys now, one for each model of player. I don't remember the exact terminology, but the player private keys are used to decrypt the disk key stored on the disk. There are many copies of the disk key, each encrypted with a different player's public key. If they want to revoke a player, they just don't include a copy of the disk key encrypted with that player's public key on future disks. So that player can play old disks, but they'll need to replace it to play new disks.

    5. Re:Not really cracked, more like circumvented by javilon · · Score: 5, Insightful

      When a couple or three keys for _hardware_ players leak the content providers will have to make their minds up and decide if they revoke them.

      If they decide to do so, I can tell you that the whole scheme will go down. There will be people with bought and paid hardware made useless. This will be a very good example when explaining to people why DRM is a problem.

      Also, if I have learned something in this thread is that if you hack a player, you just have to keep it secret and only release the disk keys for every disk that comes out to the market. If the RIAA doesn't know what player has been hacked, they can't revoke its key. Having one player hacked will invalidate the whole schema as long as the RIAA doesn't know wich one is it.

      I am the owner of a High Definition 50 inches TV, with only DVI input. That I see as a good thing. I will not be tempted by the new High Definition *paid* content. There is no way I will be paying another 3000 for a new set just because the content providers refuse to show their content on my perfectly good one. This is also a good way to explain people what DRM is about.

      --


      When his defense asked, "Which computer has Jon Johansen trespassed upon?" the answer was: "His own."
    6. Re:Not really cracked, more like circumvented by jZnat · · Score: 5, Funny

      That's why we refer to them by the more accurate acronym MAFIAA (Music and Film Industry Association of America).

      --
      'Yes, firefox is indeed greater than women. Can women block pops up for you? No. Can Firefox show you naked women? Yes.'
  2. Re:Cheers! by Anonymous Coward · · Score: 5, Insightful

    Not to me, it isn't. This will help speed up the adoption of these formats. I'd like them both to totally fail, due to their restrictive DRM. As long as the formats enjoy some success, the content providers will keep pushing for the strong DRM.

  3. It takes a while... by FuturePastNow · · Score: 5, Informative

    The site's Farked, Digged, and everything else already, but here's the forum this was first posted to: http://forum.doom9.org/showthread.php?t=119871

    It contains a download link to the program.

    --
    Give a man fire, and you warm him for the night. Set a man on fire, and you warm him for the rest of his life.
    1. Re:It takes a while... by interiot · · Score: 5, Informative

      Duggmirror has a copy of the doom9 thread, as well as a link to the source code.

      As another poster said, the package contains several title keys already extracted via some method. It's not clear how the author extracted the keys, or whether it's possible for the AACS people to revoke a player in order to prevent future keys from being leaked the way they currently are.

  4. Wrong conclusion... by im_thatoneguy · · Score: 5, Interesting

    The correct conclusion is: 'Finally! Now I don't have to buy an HD-DVD Player.'

    I don't mind purchasing an HD-DVD and then just downloading its illegal doppelganger. I DO mind purchasing an overpriced paperweight to keep me legal. I looked at Xbox Live Marketplace from the perspective of:

    "Rent 44 HD movies. or Buy HD-DVD Player and a movie." I decided I would get much more HD goodness out of downloads than just a player.

    It's sort of like the way I purchase Star Trek for my Xbox and then download a copy for my PC as well. Sure it's illegal, but I look at it from the perspective of: I purchased it so that I could watch it, and watch it I shall.

    1. Re:Wrong conclusion... by j-turkey · · Score: 5, Insightful
      The most basic acceptance test of any moral or social philosophy is whether it can be applied generally. Yours boils down to: I do what I think is correct. Okay, but please don't call the cops when someone punches you in the face and takes your wallet, because I am sure that it was a perfectly acceptable action to the perpetrator.

      You make a good argument, and I've heard it before. However, black and white interpretation of the law tends to fail (especially when you equate morality and law). I'll fall back on an analogy here: If you drive, do you ever speed? The law says that you cannot drive at a rate higher than the posted speed limit. However, on most major US highways, traffic tends to move at around 5% higher than the posted speed limit. Driving at the posted speed limit would cause a dangerous situation, whereas operating your vehicle in a manner consistent with the flow of traffic is a safer way to travel. Is speeding immoral? If so, should we just not drive until everyone else slows down?

      Many people make informed decisions to break the law. Whether or not this is a conscious act of civil disobedience, it is (in many cases) still a form of civil disobedience. Putting this into the context of the American alcohol prohibition, a large scale amount of civil disobedience fueled organized crime to fulfill the demand for alcohol, and the law was eventually shown to be unreasonable. A freedom limiting law was abolished because sufficient numbers of people chose to break that law. This did not cause any crumble of society, and did not turn morality upside down.

      In any case, I respect your position, but disagree with your absolute reasoning. IP license violation isn't the same as DUI, and it's not punching someone in the nose and running off their wallet. Laws like the American DMCA have unjust provisions. The grandparent poster is acting in good faith, and harming nobody. Perhaps the gpp is partaking in a phenomena of culture redefining law.

      --

      -Turkey

  5. Link by h4rdc0d3 · · Score: 5, Informative

    If anyone wants to try it out, here is a link to the executable and source code (Java)...

    http://forum.doom9.org/showthread.php?t=119871

    There is more detailed info in the included FAQ. The bad news is, the program itself isn't actually "cracking" anything. The author used publicly available AACS documents to write his own decrypter (e.g. just as PowerDVD or WinDVD would). The catch is, you must provide the decryption keys to this software in order to rip the movies from the disk.

    However, the good news is, it looks like he may have found a way to extract the needed decryption key(s) from the HD-DVDs. He doesn't explain how in the documentation or provide any keys, but if he figured it out I'm sure others will - and that means more advanced and powerful tools shouldn't bee too far off.

  6. Sort of Cracked by Jah-Wren+Ryel · · Score: 5, Informative

    It sounds like he didn't "crack" AACS, he just extracted the disc keys for certain titles.

    A quick and dirty and probably somewhat inaccurate description of the way AACS works is that each disc is encrypted with a single 'disc key' and then that key is encrypted once with every known 'player key,' and each of those is stored on the disc. So, if you have an authorized player, it will find the version of the disc key that it knows how to decrypt and then use that to decrypt the disc for playback.

    My guess is that he used one of the software players like WinDVD or PowerDVD that now sort of support HD-DVD and BLU-RAY. But instead of extracting their player key and publishing that, he played a disc in a debug environment and extracted the 'disc key' for that specific title.

    The studios thought that they would be able to 'revoke' disclosed player keys by just not using them on any discs pressed after the disclosure was made public. This guy's approach seems to be to distribute disc keys and then anyone with the same disc can decrypt that specific title, thus making it harder for the studios to guess which player keys need revoking.

    I think that this guy's approach will be most useful to widescale pirating because all it takes is for one person to decrypt a movie and share it with a billion of his closest friends. But the 'regular joe' who just wants to copy his BD-HDs to his hard disk for ease of playback or maybe to cut clips from it for his own home movie won't benefit because chances are, the keys for his particular discs won't be widely known enough for him to find them.

    So, I now look forward to various HD titles from disc (rather than from broadcast, which are already common if you know where to look) showing up on P2P and elsewhere, I'm still not purchasing any AACS playback system since the "crack" is not (yet) useful enough for me to exercise typical fair-use rights of format shifting and personal editing.

    --
    When information is power, privacy is freedom.
  7. HDCP by StreetStealth · · Score: 5, Insightful

    It seems to me most people are seeing this as a means to:

    A) Place-shift HD-DVD content (despite current storage constraints)
    B) Pirate HD-DVD content (despite current bandwidth constraints)

    when I see the much more immediately relevant issue being that of HDCP: If this crack can be rolled into something on the order of a VLC plugin, there's a chance I'll actually be able to use my technically-more-than-capable, yet not-a-member-of-the-HDCP-club LCD display to view commercial 720p content.

    --
    Your mind is clear / The things that you fear / Will fade with how much you / Believe what you hear
  8. Re:Zip does NOT contain any keys by Junta · · Score: 5, Funny

    Notice the title key is all 0's That's amazing! I've got the same combination on my luggage!
    --
    XML is like violence. If it doesn't solve the problem, use more.
  9. BackupHDDVD FAQ by Black+Acid · · Score: 5, Informative

    B a c k u p H D - D V D F A Q

    -What is "Backup HDDVD" for?
    It can do backup copies of HD DVD movies that YOU OWN! I don't want anyone to do piracy here! This software is a good way to protect your investment, because I have notice that this type of media seems very fragile, if it's scratched a little or dirty, it won't play. It seems less tolerent than DVD format. (Higher density!)

    -What "Backup HDDVD" is doing exactly?
    This is a java based command line utility that decrypt video files (.evo) from a HD DVD disk that you own, to your hard drive and you can play them back with a HD DVD player software.

    -What are the system requirements to use "Backup HDDVD"
    1 - A Windows based system
    2 - A HDDVD disk drive
    3 - A HDDVD player software (like PowerDVD)
    4 - A HDDVD movie(s)
    5 - Java rutime 1.5
    6 - The possibility to access the content of the disk with a drive letter under windows.
    (you may need UDF 2.5 file system driver for this)
    7 - A lot of free hard disk space to backup your movies!

    -Was your first HDDVD movie hard to decrypt?

    It took me around a week to do. But I have wasted few days
    trying to work on too complicated approach. In fact, it is very simple.

    -How do you do that?

    The program itself has nothing special. It simply implement the AACS decyption protocol. I have followed the freely available documents about AACS
    Have a look at: www.aacsla.com The trick, is to find what they call the "Title keys". So I figure out how to extract them.

    -How do you extract the "Title keys"?

    I won't explain it in detail. Read the AACS doc first. You will understand. The title keys are located on the disk in encrypted form, but for a
    content to be played, it has to be decrypted! So where is the decrypted version of the title key? Think about it...

    -What kind of crypto algorithms are involved?
    Standards algorithms:
    ECC-160
    AES-128
    Look in the AACS doc for more details.

    -What is the TKDB.cfg file?
    This is the Title key Database file. It holds the decryption keys for the movies.

    -What is the format of this file?
    Field 1: SHA1 Hash of the VTKF000.AACS file on your HDDVD disk.
    Next fields are pipe "|" delimited.
    -Movie Title
    -A variable number of Title key, pipe delimited
    You have a key number followed by the key value like:
    12-08A3DC61910280F2...

    Key values are 128 bits long, so 16 bytes, or 32 hexadecimal characters long.

    -The TKDB.cfg file provided with your program is empty or incomplete, what can I do?
    Here is my TKDB.cfg:

    CE6339246F34087AB355681DEB656D23DCD5BD86=Full Metal Jacket | 1-0000000000000000000000
    0000000000
    486198E3855B57CD40F6DC0C60645BDE8E1E9AC5=Van Helsing |19-0000000000000000000000
    0000000000
    3D357B0653A66176583C5218FD0149EAF8832FB0=The Last Samurai | 1-0000000000000000000000
    0000000000

    -What do you think of the technical aspects of AACS?

    The design is not that bad, but it's too easy to have an insecure player implementation somewhere. And just one bad implementation is all it needs
    to get the keys! There will always be insecure implementations of a player somewhere! And the "Revocation system" is totaly useless if you use
    the Title key directly.

    -Is there any known problems with the decryption?
    Yes. I call this problem the "Nav chain" bug. I realize that I have a lot of frame skipping at playback after the decryption, so I hunted down the problem. To avoid the frame skipping, I patch the video file. This fix allows smooth playback of the movie, but there are some side effects.

    -What are the side effects of the "Nav chain" bug fix?

    You cannot do fast forward, or backward using the round dial, but you can still use the progress bar to navigate through the film. So it's not that bad... For some reason, the sub-titles don't seems to work anymore. It may be a side

  10. Re:Cheers! by Anonymous Coward · · Score: 5, Funny

    Something like "Just like the Beta-emacs vs vi-HS wars!" ?

  11. Re:Cheers! by ajs318 · · Score: 5, Informative

    And the Sony C6 Betamax recorder, given a decent aerial, could record the Teletext signal along with the picture (even if your set was non-Teletext, since it's being picked up by the recorder's internal receiver). I never even realised VCRs weren't supposed to be able to do that. All those old Betamax cassettes in lofts and cupboards are hiding not only subtitles, but little vignettes of the news and sporting events of the day they were recorded.

    The only problem was that in order to get that resolution better than 280 lines (think about it - that's only chucking away 32.5 of 'em, which isn't bad), a Beta machine needed more moving parts than its VHS cousin (although they moved less often. VHS laced the tape when you pressed PLAY and unlaced it when you pressed STOP. All fast-winding was done inside the cassette -- which allows you to move the tape faster, but you cannot switch to picture-search without lacing it. Betamax laced the tape the first time you pressed PLAY and unlaced it when you pressed EJECT. Fast-winding was done inside the cassette until you first pressed PLAY [to allow for rapid rewinding before watching], and thereafter, with the tape laced; making it possible to switch instantaneously from fast-wind to picture-search.) Thus, VHS recorders were easier to field-maintain. And in an era before everything was made to be disposable, that was the deal-clincher.

    --
    Je fume. Tu fumes. Nous fûmes!