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.

 

Go Back   Doom9's Forum > General > Decrypting

Reply
 
Thread Tools Search this Thread Display Modes
Old 29th September 2008, 15:42   #361  |  Link
kkloster21
Registered User
 
Join Date: Jun 2008
Posts: 117
i'm trying your approach of running dumpVID in the background and when i try to access the disc with aacskeys, nothing comes out of dumpVID. no VID or anything. it still just says: "Hammering drive..." I tried several different delay times (like 50, 120, 130, 150, 200). aacskeys is not outputting VID either.

this is without patching my drive.

any advice on what to try?

thanks!
kkloster21 is offline   Reply With Quote
Old 29th September 2008, 15:46   #362  |  Link
TomZ
Registered User
 
Join Date: Oct 2007
Posts: 31
I'll check that this evening and give you a feedback.
TomZ is offline   Reply With Quote
Old 29th September 2008, 21:39   #363  |  Link
TomZ
Registered User
 
Join Date: Oct 2007
Posts: 31
So... I've tried and dumpvid give me the VID when i launch aacskeys. OK, as my LG drive is patched, it's not necessary but the test is ok.

The test is done with BRD Ratatouille, french version.

I launch dumpvid with wine, press ENTER to start hammering. Then i execute aacskeys from another console

Code:
vdr@vdrbox:~/DumpHD/aacskeys-0.3.1$ ./bin/linux64/aacskeys -v /media/cdrom0
and :

Code:
vdr@vdrbox:~/DumpHD$ wine dumpvid.exe d
DumpVID 0.3 by KenD00 (adapted for bluray testing)

Drive type is recognised as CDROM/DVD.

Sending SPC1 Test Unit CDB6 command..done.
Returned good status.

Press ENTER to start hammering

Hammering drive...
vid: 525F758BFA0C85E8CA4B1E9C9EBD6BF3
Hammering finished.
then :

Code:
vdr@vdrbox:~/DumpHD/aacskeys-0.3.1$ ./bin/linux64/aacskeys -v /media/cdrom0 525F758BFA0C85E8CA4B1E9C9EBD6BF3
aacskeys 0.3.1

Current path:                 /home/vdr/DumpHD/aacskeys-0.3.1

MKBv:                         4
Processing key:               F190A1E8178D80643494394F8031D9C8
Encrypted C-value:            788A172D47C66A408D7D33F90D2D8521
Corresponding uv:             000000A0

Decrypted C-value:            A775A8BD00D800A996560EF6274A5F6C
Media key:                    A775A8BD00D800A996560EF6274A5FCC

Encrypted verification data:  BB25974BA81A2AF7644FAB5FB4668DEC
Decr verif data should be:    0123456789ABCDEF
Decrypted verification data:  0123456789ABCDEF16548E579D21D229

Volume ID (EXTERNAL):         525F758BFA0C85E8CA4B1E9C9EBD6BF3
Volume Unique Key:            67E82C738B3634E52AB8A0A7210F8524
Unit Key File Hash (DiscID):  1348C907340CA8E669F6163CFA7FF795A3DEAB4A
Encrypted Unit Key 1:         998617393B37479AA6F72F1E789732DB

Decrypted Unit Key 1:         FC5DFA6B3813352E64ADB703549FB7E9
Just add a line to the KEYDB.cfg (dumpHD) :

Code:
1348C907340CA8E669F6163CFA7FF795A3DEAB4A = Ratatouille PAL fr                               | D | 2007-11-09 | V | 67E82C738B3634E52AB8A0A7210F8524
This should work for you.

But don't remember, if you can patch the firmware of your drive, it's a better solution !

Last edited by TomZ; 29th September 2008 at 21:48.
TomZ is offline   Reply With Quote
Old 29th September 2008, 23:16   #364  |  Link
KenD00
Registered User
 
Join Date: Jan 2007
Location: Internet
Posts: 378
@XAvAX:
Thanks for the info. However, i don't know how to write a sophisticated configure script to detect everything that aacskeys needs to build properly so i can't do anything about it. For that reason i defined some variables at the beginning of the PreMake script so that everyone can make the necessary adjustments easily.

