Antivirus or anti-virus software is software used to prevent, detect and remove malware (of all descriptions), such as: computer viruses, malicious BHOs, hijackers, ransomware, keyloggers, backdoors, rootkits, trojan horses, worms, malicious LSPs, dialers, fraudtools, adware and spyware. Computer security, including protection from social engineering techniques, is commonly offered in products and services of antivirus software companies. This page discusses the software used for the prevention and removal of malware threats, rather than computer security implemented by software methods.
A variety of strategies are typically employed. Signature-based detection involves searching for known patterns of data within executable code. However, it is possible for a computer to be infected with new malware for which no signature is yet known. To counter such so-called zero-day threats, heuristics can be used. One type of heuristic approach, generic signatures, can identify new viruses or variants of existing viruses by looking for known malicious code, or slight variations of such code, in files. Some antivirus software can also predict what a file will do by running it in a sandbox and analyzing what it does to see if it performs any malicious actions.
No matter how useful antivirus software can be, it can sometimes have drawbacks. Antivirus software can impair a computer's performance. Inexperienced users may also have problems understanding the prompts and decisions that antivirus software presents them with. An incorrect decision may lead to a security breach. If the antivirus software employs heuristic detection, success depends on achieving the right balance between false positives and false negatives. False positives can be as destructive as false negatives. Finally, antivirus software generally runs at the highly trusted kernel level of the operating system, creating a potential avenue of attack.
Most of the computer viruses written in the early and mid-1980s were limited to self-reproduction and had no specific damage routine built into the code. That changed when more and more programmers became acquainted with virus programming and created viruses that manipulated or even destroyed data on infected computers.
There are competing claims for the innovator of the first antivirus product. Possibly the first publicly documented removal of a computer virus in the wild was performed by Bernd Fix in 1987. There were also two antivirus applications for the Atari ST platform developed in 1987. The first one was G Data  and second was UVK 2000.
Fred Cohen, who published one of the first academic papers on computer viruses in 1984, began to develop strategies for antivirus software in 1988 that were picked up and continued by later antivirus software developers. In 1987, he published a demonstration that there is no algorithm that can perfectly detect all possible viruses.
Also in 1988 a mailing list named VIRUS-L was started on the BITNET/EARN network where new viruses and the possibilities of detecting and eliminating viruses were discussed. Some members of this mailing list like John McAfee or Eugene Kaspersky later founded software companies that developed and sold commercial antivirus software.
Before internet connectivity was widespread, viruses were typically spread by infected floppy disks. Antivirus software came into use, but was updated relatively infrequently. During this time, virus checkers essentially had to check executable files and the boot sectors of floppy disks and hard disks. However, as internet usage became common, viruses began to spread online.
Over the years it has become necessary for antivirus software to check an increasing variety of files, rather than just executables, for several reasons:
- Powerful macros used in word processor applications, such as Microsoft Word, presented a risk. Virus writers could use the macros to write viruses embedded within documents. This meant that computers could now also be at risk from infection by opening documents with hidden attached macros.
- The possibility of embedding executable objects inside otherwise non-executable file formats can make opening those files a risk.
- Later email programs, in particular Microsoft's Outlook Express and Outlook, were vulnerable to viruses embedded in the email body itself. A user's computer could be infected by just opening or previewing a message.
As always-on broadband connections became the norm, and more and more viruses were released, it became essential to update virus checkers more and more frequently. Even then, a new zero-day virus could become widespread before antivirus companies released an update to protect against it.
There are several methods which antivirus software can use to identify malware.
Signature based detection is the most common method. To identify viruses and other malware, antivirus software compares the contents of a file to a dictionary of virus signatures. Because viruses can embed themselves in existing files, the entire file is searched, not just as a whole, but also in pieces.
Heuristic-based detection, like malicious activity detection, can be used to identify unknown viruses.
File emulation is another heuristic approach. File emulation involves executing a program in a virtual environment and logging what actions the program performs. Depending on the actions logged, the antivirus software can determine if the program is malicious or not and then carry out the appropriate disinfection actions.
Traditionally, antivirus software heavily relied upon signatures to identify malware. This can be very effective, but cannot defend against malware unless samples have already been obtained and signatures created. Because of this, signature-based approaches are not effective against new, unknown viruses.
As new viruses are being created each day, the signature-based detection approach requires frequent updates of the virus signature dictionary. To assist the antivirus software companies, the software may allow the user to upload new viruses or variants to the company, allowing the virus to be analyzed and the signature added to the dictionary.
Although the signature-based approach can effectively contain virus outbreaks, virus authors have tried to stay a step ahead of such software by writing "oligomorphic", "polymorphic" and, more recently, "metamorphic" viruses, which encrypt parts of themselves or otherwise modify themselves as a method of disguise, so as to not match virus signatures in the dictionary.
Some more sophisticated antivirus software uses heuristic analysis to identify new malware or variants of known malware.
Many viruses start as a single infection and through either mutation or refinements by other attackers, can grow into dozens of slightly different strains, called variants. Generic detection refers to the detection and removal of multiple threats using a single virus definition.
For example, the Vundo trojan has several family members, depending on the antivirus vendor's classification. Symantec classifies members of the Vundo family into two distinct categories, Trojan.Vundo and Trojan.Vundo.B.
While it may be advantageous to identify a specific virus, it can be quicker to detect a virus family through a generic signature or through an inexact match to an existing signature. Virus researchers find common areas that all viruses in a family share uniquely and can thus create a single generic signature. These signatures often contain non-contiguous code, using wildcard characters where differences lie. These wildcards allow the scanner to detect viruses even if they are padded with extra, meaningless code. A detection that uses this method is said to be "heuristic detection."
Anti-virus software can attempt to scan for rootkits; a rootkit is a type of malware that is designed to gain administrative-level control over a computer system without being detected. Rootkits can change how the operating system functions and in some cases can tamper with the anti-virus program and render it ineffective. Rootkits are also difficult to remove, in some cases requiring a complete re-installation of the operating system. 
Real-time protection, on-access scanning, background guard, resident shield, autoprotect, and other synonyms refer to the automatic protection provided by most antivirus, anti-spyware, and other anti-malware programs. This monitors computer systems for suspicious activity such as computer viruses, spyware, adware, and other malicious objects in 'real-time', in other words while data loaded into the computer's active memory: when inserting a CD, opening an email, or browsing the web, or when a file already on the computer is opened or executed.
Issues of concern
Unexpected renewal costs
Some commercial antivirus software end-user license agreements include a clause that the subscription will be automatically renewed, and the purchaser's credit card automatically billed, at the renewal time without explicit approval. For example, McAfee requires users to unsubscribe at least 60 days before the expiration of the present subscription while BitDefender sends notifications to unsubscribe 30 days before the renewal.Norton AntiVirus also renews subscriptions automatically by default.
Rogue security applications
Problems caused by false positives
A "false positive" is when antivirus software identifies a non-malicious file as a virus. When this happens, it can cause serious problems. For example, if an antivirus program is configured to immediately delete or quarantine infected files, a false positive in an essential file can render the operating system or some applications unusable. In May 2007, a faulty virus signature issued by Symantec mistakenly removed essential operating system files, leaving thousands of PCs unable to boot. Also in May 2007, the executable file required by Pegasus Mail was falsely detected by Norton AntiVirus as being a Trojan and it was automatically removed, preventing Pegasus Mail from running. Norton AntiVirus had falsely identified three releases of Pegasus Mail as malware, and would delete the Pegasus Mail installer file when that happened. In response to this Pegasus Mail stated:
|“||On the basis that Norton/Symantec has done this for every one of the last three releases of Pegasus Mail, we can only condemn this product as too flawed to use, and recommend in the strongest terms that our users cease using it in favour of alternative, less buggy anti-virus packages.||”|
In April 2010, McAfee VirusScan detected svchost.exe, a normal Windows binary, as a virus on machines running Windows XP with Service Pack 3, causing a reboot loop and loss of all network access.
When Microsoft Windows becomes damaged by faulty anti-virus products, fixing the damage to Microsoft Windows incurs technical support costs and businesses can be forced to close whilst remedial action is undertaken.
Running multiple antivirus programs concurrently can degrade performance and create conflicts. However, using a concept called multiscanning, several companies (including G Data and Microsoft) have created applications which can run multiple engines concurrently.
It is sometimes necessary to temporarily disable virus protection when installing major updates such as Windows Service Packs or updating graphics card drivers. Active antivirus protection may partially or completely prevent the installation of a major update. Anti-virus software can cause problems during the installation of an operating system upgrade, e.g. when upgrading to a newer version of Windows "in place" — without erasing the previous version of Windows. Microsoft recommends that anti-virus software be disabled to avoid conflicts with the upgrade installation process.
The functionality of a few computer programs can be hampered by active anti-virus software. For example TrueCrypt, a disk encryption program, states on its troubleshooting page that anti-virus programs can conflict with TrueCrypt and cause it to malfunction or operate very slowly. Anti-virus software can impair the performance and stability of games running in the Steam platform.
Support issues also exist around antivirus application interoperability with common solutions like SSL VPN remote access and network access control products. These technology solutions often have policy assessment applications which require that an up to date antivirus is installed and running. If the antivirus application is not recognized by the policy assessment, whether because the antivirus application has been updated or because it is not part of the policy assessment library, the user will be unable to connect.
Studies in December 2007 showed that the effectiveness of antivirus software had decreased in the previous year, particularly against unknown or zero day attacks. The computer magazine c't found that detection rates for these threats had dropped from 40-50% in 2006 to 20-30% in 2007. At that time, the only exception was the NOD32 antivirus, which managed a detection rate of 68 percent.
The problem is magnified by the changing intent of virus authors. Some years ago it was obvious when a virus infection was present. The viruses of the day, written by amateurs, exhibited destructive behavior or pop-ups. Modern viruses are often written by professionals, financed by criminal organizations.
Independent testing on all the major virus scanners consistently shows that none provide 100% virus detection. The best ones provided as high as 99.6% detection, while the lowest provided only 81.8% in tests conducted in February 2010. All virus scanners produce false positive results as well, identifying benign files as malware.
Although methodologies may differ, some notable independent quality testing agencies include AV-Comparatives, ICSA Labs, West Coast Labs, VB100 and other members of the Anti-Malware Testing Standards Organization.
Anti-virus programs are not always effective against new viruses, even those that use non-signature-based methods that should detect new viruses. The reason for this is that the virus designers test their new viruses on the major anti-virus applications to make sure that they are not detected before releasing them into the wild.
|“||It's something that they miss a lot of the time because this type of [ransomware virus] comes from sites that use a polymorphism, which means they basically randomize the file they send you and it gets by well-known antivirus products very easily. I've seen people firsthand getting infected, having all the pop-ups and yet they have antivirus software running and it's not detecting anything. It actually can be pretty hard to get rid of, as well, and you're never really sure if it's really gone. When we see something like that usually we advise to reinstall the operating system or reinstall backups.||”|
A proof of concept virus has used the Graphics Processing Unit (GPU) to avoid detection from anti-virus software. The potential success of this involves bypassing the CPU in order to make it much harder for security researchers to analyse the inner workings of such malware.
Detecting rootkits is a major challenge for anti-virus programs. Rootkits have full administrative access to the computer and are invisible to users and hidden from the list of running processes in the task manager. Rootkits can modify the inner workings of the operating system and tamper with antivirus programs.
Files which have been damaged by computer viruses are normally damaged beyond recovery. Anti-virus software removes the virus code from the file during disinfection, but this does not always restore the file to its undamaged state. In such circumstances, damaged files can only be restored from existing backups; installed software that is damaged requires re-installation (however, see System File Checker).
Active anti-virus software can interfere with a firmware update process. Any writeable firmware in the computer can be infected by malicious code. This is a major concern, as an infected BIOS could require the actual BIOS chip to be replaced to ensure the malicious code is completely removed. Anti-virus software is not effective at protecting firmware and the motherboard BIOS from infection.
Installed antivirus software running on an individual computer is only one method of guarding against viruses. Other methods are also used, including cloud-based antivirus, firewalls and on-line scanners.
Cloud antivirus is a technology that uses lightweight agent software on the protected computer, while offloading the majority of data analysis to the provider's infrastructure.
One approach to implementing cloud antivirus involves scanning suspicious files using multiple antivirus engines. This approach was proposed by an early implementation of the cloud antivirus concept called CloudAV. CloudAV was designed to send programs or documents to a network cloud where multiple antivirus and behavioral detection programs are used simultaneously in order to improve detection rates. Parallel scanning of files using potentially incompatible antivirus scanners is achieved by spawning a virtual machine per detection engine and therefore eliminating any possible issues. CloudAV can also perform "retrospective detection," whereby the cloud detection engine rescans all files in its file access history when a new threat is identified thus improving new threat detection speed. Finally, CloudAV is a solution for effective virus scanning on devices that lack the computing power to perform the scans themselves.
Network firewalls prevent unknown programs and processes from accessing the system. However, they are not antivirus systems and make no attempt to identify or remove anything. They may protect against infection from outside the protected computer or network, and limit the activity of any malicious software which is present by blocking incoming or outgoing requests on certain TCP/IP ports. A firewall is designed to deal with broader system threats that come from network connections into the system and is not an alternative to a virus protection system.
Some antivirus vendors maintain websites with free online scanning capability of the entire computer, critical areas only, local disks, folders or files. Periodic online scanning is a good idea for those that run antivirus applications on their computers because those applications are frequently slow to catch threats. One of the first things that malicious software does in an attack is disable any existing antivirus software and sometimes the only way to know of an attack is by turning to an online resource that is not installed on the infected computer.
Virus removal tools are available to help remove stubborn infections or certain types of infection. Examples include Trend Micro's Rootkit Buster, and rkhunter for the detection of rootkits, Avira's AntiVir Removal Tool,PCTools Threat Removal Tool, and AVG's Anti-Virus Free 2011.
A rescue disk that is bootable, such as a CD or USB storage device, can be used to run antivirus software outside of the installed operating system, in order to remove infections while they are dormant. A bootable antivirus disk can be useful when, for example, the installed operating system is no longer bootable or has malware that is resisting all attempts to be removed by the installed antivirus software. Examples of some of these bootable disks include the Avira AntiVir Rescue System,PCTools Alternate Operating System Scanner, and AVG Rescue CD. The AVG Rescue CD software can also be installed onto a USB storage device, that is bootable on newer computers.
Usage and risks
According to an FBI survey, major businesses lose $12 million annually dealing with virus incidents. A survey by Symantec in 2009 found that a third of small to medium sized business did not use antivirus protection at that time, whereas more than 80% of home users had some kind of antivirus installed. According to a sociological survey conducted by G Data Software in 2010 49% of women did not use any antivirus program at all.
- Anti-virus and anti-malware software
- CARO, the Computer Antivirus Research Organization
- Comparison of antivirus software
- EICAR, the European Institute for Computer Antivirus Research
- Firewall software
- Internet Security
- Linux malware
- List of computer viruses
- List of trojan horses
- Quarantine technology
- Sandbox (computer security)
- Timeline of notable computer viruses and worms
- Virus hoax
- "Softpedia Exclusive Interview: Avira 10". Ionut Ilascu. Softpedia. 14 April 2010. Retrieved 2011-09-11.
- "Norton AntiVirus ignores malicious WMI instructions". Munir Kotadia. CBS Interactive. 21 October 2004. Retrieved 2009-04-05.
- History of viruses
- Kaspersky Lab Virus list
- Wells, Joe (1996-08-30). "Virus timeline". IBM. Archived from the original on 4 June 2008. Retrieved 2008-06-06.
- G Data Software AG (2011). "G Data presents security firsts at CeBIT 2010". Retrieved 22 August 2011.
- Karsmakers, Richard (January 2010). "The ultimate Virus Killer UVK 2000". Retrieved 22 August 2011.
- Fred Cohen 1984 "Computer Viruses – Theory and Experiments"
- Fred Cohen 1988 "On the implications of Computer Viruses and Methods of Defense"
- Cohen, Fred, An Undetectable Computer Virus, 1987, IBM
- VIRUS-L mailing list archive
- Panda Security (April 2004). "(II) Evolution of computer viruses". Retrieved 2009-06-20.
- Szor 2005, pp. 66–67
- "New virus travels in PDF files". 7 August 2001. Retrieved 2011-10-29.
- Slipstick Systems (February 2009). "Protecting Microsoft Outlook against Viruses". Archived from the original on 2 June 2009. Retrieved 2009-06-18.
- Landesman, Mary (2009). "What is a Virus Signature?". Retrieved 2009-06-18.
- Szor 2005, pp. 474–481
- Szor 2005, pp. 252–288
- "Generic detection". Kaspersky. Retrieved 2009-02-24.
- Symantec Corporation (February 2009). "Trojan.Vundo". Archived from the original on 9 April 2009. Retrieved 2009-04-14.
- Symantec Corporation (February 2007). "Trojan.Vundo.B". Archived from the original on 27 April 2009. Retrieved 2009-04-14.
- "Antivirus Research and Detection Techniques". ExtremeTech. Archived from the original on 27 February 2009. Retrieved 2009-02-24.
- Kaspersky Lab Technical Support Portal Archived 13 February 2011 at WebCite
- Kelly, Michael (October 2006). "Buying Dangerously". Retrieved 2009-11-29.
- Bitdefender (2009). "Automatic Renewal". Retrieved 2009-11-29.
- Symantec (undated). "Ongoping Protection". Retrieved 2009-11-29.
- SpywareWarrior (2007). "Rogue/Suspect Anti-Spyware Products & Web Sites". Retrieved 2009-11-29.
- Emil Protalinski (November 11, 2008). "AVG incorrectly flags user32.dll in Windows XP SP2/SP3". Ars Technica. Retrieved 2011-02-24.
- Aaron Tan (May 24, 2007). "Flawed Symantec update cripples Chinese PCs". CNET Networks. Retrieved 2009-04-05.
- David Harris (June 29, 2009). "January 2010 - Pegasus Mail v4.52 Release". Pegasus Mail. Archived from the original on 28 May 2010. Retrieved 2010-05-21.
- "McAfee DAT 5958 Update Issues". 21 April 2010. Archived from the original on 24 April 2010. Retrieved 22 April 2010.
- "Botched McAfee update shutting down corporate XP machines worldwide". 21 April 2010. Archived from the original on 22 April 2010. Retrieved 22 April 2010.
- John Leyden (December 2, 2010). "Horror AVG update ballsup bricks Windows 7". The Register. Retrieved 2010-12-02.
- MSE false positive detection forces Google to update Chrome, retrieved Monday, 3 October 2011
- McAfee to compensate businesses for buggy update, retrieved Thursday, 2 December 2010
- Buggy McAfee update whacks Windows XP PCs, archived from the original on 13 January 2011, retrieved Thursday, 2 December 2010
- Microsoft (January 2007). "Plus! 98: How to Remove McAfee VirusScan". Archived from the original on 11 November 2009. Retrieved 2009-11-29.
- Robert Vamosi (May 28, 2009). "G-Data Internet Security 2010". PC World. Retrieved 2011-02-24.
- Kelly Jackson Higgins (May 5, 2010). "New Microsoft Forefront Software Runs Five Antivirus Vendors' Engines". Darkreading. Retrieved 2011-02-24.
- Microsoft (April 2009). "Steps to take before you install Windows XP Service Pack 3". Archived from the original on 8 December 2009. Retrieved 2009-11-29.
- "Upgrading from Windows Vista to Windows 7". Retrieved 24 March 2012. Mentioned within "Before you begin".
- "Upgrading to Microsoft Windows Vista recommended steps.". Retrieved 24 March 2012.
- "How to troubleshoot problems during installation when you upgrade from Windows 98 or Windows Millennium Edition to Windows XP". Last Review: May 7, 2007. Retrieved 24 March 2012. Mentioned within "General troubleshooting".
- "Troubleshooting". Retrieved 2011-02-17.
- "Spyware, Adware, and Viruses Interfering with Steam". Retrieved 11 April 2013. Steam support page.
- Field Notice: FN - 63204 - Cisco Clean Access has Interoperability issue with Symantec Anti-virus - delays Agent start-up
- Dan Goodin (December 21, 2007). "Anti-virus protection gets worse". Channel Register. Retrieved 2011-02-24.
- Dan Illett (July 13, 2007). "Hacking poses threats to business". Computer Weekly. Retrieved 2009-11-15.
- AV Comparatives (February 2010). "Anti-Virus Comparative No. 25". Archived from the original on 30 March 2010. Retrieved 18 April 2010.
- Guidelines released for antivirus software tests
- Kotadia, Munir (July 2006). "Why popular antivirus apps 'do not work'". Retrieved 14 April 2010.
- The Canadian Press (April 2010). "Internet scam uses adult game to extort cash". CBC News. Archived from the original on 18 April 2010. Retrieved 17 April 2010.
- Researchers up evilness ante with GPU-assisted malware - Coming to a PC near you, by Dan Goodin
- GIBSON RESEARCH CORPORATION SERIES: Security Now!
- "How Anti-Virus Software Works". Retrieved 2011-02-16.
- "BT Home Hub Firmware Upgrade Procedure". Retrieved 2011-03-06.
- "The 10 faces of computer malware". July 17, 2009. Retrieved 2011-03-06.
- "New BIOS Virus Withstands HDD Wipes". Friday 27 March 2009. Retrieved 2011-03-06.
- "Phrack Inc. Persistent BIOS Infection". June 1, 2009. Retrieved 2011-03-06.
- Zeltser, Lenny (October 2010). "What Is Cloud Anti-Virus and How Does It Work?". Archived from the original on 10 October 2010. Retrieved 2010-10-26.
- Jon Erickson (August 6, 2008). "Antivirus Software Heads for the Clouds". Information Week. Retrieved 2010-02-24.
- Brian Krebs (March 9, 2007). "Online Anti-Virus Scans: A Free Second Opinion". Washington Post. Retrieved 2011-02-24.
- Ryan Naraine (February 2, 2007). "Trend Micro ships free 'rootkit buster'". ZDNet. Retrieved 2011-02-24.
- Neil J. Rubenking (March 26, 2010). "Avira AntiVir Personal 10". PC Magazine. Retrieved 2011-02-24.
- Neil J. Rubenking (September 16, 2010). "PC Tools Spyware Doctor with AntiVirus 2011". PC Magazine. Retrieved 2011-02-24.
- Neil J. Rubenking (October 4, 2010). "AVG Anti-Virus Free 2011". PC Magazine. Retrieved 2011-02-24.
- Neil J. Rubenking (November 19, 2009). "PC Tools Internet Security 2010". PC Magazine. Retrieved 2011-02-24.
- Carrie-Ann Skinner (March 25, 2010). "AVG Offers Free Emergency Boot CD". PC World. Retrieved 2011-02-24.
- "FBI estimates major companies lose $12m annually from viruses". 30 January 2007. Retrieved 20 February 2011.
- Michael Kaiser (April 17, 2009). "Small and Medium Size Businesses are Vulnerable". National Cyber Security Alliance. Retrieved 2011-02-24.
- "Nearly 50% of women don't use antivirus". SPAMfighter.
Read in another language
This page is available in 59 languages
- Беларуская (тарашкевіца)
- Bahasa Indonesia
- Basa Jawa
- Bahasa Melayu
- Norsk bokmål
- Олык марий
- Simple English
- Српски / srpski
- Srpskohrvatski / српскохрватски
- Tiếng Việt