[Paper Review] Reverse Engineering Camouflaged Sequential Integrated Circuits Without Scan Access
This paper presents a novel attack to reverse-engineer camouflaged sequential integrated circuits without scan access, using a bounded model checker to identify a discriminating set of input sequences that uniquely determine the functionality of camouflaged gates. The method successfully decamouflaged a large sequential benchmark (VIPER processor subset) in under two hours, demonstrating that scan access is not required for effective reverse engineering of sequential circuits.
Integrated circuit (IC) camouflaging is a promising technique to protect the design of a chip from reverse engineering. However, recent work has shown that even camouflaged ICs can be reverse engineered from the observed input/output behaviour of a chip using SAT solvers. However, these so-called SAT attacks have so far targeted only camouflaged combinational circuits. For camouflaged sequential circuits, the SAT attack requires that the internal state of the circuit is controllable and observable via the scan chain. It has been implicitly assumed that restricting scan chain access increases the security of camouflaged ICs from reverse engineering attacks. In this paper, we develop a new attack methodology to decamouflage sequential circuits without scan access. Our attack uses a model checker (a more powerful reasoning tool than a SAT solver) to find a discriminating set of input sequences, i.e., one that is sufficient to determine the functionality of camouflaged gates. We propose several refinements, including the use of a bounded model checker, and sufficient conditions for determining when a set of input sequences is discriminating to improve the run-time and scalabilty of our attack. Our attack is able to decamouflage a large sequential benchmark circuit that implements a subset of the VIPER processor.
Motivation & Objective
- To address the security gap in camouflaged sequential ICs, where prior SAT-based attacks required scan chain access to control/observe internal state.
- To develop a practical method for reverse-engineering sequential circuits when internal state is inaccessible, simulating real-world constraints in hardware IP protection.
- To demonstrate that model checking can overcome the limitations of SAT solvers in sequential circuits by efficiently identifying discriminating input sequences.
- To evaluate the scalability and effectiveness of the attack on large sequential benchmarks, including the VIPER processor subset.
- To explore partial decamouflaging as a fallback when full recovery is not achieved, reducing the attacker's search space significantly.
Proposed method
- The attack uses a bounded model checker to iteratively identify input sequences that prune the set of possible gate configurations in camouflaged sequential circuits.
- It introduces a discriminating set of input sequences that uniquely determine the functionality of camouflaged gates by observing output responses across multiple state transitions.
- The method employs sufficient conditions to determine when a set of inputs is sufficient for decamouflage, improving runtime and scalability.
- A refinement allows partial completions: gates assigned the same identity across all remaining valid configurations are considered decamouflaged, even if full decamouflage is not achieved.
- The attack is applied to sequential benchmarks (e.g., s27, s400, s5378, VIPER) with camouflaged gates using the OC/NR technique.
- Termination conditions include unique completion (UC), combinational equivalence (CE), and unbounded model checking (UMC), depending on the circuit complexity.
Experimental results
Research questions
- RQ1Can camouflaged sequential circuits be reverse-engineered without access to scan chains, which are traditionally required for SAT-based attacks?
- RQ2What is the computational complexity of determining whether a set of input sequences is sufficient to decamouflage a sequential circuit?
- RQ3Can bounded model checking outperform SAT solvers in identifying discriminating input sequences for sequential circuits?
- RQ4How does the number of camouflaged gates affect the scalability and runtime of the reverse engineering process?
- RQ5To what extent can partial decamouflaging reduce the attacker’s search space when full decamouflage is not feasible?
Key findings
- The attack successfully decamouflaged the VIPER processor subset benchmark, a large sequential circuit with over 5,000 gates, in under two hours.
- For the s444 benchmark, the attack required 36 discriminating input sequences and completed in 150,569 seconds (about 41.8 hours), terminating via combinational equivalence (CE).
- The s382 benchmark required 34 discriminating inputs and 17,713 seconds (about 4.9 hours), terminating via unbounded model checker (UMC).
- In cases where full decamouflage failed, partial completions correctly identified 21 to 29 out of 32 camouflaged gates, reducing the attacker’s search space to as few as 16 possibilities.
- The length of input sequences in the discriminating set was always at most 10, even as the number of camouflaged gates increased from 32 to 256 on the s1196 benchmark.
- The problem of determining sufficiency of a discriminating input set is shown to be in PSPACE, establishing a theoretical foundation for the attack’s computational complexity.
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.