← Lab /Security & privacy

Laser fault injection restores secure debug and extracts OTP secret on RP2350

Laser-induced faults can set the DEBUGEN register despite debug-disable settings, enabling persistent secure debug and extraction of OTP secrets.

Security & privacy Ledger Donjon 18 Sep 2026 Attack Prototype evidence

Published as “Photon-Emission-Guided Laser Fault Injection Enables RP2350 Secure Debug”

Why it matters

The work shows that OTP-protected debug-disable can be bypassed, undermining the RP2350’s secure-debug guarantees.

Summary

The researchers used photon-emission microscopy to locate the DEBUGEN register bits on a decapsulated RP2350, then applied targeted 980 nm laser pulses to flip those bits despite the permanent DEBUG_DISABLE flag. By iteratively setting PROC1 and PROC1_SECURE bits, they re-enabled Secure-debug access via the Mem-AP. After a rescue reset that bypassed firmware, they read the 128-bit OTP secret, demonstrating that the debug-disable mechanism can be bypassed with physical fault injection. The attack required expensive equipment and destructive chip preparation, and was demonstrated on a single A4-revision device.

What they found 2

  1. Laser pulses can set DEBUGEN bits despite DEBUGEN_LOCK, enabling Secure debug.

    “A pulse that set one bit could clear the other, so setting both required an iterative sequence.”

  2. The full attack recovers the challenge secret from OTP memory.

    “We ran this sequence on the tested device and recovered the complete challenge secret.”

Caveats 5

  • The attack requires destructive physical access, backside decapsulation, and approximately $250,000 of laboratory equipment.
  • The sequence could not be reproduced using a 20x objective, indicating a need for high-magnification optics.
  • Destructive physical access: chip must be decapsulated and GND re-connected.
  • Specialised laboratory equipment costing roughly $250,000.
  • Precise laser positioning within a few micrometres; lower-magnification optics fail.

What’s new here 4

  • First use of differential photon-emission microscopy to guide laser fault injection on a microcontroller register.
  • Demonstrated that laser pulses can set DEBUGEN bits even when DEBUGEN_LOCK is asserted.
  • Combined fault injection with the RP-AP rescue reset to read OTP-protected secret before runtime lock is applied.
  • Shows that OTP-encoded debug-disable flags are insufficient without protecting mutable control registers.