LinuxQuestions.org
Help answer threads with 0 replies.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.

Notices


Reply
  Search this Thread
Old 08-21-2007, 07:14 AM   #1
shankarLe
Member
 
Registered: Apr 2006
Location: Hyderabad,India
Distribution: RedHat EL 4
Posts: 31

Rep: Reputation: Disabled
ClamV Virus scan on Linux


Hello,

I have installed clamAv anti virus for rhel 4.0 from sources (Clam AntiVirus). Then I ran the virus can by executing the command.
#/usr/local/bin/clamscan -r /

It gives the report as:

----------- SCAN SUMMARY -----------
Known viruses: 94639
Engine version: 0.88.4
Scanned directories: 15640
Scanned files: 229980
Infected files: 1736
Data scanned: 17931.08 MB
Time: 11339.209 sec (188 m 59 s)
Looks like it does not delete the viruses from the system, it just reports it. Later I updated the virus database by following method

# freshclam
ClamAV update process started at Tue Aug 21 17:24:49 2007
WARNING: Your ClamAV installation is OUTDATED!
WARNING: Local version: 0.88.4 Recommended version: 0.91.2
DON'T PANIC! Read Clam AntiVirus
main.cvd is up to date (version: 44, sigs: 133163, f-level: 20, builder: sven)
WARNING: Your ClamAV installation is OUTDATED!
WARNING: Current functionality level = 8, recommended = 20
DON'T PANIC! Read Clam AntiVirus
Downloading daily.cvd[*]
daily.cvd updated (version: 4019, sigs: 14971, f-level: 20, builder: sven)
WARNING: Your ClamAV installation is OUTDATED!
WARNING: Current functionality level = 8, recommended = 20
DON'T PANIC! Read Clam AntiVirus
Database updated (148134 signatures) from database.clamav.net (IP: 58.221.222.69)
Clamd successfully notified about the update.


can you please tell me how to delete the viruses from my box. please help.
 
Old 08-21-2007, 07:18 AM   #2
Cacciari
LQ Newbie
 
Registered: Jan 2007
Distribution: Debian
Posts: 7

Rep: Reputation: 0
You probably found virii into your Windows files (maybe you mounted a win partition).

Its the same thing when you look for bacteria in your house. Your room, the garage, your sofa are Linux, while your garbage can is windows. What is infected?

Just a guess!
 
Old 08-21-2007, 07:20 AM   #3
b0uncer
LQ Guru
 
Registered: Aug 2003
Distribution: CentOS, OS X
Posts: 5,131

Rep: Reputation: Disabled
Read man-page of clamscan for usage instructions. Using -i option ClamAv reports (only) the infected files so you can deal with them. With --remove option you can force ClamAv to remove the infected files (better first run without it, to see what files it wants to remove!) Better use --move=DIRECTORY instead, so it moves the infected files to DIRECTORY..so, something like this:
Code:
mkdir /home/username/infected_files
clamscan --recursive --infected --move=/home/username/infected_files
EDIT: for online information, check this page for example (use search engines first from now on):
http://linux.die.net/man/1/clamscan

Last edited by b0uncer; 08-21-2007 at 07:22 AM.
 
Old 08-22-2007, 11:55 PM   #4
shankarLe
Member
 
Registered: Apr 2006
Location: Hyderabad,India
Distribution: RedHat EL 4
Posts: 31

Original Poster
Rep: Reputation: Disabled
Thanks

I shall look in man pages now on. thanks again
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Good Linux Virus Scan !!! chuck77 Linux - General 4 09-02-2008 02:54 AM
Updating avamisd-new VIrus Scan gizza23 Linux - Server 3 11-30-2006 08:44 AM
McAfee Virus scan v4.7 installation problem fredred Linux - Security 1 03-08-2005 10:38 PM
Is there a virus scan software in linux? Itachi Mandriva 12 02-08-2005 07:59 PM
Ran a virus scan, please look at.. webwolf70 Linux - Security 3 01-29-2005 11:54 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Software

All times are GMT -5. The time now is 01:26 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration