Solved

Is there a free command line / programmtically usable up-to-date anti-virus / malware scanner?

Posted on 2010-09-15
17
530 Views
Last Modified: 2013-11-22
I'm looking for a free anti-virus / malware / spyware scanner which can be used from within my program.

So I need it to either run from the command line or via an api or something.

Also need to be able to run with vb.net 2005 prog
0
Comment
Question by:mindwarpltd
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 8
  • 6
  • 2
  • +1
17 Comments
 
LVL 3

Expert Comment

by:latchways
ID: 33679888
0
 

Author Comment

by:mindwarpltd
ID: 33680037
It doesn't look very up-to-date

http://www.sdfix.org/
0
 
LVL 5

Expert Comment

by:shanyuen
ID: 33680430
There's many free anti virus out there that have command line scanner included.
Ex: clamav, PAVCL, trend sysclean, etc
0
Increase Agility with Enabled Toolchains

Connect your existing build, deployment, management, monitoring, and collaboration platforms. From Puppet to Chef, HipChat to Slack, ServiceNow to JIRA, Splunk to New Relic and beyond, hand off data between systems to engage the right people.

Connect with xMatters.

 
LVL 5

Expert Comment

by:chqshaitan
ID: 33680830
clamav is open source, and is being actively maintained.

While some of the 'free' antivirus are free for general use, i suspect that to use them in your own program may require a fee or some sort of royalty.
0
 

Author Comment

by:mindwarpltd
ID: 33680924
Ok I've installed clamav which had two options provide a key or use free.

Now I can't find any help on use it at the command line ?
0
 
LVL 5

Expert Comment

by:chqshaitan
ID: 33680988
What operating system are you looking at using it under? windows , linux etc etc?
0
 

Author Comment

by:mindwarpltd
ID: 33681144
Yes windows...

I think these instructions are out of date, I don't have that program, these are the only exe files  have.

C:\Program Files\ClamAV for Windows\ips.exe
C:\Program Files\ClamAV for Windows\2.0.14\agent.exe
C:\Program Files\ClamAV for Windows\2.0.14\creport.exe
C:\Program Files\ClamAV for Windows\2.0.14\ipsupporttool.exe
C:\Program Files\ClamAV for Windows\2.0.14\iptray.exe
C:\Program Files\ClamAV for Windows\2.0.14\uninstall.exe
C:\Program Files\ClamAV for Windows\2.0.14\updater.exe
C:\Program Files\ClamAV for Windows\tetra\driverctrl.exe
C:\Program Files\ClamAV for Windows\tetra\setloadorder.exe

Hmmm
0
 

Author Comment

by:mindwarpltd
ID: 33681224
Ahh I had the wrong program.

Got the right one now.

However, I'm going to need to gain the results of the scan
0
 

Author Comment

by:mindwarpltd
ID: 33681272
This is what I have so far which scans, closes but doesn't produce a log.

"C:\Program Files\ClamWin\bin\ClamWin.exe" --mode=scanner --path="D:\myfile.exe" --log="c:\clamavlog.txt" --close
0
 
LVL 5

Expert Comment

by:chqshaitan
ID: 33681417
the program should return a code of 0 if the file is virus free, or 1 if it is infected. do you want more results than this?
0
 

Author Comment

by:mindwarpltd
ID: 33681709
Oh does it.

No that would be fine.

Can I get it not to show the gui ?

I want to run it from my program and make it as fast as possible.
0
 
LVL 5

Expert Comment

by:chqshaitan
ID: 33681758
nope, as the gui is a wrapper to the command line as far as i know bud
0
 

Author Comment

by:mindwarpltd
ID: 33681850
Unfortunately I have no way of testing the 0 or 1 result, as I don't want to play with viruses, is this documented somewhere?
0
 
LVL 5

Accepted Solution

by:
chqshaitan earned 500 total points
ID: 33682081
you can download a harmless virus called eicar, it is used for testing basic av functionality.

mail posting on the error codes : http://lurker.clamav.net/message/20070209.130308.4cf37458.en.html

eicar virus download : http://www.eicar.org/anti_virus_test_file.htm
0
 

Author Closing Comment

by:mindwarpltd
ID: 33682179
Excellent
0
 
LVL 5

Expert Comment

by:shanyuen
ID: 33698627
You accepting answer that not related with your question.
Iam the first one that preferring with clamav,etc.
0

Featured Post

Independent Software Vendors: We Want Your Opinion

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

PREFACE The purpose of this guide is to explain what the SEPC Status Utility is and how it works. I have written the utility using AutoIt and have included the source code for your review. You are welcome to modify the code to your liking, but I wi…
For those of you actively in the Malware fightling business, we now have available an amazing new tool in the malware wars (first recommended to me by rpggamergirl (http://www.experts-exchange.com/M_3598771.html), the Zone Advisor for the Virus and …
Established in 1997, Technology Architects has become one of the most reputable technology solutions companies in the country. TA have been providing businesses with cost effective state-of-the-art solutions and unparalleled service that is designed…
Email security requires an ever evolving service that stays up to date with counter-evolving threats. The Email Laundry perform Research and Development to ensure their email security service evolves faster than cyber criminals. We apply our Threat…

695 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question