Post installation testing

Now that we have the main components of ClamAV installed, we can verify the correct operation of each component.

  • clamscan—the command line scanner
  • clamd—the ClamAV daemon
  • freshclam—virus definitions updater

For these tests, we are going to need a virus or at least a non-destructive file that looks like a virus.

EICAR test virus

A number of antivirus researchers have already worked together to produce a file that their (and many other) products detect as if it were a virus. Agreeing on one file for such purposes simplifies matters for users.

This test file is known as the EICAR (Europeanx Institute for Computer Anti-virus Research) standard antivirus test file. The file itself is not a virus, it does not contain any program ...

Get Linux E-mail now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.