• Malicious code is any virus, Trojan horse, malware, worm, or any other similar program, code, or script that is deliberately designed to inject itself into a computer’s memory or disk and spread from one computer to another. Malicious code can usually spread at an exponential rate, even if a small number of computers are initially affected.