Malware is hardware, firmware, or software that is intentionally included or inserted in a system for a harmful purpose, according to the NIST glossary. Its definitions name viruses, worms, Trojan horses, spyware, adware and root kits as examples, and the table below gives the wording and the source the page lists for each.
Types the glossary names
| Type | What the glossary says | Source listed on the page |
|---|---|---|
| Virus | A "code-based entity that infects a host" | NIST SP 800-12 Rev. 1 |
| Worm | Named with viruses in the same "code-based entity that infects a host" wording | NIST SP 800-12 Rev. 1 |
| Trojan horse | Named with viruses and worms as a program "written intentionally to carry out annoying or harmful actions" | NIST SP 800-28 Version 2 |
| Spyware | "Also examples of malicious code" | NIST SP 800-12 Rev. 1 |
| Adware | Some forms are "also examples of malicious code" | NIST SP 800-12 Rev. 1 |
| Root kit | Named with spyware, virus programs and Trojan horses as software "designed and operated by an adversary to violate the security of a computer" | NIST SP 800-152 |
Each row quotes one sentence from a NIST document named on the page, so the source column tells a reader which document to open for the context around that wording.
Which documents the definitions come from
The malware entry lists CNSSI 4009-2022 as its source. The malicious code entries list NIST documents by the edition named in each title. The table shows a few of them, as the glossary page prints them.