Abstract
As Deep Neural Networks (DNNs) transition to edge devices, hardware-level security becomes paramount. This study demonstrates a "precision strike" attack against FPGA-based CNN accelerators using a single, well-timed clock glitch. By targeting the sequential logic of the final argmax layer, the attack achieves an 80-87% success rate in forcing targeted misclassifications without requiring access to model weights or training data.
Introduction
The deployment of DNNs on specialized hardware like Field-Programmable Gate Arrays (FPGAs) for edge applications—such as autonomous systems and medical devices—introduces new physical vulnerabilities. While traditional Fault Injection Attacks (FIAs) often cause broad, non-deterministic corruption, this research explores evasive, targeted strikes. The goal is to disrupt a specific class (e.g., misclassifying a "7") while maintaining the system's overall perceived integrity.
Methodology: Targeting the Argmax Layer
The researchers identify the argmax layer as a critical vulnerability. In resource-constrained FPGA implementations, this layer often processes class scores sequentially to minimize hardware footprint. This sequential nature creates a predictable temporal window for each class.
The attack utilizes Clock Glitching via a two-phase approach:
- Profiling: The attacker sweeps through glitch parameters (width and offset) to identify the hardware's timing violations.
- Execution: During active inference, a single glitch is injected at the precise moment the "true" class score is processed. This prevents the hardware from registering the correct high score, causing the system to "skip" it and select the next-highest-scoring class.
Experimental Setup
The attack was validated using an Artix-7 FPGA running a CNN with a systolic array architecture, controlled by a ChipWhisperer-Lite. The model was trained on the MNIST dataset (60,000 training images, 10,000 test images), achieving a baseline accuracy of 94.7%.
Results
The "precision strike" proved highly effective, yielding a success rate between 80.0% and 87.0% for targeted misclassifications. When the attack was active, the model's accuracy for the target class plummeted, while the profiling phase ensured the attack remained near-instant and repeatable once vulnerable parameters were established.
As shown in the experimental results, injecting a clock glitch successfully shifts the prediction from the correct label ('7') to incorrect labels ('2' or '3') by suppressing the primary probability peak.
Key Insights and Limitations
A primary takeaway is that the mathematical simplicity of the argmax function leads to a lack of security hardening, making its sequential hardware implementation a "sitting duck." Furthermore, this is a gray-box attack; the adversary only needs to understand hardware timing, not internal model parameters.
However, current limitations include a lack of perfect "redirection control"—the attacker can force a skip but cannot yet guarantee which specific incorrect class will be chosen. Future work will focus on deterministic redirection and developing hardware-centric countermeasures, such as redundant logic or randomized comparison ordering.
Summary updated