home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Shareware Overload
/
ShartewareOverload.cdr
/
virus
/
virusck.zip
/
VIRUSCK.DOC
< prev
next >
Wrap
Text File
|
1988-02-21
|
2KB
|
43 lines
Name: virusck - attempt to find out if a program is a virus.
Synopsis: virusck [-v] program [other programs]
Description:
This program is designed to detect viruses that reinfect themselves, or
viruses that infect known programs. Virusck can not determine absolutely whether
a program is a virus. However, if a program changes it's size when run, or
changes the size or modification time of another program, there may be a virus
present. Virusck does a stat(2) on the program and the named files and then runs
the program with the named files, as arguments, reporting if the sizes and/or
modification times of anything changed. The -v option produces a verbose listing
of the result of the stat commands. Built in commands can not be tested.
Example:
(MSDOS)
The following should detect command.com infecting ibmio.sys:
(have a blank formatted disk in drive A:)
C:> sys A:
C:> copy COMMAND.COM A:
C:> copy VIRUSCK.EXE A:
C:> A:
A:> virusck -v command.com ibmio.sys
A:> exit
(UNIX)
The following should detect a shell reinfecting itself:
/bin/virusck /bin/sh
exit
Bugs:
The exact pathname of the program and files must be given.
NO arguments are allowed to any program.
The programs are infected before the virus can be detected (Better have
a back up copy, or two, handy)
Some programs will normally produce a result from virusck (e.g.
writing to a file).
Resident commands (type, dir, era) cannot be checked.
See Also:
README, LICENSE.DOC