While more in number, file infectors are not the most commonly found. They infect in a variety of ways and can be found in a large number of file types.
The simplest file viruses work by locating a type of file they know how to infect (usually a file name ending in .COM or .EXE) and overwriting part of the program they are infecting. When this program is executed, the virus code executes and infects more files. These overwriting viruses do not tend to be very successful since the overwritten program rarely continues to function correctly and the virus is almost immediately discovered.
The more sophisticated file viruses save (rather than overwrite) the original instructions when they insert their code into the program. This allows them to execute the original program after the virus finishes so that everything appears normal.
Just as system sector viruses can remain resident in memory and use stealth techniques to hide their presence, file viruses can also hide this way. If you do a directory listing, you will not see any increase in the length of the file and if you attempt to read the file, the virus will intercept the request and return your original uninfected program to you.
Some file viruses (such as 4096) also infect overlay files as well as the more usual *.COM and *.EXE files. Overlay files have various extensions, but .OVR and .OVL are common (overlay files are almost never used today; they are something you found in the MS-DOS days). Files with the extension .DLL are also capable of being infected (but generally are not; typically they are only libraries of functions). Indeed, as operating systems become more advanced, typically more files become able to contain executable code and thus be vulnerable to infection. (See the file extension list for a more complete summary.)
- File viruses number in the thousands, but are not the most widely found in the wild.
- File viruses have a wide variety of infection techniques and infect a large number of file types.
|What Viruses Infect|
Comments from Original Post:
Said this on 2010-08-21 At 05:22 am
I want to remove the virus from my computer
[Use one of the free anti-virus software solutions. --DaBoss]
Said this on 2010-12-30 At 10:14 am
In reply to #3
type me full information on computer viruses bcauz we r having a seminar.
[Sorry, I don't do other people's homework. --DaBoss]
Said this on 2011-01-27 At 06:11 am
In reply to #4
how to make antivirus software in vb.net pls tell that
[CKnow gives no programming advice about viruses or anti-virus software. Either would give clues on how to write a virus and there are enough of them out there already. --DaBoss]