CWE-1247

Improper Protection Against Voltage and Clock Glitches
AI Translation Available

The device does not contain or contains incorrectly implemented circuitry or sensors to detect and mitigate voltage and clock glitches and protect sensitive information or software contained on the device.

Status
stable
Abstraction
base
Clock/Counter Hardware ICS/OT Power Management Hardware Sensor Hardware System on Chip

A device might support features such as secure boot which are supplemented with hardware and firmware support. This involves establishing a chain of trust, starting with an immutable root of trust by checking the signature of the next stage (culminating with the OS and runtime software) against a golden value before transferring control. The intermediate stages typically set up the system in a secure state by configuring several access control settings. Similarly, security logic for exercising a debug or testing interface may be implemented in hardware, firmware, or both. A device needs to guard against fault attacks such as voltage glitches and clock glitches that an attacker may employ in an attempt to compromise the system.

Common Consequences

confidentiality integrity availability access control
Impacts
gain privileges or assume identity bypass protection mechanism read memory modify memory execute unauthorized code or commands

Detection Methods

manual analysis dynamic analysis with manual results interpretation architecture or design review

Potential Mitigations

Phases:
architecture and design implementation
Descriptions:
• At the circuit-level, using Tunable Replica Circuits (TRCs) or special flip-flops such as Razor flip-flops helps mitigate glitch attacks. Working at the SoC or platform base, level sensors may be implemented to detect glitches. Implementing redundancy in security-sensitive code (e.g., where checks are performed)also can help with mitigation of glitch attacks.

Functional Areas

power clock