CAPECattack pattern

CAPEC-203 Manipulate Registry Information

Medium Official page ↗
Abstraction
Standard
Status
Stable
Typical severity
Medium
CAPEC version
3.9

Description

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.

Prerequisites

• The targeted application must rely on values stored in a registry. • The adversary must have a means of elevating permissions in order to access and modify registry content through either administrator privileges (e.g., credentialed access), or a remote access tool capable of editing a registry through an API.

Skills required

• [High] The adversary requires privileged credentials or the development/acquiring of a tailored remote access tool.

Mitigations

• Ensure proper permissions are set for Registry hives to prevent users from modifying keys. • Employ a robust and layered defensive posture in order to prevent unauthorized users on your system. • Employ robust identification and audit/blocking using an allowlist of applications on your system. Unnecessary applications, utilities, and configurations will have a presence in the system registry that can be leveraged by an adversary through this attack pattern.

Related

Att&ck technique · MITRE ATT&CK (2)

  • T1647 Plist File Modification technique
  • T1112 Modify Registry technique

Child of · CAPEC (1)

  • CAPEC-176 Configuration/Environment Manipulation attack pattern

Weakness · CWE (1)

  • CWE-15 External Control of System or Configuration Setting weakness

Referenced by CAPEC · child of (3)

  • CAPEC-270 Modification of Registry Run Keys attack pattern
  • CAPEC-478 Modification of Windows Service Configuration attack pattern
  • CAPEC-51 Poison Web Service Registry attack pattern

Referenced by CWE · attack pattern (1)

  • CWE-15 External Control of System or Configuration Setting weakness