There are several types of malicious code attacks that a hacker can use to gain entry into or compromise a computer system. In this type of malicious code attack, a malicious piece of code or secretly installed or implanted into a computer system:
◦ Trojan horses
◦ Virus
◦ Worms
◦ Logic bombs