arXiv:2611.06386cs.CRNov 2026

Manuscript Offprint

arXiv:2611.06386

Shoot on (Core)Sight: Re-enabling Secure Debug on the RP2350 with Photon-Emission Microscopy and Laser Fault Injection

Antoine Plin

Antoine Plin

Ledger, Paris, France (intern)

ESILV, France

Georgia Institute of Technology, USA

aplin3@gatech.edu

Abstract—Fault-resistant policy storage does not guarantee fault-resistant enforcement. We demonstrated this distinction on the RP2350A4 using differential photon-emission microscopy (PEM) and laser fault injection (LFI). PEM narrowed the area for laser scanning, which found two sites where pulses set the DEBUGEN bits enabling core 1 Secure debug. An online attack sequence using only Serial Wire Debug (SWD) feedback restored sustained access. After rescue reset, the sequence recovered a 128-bit test secret. This reset reloads the secret's runtime page lock from a stored policy that permits Secure reads and prevents user firmware from tightening the lock.

Index Terms—hardware security, laser fault injection, photon-emission microscopy, secure debug

I. INTRODUCTION

Microcontrollers protect firmware and data through secure boot, hardware isolation, and persistent access policies [1], [2], [3]. Protecting the stored policy alone does not ensure that the hardware enforcing it is resistant to faults. On the RP2350, the mutable DEBUGEN register can override CRIT1.DBUG_DISABLE, a redundantly encoded one-time programmable (OTP) flag [4, Secs. 3.5.9 and 13.4], so a fault in that register can bypass the policy. Restoring Secure debug permits an attacker to halt the processor and read firmware and data accessible to Secure software. Laser fault injection (LFI) can alter individual register bits, but locating the circuitry for a register whose location on the die is unknown requires a substantial search.

Differential photon-emission microscopy (PEM) can narrow this search by isolating light emission associated with a selected operation. Previous studies localized CPU logic, register-file bits, and embedded memories [5], [6], [7]. We applied this approach to a weakly emitting, memory-mapped security register. By comparing images taken while the chip was toggling different bits inside the register, we found regions whose emission depends on those values and used them to target laser scanning.

Prior work on the RP2350 restored RISC-V debug by faulting OTP readout at power-on [8]. We instead faulted the runtime debug controls on the RP2350A4. During offline characterization, custom firmware executed the PEM excitation loops and reported register values during LFI mapping. The subsequent attack used only Serial Wire Debug (SWD) feedback.

This work makes three contributions:

  • A differential PEM method for isolating emission associated with a memory-mapped register, using an atomic-XOR excitation loop, acquisition-order balancing, and outlier rejection.

  • Localization of two adjacent LFI-responsive sites on one RP2350A4 and an SWD-guided attack sequence that restores sustained core 1 Secure debug access.

  • A rescue-reset bypass of runtime OTP locks, affecting any RP2350 secret those locks protect. Rescue mode halts boot before the firmware applies these locks, so restoring debug access lets us read a demo OTP secret.