A computer virus is a malicious program that self-recreates by replicating itself to another program. As it were, the computer virus spreads independently from anyone else into other executable code. The reason for making a computer virus is to infect vulnerable systems, gain administrator control and take user delicate information.