---
title: "CAPEC-234: Hijacking a privileged process"
url: https://radicalnotion.ai/capec/capec-234
type: capec
description: "An adversary gains control of a process that is assigned elevated privileges in order to execute arbitrary code with those privileges. Some processes are assigned elevated privileges on an operating system, usually through association with a particular user, group, or role. If an attacker can hijack this process, they will be able to assume its level of privilege in order to execute their own code."
updated: 2026-06-01
source: RadicalNotion.AI
license: CC BY-NC 4.0 (https://creativecommons.org/licenses/by-nc/4.0/)
---

# CAPEC-234: Hijacking a privileged process

- **Abstraction:** Standard
- **Status:** Draft
- **Typical severity:** Medium
- **CAPEC catalog version:** 3.9

## Description

An adversary gains control of a process that is assigned elevated privileges in order to execute arbitrary code with those privileges. Some processes are assigned elevated privileges on an operating system, usually through association with a particular user, group, or role. If an attacker can hijack this process, they will be able to assume its level of privilege in order to execute their own code.

## Execution flow

### Step 1: Explore

\[Find process with elevated priveleges\] The adversary probes for processes running with elevated privileges.

- On Windows, use the process explorer's security tab to see if a process is running with administror privileges.
- On Linux, use the ps command to view running processes and pipe the output to a search for a particular user, or the root user.

### Step 2: Experiment

\[Find vulnerability in running process\] The adversary looks for a vulnerability in the running process that would allow for arbitrary code execution with the privilege of the running process.

- Look for improper input validation
- Look for a buffer overflow which may be exploited if an adversary can inject unvalidated data.
- Utilize system utilities that support process control that have been inadequately secured

### Step 3: Exploit

\[Execute arbitrary code\] The adversary exploits the vulnerability that they have found and hijacks the running process.

## Prerequisites

- The targeted process or operating system must contain a bug that allows attackers to hijack the targeted process.

## Resources required

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

## Related weaknesses (CWE)

- [CWE-648](https://radicalnotion.ai/cwe/cwe-648): Incorrect Use of Privileged APIs
- [CWE-732](https://radicalnotion.ai/cwe/cwe-732): Incorrect Permission Assignment for Critical Resource

## Related attack patterns

| Relationship | CAPEC | Name |
| --- | --- | --- |
| Parent | [CAPEC-233](https://radicalnotion.ai/capec/capec-233) | Privilege Escalation |
| Can follow | [CAPEC-100](https://radicalnotion.ai/capec/capec-100) | Overflow Buffers |
| Can follow | [CAPEC-175](https://radicalnotion.ai/capec/capec-175) | Code Inclusion |
| Can follow | [CAPEC-242](https://radicalnotion.ai/capec/capec-242) | Code Injection |

## Frequently asked questions

### What is CAPEC-234?

An adversary gains control of a process that is assigned elevated privileges in order to execute arbitrary code with those privileges. Some processes are assigned elevated privileges on an operating system, usually through association with a particular user, group, or role. If an attacker can hijack this process, they will be able to assume its level of privilege in order to execute their own code.

### How does a Hijacking a privileged process attack work?

It typically unfolds over 3 phases. It begins with: \[Find process with elevated priveleges\] The adversary probes for processes running with elevated privileges.

### What weaknesses does CAPEC-234 target?

CAPEC-234 exploits 2 CWE weaknesses: CWE-648 (Incorrect Use of Privileged APIs) and CWE-732 (Incorrect Permission Assignment for Critical Resource).

### How severe is CAPEC-234?

MITRE rates CAPEC-234 as Medium severity.

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

---

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