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 23rd November 2023, 21:02   #741  |  Link
MrPenguin
Mr Penguin
 
Join Date: Oct 2023
Posts: 12
DB update for two entries?

Hi,

Can I assume that any entry whose comment contains "/BEE" declares that disk has "Bus Encryption Enabled", please? Because if so, then I believe these two entries would need updating accordingly:
Code:
0xD3F08E3F0C831B4858172FDC606F3520068EFF56 = OPPENHEIMER (Oppenheimer)
0x317A0AAFB05CBE1E1FB3BDF96D3B2F95C9053C20 = OPPENHEIMER_SPECIAL_FEATURES (Special Features)
I've already tried to update them myself, except my "synchronize" didn't change anything .

Thanks.
MrPenguin is offline   Reply With Quote
Old 5th December 2023, 23:20   #742  |  Link
nalor
Registered User
 
Join Date: Dec 2013
Posts: 486
here is a new "test" release - I've added libredrive support for supported UHD drives:
when it comes to validation, "libredrive mode" is enabled -> this disables the bus-encryption and so it's easily possible for FindVUK to validate the current values.
I tried it with 1 disc and it worked (because I only own 1 UHD).

Download from here: FindVUK_1.70

Please report if it's working - thanks

@mick0 - it should also fix the wrong calculation of the driveid, but I did not add your 2nd idea yet as I read our message a minute ago.
nalor is offline   Reply With Quote
Old 6th December 2023, 00:20   #743  |  Link
Grimsdyke
Registered User
 
Join Date: Nov 2013
Location: Hannover, Germany
Posts: 291
Just tested a German and US UHD and it seem to work as you describe ! Nice.
Oh, I always wanted to ask - why does the size of the local keydb decreases in size when FindVUK loads it ? Or is it only my system where this happens ...
__________________
MPC-BE feature wishlist: 1) DiscID
2) Two independent volume control sliders in the UI when using dual-audio-out.
Grimsdyke is offline   Reply With Quote
Old 6th December 2023, 23:17   #744  |  Link
SamuriHL
Registered User
 
SamuriHL's Avatar
 
Join Date: May 2004
Posts: 5,341
I just tested it out with my bu40n drive and it worked perfectly. Very nice!
__________________
HTPC: Windows 11, AMD 5900X, RTX 3080, Pioneer Elite VSX-LX303, LG G2 77" OLED
SamuriHL is offline   Reply With Quote
Old 7th December 2023, 09:27   #745  |  Link
magician
Registered User
 
Join Date: Jun 2023
Posts: 14
Quote:
Originally Posted by nalor View Post
here is a new "test" release - I've added libredrive support for supported UHD drives:
when it comes to validation, "libredrive mode" is enabled -> this disables the bus-encryption and so it's easily possible for FindVUK to validate the current values.
I tried it with 1 disc and it worked (because I only own 1 UHD).
Thanks for the update. I tried and it works, but I'm interested in a deeper explanation of what changed. For me, the "get ReadDataKey from dump and use that to bypass bus encryption" method from before already worked (?), has fewer apparent dependencies and is several seconds faster for validating the unit keys than this new approach of using LibreDrive. In other words, 1.70 is slower than 1.67, the last version I tested. I'm probably not the intended audience, but who is? Is it people like metalsonic88 and mick0 with drives that expect AACS2 authentication but still work with DVDFab because they have friendly firmware?
magician is offline   Reply With Quote
Old 7th December 2023, 14:43   #746  |  Link
SamuriHL
Registered User
 
SamuriHL's Avatar
 
Join Date: May 2004
Posts: 5,341
They're not "friendly" drives, they're official drives. Official drives require aacs 2.x bus encryption and there are no host certs available for that. So while dvdfab is able to use certain official drives like my bu40n, with that bus encryption there was no way to validate the extracted key. With libredrive active, bus encryption is simply disabled so that validation can take place.

Sent from my SM-G998U1 using Tapatalk
__________________
HTPC: Windows 11, AMD 5900X, RTX 3080, Pioneer Elite VSX-LX303, LG G2 77" OLED
SamuriHL is offline   Reply With Quote
Old 7th December 2023, 17:20   #747  |  Link
mick0
Registered User
 
Join Date: Dec 2017
Posts: 34
Quote:
Originally Posted by SamuriHL View Post
They're not "friendly" drives, they're official drives. Official drives require aacs 2.x bus encryption and there are no host certs available for that. So while dvdfab is able to use certain official drives like my bu40n, with that bus encryption there was no way to validate the extracted key. With libredrive active, bus encryption is simply disabled so that validation can take place.

