File viruses infect executable files by inserting their code into part of the original code so that when the file is accessed it starts to infect.
File viruses infect executable files by inserting their code into part of the original code so that when the file is accessed it starts to infect.