Re: Copy protection of the floppies

From: Helge Hafting
Date: Tue Nov 25 2003 - 05:37:57 EST


Pravin Nanaware , Gurgaon wrote:
Hi All,

1> Could somebody suggest me the way to protect floppy from copying it's
contents. 2> If not possible, will it be possible to make the copied floppy unworkable
(The copied floppy shouldn't work). For this I have constraint, I don't want to change the platform, which
reads this floppy.


The contents of the floppy could be anything like text file, exe file or
encrypted file.

Anything you can do others can do. So this isn't really possible,
as many game vendors discovered in the 80's.

What you can do, however, is to make a floppy that can't be copied using
the normal ways (cp, gui file manager) that _everybody_ knows how to use.

But it will always be possible for someone determined to copy your floppy,
and it only takes one "expert" copy onto a standard floppy or warez site
before everybody freely may copy the now unprotected stuff.

Floppy protection schemes usually only works for a floppy containing
a program, the idea is that the program checks that the floppy is
genuine and deliberately fails to decrypt contents if it isn't.

For example, the floppy may have some tracks formatted in a nonstandard way,
or some deliberately damaged sectors. (Program tries to write
to those ectors - if it works it knows it is an illegitimate copy.)

Ordinary copy programs can't copy this. A sector copy program may
faithfully copy a disc sector with a bad checksum, but it won't make
the sector truely unwritable (i.e. scratched).

Experts can get around this in a number of ways though.
1. Study the original floppy and make a copy that is scratched in
the right places. Remember, they can do what you can do.
2. Disassemble the program and alter is so it skips the tests. This is
a popular one.
3. Get the decrypted content from main memory by dumping /dev/kmem or techniques similiar to that.

This makes such schemes unworkable for mass-market stuff, because
you'll quickly reach some hacker that see this as a challenge.
Once the "protection" is broken you have no secret any more.
Just like CSS . . .

Helge Hafting

-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/