Sent from my SM-G998U1 using Tapatalk
This is not entirely accurate.

FindVUK starting from v1.68 extracts data key from DVDFab on UHD official drives such as BU40N or WH16NS60. No LibreDrive or Host Certificate is required for playback/decrypt/verify when data keys are available.
mick0 is offline   Reply With Quote
Old 7th December 2023, 19:16   #748  |  Link
mick0
Registered User
 
Join Date: Dec 2017
Posts: 34
It seems FindVUK 1.70 now fails during validation step on my system. FindVUK 1.68 works.

Relevant part from the log
Code:
2023-12-07 00:00:00 # 40386 # [I] findvuk_validate / _CommonValidation / Disc is AACS 2.0 and BusDescryption is required -> check if MakeMKV is installed
2023-12-07 00:00:00 # 40387 # [I] bluray_mmkv / BRMMKV_CheckIfInstalledAndLicensed / MakeMKV is installed!
2023-12-07 00:00:00 # 40387 # [I] bluray_mmkv / BRMMKV_CheckIfInstalledAndLicensed / MakeMKV has a license key!
2023-12-07 00:00:00 # 40387 # [I] findvuk_validate / _CommonValidation / MakeMKV is installed -> now check if drive >D< is Libredrive supported
2023-12-07 00:00:00 # 40387 # [E] bluray_mmkv / BRMMKV_CheckSdfSupport / ERROR! Couldn't get the MakeMKVcon path! ()
2023-12-07 00:00:00 # 40387 # [E] findvuk_validate / _CommonValidation / ERROR! Couldn't check for Libredrive support! >#BRMMKV_ERR_MAKEMKV_FILE<
2023-12-07 00:00:00 # 40387 # [I] findvuk_validate / FVVAL_Mode_FindVUK / Finished with result >-2812<
I don't currently have makemkv installed on this system, but FindVUK thinks it is and tries to use it.

Can you perhaps add an config option for disabling LD support?
mick0 is offline   Reply With Quote
Old 7th December 2023, 23:20   #749  |  Link
SamuriHL
Registered User
 
SamuriHL's Avatar
 
Join Date: May 2004
Posts: 5,341
Quote:
Originally Posted by mick0 View Post
This is not entirely accurate.

FindVUK starting from v1.68 extracts data key from DVDFab on UHD official drives such as BU40N or WH16NS60. No LibreDrive or Host Certificate is required for playback/decrypt/verify when data keys are available.
Nor is this entirely accurate. That may work on blu-ray but trust me, it didn't work for me on UHD's. It does now with 1.70 and LibreDrive.
__________________
HTPC: Windows 11, AMD 5900X, RTX 3080, Pioneer Elite VSX-LX303, LG G2 77" OLED
SamuriHL is offline   Reply With Quote
Old 7th December 2023, 23:47   #750  |  Link
mick0
Registered User
 
Join Date: Dec 2017
Posts: 34
Quote:
Originally Posted by SamuriHL View Post
Nor is this entirely accurate. That may work on blu-ray but trust me, it didn't work for me on UHD's. It does now with 1.70 and LibreDrive.
Well, it works on my WH16NS60 with slightly patched libaacs (UHD and BD). Using data keys is the official way to handle bus encryption after all and it is what DVDfab and PowerDVD are using for instance. It should definitely work, unless FindVUK is unable to extract the data key for your disc/drive for some reason.
mick0 is offline   Reply With Quote
Old 8th December 2023, 04:56   #751  |  Link
SamuriHL
Registered User
 
SamuriHL's Avatar
 
Join Date: May 2004
Posts: 5,341
1.70 seems to be able to but 1.68 wasn't. No idea why but everything is working great now. If only dvdfab would add pioneer drive support we'd be in the golden age.

Sent from my SM-G998U1 using Tapatalk
__________________
HTPC: Windows 11, AMD 5900X, RTX 3080, Pioneer Elite VSX-LX303, LG G2 77" OLED
SamuriHL is offline   Reply With Quote
Old 8th December 2023, 06:29   #752  |  Link
magician
Registered User
 
Join Date: Jun 2023
Posts: 14
Quote:
Originally Posted by magician View Post
and is several seconds faster for validating the unit keys than this new approach of using LibreDrive. In other words, 1.70 is slower than 1.67, the last version I tested.
With a physical disc it's actually taking an entire minute for FindVUK to enable LD in 1.70, even though FindVUK already got the RDK a few steps earlier.

Is it waiting for the disc to completely finish loading in MakeMKV before moving on? Previously, getting past the bus encryption would take less than a second by directly using the key that it already found.

