A program that appears to be legitimate but executes an unwanted activity when activated is called a trojan horse.
Malicious software, also referred to as malware, is any programme or file designed to intentionally harm a computer, network, or server. Depending on the malware's form and goal, this harm to the user or endpoint may appear in a variety of ways.
Malware can have terrible effects in some situations while having very minor and innocuous ones in others. A Trojan horse is made to look like a trustworthy piece of software in order to access a system. Trojans can carry out their nefarious tasks if triggered after installation.
Know more about trojan horse here
https://brainly.com/question/9171237
#SPJ4