---
title: "CAPEC-478: Modification of Windows Service Configuration"
url: https://radicalnotion.ai/capec/capec-478
type: capec
description: "An adversary exploits a weakness in access control to modify the execution parameters of a Windows service. The goal of this attack is to execute a malicious binary in place of an existing service."
updated: 2026-06-01
source: RadicalNotion.AI
license: CC BY-NC 4.0 (https://creativecommons.org/licenses/by-nc/4.0/)
---

# CAPEC-478: Modification of Windows Service Configuration

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

## Description

An adversary exploits a weakness in access control to modify the execution parameters of a Windows service. The goal of this attack is to execute a malicious binary in place of an existing service.

## Execution flow

### Step 1: Explore

\[Determine target system\] The adversary must first determine the system they wish to modify the registry of. This needs to be a windows machine as this attack only works on the windows registry.

### Step 2: Experiment

\[Gain access to the system\] The adversary needs to gain access to the system in some way so that they can modify the windows registry.

- Gain physical access to a system either through shoulder surfing a password or accessing a system that is left unlocked.
- Gain remote access to a system through a variety of means.

### Step 3: Exploit

\[Modify windows registry\] The adversary will modify the windows registry by changing the configuration settings for a service. Specifically, the adversary will change the path settings to define a path to a malicious binary to be executed.

## Prerequisites

- The adversary must have the capability to write to the Windows Registry on the targeted system.

## Resources required

- None: No specialized resources are required to execute this type of attack.

## Consequences

| Scope | Impact | Note |
| --- | --- | --- |
| Integrity | Execute Unauthorized Commands | By altering specific configuration settings for the service, the adversary could run arbitrary code to be executed. |

## Mitigations

- Ensure proper permissions are set for Registry hives to prevent users from modifying keys for system components that may lead to privilege escalation.

## Related weaknesses (CWE)

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

## Related attack patterns

| Relationship | CAPEC | Name |
| --- | --- | --- |
| Parent | [CAPEC-203](https://radicalnotion.ai/capec/capec-203) | Manipulate Registry Information |

## Taxonomy mappings

| Taxonomy | Entry | Id |
| --- | --- | --- |
| ATTACK | Hijack Execution Flow:Service Registry Permissions Weakness | 1574.011 |
| ATTACK | Create or Modify System Process:Windows Service | 1543.003 |

## Frequently asked questions

### What is CAPEC-478?

An adversary exploits a weakness in access control to modify the execution parameters of a Windows service. The goal of this attack is to execute a malicious binary in place of an existing service.

### How does a Modification of Windows Service Configuration attack work?

It typically unfolds over 3 phases. It begins with: \[Determine target system\] The adversary must first determine the system they wish to modify the registry of. This needs to be a windows machine as this attack only works on the windows registry.

### How do you prevent CAPEC-478?

Ensure proper permissions are set for Registry hives to prevent users from modifying keys for system components that may lead to privilege escalation.

### What weaknesses does CAPEC-478 target?

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

### How severe is CAPEC-478?

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

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

---

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