Code:
00:19:55 - BusDecryption is required - try go get ReadDataKey from dump
...........................-........-..-.-.-..........-
00:19:56 -  >>> ReadDataKey from dump >0DAC1C5F13F4145C41F5694E5587E40F<
-------------------------------------------------------------------------------
00:19:56 -  --- PART 2 --- VALIDATE VUK/UNITKEYS ---
-------------------------------------------------------------------------------
00:19:57 - Drive is detected as 'REAL BLURAY' drive

-------------------------------------------------------------------------------
00:19:57 - Disc is AACS 2.0 and BusDescryption is required -> check if MakeMKV is installed
00:19:57 - MakeMKV is installed -> now check if drive >E< is Libredrive supported
00:19:57 - Enable Libredrive for drive >E< to disable BusEncryption for current disc
00:20:56 - Libredrive for drive >E< enabled, BusEncryption disabled for current disc
00:20:56 - M2TS files found >111<
00:20:56 - Decrypted first unit of file >E:\BDMV\STREAM\00174.m2ts< with UnitKey >1<
00:20:56 - All UnitKeys are VALID! No need to test other files

-------------------------------------------------------------------------------
00:20:56 - Validation successful! UnitKeys are valid!!
-------------------------------------------------------------------------------
magician is offline   Reply With Quote
Old 8th December 2023, 08:41   #753  |  Link
metalsonic88
Registered User
 
Join Date: May 2023
Posts: 13
I have tested my full supply of UHD discs and several regular Blu-rays and everything appears to be in working order. I'll probably try and retest my full library along with anything new I get over the holidays to see if there are any other issues hiding away somewhere, but for right now I have no complaints. With the help of mick0 I have even been able to play all my UHDs directly from the drive. So thank you nalor and thank you mick0, you both are legends.

Additionally, I have noticed no change in the speed at which discs are handled by FindVUK. Whether UHD or Blu-ray it only takes a few seconds, less than 30 even in the longest cases, for the whole process to complete once it recognizes the disc.
metalsonic88 is offline   Reply With Quote
Old 8th December 2023, 23:24   #754  |  Link
nalor
Registered User
 
Join Date: Dec 2013
Posts: 486
Just released 1.71 "officially" through the auto updater, the previous 1.70 introduced a bug because it calculated the driveid for AACS1 discs wrong and therefore the RDK got stored in the wrong directory.

Next I checked DVDfab 13 and added support for it - only small changes where necessary

And regarding libredrive support: it's only used in case the drive has an AACS2 certificate - so for use with a uhd-friendly drive nothing should change.

And for drives that are "official" AACS2 UHD drives I thought that the RDK method is not working at all.

@magician - can you tell me your drive model and maybe send me a log from FindVUK 1.68 when using the RDK with an UHD in the drive for validation? Thanks
nalor is offline   Reply With Quote
Old 9th December 2023, 00:05   #755  |  Link
mick0
Registered User
 
Join Date: Dec 2017
Posts: 34
Quote:
Originally Posted by nalor View Post
And for drives that are "official" AACS2 UHD drives I thought that the RDK method is not working at all.

@magician - can you tell me your drive model and maybe send me a log from FindVUK 1.68 when using the RDK with an UHD in the drive for validation? Thanks
RDK method works just fine on AACS2 drives as long as the RDK is available.

