---
title: "CAPEC-448: Embed Virus into DLL"
url: https://radicalnotion.ai/capec/capec-448
type: capec
description: "An adversary tampers with a DLL and embeds a computer virus into gaps between legitimate machine instructions. These gaps may be the result of compiler optimizations that pad memory blocks for performance gains. The embedded virus then attempts to infect any machine which interfaces with the product, and possibly steal private data or eavesdrop."
updated: 2026-06-01
source: RadicalNotion.AI
license: CC BY-NC 4.0 (https://creativecommons.org/licenses/by-nc/4.0/)
---

# CAPEC-448: Embed Virus into DLL

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

## Description

An adversary tampers with a DLL and embeds a computer virus into gaps between legitimate machine instructions. These gaps may be the result of compiler optimizations that pad memory blocks for performance gains. The embedded virus then attempts to infect any machine which interfaces with the product, and possibly steal private data or eavesdrop.

## 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-442](https://radicalnotion.ai/capec/capec-442) | Infected Software |

## Taxonomy mappings

| Taxonomy | Entry | Id |
| --- | --- | --- |
| ATTACK | Obfuscated Files or Information: Embedded Payloads | 1027.009 |

## Frequently asked questions

### What is CAPEC-448?

An adversary tampers with a DLL and embeds a computer virus into gaps between legitimate machine instructions. These gaps may be the result of compiler optimizations that pad memory blocks for performance gains. The embedded virus then attempts to infect any machine which interfaces with the product, and possibly steal private data or eavesdrop.

### How do you prevent CAPEC-448?

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

### What weaknesses does CAPEC-448 target?

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

### How severe is CAPEC-448?

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

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

---

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