---
title: "CAPEC-442: Infected Software"
url: https://radicalnotion.ai/capec/capec-442
type: capec
description: "An adversary adds malicious logic, often in the form of a computer virus, to otherwise benign software. This logic is often hidden from the user of the software and works behind the scenes to achieve negative impacts. Many times, the malicious logic is inserted into empty space between legitimate code, and is then called when the software is executed. This pattern of attack focuses on software already fielded and used in operation as opposed to software that is still under development and part of the supply chain."
updated: 2026-06-01
source: RadicalNotion.AI
license: CC BY-NC 4.0 (https://creativecommons.org/licenses/by-nc/4.0/)
---

# CAPEC-442: Infected Software

- **Abstraction:** Standard
- **Status:** Stable
- **Typical severity:** High
- **Likelihood of attack:** Medium
- **CAPEC catalog version:** 3.9

## Description

An adversary adds malicious logic, often in the form of a computer virus, to otherwise benign software. This logic is often hidden from the user of the software and works behind the scenes to achieve negative impacts. Many times, the malicious logic is inserted into empty space between legitimate code, and is then called when the software is executed. This pattern of attack focuses on software already fielded and used in operation as opposed to software that is still under development and part of the supply chain.

## Prerequisites

- Access to the software currently deployed at a victim location. This access is often obtained by leveraging another attack pattern to gain permissions that the adversary wouldn't normally have.

## Consequences

| Scope | Impact | Note |
| --- | --- | --- |
| Authorization | Execute Unauthorized Commands | - |

## Mitigations

- Leverage anti-virus products to detect and quarantine software with known virus.

## Related weaknesses (CWE)

- [CWE-506](https://radicalnotion.ai/cwe/cwe-506): Embedded Malicious Code

## Related attack patterns

| Relationship | CAPEC | Name |
| --- | --- | --- |
| Parent | [CAPEC-441](https://radicalnotion.ai/capec/capec-441) | Malicious Logic Insertion |
| Child | [CAPEC-448](https://radicalnotion.ai/capec/capec-448) | Embed Virus into DLL |

## Taxonomy mappings

| Taxonomy | Entry | Id |
| --- | --- | --- |
| ATTACK | Supply Chain Compromise: Compromise Software Dependencies and Development Tools | 1195.001 |
| ATTACK | Supply Chain Compromise: Compromise Software Supply Chain | 1195.002 |

## Frequently asked questions

### What is CAPEC-442?

An adversary adds malicious logic, often in the form of a computer virus, to otherwise benign software. This logic is often hidden from the user of the software and works behind the scenes to achieve negative impacts. Many times, the malicious logic is inserted into empty space between legitimate code, and is then called when the software is executed. This pattern of attack focuses on software already fielded and used in operation as opposed to software that is still under development and part of the supply chain.

### How do you prevent CAPEC-442?

Leverage anti-virus products to detect and quarantine software with known virus.

### What weaknesses does CAPEC-442 target?

CAPEC-442 exploits one CWE weakness: CWE-506 (Embedded Malicious Code).

### How severe is CAPEC-442?

MITRE rates CAPEC-442 as High severity with medium likelihood of attack.

Primary source: [MITRE CAPEC](https://capec.mitre.org/data/definitions/442.html)

---

Source: [RadicalNotion.AI](https://radicalnotion.ai/capec/capec-442). Licensed CC BY-NC 4.0; attribute RadicalNotion.AI and link the source page when you reuse this data.