Log output from FindVUK 1.68 (UHD disc + AACS2 drive WH16NS60)
Code:
...
2023-12-07 00:00:00 # 42429 # [I] findvuk_validate / FVVAL_GetAllDriveDetails / Request SCSI-MMC drive details now
2023-12-07 00:00:00 # 42432 # [I] drive_mmc / DRMMC_GetDriveDetails / REAL DRIVE detected - FeatureSupported >1<
2023-12-07 00:00:00 # 42432 # [I] findvuk_validate / FVVAL_GetAllDriveDetails /   Drive Vendor         : HL-DT-ST
2023-12-07 00:00:00 # 42432 # [I] findvuk_validate / FVVAL_GetAllDriveDetails /   Drive Model          : BD-RE  WH16NS60 
2023-12-07 00:00:00 # 42432 # [I] findvuk_validate / FVVAL_GetAllDriveDetails /   Drive Revision       : 1.00
2023-12-07 00:00:00 # 42432 # [I] findvuk_validate / FVVAL_GetAllDriveDetails /   Drive VendorSpec     : <redacted>
2023-12-07 00:00:00 # 42432 # [I] findvuk_validate / FVVAL_GetAllDriveDetails /   FirmwareCreationDate : 211704251756
2023-12-07 00:00:00 # 42432 # [I] findvuk_validate / FVVAL_GetAllDriveDetails /   Drive Interface      : Serial ATAPI
2023-12-07 00:00:00 # 42432 # [I] findvuk_validate / FVVAL_GetAllDriveDetails /   Drive Type           : BLURAY/DVD/CD-WRITER
2023-12-07 00:00:00 # 42432 # [I] findvuk_validate / FVVAL_GetAllDriveDetails /   LoadingMechanism     : Tray
2023-12-07 00:00:00 # 42432 # [I] findvuk_validate / FVVAL_GetAllDriveDetails /   Drive Features       :
2023-12-07 00:00:00 # 42432 # [I] findvuk_validate / FVVAL_GetAllDriveDetails /     Profile List, Core, Morphing, Removeable Medium, Write Protect, Random Readable,
2023-12-07 00:00:00 # 42433 # [I] findvuk_validate / FVVAL_GetAllDriveDetails /     Multi-Read, CD Read, DVD Read, Random Writeable, Incremental Streaming Writeable,
2023-12-07 00:00:00 # 42433 # [I] findvuk_validate / FVVAL_GetAllDriveDetails /     Formattable, Hardware Defect Management, Restricted Overwrite, CD-RW CAV Write,
2023-12-07 00:00:00 # 42433 # [I] findvuk_validate / FVVAL_GetAllDriveDetails /     DVD+RW, DVD+R, Rigid Restricted Overwrite, CD Track at Once, CD Mastering,
2023-12-07 00:00:00 # 42433 # [I] findvuk_validate / FVVAL_GetAllDriveDetails /     DVD-R/-RW Write, Layer Jump Recording, CD-RW Media Write Support, BD-R POW,
2023-12-07 00:00:00 # 42433 # [I] findvuk_validate / FVVAL_GetAllDriveDetails /     DVD+R Dual Layer, BD Read Feature, BD Write Feature, Hybrid Disc, Power Management,
2023-12-07 00:00:00 # 42433 # [I] findvuk_validate / FVVAL_GetAllDriveDetails /     SMART, CD Audio External Play, Microcode Update, Timeout, DVD-CSS, Real Time Streaming,
2023-12-07 00:00:00 # 42433 # [I] findvuk_validate / FVVAL_GetAllDriveDetails /     Drive Serial Number, Media Serial Number, DCBs, Firmware Information, AACS,
2023-12-07 00:00:00 # 42433 # [I] findvuk_validate / FVVAL_GetAllDriveDetails /     AACS2
2023-12-07 00:00:00 # 42433 # [I] findvuk_validate / FVVAL_GetAllDriveDetails /   Drive Profiles       :
2023-12-07 00:00:00 # 42433 # [I] findvuk_validate / FVVAL_GetAllDriveDetails /     BD-RE, BD-R RRM, BD-R SRM, BD-ROM, DVD+R Dual Layer, DVD+R, DVD+RW, DVD-R Dual Layer Jump Recording,
2023-12-07 00:00:00 # 42433 # [I] findvuk_validate / FVVAL_GetAllDriveDetails /     DVD-R Dual Layer Sequential Recording, DVD-RW Sequential Recording, DVD-RW Restricted Overwrite,
2023-12-07 00:00:00 # 42433 # [I] findvuk_validate / FVVAL_GetAllDriveDetails /     DVD-RAM, DVD-R Sequential Recording, DVD-ROM, CD-RW, CD-R, CD-ROM, Removeable disk
2023-12-07 00:00:00 # 42433 # [I] findvuk_validate / FVVAL_GetAllDriveDetails /   FeatureDescriptor    : 01 0D 08 04 17 01 02 01
2023-12-07 00:00:00 # 42433 # [I] findvuk_validate / FVVAL_GetAllDriveDetails /   AacsVersion          : 1
2023-12-07 00:00:00 # 42433 # [I] findvuk_validate / FVVAL_GetAllDriveDetails /   AacsActive           : 0
2023-12-07 00:00:00 # 42433 # [I] findvuk_validate / FVVAL_GetAllDriveDetails /   BindingNonceGenSupp  : 1
2023-12-07 00:00:00 # 42433 # [I] findvuk_validate / FVVAL_GetAllDriveDetails /   BindingNonceBlockCnt : 1
2023-12-07 00:00:00 # 42433 # [I] findvuk_validate / FVVAL_GetAllDriveDetails /   BusEncryptionSupport : 1
2023-12-07 00:00:00 # 42433 # [I] findvuk_validate / FVVAL_GetAllDriveDetails /   ReadDriveCertificate : 1
2023-12-07 00:00:00 # 42433 # [I] findvuk_validate / FVVAL_GetAllDriveDetails /   AgidCount            : 2
2023-12-07 00:00:00 # 42433 # [I] findvuk_validate / FVVAL_GetAllDriveDetails / Drive is detected as 'REAL BLURAY' drive
2023-12-07 00:00:00 # 42436 # [I] findvuk_validate / _CheckAndAddDriveToDriveList / Drive is already in the KnownDrivesList
2023-12-07 00:00:00 # 42490 # [I] bluray_aacs / BRAACS_ValidateUnitKeys / M2TS files found >105<
2023-12-07 00:00:00 # 42490 # [I] findvuk_validate / _GenericCallback / M2TS files found >105<
2023-12-07 00:00:00 # 42491 # [I] bluray_aacs / BRAACS_ValidateUnitKeys / ReadDataKey for busdecryption >0FDDF4B5021E5D020CA09F3BC333ECEE<
2023-12-07 00:00:00 # 42491 # [I] bluray_aacs / BRAACS_IsFileEncryptedv2 / Check if file >D:\BDMV\STREAM\00174.m2ts< is encrypted (UDF >0<)
2023-12-07 00:00:00 # 42966 # [I] bluray_aacs / BRAACS_ValidateUnitKeys / File >D:\BDMV\STREAM\00174.m2ts< is encrypted! (Size >238688256<)
2023-12-07 00:00:00 # 42967 # [I] bluray_aacs / BRAACS_ValidateUnitKeys / Decrypted first unit of file >D:\BDMV\STREAM\00174.m2ts< with UnitKey >1<
2023-12-07 00:00:00 # 42967 # [I] findvuk_validate / _GenericCallback / Decrypted first unit of file >D:\BDMV\STREAM\00174.m2ts< with UnitKey >1<
2023-12-07 00:00:00 # 42968 # [I] bluray_aacs / BRAACS_ValidateUnitKeys / All UnitKeys are VALID! No need to test other files
2023-12-07 00:00:00 # 42968 # [I] findvuk_validate / _GenericCallback / All UnitKeys are VALID! No need to test other files
2023-12-07 00:00:00 # 42969 # [I] findvuk_validate / _Validate / Validation successful! UnitKeys are valid!!
...
mick0 is offline   Reply With Quote
Old 9th December 2023, 00:05   #756  |  Link
nalor
Registered User
 
