PDA

View Full Version : How to distinguish between original Bluray, BD-r or Bluray image?


onlym3
25th November 2010, 04:19
I am trying to get a tool programmed, that can reliably distinguish between a retail bluray, a bd-r and an image from a bluray. I have a programmer, but he doesnt know anything about blurays. So my question is, how can it be done? As far as i know only retail blurays have volume ids, is it possible to check if a volume id is present? It won't matter that the volume id is encrypted, since we wouldnt need to know, what the id is, we would just need to know that there is one. Or has anyone other suggestions what to check for?

Thanks

Ghitulescu
25th November 2010, 08:59
The retail is on a BD-ROM, the others are either on BD-R or HDD.

onlym3
25th November 2010, 18:45
The retail is on a BD-ROM, the others are either on BD-R or HDD.And this helps, how? How does a program check if whats inserted is a bd-rom, not a bd-r ?

setarip_old
25th November 2010, 19:06
@onlym3

You may want to contact the author of IMGBurn...

LoRd_MuldeR
26th November 2010, 12:27
Well, I think to distinguish between a ROM and R(ecordable) media you will have to talk to the Drive directly through one of the "low-level" API's, such as ASPI or SPTI.

I don't think they are distinguishable on the file-system level, because the file-systems API just "sees" a drive with files on it.

Moreover I don't think there is a way to distinguish between a "physical" disc and an a disc image (from HDD) that is mounted into a virtual drive - as that's all the purpose of a virtual drive!

If you found a method to do this in a reliable way, you could put this on the market as a new "copy protection" scheme ;)

Ghitulescu
26th November 2010, 13:25
Any drives knows at FW level whether the inserted disk is a silver or a recordable, but it's not required to pass this info to the system.

onlym3
27th November 2010, 00:03
Moreover I don't think there is a way to distinguish between a "physical" disc and an a disc image (from HDD) that is mounted into a virtual drive - as that's all the purpose of a virtual drive!Well there has to be, otherwise aacs would be useless. The volume id of a retail bluray cant be copied as far as i know, the question is, can you check if a volume id is present on a bluray and if so, how? Or do bd-r also have some form of volume id?

LoRd_MuldeR
27th November 2010, 00:49
Well there has to be, otherwise aacs would be useless. The volume id of a retail bluray cant be copied as far as i know, the question is, can you check if a volume id is present on a bluray and if so, how? Or do bd-r also have some form of volume id?

The "volume id" is not stored in the file system. It is stored in a special area of the BD, called the BD-ROM Mark. This area is protected and the BD Drive won't let you read it, unless you can present a valid host certificate. Normally only "licensed" BD playback software (and of course standalone players) has such a certificate. Also the communication between the player software and the drive will be encrypted when reading the "volume id". So in order to obtain the "volume id" you would either need to have a "stolen" host certificate (one that hasn't been revoked yet) or a BD drive with borked/hacked firmware. As far as I know, some BD drives are "buggy" and can be convinced to give away the "volume id" even without a valid host certificate. If however you somehow managed to obtain the "volume id" from the original disc, it should be possible to emulate the "volume id" in a virtual drive (image file). And then once again the "virtual" disc cannot be distinguished from an original BD-ROM media.

(Or in other words: All the "security" of the "volume id" is based on the idea that you cannot read-out the BD-ROM mark. Once you manage to read it, all the "protection" is gone)

setarip_old
27th November 2010, 02:43
@onlym3

Once again, I strongly suggest that you communicate with "LightningUK!", the author of the premier burning program, "IMGBurn" (and earlier, "DVDDecrypter"). I'm certain that, if he's vailable, he can resolve your "mysteries" in 5 minutes or less.

I'm sure no one at Doom9 will dispute his level of knowledge when it comes to "all things disc-related" (Blu-ray and DVD), including virtual drives...