CentOS 5
Sponsored Link

Anti-Virus - Clamav2015/01/13

  Install Anti-Virus, Clamav.
[root@dlp ~]#
yum --enablerepo=epel -y install clamav
 
# install from EPEL
[root@dlp ~]#
freshclam
# update policy file

ClamAV update process started at Sun Jun 26 01:55:08 2011
main.cvd is up to date (version: 53, sigs: 846214, f-level: 53, builder: sven)
daily.cld is up to date (version: 13239, sigs: 130903, f-level: 60, builder: guitar)
bytecode.cvd is up to date (version: 143, sigs: 40, f-level: 60, builder: edwin)
# try to scan

[root@dlp ~]#
clamscan --infected --remove --recursive /home
----------- SCAN SUMMARY -----------
Known viruses: 3727340
Engine version: 0.98.5
Scanned directories: 5
Scanned files: 16
Infected files: 0
Data scanned: 0.00 MB
Data read: 0.00 MB (ratio 0.00:1)
Time: 11.643 sec (0 m 11 s)
# download trial virus

[root@dlp ~]#
wget http://www.eicar.org/download/eicar.com

[root@dlp ~]#
clamscan --infected --remove --recursive .

./eicar.com: Eicar-Test-Signature FOUND
./eicar.com: Removed
# just removed
----------- SCAN SUMMARY -----------
Known viruses: 3727340
Engine version: 0.98.5
Scanned directories: 1
Scanned files: 18
Infected files: 1
Data scanned: 0.04 MB
Data read: 0.03 MB (ratio 1.57:1)
Time: 11.305 sec (0 m 11 s)
Matched Content