When the program runs, the written virus program is executed first, causing infection and damage. The virus writes its own code into the host program. Ĭomputer viruses generally require a host program.
If this replication succeeds, the affected areas are then said to be 'infected' with a computer virus, a metaphor derived from biological viruses.