TROJAN HORSE A program containing malicious or harmful code, designed to damage the victim's computer or files, or obtain information from the victim's computer or network. Some Trojans are designed to hide within the computer's operating system and spy on every keystroke or action, or accept instructions over a network connection to perform some function, all without the victim being aware of its presence.