Trojan horse is a program that appears harmless (such as a text editor or a utility program) but actually performs malicious functions.