Clamav - Anti-Virus2012/05/31 |
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 Thu May 31 22:28:08 2012 Downloading main.cvd [100%] main.cvd updated (version: 54, sigs: 1044387, f-level: 60, builder: sven) Downloading daily.cvd [100%] daily.cvd updated (version: 14985, sigs: 200983, f-level: 63, builder: ccordes) Downloading bytecode.cvd [100%] bytecode.cvd updated (version: 185, sigs: 39, f-level: 63, builder: neo) Database updated (1245409 signatures) from database.clamav.net (IP: 27.96.54.66) |
[2] | Try to scan |
[root@dlp ~]#
clamscan --infected --remove --recursive /home
----------- SCAN SUMMARY -----------
Known viruses: 1244075 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: 3.323 sec (0 m 3 s)
[root@dlp ~]#
----------- SCAN SUMMARY -----------clamscan --infected --remove --recursive . ./eicar.com: Eicar-Test-Signature FOUND ./eicar.com: Removed. # just detected Known viruses: 1244075 Engine version: 0.97.3 Scanned directories: 4 Scanned files: 10 Infected files: 1 Data scanned: 0.03 MB Data read: 0.02 MB (ratio 2.00:1) Time: 3.362 sec (0 m 3 s) |
|