home *** CD-ROM | disk | FTP | other *** search
/ Shareware Overload / ShartewareOverload.cdr / virus / virusck.zip / VIRUSCK.DOC < prev    next >
Text File  |  1988-02-21  |  2KB  |  43 lines

  1. Name: virusck - attempt to find out if a program is a virus.
  2.  
  3. Synopsis: virusck [-v] program [other programs]
  4.  
  5. Description: 
  6.      This program is designed to detect viruses that reinfect themselves, or
  7. viruses that infect known programs. Virusck can not determine absolutely whether
  8. a program is a virus. However, if a program changes it's size when run, or
  9. changes the size or modification time of another program, there may be a virus
  10. present. Virusck does a stat(2) on the program and the named files and then runs
  11. the program with the named files, as arguments, reporting if the sizes and/or
  12. modification times of anything changed. The -v option produces a verbose listing
  13. of the result of the stat commands. Built in commands can not be tested.
  14.  
  15. Example:
  16.     (MSDOS)
  17.     The following should detect command.com infecting ibmio.sys:
  18.      (have a blank formatted disk in drive A:)
  19.      C:> sys A:
  20.      C:> copy COMMAND.COM A:
  21.      C:> copy VIRUSCK.EXE A:
  22.     C:> A:
  23.     A:> virusck -v command.com ibmio.sys
  24.      A:> exit
  25.     
  26.     (UNIX)
  27.     The following should detect a shell reinfecting itself:
  28.     /bin/virusck /bin/sh
  29.     exit
  30.  
  31. Bugs:
  32.      The exact pathname of the program and files must be given. 
  33.      NO arguments are allowed to any program.
  34.     The programs are infected before the virus can be detected (Better have
  35.     a back up copy, or two, handy)
  36.     Some programs will normally produce a result from virusck (e.g. 
  37.     writing to a file).
  38.     Resident commands (type, dir, era) cannot be checked.
  39.     
  40. See Also:
  41.     README, LICENSE.DOC
  42.     
  43.