---
title: "CAPEC-37: Retrieve Embedded Sensitive Data"
url: https://radicalnotion.ai/capec/capec-37
type: capec
description: "An attacker examines a target system to find sensitive data that has been embedded within it. This information can reveal confidential contents, such as account numbers or individual keys/credentials that can be used as an intermediate step in a larger attack."
updated: 2026-06-01
source: RadicalNotion.AI
license: CC BY-NC 4.0 (https://creativecommons.org/licenses/by-nc/4.0/)
---

# CAPEC-37: Retrieve Embedded Sensitive Data

- **Abstraction:** Detailed
- **Status:** Draft
- **Typical severity:** Very High
- **Likelihood of attack:** High
- **CAPEC catalog version:** 3.9

## Description

An attacker examines a target system to find sensitive data that has been embedded within it. This information can reveal confidential contents, such as account numbers or individual keys/credentials that can be used as an intermediate step in a larger attack.

## Execution flow

### Step 1: Explore

\[Identify Target\] Attacker identifies client components to extract information from. These may be binary executables, class files, shared libraries (e.g., DLLs), configuration files, or other system files.

- Binary file extraction. The attacker extracts binary files from zips, jars, wars, PDFs or other composite formats.
- Package listing. The attacker uses a package manifest provided with the software installer, or the filesystem itself, to identify component files suitable for attack.

### Step 2: Exploit

\[Retrieve Embedded Data\] The attacker then uses a variety of techniques, such as sniffing, reverse-engineering, and cryptanalysis to retrieve the information of interest.

- API Profiling. The attacker monitors the software's use of registry keys or other operating system-provided storage locations that can contain sensitive information.
- Execution in simulator. The attacker physically removes mass storage from the system and explores it using a simulator, external system, or other debugging harness.
- Common decoding methods. The attacker applies methods to decode such encodings and compressions as Base64, unzip, unrar, RLE decoding, gzip decompression and so on.
- Common data typing. The attacker looks for common file signatures for well-known file types (JPEG, TIFF, ASN.1, LDIF, etc.). If the signatures match, they attempt decoding in that format.

## Prerequisites

- In order to feasibly execute this type of attack, some valuable data must be present in client software.
- Additionally, this information must be unprotected, or protected in a flawed fashion, or through a mechanism that fails to resist reverse engineering, statistical, or other attack.

## Skills required

- **Medium:** The attacker must possess knowledge of client code structure as well as ability to reverse-engineer or decompile it or probe it in other ways. This knowledge is specific to the technology and language used for the client distribution

## Resources required

- The attacker must possess access to the system or code being exploited. Such access, for this set of attacks, will likely be physical. The attacker will make use of reverse engineering technologies, perhaps for data or to extract functionality from the binary. Such tool use may be as simple as "Strings" or a hex editor. Removing functionality may require the use of only a hex editor, or may require aspects of the toolchain used to construct the application: for instance the Adobe Flash development environment. Attacks of this nature do not require network access or undue CPU, memory, or other hardware-based resources.

## Consequences

| Scope | Impact | Note |
| --- | --- | --- |
| Confidentiality | Read Data | - |
| Integrity | Modify Data | - |
| Confidentiality, Access Control, Authorization | Gain Privileges | - |

## Example instances

Using a tool such as 'strings' or similar to pull out text data, perhaps part of a database table, that extends beyond what a particular user's purview should be.

An attacker can also use a decompiler to decompile a downloaded Java applet in order to look for information such as hardcoded IP addresses, file paths, passwords or other such contents.

Attacker uses a tool such as a browser plug-in to pull cookie or other token information that, from a previous user at the same machine (perhaps a kiosk), allows the attacker to log in as the previous user.

## Related weaknesses (CWE)

- [CWE-226](https://radicalnotion.ai/cwe/cwe-226): Sensitive Information in Resource Not Removed Before Reuse
- [CWE-311](https://radicalnotion.ai/cwe/cwe-311): Missing Encryption of Sensitive Data
- [CWE-312](https://radicalnotion.ai/cwe/cwe-312): Cleartext Storage of Sensitive Information
- [CWE-314](https://radicalnotion.ai/cwe/cwe-314): Cleartext Storage in the Registry
- [CWE-315](https://radicalnotion.ai/cwe/cwe-315): Cleartext Storage of Sensitive Information in a Cookie
- [CWE-318](https://radicalnotion.ai/cwe/cwe-318): Cleartext Storage of Sensitive Information in Executable
- [CWE-525](https://radicalnotion.ai/cwe/cwe-525): Use of Web Browser Cache Containing Sensitive Information
- [CWE-1239](https://radicalnotion.ai/cwe/cwe-1239): Improper Zeroization of Hardware Register
- [CWE-1258](https://radicalnotion.ai/cwe/cwe-1258): Exposure of Sensitive System Information Due to Uncleared Debug Information
- [CWE-1266](https://radicalnotion.ai/cwe/cwe-1266): Improper Scrubbing of Sensitive Data from Decommissioned Device
- [CWE-1272](https://radicalnotion.ai/cwe/cwe-1272): Sensitive Information Uncleared Before Debug/Power State Transition
- [CWE-1278](https://radicalnotion.ai/cwe/cwe-1278): Missing Protection Against Hardware Reverse Engineering Using Integrated Circuit (IC) Imaging Techniques
- [CWE-1301](https://radicalnotion.ai/cwe/cwe-1301): Insufficient or Incomplete Data Removal within Hardware Component
- [CWE-1330](https://radicalnotion.ai/cwe/cwe-1330): Remanent Data Readable after Memory Erase

## Related attack patterns

| Relationship | CAPEC | Name |
| --- | --- | --- |
| Parent | [CAPEC-167](https://radicalnotion.ai/capec/capec-167) | White Box Reverse Engineering |
| Related | [CAPEC-65](https://radicalnotion.ai/capec/capec-65) | Sniff Application Code |
| Related | [CAPEC-675](https://radicalnotion.ai/capec/capec-675) | Retrieve Data from Decommissioned Devices |

## Taxonomy mappings

| Taxonomy | Entry | Id |
| --- | --- | --- |
| ATTACK | Data from Local System | 1005 |
| ATTACK | Unsecured Credentials: Private Keys | 1552.004 |

## Frequently asked questions

### What is CAPEC-37?

An attacker examines a target system to find sensitive data that has been embedded within it. This information can reveal confidential contents, such as account numbers or individual keys/credentials that can be used as an intermediate step in a larger attack.

### How does a Retrieve Embedded Sensitive Data attack work?

It typically unfolds over 2 phases. It begins with: \[Identify Target\] Attacker identifies client components to extract information from. These may be binary executables, class files, shared libraries (e.g., DLLs), configuration files, or other system files.

### What weaknesses does CAPEC-37 target?

CAPEC-37 exploits 14 CWE weaknesses, including CWE-226 (Sensitive Information in Resource Not Removed Before Reuse), CWE-311 (Missing Encryption of Sensitive Data), CWE-312 (Cleartext Storage of Sensitive Information) and CWE-314 (Cleartext Storage in the Registry).

### How severe is CAPEC-37?

MITRE rates CAPEC-37 as Very High severity with high likelihood of attack.

Primary source: [MITRE CAPEC](https://capec.mitre.org/data/definitions/37.html)

---

Source: [RadicalNotion.AI](https://radicalnotion.ai/capec/capec-37). Licensed CC BY-NC 4.0; attribute RadicalNotion.AI and link the source page when you reuse this data.