Quote:
Originally Posted by TomZ View Post
and you're wrong
No, i'm not. DumpVID does nothing more than sending Volume ID requests to the drive, because your drive is patched it will answer them and give you the Volume ID. This even works without running aacskeys, just start DumpVID and after a couple of seconds it will give you the Volume ID (the delay is there because DumpVID doesn't "initialize" the crypto stuff inside the drive)!

Quote:
Originally Posted by kkloster21 View Post
i'm trying your approach of running dumpVID in the background and when i try to access the disc with aacskeys, nothing comes out of dumpVID.
If there is no patch for your drive you currently can't do anything else than using a certified (windows) software player with DumpVID to get the Volume ID.

KenD00 is offline   Reply With Quote
Old 29th September 2008, 23:51   #365  |  Link
kkloster21
Registered User
 
Join Date: Jun 2008
Posts: 117
@KenD00:

there is a patch for my drive, i just can't get it to work on linux. but TomZ did so i'm hoping i can make it work.

@TomZ:

I can't get dumpVID to spit out the VID, i think because my host cert has been revoked on my drive. i think the only thing (or maybe just the best thing) i can do now is to patch the drive. is it a problem (for the patch) that i'm running 64-bit linux? it seems like it shouldn't matter...
kkloster21 is offline   Reply With Quote
Old 30th September 2008, 08:26   #366  |  Link
derbeDeus
Registered User
 
Join Date: Mar 2008
Posts: 98
Quote:
Originally Posted by kkloster21 View Post
I can't get dumpVID to spit out the VID, i think because my host cert has been revoked on my drive.
That's not the reason you cannot get the VID. Just as KenD000 told you, dumpVID is not sending a certificate nor it does the auth necessary to get the VID in the official way. You need the drive to be patched or a windows player.

otoh, aacskeys does the auth with an old certificate. If that does not work, it is indeed because that certificate was revoked by your drive with the help of some new movies you played Just remember, new movies revoke old certificates.
derbeDeus is offline   Reply With Quote
Old 2nd October 2008, 15:39   #367  |  Link
R!tman
Registered User
 
R!tman's Avatar
 
Join Date: Jul 2004
Posts: 29
I have problem compiling aacskeys-0.3.5 on Gentoo Linux for amd64.
Code:
$ make
==== Building aacskeys ====
aacs_aes.cpp
aacs_ecdsa.cpp
aacskeys.cpp
cmac.cpp
cmac_aes.cpp
ioctl.cpp
src/ioctl.cpp: In constructor ‘Drive::Drive()’:
src/ioctl.cpp:12: warning: converting to non-pointer type ‘int’ from NULL
mmc.cpp
Linking aacskeys
==== Building libaacskeys ====
aacs_aes.cpp
aacs_ecdsa.cpp
aacskeys.cpp
In file included from src/aacskeys.cpp:33:
src/aacskeys.h:8:17: warning: jni.h: No such file or directory
src/aacskeys.h:19: error: ‘JNIEXPORT’ does not name a type
src/aacskeys.h:27: error: expected constructor, destructor, or type conversion before ‘void’
src/aacskeys.cpp:197: error: expected constructor, destructor, or type conversion before ‘*’ token
src/aacskeys.cpp:198: error: expected constructor, destructor, or type conversion before ‘*’ token
src/aacskeys.cpp:199: error: expected constructor, destructor, or type conversion before ‘*’ token
src/aacskeys.cpp:200: error: expected constructor, destructor, or type conversion before ‘*’ token
src/aacskeys.cpp:201: error: expected constructor, destructor, or type conversion before ‘*’ token
src/aacskeys.cpp:202: error: expected constructor, destructor, or type conversion before ‘*’ token
src/aacskeys.cpp: In function ‘int main(int, char**)’:
src/aacskeys.cpp:1722: error: ‘globalSetVuk’ was not declared in this scope
src/aacskeys.cpp:1724: error: ‘jbyteArray’ was not declared in this scope
src/aacskeys.cpp:1724: error: expected `;' before ‘jvuk’
src/aacskeys.cpp:1725: error: ‘jvuk’ was not declared in this scope
src/aacskeys.cpp:1730: error: ‘globalEnv’ was not declared in this scope
src/aacskeys.cpp:1730: error: expected type-specifier before ‘jbyte’
src/aacskeys.cpp:1730: error: expected `>' before ‘jbyte’
src/aacskeys.cpp:1730: error: expected `(' before ‘jbyte’
src/aacskeys.cpp:1730: error: ‘jbyte’ was not declared in this scope
src/aacskeys.cpp:1730: error: expected primary-expression before ‘>’ token
src/aacskeys.cpp:1733: error: ‘globalKeyData’ was not declared in this scope
src/aacskeys.cpp:1878: error: ‘globalEnv’ was not declared in this scope
src/aacskeys.cpp:1878: error: ‘globalAacsException’ was not declared in this scope
src/aacskeys.cpp: In function ‘int printfj(const char*, ...)’:
src/aacskeys.cpp:1910: error: ‘globalEnv’ was not declared in this scope
src/aacskeys.cpp:1910: error: ‘globalMessagePrinter’ was not declared in this scope
src/aacskeys.cpp:1910: error: ‘globalPrint’ was not declared in this scope
src/aacskeys.cpp: At global scope:
src/aacskeys.cpp:1919: error: ‘JNIEXPORT’ does not name a type
src/aacskeys.cpp:1930: error: expected constructor, destructor, or type conversion before ‘void’
make[1]: *** [obj/linux/ReleaseLib/aacskeys.o] Error 1
make: *** [libaacskeys] Error 2
I know there's a binary included with the package, but I couldn't get that to work either.
Code:
./bin/linux64/aacskeys: /usr/lib/gcc/x86_64-pc-linux-gnu/4.1.2/libstdc++.so.6: version `GLIBCXX_3.4.9' not found (required by ./bin/linux64/aacskeys)
Any ideas how to resolve that problem?
R!tman is offline   Reply With Quote
Old 2nd October 2008, 16:17   #368  |  Link
Oopho2ei
Guest
 
