What Is Computer Virus? (© All Computer Studies)

A virus is a program that produces its own language by attaching its self to other executable files (.exe) in such a way that the virus code word is executed when the infected executable file is executed. There are a large number of virus types. A virus reproduces, usually with out your permission or information. In general terms they have an injection phase where they produce widely and an attack phase where they do whatever damage they are manage to do.
What Is Computer Virus? (© All Computer Studies)
An famous example of an executable file would be a program (.COM or .EXE file) or an overlay or library file used by an .EXE file. But just as critical, would be the macro portion of what you might generally consider to be a huge data file (e.g. a M.S Word document). It’s important to also realize that the system sectors on either a floppy or hard disk contain executable code that can be infected even those on a data hard disk. More recently, code written for Internet Web sites included in Electronic mail can also be executed and infected.

Another way of looking at viruses is to consider them to be programs written to create copies of themselves. These programs attach these copies onto host programs . When one of these hosts is executed, the virus code executes, and links copies of itself to even more hosts.

Similar to viruses, you can also find malicious code in Trojan Horses, logic bombs. Often the characteristics of both a virus and a worm can be found in the same beast confusing the issue even further.