Ubuntu 13.04
Sponsored Link

Clamav - AntiVirus2013/04/27

 
[1] Install Clamav
root@dlp:~#
aptitude -y install clamav
root@dlp:~#
freshclam
# update pattern files

ClamAV update process started at Fri Apr 27 14:52:15 2012
main.cvd is up to date (version: 54, sigs: 1044387, f-level: 60, builder: sven)
daily.cvd is up to date (version: 14854, sigs: 162423, f-level: 63, builder: mcichosz)
bytecode.cvd is up to date (version: 168, sigs: 38, f-level: 63, builder: edwin)
[2] Try to scan
root@dlp:~#
clamscan --infected --remove --recursive /home

----------- SCAN SUMMARY -----------
Known viruses: 2204737
Engine version: 0.97.7
Scanned directories: 169
Scanned files: 215
Infected files: 0
Data scanned: 5.59 MB
Data read: 8.72 MB (ratio 0.64:1)
Time: 4.716 sec (0 m 4 s)

# download test 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 detected
----------- SCAN SUMMARY -----------
Known viruses: 2204737
Engine version: 0.97.7
Scanned directories: 4
Scanned files: 8
Infected files: 1
Data scanned: 0.01 MB
Data read: 0.01 MB (ratio 0.67:1)
Time: 3.231 sec (0 m 3 s)
Matched Content