Posts: n/a
Those are the debian packages which provide "jni.h"
Code:
# apt-file search jni.h
classpath-common: /usr/include/classpath/jni.h
iceape-dev: /usr/include/iceape/java/jni.h
iceape-dev: /usr/include/iceape/jni.h
icedove-dev: /usr/include/icedove/java/jni.h
icedove-dev: /usr/include/icedove/jni.h
iceowl-dev: /usr/include/iceowl/java/jni.h
iceowl-dev: /usr/include/iceowl/jni.h
java-gcj-compat-dev: /usr/lib/jvm/java-1.4.2-gcj-4.1-1.4.2.0/include/jni.h
java-gcj-compat-dev: /usr/lib/jvm/java-1.5.0-gcj-4.3-1.5.0.0/include/jni.h
kaffe-dev: /usr/lib/kaffe/include/jni.h
kaffe-dev: /usr/lib/kaffe/include/kaffe_jni.h
libgcj7-dev: /usr/lib/gcc/x86_64-linux-gnu/4.1.2/include/jni.h
libgcj8-dev: /usr/lib/gcc/x86_64-linux-gnu/4.2/include/jni.h
libgcj9-dev: /usr/lib/gcc/x86_64-linux-gnu/4.3/include/jni.h
libsablevm-classlib1-java: /usr/include/jni.h
libsablevm-native1: /usr/include/jni.h
libsablevm1-dev: /usr/include/sablevm/jni.h
libxul-dev: /usr/include/xulrunner/java/jni.h
libxul-dev: /usr/include/xulrunner/jni.h
libxul-dev: /usr/lib/xulrunner/sdk/include/jni.h
sun-java5-jdk: /usr/lib/jvm/java-1.5.0-sun-1.5.0.14/include/jni.h
sun-java6-jdk: /usr/lib/jvm/java-6-sun-1.6.0.06/include/jni.h
As you can see they are all java related. So try some java (development) packages of you distribution. The other library is in package "libstdc++6". I hope the package names are somewhat similar to those in gentoo.

Last edited by Oopho2ei; 2nd October 2008 at 16:20.
  Reply With Quote
