Question: are all computer viruses harmful?
Answer: It's true that most viruses are programmed to do damage. But viruses aren't inherently bad — after all, they're just pieces of code. ... An anti-virus virus that could find and then remove other harmful viruses. A file-compressing virus that could “infect” and then compress the files it attaches to.