# What is malware?

> Malware is hardware, firmware, or software intentionally included or inserted in a system for a harmful purpose, per NIST. The FTC lists next steps.

*The NIST glossary defines the term and names the types it covers, and the FTC lists what a reader should do after a suspicious link or attachment.*

- Type: Explainer
- Section: Tech
- By: Tech Desk
- Published: 2026-11-19T12:26:39-05:00
- Updated: 2026-11-19T12:26:39-05:00
- Checked: 2026-11-19T12:26:39-05:00
- URL: https://factsdesk.com/tech/what-is-malware/

## Key facts

- Malware is hardware, firmware, or software that is intentionally included or inserted in a system for a harmful purpose, according to the NIST glossary. Source: [NIST Computer Security Resource Center](https://csrc.nist.gov/glossary/term/malware). Confirmed 2026-11-19T12:26:39-05:00. Cite: https://factsdesk.com/tech/what-is-malware/#malware-is-hardware-firmware-or-software-that-is
- The NIST glossary names viruses, worms and Trojan horses as code-based entities that infect a host, and says spyware and some forms of adware are also examples of malicious code. Source: [NIST Computer Security Resource Center](https://csrc.nist.gov/glossary/term/malware). Confirmed 2026-11-19T12:26:39-05:00. Cite: https://factsdesk.com/tech/what-is-malware/#the-nist-glossary-names-viruses-worms-and-trojan-horses-as
- The FTC says a phishing message may ask a reader to click a link that has malware, and that attachments and links might install harmful malware. Source: [Federal Trade Commission](https://consumer.ftc.gov/articles/how-recognize-and-avoid-phishing-scams). Confirmed 2026-11-19T12:26:39-05:00. Cite: https://factsdesk.com/tech/what-is-malware/#the-ftc-says-a-phishing-message-may-ask-a-reader-to-click-a
- If a reader clicked a link or opened an attachment that downloaded harmful software, the FTC says to update the computer's security software, run a scan and remove anything it identifies as a problem. Source: [Federal Trade Commission](https://consumer.ftc.gov/articles/how-recognize-and-avoid-phishing-scams). Confirmed 2026-11-19T12:26:39-05:00. Cite: https://factsdesk.com/tech/what-is-malware/#if-a-reader-clicked-a-link-or-opened-an-attachment-that
- The FTC says to forward a phishing email to the Anti-Phishing Working Group and to report the attempt to the FTC at ReportFraud.ftc.gov. Source: [Federal Trade Commission](https://consumer.ftc.gov/articles/how-recognize-and-avoid-phishing-scams). Confirmed 2026-11-19T12:26:39-05:00. Cite: https://factsdesk.com/tech/what-is-malware/#the-ftc-says-to-forward-a-phishing-email-to-the-anti

Malware is hardware, firmware, or software that is [intentionally included or inserted in a system for a harmful purpose](https://csrc.nist.gov/glossary/term/malware), according to the [NIST glossary](https://csrc.nist.gov/glossary/term/malware). 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.

| Source named on the page | Edition named in the title |
| --- | --- |
| CNSSI 4009-2022 | 2022 |
| NIST SP 800-12 Rev. 1 | Revision 1 |
| NIST SP 800-28 Version 2 | Version 2 |
| NIST SP 800-53 Rev. 5 | Revision 5 |
| NIST SP 800-82r3 | "r3" in the title |

The FTC guide carries a September 2022 date on its page. The NIST glossary page shows no date for its wordings, and each wording names the document it comes from.

## How a reader meets malware

The FTC's guide to phishing describes scammers who [use email or text messages to trick you into giving them your personal and financial information](https://consumer.ftc.gov/articles/how-recognize-and-avoid-phishing-scams). Malware can be part of that message. The guide says a message may ask a reader to click a link to make a payment, and that [the link can carry malware](https://consumer.ftc.gov/articles/how-recognize-and-avoid-phishing-scams). It also says that [attachments and links might install harmful malware](https://consumer.ftc.gov/articles/how-recognize-and-avoid-phishing-scams). For the message types themselves, read [what phishing is](/tech/what-is-phishing/).

### Signs the FTC lists

In its example of a phishing email, the FTC points to three signs: [a generic greeting, an account on hold because of a billing problem, and an invitation to click a link to update payment details](https://consumer.ftc.gov/articles/how-recognize-and-avoid-phishing-scams). The guide adds that [legitimate companies won't email or text with a link to update your payment information](https://consumer.ftc.gov/articles/how-recognize-and-avoid-phishing-scams).

### What the FTC says to do

The FTC guide gives these steps, each in its own words.

| If this happens | What the FTC says to do |
| --- | --- |
| A message asks you to click a link or open an attachment, and you do not have an account with the company or know the sender | It could be a phishing scam. Review the signs, report the message and then delete it |
| You think you clicked a link or opened an attachment that downloaded harmful software | Update your computer's security software, then run a scan and remove anything it identifies as a problem |
| You think a scammer has your Social Security, credit card or bank account number | Go to IdentityTheft.gov for the steps for the information you lost |
| You got a phishing email | Forward it to the Anti-Phishing Working Group, and report the attempt to the FTC at ReportFraud.ftc.gov |
| You got a phishing text message | Forward it to SPAM (7726), and report the attempt to the FTC at ReportFraud.ftc.gov |

If the message says the company is one you have an account with, the FTC says to [contact the company using a phone number or website you know is real](https://consumer.ftc.gov/articles/how-recognize-and-avoid-phishing-scams), and not to rely on the information in the email.

### Four protections the FTC lists

The guide lists four ways to protect yourself from phishing attacks: [set security software to update automatically](https://consumer.ftc.gov/articles/how-recognize-and-avoid-phishing-scams), set phone software to update automatically, use [multi-factor authentication](https://consumer.ftc.gov/articles/how-recognize-and-avoid-phishing-scams) for accounts, and back up the data on your computer and phone. The guide says the extra login step [makes it harder for scammers to log in to your accounts if they do get your username and password](https://consumer.ftc.gov/articles/how-recognize-and-avoid-phishing-scams).

## Sources

1. [malware - Glossary](https://csrc.nist.gov/glossary/term/malware), NIST Computer Security Resource Center, 2026-11-19 (primary source)
2. [How To Recognize and Avoid Phishing Scams](https://consumer.ftc.gov/articles/how-recognize-and-avoid-phishing-scams), Federal Trade Commission, 2022-09 (primary source)

## Asked next

- [What is a botnet?](https://factsdesk.com/tech/what-is-a-botnet/): NIST defines a botnet as infected machines a criminal can remotely manage. CISA and the FBI list the signs of infection and the steps to remove one.
- [Is AI being used in cyber attacks?](https://factsdesk.com/tech/is-ai-being-used-in-cyber-attacks/): Yes, according to threat reports from Anthropic, OpenAI and Google, which say they found attackers misusing their AI models, and the UK NCSC's assessment.
- [What is a zero-day attack?](https://factsdesk.com/tech/what-is-a-zero-day-attack/): A zero-day attack exploits a previously unknown hardware, firmware, or software vulnerability, according to the NIST glossary definition.
- [Is the USPS package delivery text a scam?](https://factsdesk.com/tech/is-the-usps-package-delivery-text-a-scam/): Yes, if the text has a link and the recipient never asked USPS to track that package: the Postal Inspection Service calls it a scam named smishing.
- [What is phishing?](https://factsdesk.com/tech/what-is-phishing/): Phishing is a fraudulent solicitation in email or on a website that poses as a legitimate business to get sensitive data such as bank account numbers.
- [NGINX fixes HTTP/2 flaw present since 2015 that could let attackers run code remotely](https://factsdesk.com/tech/nginx-vulnerability/): NGINX released 1.31.9 and 1.30.7 on Nov. 18, 2026, fixing CVE-2026-123007, an HTTP/2 flaw that could let attackers run code remotely.
