Information Security Booklet ??? July 2006Malicious code is any program that acts in unexpected and potentially damaging ways.Common types of malicious code are viruses, worms, Trojan horses, monitoring pro-grams such as spyware, and cross-site scripts.