home *** CD-ROM | disk | FTP | other *** search
- Path: sparky!uunet!munnari.oz.au!titan!trlluna!bruce.cs.monash.edu.au!merlin!resmel.bhp.com.au!resmel.bhp.com.au!news
- Newsgroups: comp.lang.pascal
- Subject: re: my PD editor fights back / TP prot scheme
- Message-ID: <1992Dec15.084049.247@vulcan.resmel.bhp.com.au>
- From: paulg@a1.resmel.bhp.com.au (Paul Gallagher)
- Date: 15 Dec 92 08:40:49 +1000
- References: <34646@adm.brl.mil>
- Nntp-Posting-Host: 134.18.1.52
- Lines: 38
-
- In article <34646@adm.brl.mil> ATURNER@rcnvms.rcn.mass.edu (Alan Turner) writes:
- >Date sent: 14-DEC-1992
- >
- >The program knew that I modified one byte! and gave me an error message
- >accordingly! "Program has been altered" and blew up!
- >
- >This is my question because now I am curious - does anyone know of TP prot
- >schemes along these lines or is this a strictly assembly thing?
- >How can a program do this!!!????
- >
-
- Easily done in any language really... just need to read your .EXE
- like a data file and calculate a metric of some sort based on
- the contents (eg: CRC value). Not complete protection against
- hacking, but will warn a user of your program if a virus has got
- into your EXE, or if its just plain corrupted.
-
- btw, I think the F-PROT virus protection package (in an older
- version perhaps) included a utility to "retro-fit" such an integrity
- onto any executable. Also, I seem to remember that the Turbo User
- Group has got some Pascal source in its code library that does
- an integrity check for you.
-
- Regards,
- PaulG
- ----------------------------------------------------------------
- /\/\ : Paul Gallagher, PC/Mac Support
- / / /\ : Computer Services Group
- / / / \ : BHP Research - Melbourne Laboratories
- / / / /\ \ : 245 Wellington Rd, Mulgrave, 3170, AUSTRALIA
- \ \/ / / / : Phone +61-3-560-7066
- \ / / / : E-mail paulg@a1.resmel.bhp.com.au
- \/\/\/ :
- ================================================================
- All I (not my company) want for Christmas is ... OS/2 v2.0
- support in Lan Manager 2.2 ... and LanMan 2.2 support in DEC
- Pathworks ... and MacTCP free with all my new Macs ... and ...
- ----------------------------------------------------------------
-