---
title: "CAPEC-680: Exploitation of Improperly Controlled Registers"
url: https://radicalnotion.ai/capec/capec-680
type: capec
description: "An adversary exploits missing or incorrectly configured access control within registers to read/write data that is not meant to be obtained or modified by a user."
updated: 2026-06-01
source: RadicalNotion.AI
license: CC BY-NC 4.0 (https://creativecommons.org/licenses/by-nc/4.0/)
---

# CAPEC-680: Exploitation of Improperly Controlled Registers

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

## Description

An adversary exploits missing or incorrectly configured access control within registers to read/write data that is not meant to be obtained or modified by a user.

Hardware systems often utilize trusted lock bits to prevent a set of registers from being written to or to restrict a register to only being written to once. Registers are also frequently used to store sensitive data leveraged in additional security operations, such as secure booting, authenticating code, device attestation, and more. However, the access control mechanisms meant to protect these registers may be fully missing or ineffective due to misconfiguration. If an adversary is able to discover improper access controls surrounding registers, it could result in the adversary obtaining sensitive data and/or modifying data that is meant to be immutable. This can ultimately result in processes like secure boot being circumvented or in protected configurations being modified.

## Prerequisites

- Awareness of the hardware being leveraged.
- Access to the hardware being leveraged.

## Skills required

- **High:** Intricate knowledge of registers.

## Consequences

| Scope | Impact | Note |
| --- | --- | --- |
| Integrity | Modify Data | - |
| Confidentiality | Read Data | - |

## Mitigations

- Design proper access control policies for hardware register access from software and ensure these policies are implemented in accordance with the specified design.
- Ensure security lock bit protections are reviewed for design inconsistencies and common weaknesses.
- Test security lock programming flow in both pre-silicon and post-silicon environments.
- Leverage automated tools to test that values are not reprogrammable and that write-once fields lock on writing zeros.
- Ensure that measurement data is stored in registers that are read-only or otherwise have access controls that prevent modification by an untrusted agent.

## Example instances

During a System-on-Chip's (SoC) secure boot process, the code to be authenticated is measured to determine the code's validity. This entails the one-way hash of the code binary being calculated and extended to the previous hash. The value obtained after completion of the boot flow is then stored in a register with the intent of later verifying this value to determine if the boot flow has been tampered with. However, the register being used does not prevent an adversary from modifying the register's contents, which can result in the adversary spoofing the measurement data used in the attestation process.

## Related weaknesses (CWE)

- [CWE-1224](https://radicalnotion.ai/cwe/cwe-1224): Improper Restriction of Write-Once Bit Fields
- [CWE-1231](https://radicalnotion.ai/cwe/cwe-1231): Improper Prevention of Lock Bit Modification
- [CWE-1233](https://radicalnotion.ai/cwe/cwe-1233): Security-Sensitive Hardware Controls with Missing Lock Bit Protection
- [CWE-1262](https://radicalnotion.ai/cwe/cwe-1262): Improper Access Control for Register Interface
- [CWE-1283](https://radicalnotion.ai/cwe/cwe-1283): Mutable Attestation or Measurement Reporting Data

## Related attack patterns

| Relationship | CAPEC | Name |
| --- | --- | --- |
| Parent | [CAPEC-1](https://radicalnotion.ai/capec/capec-1) | Accessing Functionality Not Properly Constrained by ACLs |
| Parent | [CAPEC-180](https://radicalnotion.ai/capec/capec-180) | Exploiting Incorrectly Configured Access Control Security Levels |

## Frequently asked questions

### What is CAPEC-680?

An adversary exploits missing or incorrectly configured access control within registers to read/write data that is not meant to be obtained or modified by a user.

### How do you prevent CAPEC-680?

Design proper access control policies for hardware register access from software and ensure these policies are implemented in accordance with the specified design.

### What weaknesses does CAPEC-680 target?

CAPEC-680 exploits 5 CWE weaknesses, including CWE-1224 (Improper Restriction of Write-Once Bit Fields), CWE-1231 (Improper Prevention of Lock Bit Modification), CWE-1233 (Security-Sensitive Hardware Controls with Missing Lock Bit Protection) and CWE-1262 (Improper Access Control for Register Interface).

### How severe is CAPEC-680?

MITRE rates CAPEC-680 as High severity with medium likelihood of attack.

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

---

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