Malware

Software or firmware written to perform unauthorised actions that harm a system's confidentiality, integrity or availability; the umbrella term for viruses, worms, Trojans and more.

Malware, short for malicious software and also called malicious code, is code written to act against the system’s owner. NIST SP 800-171 Rev. 3 defines it as software or firmware intended to perform an unauthorised process with an adverse impact on confidentiality, integrity or availability. NIST SP 800-83 Rev. 1 is the federal guide to preventing and handling malware incidents. The classic categories are told apart by how the code spreads: a virus needs a host program, file or boot record and usually a user action, a worm spreads by itself across networks, and a Trojan horse does not replicate but arrives disguised as something useful.

Other names describe what the code does once it is present. A rootkit hides, a backdoor gives the attacker a way back in, a logic bomb waits for a trigger, ransomware extorts, and a bot joins a botnet. SP 800-83 Rev. 1 strictly treats backdoors and rootkits as attacker tools that malware delivers, and notes that many samples are blended, so the categories overlap. Anti-malware is the main technical control, layered with patching and allowlisting.

Exam relevance: questions in this area tend to describe behaviour (spreads without user action, hides from the operating system, fires on a date). Candidates are expected to name the type from that behaviour, remembering that one sample can fit several categories.