home *** CD-ROM | disk | FTP | other *** search
/ NetNews Usenet Archive 1992 #30 / NN_1992_30.iso / spool / comp / lang / pascal / 7467 < prev    next >
Encoding:
Internet Message Format  |  1992-12-14  |  2.1 KB

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