Malicious Software (Malware) is any software that brings harm to a computer system. Malware can be in the form of worms, viruses, trojans, spyware, adware, and rootkits, etc., which steal protected data, delete documents or add software not approved by a user.
Source: https://www.techopedia.com/definition/4015/malicious-software-malware