As part of my research I am testing Avast! against a sizable collection of samples.
The odd thing is that while I can run my small script file very well from the commandline.
It does not like it when I start it from a crontab job and ends with a signal 6 on the first sample encoutered.
At present my script looks like:
#!/bin/sh
WORKDIR="/home/virus/collection"
LOGFILE="/home/virus/avast.lst"
export HOME=/home/hvdkooij
export LOGNAME=hvdkooij
export PATH=/usr/kerberos/bin:/usr/local/bin:/usr/bin:/bin:/usr/X11R6/bin:/home/hvdkooij/bin
# LIST THEM ALL!
time nice /usr/bin/avast -a -c -r ${LOGFILE} ${WORKDIR}
And the crontab job results:
file infectd by: Enrico-609
Command terminated by signal 6
PS: If someone from Alwill itself is listening perhap they could try to contact me directly. I was unable to get a response for my antivirus research project which now compares 20 antivirus products on over 20000 samples (
http://viruspool.vanderkooij.org/)