[Paper Review] Deep RNN-Oriented Paradigm Shift through BOCANet: Broken Obfuscated Circuit Attack
This paper introduces BOCANet, a deep recurrent neural network (D-RNN)-based attack that breaks logic-encrypted hardware obfuscation up to 20 times faster than SAT-based attacks, achieving over 90% success rates with less than 0.5% of input/output patterns. It enables key recovery and input/output prediction without prior knowledge of the secret key, marking a paradigm shift in hardware security threats via deep learning.
This is the first work augmenting hardware attacks mounted on obfuscated circuits by incorporating deep recurrent neural network (D-RNN). Logic encryption obfuscation has been used for thwarting counterfeiting, overproduction, and reverse engineering but vulnerable to attacks. There have been efficient schemes, e.g., satisfiability-checking (SAT) based attack, which can potentially compromise hardware obfuscation circuits. Nevertheless, not only there exist countermeasures against such attacks in the state-of-the-art (including the recent delay+logic locking (DLL) scheme in DAC'17), but the sheer amount of time/resources to mount the attack could hinder its efficacy. In this paper, we propose a deep RNN-oriented approach, called BOCANet, to (i) compromise the obfuscated hardware at least an order-of magnitude more efficiently (>20X faster with relatively high success rate) compared to existing attacks; (ii) attack such locked hardware even when the resources to the attacker are only limited to insignificant number of I/O pairs (< 0.5\\%) to reconstruct the secret key; and (iii) break a number of experimented benchmarks (ISCAS-85 c423, c1355, c1908, and c7552) successfully.
Motivation & Objective
- To address the limitations of existing SAT-based attacks on logic-encrypted circuits, which are time- and resource-intensive despite high success rates.
- To develop a novel attack framework that leverages deep learning to significantly reduce the time and resource requirements for key recovery in obfuscated hardware.
- To enable effective key recovery and input/output prediction using only a minimal number of observed I/O pairs, even when the attacker has no access to the secret key.
- To evaluate the robustness and generalization of the proposed method across diverse ISCAS-85 benchmarks with varying key sizes and circuit complexities.
Proposed method
- BOCANet employs a deep recurrent neural network (D-RNN) to model the input-output behavior of obfuscated circuits, learning the functional mapping from training I/O pairs.
- The attack uses a supervised training phase where the D-RNN is trained on a small subset (less than 0.5%) of observed input/output patterns from the target obfuscated circuit.
- In the testing phase, the trained D-RNN predicts outputs for unseen inputs without requiring the secret key, enabling key-agnostic output guessing.
- A second attack variant uses the D-RNN in reverse to predict unknown input patterns given desired output patterns, demonstrating bidirectional inference capability.
- The D-RNN architecture is trained with one or two hidden layers, enabling sequence modeling of input and output patterns to capture functional dependencies.
- The method is evaluated on four ISCAS-85 benchmarks (c423, c1355, c1908, c7552) with key sizes ranging from 32-bit to 256-bit to assess scalability and robustness.
Experimental results
Research questions
- RQ1Can a deep recurrent neural network be effectively used to recover the secret key of logic-encrypted hardware with significantly reduced time and resource consumption compared to SAT-based attacks?
- RQ2To what extent can a D-RNN model predict unknown input or output patterns of an obfuscated circuit without knowledge of the secret key?
- RQ3How does the performance of the D-RNN-based attack scale across different benchmark circuits and key sizes (32-bit to 256-bit)?
- RQ4Can the proposed method break advanced countermeasures such as delay+logic locking (DLL) with minimal I/O access?
- RQ5What is the minimum number of I/O patterns required for the D-RNN to achieve high accuracy in key recovery and functional prediction?
Key findings
- BOCANet achieves a success rate of 100% on 32-bit key size, 94% on 64-bit, 92% on 128-bit, and 89% on 256-bit key sizes across all four ISCAS-85 benchmarks.
- The attack is over 20 times faster than traditional SAT-based attacks while maintaining a high success rate, significantly improving efficiency.
- The method requires only less than 0.5% of the total I/O patterns for training, demonstrating high data efficiency.
- The D-RNN model successfully predicts unknown output patterns for all benchmarks with near-perfect alignment between predicted and actual outputs, as shown in Figures 7(a)–(d).
- The model also accurately predicts unknown input patterns from desired outputs, with overlapping predicted and real input lines in Figures 8(a)–(d), confirming bidirectional inference capability.
- The attack is completely oblivious to the secret key, as the D-RNN learns functional behavior without needing access to the key, enabling key-agnostic reverse engineering.
Read this paper
Open the full text in the Nubint reader and ask about any passage as you read.
Read this paper on NubintThis review was generated by AI from the original paper. Please check the paper before citing it.