CAPEC-234

Hijacking a privileged process
2014-06-23
00h00 +00:00
中危
Draft
2021-10-21
00h00 +00:00
指定 CAPEC 提醒
随时了解指定 CAPEC 的变更。
管理通知

CAPEC 描述

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.

CAPEC 信息

执行流程

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.
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
3) Exploit

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

前提条件

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

所需资源

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

相关弱点

CWE-ID 弱点名称

CWE-732

Incorrect Permission Assignment for Critical Resource
The product specifies permissions for a security-critical resource in a way that allows that resource to be read or modified by unintended actors.

CWE-648

Incorrect Use of Privileged APIs
The product does not conform to the API requirements for a function call that requires extra privileges. This could allow attackers to gain privileges by causing the function to be called incorrectly.

提交记录

名称 组织 日期 发布日期
CAPEC Content Team The MITRE Corporation 2014-06-23 +00:00

修改记录

名称 组织 日期 备注
CAPEC Content Team The MITRE Corporation 2017-01-09 +00:00 Updated Related_Attack_Patterns
CAPEC Content Team The MITRE Corporation 2017-08-04 +00:00 Updated Resources_Required
CAPEC Content Team The MITRE Corporation 2020-07-30 +00:00 Updated Related_Attack_Patterns, Taxonomy_Mappings
CAPEC Content Team The MITRE Corporation 2021-06-24 +00:00 Updated Taxonomy_Mappings
CAPEC Content Team The MITRE Corporation 2021-10-21 +00:00 Updated Description, Execution_Flow, Related_Attack_Patterns