CAPEC 详情
名称 Modification of Windows Service Configuration
攻击可能性 典型严重性
Low High
摘要 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.
前置条件 The adversary must have the capability to write to the Windows Registry on the targeted system.
执行流程
步骤 阶段 描述 技术手法
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.
解决方案 Ensure proper permissions are set for Registry hives to prevent users from modifying keys for system components that may lead to privilege escalation.
关联弱点
CWE 编号 描述
CWE-284 Improper Access Control
关联 CAPEC
CAPEC 编号 描述
CAPEC-203 An adversary exploits a weakness in authorization in order to modify content within a registry (e.g., Windows Registry, Mac plist, application registry). Editing registry information can permit the adversary to hide configuration information or remove indicators of compromise to cover up activity. Many applications utilize registries to store configuration and service information. As such, modification of registry information can affect individual services (affecting billing, authorization, or even allowing for identity spoofing) or the overall configuration of a targeted application. For example, both Java RMI and SOAP use registries to track available services. Changing registry values is sometimes a preliminary step towards completing another attack pattern, but given the long term usage of many registry values, manipulation of registry information could be its own end.
分类体系:ATTACK
条目编号 条目名称
1574.011 Hijack Execution Flow:Service Registry Permissions Weakness
1543.003 Create or Modify System Process:Windows Service