CAPEC-270: Modification of Registry Run Keys
CAPEC版本: 3.9
更新日期: 2023-01-24
攻击模式描述
An adversary adds a new entry to the "run keys" in the Windows registry so that an application of their choosing is executed when a user logs in. In this way, the adversary can get their executable to operate and run on the target system with the authorized user's level of permissions. This attack is a good way for an adversary to run persistent spyware on a user's machine, such as a keylogger.
执行流程
步骤 1 Explore
[Determine target system] The adversary must first determine the system they wish to target. This attack only works on Windows.
步骤 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 adding a new entry to the "run keys" referencing a desired program. This program will be run whenever the user logs in.
前提条件
- The adversary must have gained access to the target system via physical or logical means in order to carry out this attack.
后果影响
影响范围: Integrity
技术影响: Modify Data
缓解措施
Identify programs that may be used to acquire process information and block them by using a software restriction policy or tools that restrict program execution by using a process allowlist.
示例实例
An adversary can place a malicious executable (RAT) on the target system and then configure it to automatically run when the user logs in to maintain persistence on the target system.
Through the modification of registry "run keys" the adversary can masquerade a malicious executable as a legitimate program.
分类映射
| 分类名称 | 条目ID | 条目名称 |
|---|---|---|
| ATTACK | 1547.001 | Boot or Logon Autostart Execution: Registry Run Keys / Start Folder |
| ATTACK | 1547.014 | Boot or Logon Autostart Execution: Active |