CAPEC-478: Modification of Windows Service Configuration
CAPEC版本: 3.9
更新日期: 2023-01-24
攻击模式描述
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.
执行流程
步骤 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.
步骤 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.
步骤 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.
前提条件
- The adversary must have the capability to write to the Windows Registry on the targeted system.
所需资源
- None: No specialized resources are required to execute this type of attack.
后果影响
影响范围: Integrity
技术影响: Execute Unauthorized Commands
说明: By altering specific configuration settings for the service, the adversary could run arbitrary code to be executed.
缓解措施
Ensure proper permissions are set for Registry hives to prevent users from modifying keys for system components that may lead to privilege escalation.
分类映射
| 分类名称 | 条目ID | 条目名称 |
|---|---|---|
| ATTACK | 1574.011 | Hijack Execution Flow:Service Registry Permissions Weakness |
| ATTACK | 1543.003 | Create or Modify System Process:Windows Service |