Old 2nd October 2008, 17:43   #369  |  Link
XAvAX
Registered User
 
Join Date: Nov 2006
Posts: 13
Ritman:
Please see http://forum.doom9.org/showthread.ph...55#post1189555

Also, the GLIBCXX error is caused (I believe) by a GCC downgrade from 4.2.X or 4.3.X, which was used to build it, to 4.1.2, which you have

Last edited by XAvAX; 2nd October 2008 at 19:15.
XAvAX is offline   Reply With Quote
Old 3rd October 2008, 08:46   #370  |  Link
R!tman
Registered User
 
R!tman's Avatar
 
Join Date: Jul 2004
Posts: 29
XAvAX: Thanks a ton, that work! I could compile it :-)!
R!tman is offline   Reply With Quote
Old 8th October 2008, 05:09   #371  |  Link
odin24
Registered User
 
odin24's Avatar
 
Join Date: Mar 2008
Location: The Great North (the better half of North America)
Posts: 301
A little help please and thanks.

I just need some clarification on how this works. I am able to get from a disc the;
-VID with DumpVid
-VUK with aacskeys, also the Disc ID

No what do I do with these numbers? I used Blu ray disc ripper, using the VUK as the CPS Key (are they the same?)... which did not work. The only think I can think as to why is the source was an unencrypted BD rip on my HDD. Does the source have to be the actual disc in the BD drive, or can it be hard drive files, or an image mounted to a virtual drive.

Also, my drive has had it's firmware patched, and no media player software was used during this whole process.

Thanks.
odin24 is offline   Reply With Quote
Old 8th October 2008, 09:39   #372  |  Link
derbeDeus
Registered User
 
Join Date: Mar 2008
Posts: 98
Quote:
Originally Posted by odin24 View Post
I just need some clarification on how this works. I am able to get from a disc the;
-VID with DumpVid
-VUK with aacskeys, also the Disc ID

No what do I do with these numbers? I used Blu ray disc ripper, using the VUK as the CPS Key (are they the same?)... which did not work. The only think I can think as to why is the source was an unencrypted BD rip on my HDD. Does the source have to be the actual disc in the BD drive, or can it be hard drive files, or an image mounted to a virtual drive.

Also, my drive has had it's firmware patched, and no media player software was used during this whole process.

Thanks.
no, VUK is not CPS
CPS is called "Decrypted Unit Key 1" in aacskeys output
derbeDeus is offline   Reply With Quote
Old 8th October 2008, 11:34   #373  |  Link
odin24
Registered User
 
odin24's Avatar
 
Join Date: Mar 2008
Location: The Great North (the better half of North America)
Posts: 301
Quote:
Originally Posted by derbeDeus View Post
no, VUK is not CPS
CPS is called "Decrypted Unit Key 1" in aacskeys output

Many thanks.
odin24 is offline   Reply With Quote
Old 8th October 2008, 19:13   #374  |  Link
KenD00
Registered User
 
Join Date: Jan 2007
Location: Internet
Posts: 378
Quote:
The only think I can think as to why is the source was an unencrypted BD rip on my HDD.
Uhh, if your source is already decrypted, why do you want to decrypt it again . I don't know what Blu-Ray Disc Ripper does in that case, but DumpHD shouldn't decrypt the files a second time.

Quote:
Does the source have to be the actual disc in the BD drive, or can it be hard drive files, or an image mounted to a virtual drive.
Again i can only speak for DumpHD, if you have the VUK of that disc in the database it works all these times if you have all files from the disc present (including the AACS stuff). If you don't have the VUK, you need the original disc because the VID needs to be retrieved which isn't stored in the filesystem.

Quote:
Also, my drive has had it's firmware patched
Then you don't need DumpVID because aacskeys can do all the work for you.

KenD00 is offline   Reply With Quote
Old 8th October 2008, 23:25   #375  |  Link
odin24
Registered User
 
odin24's Avatar
 
Join Date: Mar 2008
Location: The Great North (the better half of North America)
Posts: 301
Quote:
Originally Posted by KenD00

Then you don't need DumpVID because aacskeys can do all the work for you.

Right on, I did not know that... obviously.


Thanks, O.

