home *** CD-ROM | disk | FTP | other *** search
/ Simtel MSDOS 1992 June / SIMTEL_0692.cdr / msdos / trojanpr / check_os.arc / CHECK-OS.DOC next >
Encoding:
Text File  |  1988-03-13  |  3.0 KB  |  56 lines

  1. Check-OS - a program to guard against Viruses.
  2.  
  3. This program was written to be compiled with Turbo Pascal version 4.0.  It
  4. checks the Filesize, File Date/Time (last updated), and Checksum of
  5. COMMAND.COM, AUTOEXEC.BAT, and CONFIG.SYS.  It was developed to verify that
  6. no virus had installed itself in DOS.  It does not stay resident to guard
  7. against Viruses, it just checks the specified drive once when the program is
  8. invoked.  It also doesn't have terribly extensive error checking so little
  9. things like the disk being too full to create the Control file, or a Write
  10. protect error will cause a runtime error.  I didn't feel it was necessary to
  11. fix these since I only use the program on my hard disk.
  12.  
  13. To use it, type CHECK-OS DRIVE where DRIVE is the drive letter containing
  14. the DOS to be checked.  I would recommend putting the command in your
  15. AUTOEXEC.BAT so it's control file (\CHECK-OS.CTL) is kept current.
  16.  
  17. I've done fairly extensive testing on a Bullet 286 (AT clone) but the source
  18. is included since 1) I don't have access to enough systems to do as much
  19. testing as I'd like and 2) because I hate using PD software without having
  20. the source (it gives me a warm fuzzy feeling to collect source to things I
  21. use frequently).
  22.  
  23. No warranty is given with this software - use at your own risk.
  24.  
  25. I can be reached on GEnie as R.BARTLETT if you'd like to send any comments,
  26. questions, or jokes involving COBOL programmers.
  27.  
  28. R.J. Bartlett  05 March 1988
  29.  
  30.  
  31.     First, let me introduce myself.  I am Erik Ch. Ohrnberger.  I'm currenty
  32.     a Systems Engineer for a large data processing company.  I found this
  33.     archive file on GEnie, was interested, and downloaded it.  I found the
  34.     origonal program very good, but rather limited in it's capabilities.
  35.     Using the origonal form of the program, you could not have the files that
  36.     were being checked write protected (marked as read-only), and you could
  37.     not have the command interpriter (COMMAND.COM) loaded via the CONFIG.SYS'
  38.     SHELL directive.  I modified the origonal version of the program so that
  39.     it would take these two specific alternative into account.  The code that
  40.     I added scans the CONFIG.SYS file for the SHELL directive, and uses the
  41.     specified path to find the COMMAND.COM command interpriter.  The way that
  42.     I figure it is that these PC viruses are written by malicous, intelligent,
  43.     mal-directed computer types of a high caliber of skills, and they would
  44.     not overlook such a detail.  Therefore these modifications will enhance
  45.     the protection against PC viruses.  Thinking about it a little farther,
  46.     a smart PC virus might install itself into the hidded system IBMBIO.COM
  47.     and IBMDOS.COM files.  The next iteration of this program should also
  48.     check these files agains PC virus corruption.
  49.  
  50. Erik Ch. Ohrnberger 13 March 1988
  51.  
  52. Update 13 March 1988 13:35
  53.     I already added the capability for this program to check and log DOS'
  54.     hidden system file.  It was alot eaisier than I first thought that it
  55.     would be.  So sorry about the double update.
  56.