Malware, short for malicious software, is a blanket term for viruses, worms, trojans and other harmful computer programs hackers use to wreak destruction and gain access to sensitive information. A virus is a type of malware, so all viruses are malware (but not every piece of malware is a virus) Malware can also be installed on a computer “manually” by the attackers themselves, either by gaining physical access to the computer or using privilege escalation to gain remote administrator access. A keylogger is a specific kind of spyware that records all the keystrokes a user makes.”]
Source: https://www.csoonline.com/article/3295877/what-is-malware-viruses-worms-trojans-and-beyond.html

