Clamav - Anti-Virus2011/04/30 |
Install Clam AntiVirus. |
|
[1] | Install Clamav |
root@dlp:~# aptitude -y install clamav root@dlp:~# freshclam # update pattern files ClamAV update process started at Sat Apr 30 18:57:55 2011 Downloading main.cvd [100%] main.cvd updated (version: 53, sigs: 846214, f-level: 53, builder: sven) daily.cvd is up to date (version: 13026, sigs: 107458, f-level: 60, builder: guitar) bytecode.cvd is up to date (version: 143, sigs: 40, f-level: 60, builder: edwin) Database updated (953712 signatures) from db.local.clamav.net (IP: 203.212.42.128) |
[2] | Try to scan |
root@dlp:~# clamscan --infected --remove --recursive /home ----------- SCAN SUMMARY ----------- Known viruses: 952363 Engine version: 0.97 Scanned directories: 3 Scanned files: 4 Infected files: 0 Data scanned: 0.00 MB Data read: 0.00 MB (ratio 0.00:1) Time: 3.436 sec (0 m 3 s) # download test virus root@dlp:~# wget http://www.eicar.org/download/eicar.com # try to scan root@dlp:~# clamscan --infected --remove --recursive ./ ./eicar.com: Eicar-Test-Signature FOUND ./eicar.com: Removed. # just detected ----------- SCAN SUMMARY ----------- Known viruses: 952363 Engine version: 0.97 Scanned directories: 3 Scanned files: 7 Infected files: 1 Data scanned: 0.01 MB Data read: 0.01 MB (ratio 1.00:1) Time: 3.424 sec (0 m 3 s) |