Clamav - Anti-Virus2011/11/09 |
Install Clam AntiVirus to protect from virus.
|
|
[1] | Install Clamav |
[root@dlp ~]#
yum -y install clamav clamav-update
[root@dlp ~]#
vi /etc/freshclam.conf # line 8: make it comment # Example
freshclam # update pattern files ClamAV update process started at Wed Nov 9 22:37:15 2011 Downloading main.cvd [100%] main.cvd updated (version: 54, sigs: 1044387, f-level: 60, builder: sven) Downloading daily.cvd [100%] daily.cvd updated (version: 13907, sigs: 27095, f-level: 60, builder: ccordes) Downloading bytecode.cvd [100%] bytecode.cvd updated (version: 152, sigs: 38, f-level: 60, builder: edwin) Database updated (1071520 signatures) from database.clamav.net (IP: 211.10.155.48) |
[2] | Try to scan |
[root@dlp ~]#
clamscan --infected --remove --recursive /home
----------- SCAN SUMMARY -----------
Known viruses: 1070266 Engine version: 0.97.3 Scanned directories: 2 Scanned files: 3 Infected files: 0 Data scanned: 0.00 MB Data read: 0.00 MB (ratio 0.00:1) Time: 2.381 sec (0 m 2 s)
[root@dlp ~]#
----------- SCAN SUMMARY -----------clamscan --infected --remove --recursive . ./eicar.com: Eicar-Test-Signature FOUND ./eicar.com: Removed. # just detected Known viruses: 1070266 Engine version: 0.97.3 Scanned directories: 2 Scanned files: 13 Infected files: 1 Data scanned: 0.28 MB Data read: 0.14 MB (ratio 2.00:1) Time: 2.497 sec (0 m 2 s) |