AntiVirus - Clamav2009/06/11 |
Install Clam AntiVirus to protect from virus. |
[root@dlp ~]# yum -y install clamav clamav-update [root@dlp ~]# vi /etc/freshclam.conf # line 8: make it comment # Example[root@dlp ~]# freshclam # update pattern file ClamAV update process started at Wed Jun 10 20:18:53 2009 main.cvd is up to date (version: 51, sigs: 545035, f-level: 42, builder: sven) Downloading daily.cvd [100%] daily.cvd updated (version: 9454, sigs: 27600, f-level: 43, builder: acab) Database updated (572635 signatures) from database.clamav.net (IP: 219.94.128.99) [root@dlp ~]# clamscan --infected --remove --recursive /home ----------- SCAN SUMMARY ----------- Known viruses: 572049 Engine version: 0.95.1 Scanned directories: 9 Scanned files: 8 Infected files: 0 Data scanned: 0.00 MB Data read: 0.00 MB (ratio 0.00:1) Time: 0.793 sec (0 m 0 s) # try to 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. ----------- SCAN SUMMARY ----------- Known viruses: 572049 Engine version: 0.95.1 Scanned directories: 4 Scanned files: 10 Infected files: 1 # just detected Data scanned: 0.04 MB Data read: 0.02 MB (ratio 2.00:1) Time: 0.817 sec (0 m 0 s) |