Join Date: Dec 2013
Posts: 486
Next update 1.72:
* Libredrive support is now disabled by default, can be enabled using an INI switch if desired (I tested it with my BU40N 1.00 drive and it's really working with only the RDK ... )
* DVDfab 13 logfile is assumed to be always enabled (there's a flag in the dvdfab config file that was either 0 or 1 in the past - but now it reports something like "34589778" or also "0" sometimes ... but the log is nevertheless written.
nalor is offline   Reply With Quote
Old 9th December 2023, 00:13   #757  |  Link
mick0
Registered User
 
Join Date: Dec 2017
Posts: 34
Quote:
Originally Posted by nalor View Post
(I tested it with my BU40N 1.00 drive and it's really working with only the RDK ... )
This is what I've been trying to tell you guys all along.
mick0 is offline   Reply With Quote
Old 15th December 2023, 16:36   #758  |  Link
MrPenguin
Mr Penguin
 
Join Date: Oct 2023
Posts: 12
Quote:
Originally Posted by mick0 View Post
RDK method works just fine on AACS2 drives as long as the RDK is available.
But this begs the question "How do you obtain the RDK for AACS2 drives / disks?"

I wasn't aware that this had been achieved yet!?

Last edited by MrPenguin; 15th December 2023 at 16:39.
MrPenguin is offline   Reply With Quote
Old 16th December 2023, 15:19   #759  |  Link
SamuriHL
Registered User
 
SamuriHL's Avatar
 
Join Date: May 2004
Posts: 5,341
It's extracted from the memory dump when the unit keys are extracted.

Sent from my SM-G998U1 using Tapatalk
__________________
HTPC: Windows 11, AMD 5900X, RTX 3080, Pioneer Elite VSX-LX303, LG G2 77" OLED
SamuriHL is offline   Reply With Quote
Old 17th December 2023, 12:27   #760  |  Link
MrPenguin
Mr Penguin
 
Join Date: Oct 2023
Posts: 12
Quote:
Originally Posted by SamuriHL View Post
It's extracted from the memory dump when the unit keys are extracted.
Ouch, so this approach doesn't work for Linux users .
MrPenguin 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 10:42.


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