Summary:
The results of on-the-fly detection mismatches the results of manual scan.
Descriptions: Compiling a Hello World C program by GCC/MinGW, cause a virus alert (on-the-fly), and the executable is sent to the Quarantine zone. However, if the same program scanned by avast again, no virus is detected.
Reproduce:
1) Install Avast! free (on PC, Windows 7)
2) Install MinGW (bash, compiler)
3) Edit a hello world program, call it "1.c":
#include <stdio.h>
int main(void)
{
printf ("Hello world\r\n");
return 0;
}
4) Edit Makefile (to make things easy):
1.exe: 1.o
gcc -g $< -o $@
5) type make
[Result 1: Virus detected by Avast!]
6) Do it again with avast! disabled. (1.exe will be generated)
7) Open a windows explorer, right click on 1.exe, and click on "Scan 1.exe" (by avast!, of course).
[Result 2: No Virus is detected]