CAPECattack pattern

CAPEC-681 Exploitation of Improperly Controlled Hardware Security Identifiers

Very High Official page ↗
Abstraction
Detailed
Status
Draft
Likelihood of attack
Medium
Typical severity
Very High
CAPEC version
3.9

Description

An adversary takes advantage of missing or incorrectly configured security identifiers (e.g., tokens), which are used for access control within a System-on-Chip (SoC), to read/write data or execute a given action.

Extended description

A System-on-Chip (SoC) often implements a security identifier mechanism to differentiate what actions are allowed or disallowed when a transaction originates from an entity. However, these mechanisms may be exploitable due to any number of the following: • The security identifiers are missing • The security identifiers are incorrectly implemented or generated • The security identifiers are generated with an obsolete encoding • The security identifiers are generated and implemented correctly, but are improperly protected If the security identifiers leveraged by the SoC are missing or misconfigured, an adversary may be able to take advantage of this shortcoming to circumvent the intended access controls. This could result in the adversary gaining unintended access, performing a Denial of Service (DoS), escalating privileges, or spoofing actions from a trusted agent.

Prerequisites

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

Skills required

• [Medium] Ability to execute actions within the SoC. • [High] Intricate knowledge of the identifiers being utilized.

Consequences

• Integrity: Modify Data • Confidentiality: Read Data • Confidentiality, Access Control, Authorization: Gain Privileges

Mitigations

• Review generation of security identifiers for design inconsistencies and common weaknesses. • Review security identifier decoders for design inconsistencies and common weaknesses. • Test security identifier definition, access, and programming flow in both pre-silicon and post-silicon environments.

Related

Child of · CAPEC (2)

  • CAPEC-1 Accessing Functionality Not Properly Constrained by ACLs attack pattern
  • CAPEC-180 Exploiting Incorrectly Configured Access Control Security Levels attack pattern

Weakness · CWE (5)

  • CWE-1259 Improper Restriction of Security Token Assignment weakness
  • CWE-1267 Policy Uses Obsolete Encoding weakness
  • CWE-1270 Generation of Incorrect Security Tokens weakness
  • CWE-1294 Insecure Security Identifier Mechanism weakness
  • CWE-1302 Missing Source Identifier in Entity Transactions on a System-On-Chip (SOC) weakness

Referenced by CWE · attack pattern (5)

  • CWE-1259 Improper Restriction of Security Token Assignment weakness
  • CWE-1267 Policy Uses Obsolete Encoding weakness
  • CWE-1270 Generation of Incorrect Security Tokens weakness
  • CWE-1294 Insecure Security Identifier Mechanism weakness
  • CWE-1302 Missing Source Identifier in Entity Transactions on a System-On-Chip (SOC) weakness