ClamAV - Linux Anti Virus Solution

ClamAV is a GNU/GPL Antivirus application made for Unix-like operating system. It is primarily use to detect viruses and remove infected files from email attachements. The default installation of ClamAV also includes a command line scanner to files for possible virus infection. The scanner has built in support to scan files inside : Common Archives (zip,rar,tar,gzip,bzip2,arj) Windows Compressed […]

ClamAV is a GNU/GPL Antivirus application made for Unix-like operating system. It is primarily use to detect viruses and remove infected files from email attachements.

The default installation of ClamAV also includes a command line scanner to files for possible virus infection. The scanner has built in support to scan files inside :

  • Common Archives (zip,rar,tar,gzip,bzip2,arj)
  • Windows Compressed files (CHM,CAB,OLE2)
  • Mail format (mbox, uuencode, base64)
  • Common document files (html,pdf,rtf,sxw,odt)

Linux is safe and Secure, Why do you need anti virus on Linux ?
Although viruses in Unix-like operating system is uncommon, ClamAV is still handy if you want to weed out those viruses from spreading through your mail system and using your computer server as a vector.

Using ClamAV
Using ClamAV is easy, to scan for viruses you only need to use the ‘clamscan’ command

  1. $ clamscan
  2. /home/mypapit/mypapit.js: OK
  3. /home/mypapit/ubuntu_service.png: OK
  4. /home/mypapit/style.css: OK
  5. /home/mypapit/repo1.png: OK
  6. /home/mypapit/bg_button2.jpg: OK
  7. /home/mypapit/repo1tn.png: OK
  8. /home/mypapit/ChiSquareDistribution.zip: OK
  9. /home/mypapit/javapackage.png: OK
  10. /home/mypapit/jdk14.png: OK

The scanner will detect any known viruses and alert you and a summary will be displayed at the end of the command.

add ‘–remove’ switch to remove the files that has been detected by virus.

  1. $ clamscan –remove

Note that ClamAV has a policy of ’sanitizing’ any files infected by viruses, that means it will delete the files permanently (it has no ‘heal’ or ‘repair’ option).

Updating Virus Database
Keeping up to date with ClamAV is easy, you just need to run freshclam to download the latest virus database from ClamAV servers.

  1. $ sudo freshclam

The official website for ClamAV is on http://clamav.net, hopefully with this post, you can explore more option about fighting viruses on Linux based operating system.

(source..)



Thank you for reading this post. You can now Leave A Comment (0) or Leave A Trackback.

Post Info

This entry was posted on Sunday, February 25th, 2007 and is filed under Uncategorized.

You can follow any responses to this entry through the Comments Feed. You can Leave A Comment, or A Trackback.



Previous Post: Mozilla Patches Firefox Security Flaw »
Next Post: Easy web server solution using MySQL, PostgreSQL and PHP on VMware »

Read More

Related Reading:



Leave a Reply

Note: Any comments are permitted only because the site owner is letting you post, and any comments will be removed for any reason at the absolute discretion of the site owner.