Questions tagged [clamav]

ClamAV (Clam anti-virus) is a suite of programs designed to detect malware, viruses, trojans, and other threats. It be run from the command line or as a daemon, and can integrate with mail servers to scan email attachments. It is open source and published under the GPL.

Homepage: http://www.clamav.net/
Bug reports: https://bugs.launchpad.net/ubuntu/+filebug

From the apt-cache description:

ClamAV is an open source (GPL) antivirus toolkit, which is designed to detect trojans, viruses, malware and other malicious threats.
 The package provides a flexible and scalable
 multi-threaded daemon in the clamav-daemon package, a command-line
 scanner in the clamav package, and a tool for automatic updating via
 the Internet in the clamav-freshclam package. The programs are based
 on libclamav6, which can be used by other software.
 .
 This package contains the daemon and its command line interface,
 featuring:
  - fast, multi-threaded daemon;
  - easy integration with MTA's;
  - support for on-access scanning;
  - remote scanning;
  - able to be run supervised by daemon.
260 questions
13
votes
2 answers

How to auto-scan any plugged in usb storage device with clamav?

I'd like to do an automatic virus scan on any plugged in usb device using ClamAV. I'm using Ubuntu 12.04. The closest thing I found was: Run clamav on mount of flashdrive How to run a shell script when a new USB storage device is detected? The…
ossi
  • 131
12
votes
2 answers

How To Update ClamAV Installation?

When I execute sudo freshclam it gives me the following warnings: WARNING: Your ClamAV installation is OUTDATED! WARNING: Local version: 0.99 Recommended version: 0.99.2 But sudo apt-get update and sudo apt-get upgrade don't seem to do the…
10
votes
2 answers

Can't run Freshclam

root@msy-Inspiron-One-2020:/home/msy# freshclam ERROR: Missing argument for option at line 33 ERROR: Can't open/parse the config file /usr/local/etc/freshclam.conf Here is /usr/local/etc/freshclam.conf: #Example DatabaseDirectory…
msy
  • 171
  • 1
  • 2
  • 11
9
votes
3 answers

How do I manually import the clamav virus definition file?

I would like to manually download the main.cvd for clamav and then import it from a local location. I see this is possible using clamav-clamfresh if I configure it to use DatabaseMirror machine1.example.com but that requires running an http…
greggles
  • 753
8
votes
1 answer

How to evaluate clamscan results?

I'm running clamscan -r --infected --heuristic-scan-precedence=yes --detect-pua=yes --detect-structured=no and am getting some results like PUA.Html.Trojan.Agent-37075 FOUND. Now, I don't find any instructions in the PUA FAQ nor in the ClamAV…
Kalle Richter
  • 6,180
  • 21
  • 70
  • 103
8
votes
2 answers

Does ClamAV scan compressed files?

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?
8
votes
3 answers

ubuntu clamav freshclam can't download main.cvd

I installed clamav on my ubuntu system and have been unable to get freshclam to download a database. Manually it produces the following errors: sudo freshclam Sun Mar 1 14:32:32 2020 -> ClamAV update process started at Sun Mar 1 14:32:32 2020…
Richard Price
  • 91
  • 1
  • 1
  • 6
7
votes
2 answers

What is the difference between Clamav and Clamtk?

What is the difference between Clamav and Clamtk? I know that both of them are antivirus.
lambda23
  • 3,232
5
votes
1 answer

ClamAV not updating

How to update ClamAV whenever i try to update clamAV i get the following report "WARNING: Can't query current.cvd.clamav.net WARNING: Invalid DNS reply. Falling back to HTTP mode. Reading CVD header (main.cvd): WARNING: can't read main.cvd header…
5
votes
2 answers

How to scan on-access with Clamav in v14.04

I try to use clamav for on-access virus scanning for my home directory and all mounted drives. I found some rather old instructions here, and adjusted them. Since dazuko was replaced by fanotify, the parameters in clamd.conf are slightly…
hako
  • 191
4
votes
2 answers

How can you do a full system scan with ClamAV on Ubuntu only?

I have both Ubuntu and Windows on my computer and when I do a full system scan, it scans Windows files too (and first). Is there a way to scan all the files only on Ubuntu?
BigHippo
  • 165
  • 3
  • 5
  • 10
4
votes
1 answer

ClamAV-Test-File virus definition

Today I scanned my machine with ClamAV, and this was one of the things that it detected: /home//clamav-devel/contrib/test/clam_cache_emax.tgz And it detected it as: ClamAV-Test-File So what exactly is this ClamAV-Test-File definition? I…
user364819
4
votes
6 answers

Freshclam - Unable to complete download of main.cvd

After installing Ubuntu 18.04 some weeks ago, I tried to install clamav, that I was effectively using in my previous Kubuntu 14.10 system. The first step of clamav installation went well, but when I tried to download the signature database main.cvd…
3
votes
1 answer

ClamAV - automatic signature updates in Ubuntu 16.04

After installing clamav in Ubuntu 16.04, do I have to explicitly schedule a cron job to run freshclam periodically? Or do the signatures get updated automatically by clamav?
Prabhu
  • 31
3
votes
1 answer

Ubuntu 20.04 Clamav restore from quarantine

I found that Clamav has set in quarantine some files important (libreOffice, Ubuntu Software and other not virus file). Is there any way to restore all the files from the quarantine?
Anton
  • 31
1
2 3 4