Ubuntu – Does ClamAV scan compressed files

clamav

I use ClamAV on Ubuntu 14.04, does it scan compressed files? I looked in its documentation but couldn't find anything. Also does it detect viruses that affect Microsoft Windows?

Best Answer

1. Yes, it does, and by default as you can see from man clamscan, it is turned on (the * indicates the default option):

   --scan-archive[=yes(*)/no]
          Scan  archives  supported  by  libclamav.  If  you turn off this
          option, the original files will still be  scanned,  but  without
          unpacking and additional processing.

2. The more important question you should be asking is "Does ClamAV scan for viruses that affect Linux as well?", because the majority of viruses ClamAV detects are Windows viruses.