A trojan horse is a piece of code that is developed to disrupt the regular performance of a computer system. Infections can spread rapidly and trigger significant damage to both individual computers and networks. Some infections are safe, while others can erase files, corrupt data, and even damage hardware.