Se você quiser apenas ver se está funcionando; você pode usar o arquivo de teste da EICAR , baixá-lo aqui . Ou salve a string
X5O!P%@AP[4\PZX54(P^)7CC)7}$EICAR-STANDARD-ANTIVIRUS-TEST-FILE!$H+H*[1]
para um arquivo que deve acionar o antivírus. Você também pode querer compactar / arquivar o arquivo para testar os recursos de verificação de arquivos compactados / arquivados do seu scanner ...
Mais detalhes podem ser encontrados no site ou na Wikipédia:
The EICAR test file (official name: EICAR Standard Anti-Virus Test File) is a file, developed by the European Institute for Computer Antivirus Research, to test the response of computer antivirus (AV) programs. The rationale behind it is to allow people, companies, and AV programmers to test their software without having to use a real computer virus that could cause actual damage should the AV not respond correctly. EICAR likens the use of a live virus to test AV software to setting a fire in a trashcan to test a fire alarm, and promotes the EICAR test file as a safe alternative.
AV programmers set the EICAR string as a verified virus like any other signatures. A compliant virus scanner, when detecting the file, will respond in exactly the same manner as if it found genuinely harmful code. Its use can be more versatile than straightforward detection: a file containing the EICAR test string can be compressed or archived, and then the antivirus software can be run to see whether it can detect the test string in the compressed file.
— Wikipedia - EICAR Test file