Clamav AntiVirus2015/11/05 |
Install Clam AntiVirus to protect your System from Virus.
|
|
[1] | Install Clamav. |
[root@dlp ~]#
dnf -y install clamav clamav-update
[root@dlp ~]#
vi /etc/freshclam.conf # line 8: comment out # Example
[root@dlp ~]#
vi /etc/sysconfig/freshclam # end line: comment out # FRESHCLAM_DELAY=disabled-warn
# update pattern files [root@dlp ~]# freshclam ClamAV update process started at Thu Nov 5 11:54:25 2015 main.cvd is up to date (version: 55, sigs: 2424225, f-level: 60, builder: neo) daily.cvd is up to date (version: 21038, sigs: 1660182, f-level: 63, builder: shurley) bytecode.cvd is up to date (version: 270, sigs: 46, f-level: 63, builder: shurley) |
[2] | Try to scan. |
# scan /home [root@dlp ~]# clamscan --infected --remove --recursive /home ----------- SCAN SUMMARY ----------- Known viruses: 4078886 Engine version: 0.98.7 Scanned directories: 2 Scanned files: 3 Infected files: 0 Data scanned: 0.00 MB Data read: 0.00 MB (ratio 0.00:1) Time: 7.440 sec (0 m 7 s)[root@dlp ~]# clamscan --infected --remove --recursive . # just detected ./eicar.com: Eicar-Test-Signature FOUND ./eicar.com: Removed. ----------- SCAN SUMMARY ----------- Known viruses: 4078886 Engine version: 0.98.7 Scanned directories: 3 Scanned files: 8 Infected files: 1 Data scanned: 0.00 MB Data read: 0.00 MB (ratio 0.00:1) Time: 7.701 sec (0 m 7 s) |