SLES 12
Sponsored Link

Install Clam AntiVirus
2015/11/21
 
Install Clam AntiVirus to protect your System from Virus.
[1] Install Clamav.
dlp:~ #
zypper -n install clamav
# update pattern files

dlp:~ #
freshclam

ClamAV update process started at Thu Nov 19 16:42:44 2015
main.cvd is up to date (version: 55, sigs: 2424225, f-level: 60, builder: neo)
daily.cvd is up to date (version: 21070, sigs: 1692713, f-level: 63, builder: neo)
bytecode.cvd is up to date (version: 270, sigs: 46, f-level: 63, builder: shurley)
[2] Try to scan.
root@dlp:~#
clamscan --infected --remove --recursive /home
----------- SCAN SUMMARY -----------
Known viruses: 4111442
Engine version: 0.98.7
Scanned directories: 17
Scanned files: 19
Infected files: 0
Data scanned: 0.01 MB
Data read: 0.01 MB (ratio 1.00:1)
Time: 8.083 sec (0 m 8 s)

# 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.    
# just removed
----------- SCAN SUMMARY -----------
Known viruses: 4111442
Engine version: 0.98.7
Scanned directories: 11
Scanned files: 12
Infected files: 1
Data scanned: 0.06 MB
Data read: 0.04 MB (ratio 1.78:1)
Time: 7.916 sec (0 m 7 s)
Matched Content