Debian 6.0
Sponsored Link

Clamav - Anti-Virus
2011/03/06
  Install Anti-Virus, Clamav.

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


root@dlp:~#
freshclam
# update pattern files

ClamAV update process started at Sun Mar 6 21:45:45 2011
main.cvd is up to date (version: 53, sigs: 846214, f-level: 53, builder: sven)
daily.cvd is up to date (version: 12805, sigs: 64745, f-level: 60, builder: neo)
bytecode.cvd is up to date (version: 141, sigs: 39, f-level: 60, builder: edwin)
[2] Try to scan
root@dlp:~#
clamscan --infected --remove --recursive /home


----------- SCAN SUMMARY -----------
Known viruses: 909693
Engine version: 0.96.5
Scanned directories: 2
Scanned files: 4
Infected files: 0
Data scanned: 0.00 MB
Data read: 0.00 MB (ratio 0.00:1)
Time: 3.062 sec (0 m 3 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 detected


----------- SCAN SUMMARY -----------
Known viruses: 909693
Engine version: 0.96.5
Scanned directories: 2
Scanned files: 5
Infected files: 1
Data scanned: 0.01 MB
Data read: 0.01 MB (ratio 1.00:1)
Time: 2.551 sec (0 m 2 s)
Matched Content
 
Tweet