CAPEC-647: Collect Data from Registries
An adversary exploits a weakness in authorization to gather system-specific data and sensitive information within a registry (e.g., Windows Registry, Mac plist). These contain information about the system configuration, software, operating system, and security. The adversary can leverage information gathered in order to carry out further attacks.
Last updated
Overview
CAPEC-647 (Collect Data from Registries) is a detailed-level attack pattern catalogued by MITRE in the Common Attack Pattern Enumeration and Classification (CAPEC). It describes a recurring method attackers use to exploit software weaknesses.
How the attack works
The phases an attacker typically follows.
- Step 1Explore
[Gain logical access to system] An adversary must first gain logical access to the system it wants to gather registry information from,
- Obtain user account credentials and access the system
- Plant malware on the system that will give remote logical access to the adversary
- Step 2Experiment
[Determine if the permissions are correct] Once logical access is gained, an adversary will determine if they have the proper permissions, or are authorized, to view registry information. If they do not, they will need to escalate privileges on the system through other means
- Step 3Experiment
[Peruse registry for information] Once an adversary has access to a registry, they will gather all system-specific data and sensitive information that they deem useful.
- Step 4Exploit
[Follow-up attack] Use any information or weaknesses found to carry out a follow-up attack
What the attacker needs
Prerequisites
- The adversary must have obtained logical access to the system by some means (e.g., via obtained credentials or planting malware on the system).
- The adversary must have capability to navigate the operating system to peruse the registry.
Skills required
- Low skill: Once the adversary has logical access (which can potentially require high knowledge and skill level), the adversary needs only the capability and facility to navigate the system through the OS graphical user interface or the command line.
Resources required
- None: No specialized resources are required to execute this type of attack.
Consequences
What a successful CAPEC-647 attack can achieve.
Read Data
Affects: Confidentiality
The adversary is able to read sensitive information about the system in the registry.
How to mitigate it
Defenses that reduce the risk of CAPEC-647.
- Employ a robust and layered defensive posture in order to prevent unauthorized users on your system.
- Employ robust identification and audit/blocking via 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.
Terminology & mappings
Mapped taxonomies
- ATTACK: Data from Local System (1005)
- ATTACK: Query Registry (1012)
- ATTACK: Unsecured Credentials: Credentials in Registry (1552.002)
Frequently asked questions
Common questions about CAPEC-647.
- What is CAPEC-647?
- An adversary exploits a weakness in authorization to gather system-specific data and sensitive information within a registry (e.g., Windows Registry, Mac plist). These contain information about the system configuration, software, operating system, and security. The adversary can leverage information gathered in order to carry out further attacks.
- How does a Collect Data from Registries attack work?
- It typically unfolds over 4 phases. It begins with: [Gain logical access to system] An adversary must first gain logical access to the system it wants to gather registry information from,
- How do you prevent CAPEC-647?
- Employ a robust and layered defensive posture in order to prevent unauthorized users on your system.
- What weaknesses does CAPEC-647 target?
- CAPEC-647 exploits one CWE weakness: CWE-285 (Improper Authorization).
- How severe is CAPEC-647?
- MITRE rates CAPEC-647 as Medium severity with medium likelihood of attack.
References
Attack-pattern data is sourced from the MITRE CAPEC catalog (v3.9). Weakness associations link to the corresponding CWE entries on RadicalNotion.AI.
Defend against CAPEC-647
Track the CVEs and weaknesses this technique exploits, with AI-written analysis and remediation steps.