BBC News - Making the first computer virus
Dr. Fred Cohen created the first computer virus more than 26 years ago before pioneering ways to fight malicious code. As a student he that a neighbouring university had created a Trojan, but immediately realized that if he could make the code self-replicating it could infect spread itself. He approached a computer security expert at the university with his idea and a request to build one to verify the idea. After creating the virus, he spent the next five years trying to figure out ways to protect computers from the very thing he knew others would soon create.