superg / redumper

Low level CD dumper utility
GNU General Public License v3.0
187 stars 17 forks source link

Handle BEE (Bus Encrypted Enabled) Blu-Ray discs #120

Open HeroponRikiBestest opened 5 months ago

HeroponRikiBestest commented 5 months ago

Note that all of the following could be wrong; I tried my best to understand it, but I only found out BEE existed because I ran into a bluray with it.

What is AACS Bus Encryption?

AACS Bus Encryption is a new copy protection that applied in some Blu-ray discs. It mainly adds the PC player encryptions to prevent the decryption of the content even if the AACS keys are known. Therefore, AACS Bus Encryption will prevent you from playing some blu-ray discs with PC based player software such as Power DVD, ARC soft 5, Total Media Theater, Cineplayer BD with 3D, WinDVD Pro. It also added second layer of encryption between the player software host and PC drive. Moreover, AACS Bus Encryption uses Dynamic keys. So that the disc content shall be much safer and the identification process shall be easier. All the above features increase the difficulty for the decryption of AACS Bus Encryption.

Bus Encrypted Enabled (BEE) blu-ray discs will, at least as far as I can tell, produce bad bluray dumps on redumper, or any other dumping program that does not check for BEE and either throw a warning, or use the RDK (Read Data Key) you dump for your disc; otherwise, the drive will be returning incorrect data, as it will additionally encrypt the data that's being returned.

https://forum.doom9.org/showthread.php?t=176924 https://forum.doom9.org/showthread.php?t=184373&highlight=busencryption Has some more info on how you dump those.

https://forum.makemkv.com/forum/viewtopic.php?t=3559

If I'm understanding it correctly, at the very least, unless RDK support is added, redumper should probably check if the drive is BEE enabled, check if the disc is BEE enabled, and fail with a message if so, since atm it will just dump like there's no issue.

HeroponRikiBestest commented 5 months ago

Confirmed the issue; with Ribshark's firmware, redumper will produce bad dumps of BEE blurays until you run libredrive at least once during the session, then they will dump properly.