Last edited by odin24; 11th October 2008 at 02:53.
odin24 is offline   Reply With Quote
Old 10th October 2008, 23:14   #376  |  Link
Guest
Guest
 
Join Date: Jan 2002
Posts: 21,924
Quote:
Originally Posted by odin24 View Post
Right on, I did not know that... obviously.

One other thing. Is there a way to decrypt an encrypted file that is in either .iso, or BD structure on my PC's HDD?

At the time of ripping I was unsure of this whole process... and my rental was due back.
Guys, don't answer this as it is a rule 6 violation.
Guest is offline   Reply With Quote
Old 11th October 2008, 02:53   #377  |  Link
odin24
Registered User
 
odin24's Avatar
 
Join Date: Mar 2008
Location: The Great North (the better half of North America)
Posts: 301
Quote:
Originally Posted by neuron2 View Post
Guys, don't answer this as it is a rule 6 violation.
Sorry 'bout that.
odin24 is offline   Reply With Quote
Old 14th October 2008, 12:01   #378  |  Link
Guilllo
Registered User
 
Join Date: Jan 2006
Location: Correze, France
Posts: 53
Here is what happens event with dumpvid hammering :

Code:
aacskeys 0.3.5 by arnezami, KenD00

Current path:                   /home/guilo/dumphd-0.46

MKBv:                           4
Processing key:                 F190A1E8178D80643494394F8031D9C8
Encrypted C-value:              788D0BF2BAA6BCF88D545D6DE2E32FDC
Corresponding uv:               000000A0

Decrypted C-value:              8DC7B0E517FE1F513758C9E11D3E9AEC
Media key:                      8DC7B0E517FE1F513758C9E11D3E9A4C

Encrypted verification data:    9AA5318EC0A587729C080AC0525235D4
Decr verif data should be:      0123456789ABCDEF
Decrypted verification data:    0123456789ABCDEF571A4CF3666E53C3

Drive FW info:                  1.79 Oct24,2007
AACS Version:                   01
Number of concurrent AGIDs:     4
Supports BN generation:         YES
BN Block Count:                 1
Inserted medium AACS protected: YES

AGID:                           00

Host Private Key (Hpriv):       4737676058D7029452514F0AB186DC4CCA8C578F
Host certificate (Hcert):       0200005CFFFF0000000C00006E3DEB679B9A16AD
                                FAA8E30878767BA6EB2A9B415385AD1181B4446C
                                31E9A5DD2AB808B364FF15885BAC490964318C9B
                                F8029FCF76F688A54FBDA03F6D9332EF04E5A613
                                12DA85880A4D9CBB79D8602E
Host Nonce (Hn):                2923BE84E16CD6AE529049F1F1BBE9EBB3A6DB3C

AGID:                           00

The given Host Certficate / Private Key has been revoked by your drive.


ERROR: SENDHOSTCHAL: SK: 0x1, ASC: 0x00, ASCQ: 0x00, errnr: -2
I am using aackeys 0.3.5 on linux64.
Guilllo is offline   Reply With Quote
Old 14th October 2008, 14:45   #379  |  Link
kkloster21
Registered User
 
Join Date: Jun 2008
Posts: 117
you need to patch your BD-ROM drive firmware. Oopho2ei and some other authors have written a drive patch for a few different drives and have posted it here:

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

you will need to have wine installed to apply this patch. take all precautions advised by Oopho2ei such as making sure your drive has a safe mode. it is possible to damage your drive if the firmware upgrade is not done properly. don't worry too much though as plenty of people have applied the patch with no problems.
kkloster21 is offline   Reply With Quote
Old 23rd October 2008, 01:37   #380  |  Link
raymondtrudeau
Registered User
 
Join Date: Apr 2008
Posts: 44
i have searched the forum but cannot figure out how to use the program....i have my external bluray rom on my l drive....how do i use the command prompt for it to get the keys? thanks iam looking for the incrediable hulk keys...
raymondtrudeau is offline   Reply With Quote
Reply

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

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 01:46.


Powered by vBulletin® Version 3.8.9
Copyright ©2000 - 2017, vBulletin Solutions, Inc.