TechTalkz.com Logo

Go Back   TechTalkz.com Technology & Computer Troubleshooting Forums > Tech World > Technical Discussions > Tech Reference

Notices

CD Copy Protection - Mode change....

Tech Reference


Reply
 
Thread Tools Display Modes
Old 14-05-2006, 12:26 AM   #1
Newbie
 
Mateusz Matusiak's Avatar
 
Join Date: May 2006
Age: 24
Posts: 12
Thanks: 0
Thanked 0 Times in 0 Posts
Rep Power: 0 Mateusz Matusiak is an unknown quantity at this point
CD Copy Protection - Mode change....

This is one of my ideas for a cd copy protection system.

We are going to create something like SafeDisc - but our sectors are not going to be weak The idea behind this protection is to change the Mode1 data organization to Mode2 Form1 + a small injection of data.... Those two modes are almoust the same...
They have 3 layers of error correction so the user will not notice any problems in using CDs with this data organization mode.

The diference that we will use is that the Mode2 Form1 data structure has a value = 2 in the Header, while Mode1 has 1. Let me explain

Each of the data organizations has a header. It looks something like that :

-------Header---------
| M | S | F | T |
------------------------

The header is placed after the Sync pattern... But its not important in this protection for us.
The first 3 bytes are the MSF (Minute , Second, Frame) and they are used to store the address of the sector. The last byte holds the type of the data organization. There are 3 values for this : 0 (not used), 1 : Mode1, 2 : Mode 2.

Now that we know the basics here is the idea :


Imagine that this is the data placed on CDR...

++++++++++++---------++++++++++++++++++++++++++

+ : are sectors in Mode2 Form1
- : are sectors in Mode1

Now please note that we don't have 3 tracks on the CD like someone could notice. We have one Mode2Form1 track with injected 5000 sectors that are Mode1. I created such CD using CDRDAO. Its a freeware cd writting software on GPL license(source included).

Now how does this preventd CloneCD/Alcohol from copying such CD.
Well, the answer is very simple. Our 5000 sectors that are in Mode1 will couse read errors if someone would try to read them (including Alcohol / CloneCD and other software..) becouse there are diferences in those two modes. The copying software will read the toc and see that on the CD there is only one data track in Mode2Form1. So he starts reading in this mode. When he will get into our gap of Mode1 injected sectors the drive will report it as read errors and the copy software will write there (to the image) a bad sector(s). Note: the bad sector will be reconstructed to Mode2Form1. Just the user data area will be filled with UUUUUUUUU...
So the header will be set to 2 while on our original CD we have 1 (in the gap area). After copying and burning the entire CD will have the header = 2 = A COPY !!!

Now the method has been described. Now how to check if the CD is copied or not. I have used a software named CDRECORD (also a GPL one) and found there a function ReadHeader. It did the work for me. I simply showed it what sectors to read (read the header) and it gave me back the results of the header.
But I think that it could be also arranged using a MMC command : ReadCD with some header reading flags -> www.t10.org - there you will find the specs of MMC-x Maybe there are also other ways to check for it... Who knows
__________________
Stop Piracy Before It Stops You :
http://piracywall.com/forum/viewforum.php?f=5
Mateusz Matusiak is offline   Reply With Quote
Old 03-12-2006, 11:31 PM   #2
Newbie
 
Join Date: Dec 2006
Age: 23
Posts: 15
Thanks: 0
Thanked 0 Times in 0 Posts
Rep Power: 0 ROCKY is an unknown quantity at this point
Send a message via Yahoo to ROCKY
can u plzzz explain it in a easier way.....................plzzzzzzzzz
ROCKY is offline   Reply With Quote
Reply

Thread Tools
Display Modes


Similar Threads
Thread Thread Starter Forum Replies Last Post
VCD/SVCD copy protection Mateusz Matusiak Tech Reference 1 03-12-2008 03:43 PM
VCD/SVCD Copy Protection - protected against IsoBuster Mateusz Matusiak Tech Reference 1 25-11-2007 04:16 AM
please Help >>=> Windows Media Player cannot play this DVD because there is a problem with digital copy protection between your DVD drive, decoder, and video card. Try installing an updated driver for your video card. Rono Windows Vista All 0 02-09-2007 07:31 AM
Media Center and Copy Protection eav Windows Vista All 10 18-08-2007 02:23 AM
Passive CD Copy Protection Idea Mateusz Matusiak Tech Reference 0 14-05-2006 12:19 AM


< Windows Help - MS Office Help - Hardware Support >


New To Site? Need Help?

All times are GMT +5.5. The time now is 04:55 AM.


vBulletin, Copyright ©2000 - 2009, Jelsoft Enterprises Ltd.
Content Relevant URLs by vBSEO
Copyright © 2005-2009, TechTalkz.com. All Rights Reserved - Privacy Policy
Valid XHTML 1.0 Transitional