Skip to main content
QUICK REVIEW

[Paper Review] Injecting Software Vulnerabilities with Voltage Glitching

Yifan Lu|arXiv (Cornell University)|Feb 14, 2019
Physical Unclonable Functions (PUFs) and Hardware SecurityComputer Science7 references6 citations
TL;DR

This paper demonstrates a low-cost voltage glitching attack using a crowbar circuit to induce timing violations in CMOS logic, enabling fault injection that bypasses secure boot protection on a PlayStation Vita's ARM-based SoC. By systematically scanning glitch parameters, the authors achieve reliable code execution and successfully dump the unmapped boot ROM, proving that voltage glitching can exploit data-dependent timing vulnerabilities in hardened consumer devices.

ABSTRACT

We show how voltage glitching can cause timing violations in CMOS behavior. Then we attack a real, security hardened, consumer device to gain code execution and dump the secure boot ROM.

Motivation & Objective

  • To develop a theoretical model of voltage glitching effects on CMOS logic, focusing on setup/hold time violations caused by transient supply voltage drops.
  • To apply this model to a real-world, security-hardened consumer device—the PlayStation Vita—to achieve early boot code execution.
  • To demonstrate that voltage glitching can bypass secure boot mechanisms by corrupting critical integrity checks during execution.
  • To show that fault injection is feasible and reproducible on modern, hardened SoCs using open-source hardware like the ChipWhisperer.

Proposed method

  • Model CMOS inverter behavior under voltage glitches by analyzing propagation delays (t_pHL and t_pLH) during transient supply voltage conditions (V_DD' ≈ 0V).
  • Define glitch parameters N (glitch start cycle) and M (glitch duration in cycles) to systematically scan for fault-inducing timing windows.
  • Use a Rigol DS1054Z oscilloscope to monitor eMMC communication and detect successful faults via unexpected command sequences (e.g., unexpected READ_SINGLE_BLOCK requests).
  • Implement an automated brute-force scan using the ChipWhisperer API to test all N and M combinations within a defined window, observing device behavior after each attempt.
  • Leverage the observation that successful faults cause the device to request the first bootloader block, enabling detection of successful glitching.
  • Iteratively refine glitch parameters and exploit the fault to gain earlier code execution, allowing incremental dumping of the boot ROM from SRAM.

Experimental results

Research questions

  • RQ1How do voltage glitches induce timing violations in CMOS logic, particularly through setup/hold time violations?
  • RQ2What are the data-dependent effects of voltage glitches on combinational logic and flip-flop behavior in real SoCs?
  • RQ3Can voltage glitching be reliably used to bypass secure boot mechanisms on modern, hardened consumer devices?
  • RQ4How can fault injection parameters (N and M) be systematically discovered and tuned for consistent exploitation?
  • RQ5To what extent can fault-induced software vulnerabilities be exploited to achieve code execution and data exfiltration?

Key findings

  • A working voltage glitching attack was successfully executed on the PlayStation Vita’s F00D processor, achieving reliable code execution during early boot.
  • The optimal glitch parameters were found to be N = 40800–40820 cycles and M = 45–55 cycles, with a success rate exceeding 80% under stable conditions.
  • Successful faults were detected by observing unexpected eMMC command sequences, particularly the device requesting the first bootloader block after a glitch.
  • The attack exploited a data-dependent vulnerability in the bldr_size integrity check, where a fault caused an incorrect block count (0xE2) to be read.
  • The boot ROM was not directly readable but was dumped indirectly by gaining execution in SRAM and repeatedly glitching earlier code sections to extract more data.
  • The method proved robust and reproducible, with new working parameter pairs found easily near an initial valid configuration despite environmental variations.

Read this paper

Open the full text in the Nubint reader and ask about any passage as you read.

Read this paper on Nubint

This review was generated by AI from the original paper. Please check the paper before citing it.