Debian 7.0
Sponsored Link

Clamav - Anti-Virus2013/05/06

 
Install Clam AntiVirus to protect your server.
[1] Install Clamav
root@dlp:~#
aptitude -y install clamav
root@dlp:~#
freshclam
# update pattern files

ClamAV update process started at Mon May  6 20:42:53 2013
main.cvd is up to date (version: 54, sigs: 1044387, f-level: 60, builder: sven)
Downloading daily-17153.cdiff [100%]
Downloading daily-17154.cdiff [100%]
Downloading daily-17155.cdiff [100%]
daily.cld updated (version: 17155, sigs: 1209206, f-level: 63, builder: ccordes)
bytecode.cvd is up to date (version: 214, sigs: 41, f-level: 63, builder: neo)
Database updated (2253634 signatures) from db.local.clamav.net (IP: 27.96.54.66)
[2] Try to scan
root@dlp:~#
clamscan --infected --remove --recursive /home
----------- SCAN SUMMARY -----------
Known viruses: 2248221
Engine version: 0.97.8
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.513 sec (0 m 3 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: 2248221
Engine version: 0.97.8
Scanned directories: 2
Scanned files: 6
Infected files: 1
Data scanned: 0.00 MB
Data read: 0.01 MB (ratio 0.00:1)
Time: 2.802 sec (0 m 2 s)
Matched Content