Clamav - Anti-Virus2012/04/27 |
[1] | Install Clamav |
root@dlp:~#
root@dlp:~# aptitude -y install clamav 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: 1205530 Engine version: 0.97.3 Scanned directories: 4 Scanned files: 8 Infected files: 0 Data scanned: 0.00 MB Data read: 0.00 MB (ratio 0.00:1) Time: 3.496 sec (0 m 3 s) # download test virus
root@dlp:~#
root@dlp:~# wget http://www.eicar.org/download/eicar.com clamscan --infected --remove --recursive ./
./eicar.com: Eicar-Test-Signature FOUND
./eicar.com: Removed. # just detected ----------- SCAN SUMMARY ----------- Known viruses: 1205530 Engine version: 0.97.3 Scanned directories: 3 Scanned files: 7 Infected files: 1 Data scanned: 0.00 MB Data read: 0.01 MB (ratio 0.00:1) Time: 3.458 sec (0 m 3 s) |
|