Ubuntu 10.04
Sponsored Link

Clamav - Anti-Virus2010/07/20

  Install Anti-Virus, Clamav.

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


root@ubuntu:~#
freshclam
# update pattern files

ClamAV update process started at Tue Jul 20 23:43:15 2010
main.cvd is up to date (version: 52, sigs: 704727, f-level: 44, builder: sven)
daily.cvd is up to date (version: 11397, sigs: 103036, f-level: 53, builder: arnaud)
bytecode.cvd is up to date (version: 31, sigs: 7, f-level: 53, builder: nervous)
[2] Try to scan
root@ubuntu:~#
clamscan --infected --remove --recursive /home


----------- SCAN SUMMARY -----------
Known viruses: 807052
Engine version: 0.96.1
Scanned directories: 76
Scanned files: 64
Infected files: 0
Data scanned: 0.47 MB
Data read: 0.40 MB (ratio 1.19:1)
Time: 3.255 sec (0 m 3 s)

# download trial virus

root@ubuntu:~#
wget http://www.eicar.org/download/eicar.com


# try to scan

root@ubuntu:~#
clamscan --infected --remove --recursive ./

./eicar.com: Eicar-Test-Signature FOUND
./eicar.com: Removed.
# just detected


----------- SCAN SUMMARY -----------
Known viruses: 807052
Engine version: 0.96.1
Scanned directories: 248
Scanned files: 1345
Infected files: 1
Data scanned: 686.14 MB
Data read: 111314.80 MB (ratio 0.01:1)
Time: 59.472 sec (0 m 59 s)
Matched Content