Skip to content
OpenAdvisories

Weakness (CWE)

CWE-1332: Improper Handling of Faults that Lead to Instruction Skips

Base

The device is missing or incorrectly implements circuitry or sensors that detect and mitigate the skipping of security-critical CPU instructions when they occur.

How to prevent it (6 mitigations)
  1. Architecture and Design

    Design strategies for ensuring safe failure if
    inputs, such as Vcc, are modified out of acceptable
    ranges.

  2. Architecture and Design

    Design strategies for ensuring safe behavior if
    instructions attempt to be skipped.

  3. Architecture and Design

    Identify mission critical secrets that should
    be wiped if faulting is detected, and design a
    mechanism to do the deletion.

  4. Implementation

    Add redundancy by performing an operation
    multiple times, either in space or time, and perform
    majority voting. Additionally, make conditional
    instruction timing unpredictable.

  5. Implementation

    Use redundant operations or canaries to
    detect and respond to faults.

  6. Implementation

    Ensure that fault mitigations are strong enough
    in practice. For example, a low power detection
    mechanism that takes 50 clock cycles to trigger at lower
    voltages may be an insufficient security mechanism if
    the instruction counter has already progressed with no
    other CPU activity occurring.

Source: MITRE CWE-1332

0 results · Clear filters · Feed

Nothing found.