A file-infecting virus, also called file infector, typically copies code into executable files like .com and .exe. File infectors can also overwrite the host files. Some file invaders have payloads that can be either extremely harmful, like formatting hard drives, or benign, like message display.