---
title: "CAPEC-558: Replace Trusted Executable"
url: https://radicalnotion.ai/capec/capec-558
type: capec
description: "An adversary exploits weaknesses in privilege management or access control to replace a trusted executable with a malicious version and enable the execution of malware when that trusted executable is called."
updated: 2026-06-01
source: RadicalNotion.AI
license: CC BY-NC 4.0 (https://creativecommons.org/licenses/by-nc/4.0/)
---

# CAPEC-558: Replace Trusted Executable

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

## Description

An adversary exploits weaknesses in privilege management or access control to replace a trusted executable with a malicious version and enable the execution of malware when that trusted executable is called.

## Example instances

Specific versions of Windows contain accessibility features that may be launched with a key combination before a user has logged in (for example when they are on the Windows Logon screen). On Windows XP and Windows Server 2003/R2, the program (e.g. "C:\\Windows\\System32\\utilman.exe") may be replaced with cmd.exe (or another program that provides backdoor access). Then pressing the appropriate key combination at the login screen while sitting at the keyboard or when connected over RDP will cause the replaced file to be executed with SYSTEM privileges.

## Related weaknesses (CWE)

- [CWE-284](https://radicalnotion.ai/cwe/cwe-284): Improper Access Control

## Related attack patterns

| Relationship | CAPEC | Name |
| --- | --- | --- |
| Parent | [CAPEC-542](https://radicalnotion.ai/capec/capec-542) | Targeted Malware |

## Taxonomy mappings

| Taxonomy | Entry | Id |
| --- | --- | --- |
| ATTACK | Server Software Component: Terminal Services DLL | 1505.005 |
| ATTACK | Event Triggered Execution: Accessibility Features | 1546.008 |

## Frequently asked questions

### What is CAPEC-558?

An adversary exploits weaknesses in privilege management or access control to replace a trusted executable with a malicious version and enable the execution of malware when that trusted executable is called.

### What weaknesses does CAPEC-558 target?

CAPEC-558 exploits one CWE weakness: CWE-284 (Improper Access Control).

### How severe is CAPEC-558?

MITRE rates CAPEC-558 as High severity with low likelihood of attack.

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

---

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