🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: comp.lang.pascal.borland
Article #432

Re: Copy protection schemes

#432
From: Bishop
Date: Wed, 07 Oct 1998 00:00
48 lines
2826 bytes
A tip :
It doesn't matter what you use, so take it easy on yourself.
If you go with any simple thing, a cracker who is handy with softice or
turbo debugger will wipe it out.

If you go with encryption, crc checks or special keys or serials, some
maniac math genius will puzzle it out.

And, if you get past those, the third or fourth legimate user will copy
whatever is necessary to run his copy of the program, and you're finished
anyway.

What you have to think in terms of is a deterrent, and one that doesn't
annoy legit users. so forget doc checks, and go with a simple key file and
maybe some crc checks and encryption (my method, is as follows)
1. Basic protection is a file created in the root directory marked hidden
system and named something innocent, like " win32krn.sys" or "dosio.sys"
(people will not screw with things that look important, unless they know
better, in which case you've already lost."

2. do overlayed crc checks (take an arbitary section of code, and crc it,
(just make sure it contains your protection scheme (completely, including
any variables stored elsewhere, do another crc on them) this gives code
changers fits because it's easy to defeat a crc on a whole file, (you just
generate a crc for the file, find that value, make your changes and generate
a new crc, replace old with new, tada) but if it's just a section....

3. (if you do this, do it before you add crc's (duh) ) do a basic xor
encrypt on the file.

That would be best to limit unwanted copying.
the best encryption code can be found with virus programming, crc code is
everwhere, and the key file is simple. good luck

--

- Bishop

Henry Gray wrote in message <36123bdf.0@145.227.194.253>...
>The serial numbers of disks are stored in their boot sector. If you read
the
>boot sector of the floppy disk (which you can do via a DOS or BIOS
>interrupt - I forget which) then you can read the serial number of the
disk.
>
>
>
>
Technical Details
Message-ID: <6vf6jl$bl6$1@camel18.mindspring.com>
Path: arc1-ca.pugleaf.net!unknown!not-for-mail
References: <6urf11$1j1$1@news3.cableinet.co.uk> <36123bdf.0@145.227.194.253>

Show Full Headers
Complete Article Headers
X-Google-Language: ENGLISH,ASCII-7-bit
X-Google-Thread: 111659,b60f5ffb1998934d
X-Google-Attributes: gid111659,public
X-Google-Thread: 10c950,b60f5ffb1998934d
X-Google-Attributes: gid10c950,public
X-Google-Thread: 108ebd,b60f5ffb1998934d
X-Google-Attributes: gid108ebd,public
X-Google-Thread: 10cc59,b60f5ffb1998934d
X-Google-Attributes: gid10cc59,public
From: "Bishop" <jrm89@mindspring.com>
Subject: Re: Copy protection schemes
Date: 1998/10/07
Message-ID: <6vf6jl$bl6$1@camel18.mindspring.com>
X-Deja-AN: 398558953
References: <6urf11$1j1$1@news3.cableinet.co.uk> <36123bdf.0@145.227.194.253>
X-Server-Date: 7 Oct 1998 07:52:21 GMT
X-MimeOLE: Produced By Microsoft MimeOLE V4.72.2106.4
Organization: Republic Of Desire
Newsgroups: comp.lang.pascal.borland,comp.lang.pascal.ansi-iso,borland.public.turbopascal,comp.lang.pascal