Questions tagged [antivirus]

Antivirus or anti-virus software is software used to prevent, detect and remove malware.

Antivirus or anti-virus software is software used to prevent, detect and remove malware (of all descriptions), such as:
Computer viruses, adware, backdoors, malicious BHOs, dialers, fraudtools, hijackers, keyloggers, malicious LSPs, rootkits, spyware, trojan horses and worms.

Computer security, including protection from social engineering techniques, is commonly offered in products and services of antivirus software companies.

This tag should be used for programming questions related to softwares used for the prevention and removal of malware threats, rather than computer security implemented by software methods.

See also:

627 questions
76
votes
11 answers

Slowdown of Microsoft Visual Studio due to different Virus scanner

What is the least slow Virus scanner to use with Microsoft Visual Studio I have just had Microsoft Visual Studio “go slow” on me again due to my Virus Checker… (100s of Projects, some with over 100 C# files in them, so any thing that slows down…
Ian Ringrose
  • 49,271
  • 50
  • 203
  • 302
59
votes
17 answers

Accidentally created a virus?

I've seen it happen reasonably often: I write an application in Delphi and when I compile it, the virus-scanner tells me that I've created a virus and then immediately deletes the executable again. It's annoying but reasonable easy to fix by doing a…
Wim ten Brink
  • 24,763
  • 19
  • 72
  • 138
47
votes
11 answers

.NET virus scanning API

I'm building a web application in which I need to scan the user-uploaded files for viruses. Does anyone with experience in building something like this can provide information on how to get this up and running? I'm guessing antivirus software…
Farinha
  • 16,296
  • 21
  • 61
  • 79
41
votes
6 answers

Antivirus False positive in my executable

I just ran into an annoying problem. Suddenly Avira AntiVir started to flag one executable from my software as being a virus. As the default action from almost any user is to click OK and Avira suggests to put the virus in quarantine, most of my…
Ricardo Acras
  • 34,766
  • 15
  • 66
  • 109
35
votes
7 answers

Program made with PyInstaller now seen as a Trojan Horse by AVG

About a month ago, I used PyInstaller and Inno Setup to produce an installer for my Python 3 script. My AVG Business Edition AntiVirus just started complaining with today's update that the program has an SCGeneric Trojan Horse in the main .exe file…
Jeff H
  • 487
  • 1
  • 4
  • 10
29
votes
6 answers

How does a Windows antivirus hook into the file access process?

The subject says it all. A normal antivirus has to intercept all file accesses, scan the files and then optionally deny access to the file (possibly even displaying a prompt to the user). How can this be done? I'm aware of a method called API…
Vilx-
  • 97,629
  • 82
  • 259
  • 398
26
votes
3 answers

How do you virus scan a file being uploaded to your java webapp as it streams?

Basically, I want to virus scan files as they are uploaded (before writing them to disk) to a web app. In particular, I'd like to integrate with "McAfee VirusScan Enterprise" (latest version). From a design and maintenance perspective, would it…
les2
  • 12,537
  • 16
  • 57
  • 76
25
votes
5 answers

How do antivirus programs detect viruses?

How do anti-virus programs detect if something is a virus or trojan? I'm from Turkey, please keep the English simple if possible, thanks.
ahmet
22
votes
5 answers

Anti-Virus Detection on a legitimate program

Basically, my program runs along side another jar file. Here is the code for the download function: public void saveUrl(final String filename, final String urlString) throws MalformedURLException, IOException { BufferedInputStream in = null; …
Ben
  • 705
  • 1
  • 6
  • 17
20
votes
3 answers

Windows Defender Antivirus scan from C# [AccessViolation exception]

We are writing a code to do on-demand scan of a file from C# using Windows Defender APIs. [DllImport(@"C:\Program Files\Windows Defender\MpClient.dll")] public static extern int WDStatus(out bool pfEnabled); …
mlg
  • 1,112
  • 12
  • 30
19
votes
3 answers

Run a Virus Scan While Uploading files in ASP.NET

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…
code master
  • 2,006
  • 4
  • 30
  • 48
19
votes
2 answers

Advantages with code-signing EV certificates other than the Smartscreen ones?

I have to buy a code-signing certificate, for signing Win32 applications, and I was considering whether to pick an EV one. The advantages of EV certificates I was able to find are: Immediate Smartscreen reputation establisment (instead of waiting…
19
votes
3 answers

Detect Antivirus on Windows using C#

Is there a way to detect whether there is an antivirus software installed in a machine using C#? I know the Security Center detects antivirus software but how can you detect that in C#?
Angel.King.47
  • 7,514
  • 14
  • 58
  • 84
19
votes
2 answers

What are my options to check for viruses on a PHP upload?

I am looking to see how I can go about checking if an uploaded file has a virus or not via PHP. What options exist, pros and cons of each, etc.
Carl
  • 201
  • 1
  • 2
  • 4
18
votes
3 answers

My C# program is detected as a virus?

I have created a C# program and I recently noticed that when I merge my referenced .dlls into one executable .exe file using IL Merge, my Anti Virus (Avast) immediately deletes it and says that it's a virus. I always make lots of back ups so I…
Harry
  • 271
  • 1
  • 4
  • 9
1
2 3
41 42