Anti-virus software
|
Anti-virus software consists of computer programs that attempt to identify, thwart and eliminate computer viruses and other malicious software (malware).
Anti-virus software typically uses two different techniques to accomplish this:
- Examining (scanning) files to look for known viruses matching definitions in a virus dictionary
- Identifying suspicious behavior from any computer program which might indicate infection
Most commercial anti-virus software uses both of these approaches, with an emphasis on the virus dictionary approach.
Contents |
Approaches to virus detection
Virus dictionary approach
In the virus dictionary approach, when the anti-virus software examines a file, it refers to a dictionary of known viruses that the authors of the anti-virus software have identified. If a piece of code in the file matches any virus identified in the dictionary, then the anti-virus software can take one of the following actions:
- delete the infected file
- quarantine the file (such that the file remains inaccessible to other programs and its virus can no longer spread)
- attempt to repair the file by removing the virus itself from the file
To achieve consistent success in the medium and long term, the virus dictionary approach requires periodic (generally online) downloads of updated virus dictionary entries. As civically minded and technically inclined users identify new viruses "in the wild", they can send their infected files to the authors of anti-virus software, who then include information about the new viruses in their dictionaries.
Dictionary-based anti-virus software typically examines files when the computer's operating system creates, opens, closes or e-mails them. In this way it can detect a known virus immediately upon receipt. Note too that a System Administrator can typically scheduled the anti-virus software to examine (scan) all files on the user's hard disk on a regular basis.
Although the dictionary approach can effectively contain virus outbreaks in the right circumstances, virus authors have tried to stay a step ahead of such software by writing "polymorphic viruses", which encrypt parts of themselves or otherwise modify themselves as a method of disguise, so as to not match the virus's signature in the dictionary.
Suspicious behavior approach
The suspicious behavior approach, by contrast, doesn't attempt to identify known viruses, but instead monitors the behavior of all programs. If one program tries to write data to an executable program, for example, the anti-virus software can flag this suspicious behavior, alert a user and ask what to do.
Unlike the dictionary approach, the suspicious behavior approach therefore provides protection against brand-new viruses that do not yet exist in any virus dictionaries. However, it also sounds a large number of false positives, and users probably become desensitized to all the warnings. If the user clicks "Accept" on every such warning, then the anti-virus software obviously gives no benefit to that user. This problem has worsened since 1997, since many more nonmalicious program designs came to modify other .exe files without regard to this false positive issue. Thus, most modern anti-virus software uses this technique less and less.
Other ways to detect viruses
Some antivirus-software will try to emulate the beginning of the code of each new executable that the system invokes before transferring control to that executable. If the program seems to use self-modifying code or otherwise appears as a virus (if it immediately tries to find other executables, for example), one could assume that a virus has infected the executable. However, this method too results in a lot of false positives.
Yet another detection method involves using a sandbox. A sandbox emulates the operating system and runs the executable in this simulation. After the program has terminated, software analyses the sandbox for any changes which might indicate a virus. Because of performance issues, this type of detection normally only takes place during on-demand scans.
Issues of concern
- The spread of e-mail viruses (arguably the most destructive and widespread computer viruses) could be inhibited far more inexpensively and effectively, and without the need to install anti-virus software, if bugs in the e-mail clients, which relate to the execution of downloaded code and to the ability of executables to spread and wreak havoc, were fixed.
- User education can effectively supplement anti-virus software; simply training users in safe computing practices (such as not downloading and executing unknown programs from the Internet) would slow the spread of viruses and obviate the need of much anti-virus software.
- Computer users should not always run with administrator access to their own machine. If they would simply run in user mode then some types of viruses could not spread (or at least the damage caused by viruses could be reduced). This is one of several reasons that viruses are comparatively rare in Unix-like systems.
- The dictionary approach to detecting viruses does not always suffice -- due to the continual creation of new viruses -- yet the suspicious behavior approach does not work well due to the false positive problem; hence, the current understanding of anti-virus software will never conquer computer viruses.
- Various methods exist of encrypting and packing malicious software which will make even well-known viruses undetectable to anti-virus software. Detecting these "camouflaged" viruses requires a powerful unpacking engine, which can decrypt the files before examining them. Unfortunately, many popular anti-virus programs do not have this and thus are often unable to detect encrypted viruses.
- The ongoing writing and spreading of viruses and of panic about them gives the vendors of commercial anti-virus software a financial interest in the ongoing existence of viruses.
- Some anti-virus software can considerably reduce performance on older computers. Users of these older computers may disable the anti-virus protection to overcome the performance loss, thus increasing the risk of infection! For maximum protection the anti-virus software needs to be enabled all the time - often at the cost of slower performance. Some anti-virus software (such as AVG for Windows) has less impact on performance.
- It is sometimes necessary to temporarily disable virus protection when installing major updates such as Windows Service Packs. Having anti-virus protection running at the same time as installing a major update may prevent the update installing properly or at all. Also, if you ever plan to upgrade an existing version of Windows 98, Windows 98 Second Edition or Windows ME installation to Windows XP (Home or Professional), then it's a very good idea to remove virus protection beforehand, otherwise the Windows XP setup process could stop responding 1 (http://support.microsoft.com/kb/315323/)!! However, other computer problems can cause this to happen 2 (http://support.microsoft.com/kb/310064/EN-US/).
Antivirus software companies
- Aladdin Knowledge Systems
- Alwil
- BitDefender from Romania
- Bullguard from Denmark/UK
- Computer Associates USA
- ClamAV - GPL
- ClamWin - GPL ClamAV for Windows
- Eset from Czech Republic
- Frisk Software from Iceland
- F-Secure from Finland
- GeCAD from Romania (Microsoft bought it in 2003)
- GFI Software (http://www.gfi.com/mailsecurity/)
- Grisoft (AVG)
- Hauri
- H+BEDV from Germany
- Kaspersky from Russia
- McAfee USA
- MicroWorld Technologies from India
- MKS from Poland
- Norman USA
- Panda Software from Spain
- Sophos from the UK
- Stiller Research
- ROSE SWE (http://come.to/rose_swe)
- Sybari Software (http://www.sybari.com/) (Microsoft buys it in early 2005)
- Symantec USA or UK
- Trend Micro from Japan (nominally Taiwan - USA)
- VirusBuster (http://virusbuster.hu/en) from Hungary
- ZoneAlarm AntiVirus (http://www.zonelabs.com/) (from Zone Labs)
Testing Organizations
These organizations provide testing of virus scanning and related programs.
- Virus Bulletin - http://www.virusbtn.com/
- ICSA Labs - http://www.icsalabs.com/
- West Coast Labs - http://www.westcoastlabs.org/
- GFI Software - http://www.emailsecuritytest.com/
External links
- Carnegie Mellon's CERT coordination center (http://www.cert.org/other_sources/viruses.html)
- eicar - European Institute for Computer Anti-Virus Research (http://www.eicar.org)
- Antisource.com - Antivirus Reviews (http://www.antisource.com)de:Antivirenprogramm
fr:Antivirus he:אנטי וירוס it:Antivirus pl:Program antywirusowy ru:Антивирусная программа sv:Antivirusprogram fi:Virustorjunta