Clamav - AntiVirus2013/07/03 |
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 Mon Jul 1 22:19:31 2013 Downloading main.cvd [100%] main.cvd updated (version: 54, sigs: 1044387, f-level: 60, builder: sven) Downloading daily.cvd [100%] daily.cvd updated (version: 17442, sigs: 1408748, f-level: 63, builder: neo) Downloading bytecode.cvd [100%] bytecode.cvd updated (version: 214, sigs: 41, f-level: 63, builder: neo) Database updated (2453176 signatures) from database.clamav.net (IP: 218.44.253.75) |
[2] | Try to scan |
[root@dlp ~]#
clamscan --infected --remove --recursive /home ----------- SCAN SUMMARY ----------- Known viruses: 2447759 Engine version: 0.97.8 Scanned directories: 140 Scanned files: 255 Infected files: 0 Data scanned: 47.34 MB Data read: 47.07 MB (ratio 1.01:1) Time: 5.416 sec (0 m 5 s)[root@dlp ~]# clamscan --infected --remove --recursive . # just detected ./eicar.com: Eicar-Test-Signature FOUND ./eicar.com: Removed. ----------- SCAN SUMMARY ----------- Known viruses: 2447759 Engine version: 0.97.8 Scanned directories: 4 Scanned files: 10 Infected files: 1 Data scanned: 0.00 MB Data read: 0.00 MB (ratio 0.00:1) Time: 3.666 sec (0 m 3 s) |
|