[Paper Review] Logic Locking for Secure Outsourced Chip Fabrication: A New Attack and Provably Secure Defense Mechanism
This paper introduces a novel side-channel attack on logic locking that recovers key bits from the locked netlist alone, without requiring a working chip. To counter this, it proposes Meerkat, a provably secure logic locking scheme based on ROBDDs that guarantees no information leakage about the key or functionality, with moderate area and delay overheads.
Chip designers outsource chip fabrication to external foundries, but at the risk of IP theft. Logic locking, a promising solution to mitigate this threat, adds extra logic gates (key gates) and inputs (key bits) to the chip so that it functions correctly only when the correct key, known only to the designer but not the foundry, is applied. In this paper, we identify a new vulnerability in all existing logic locking schemes. Prior attacks on logic locking have assumed that, in addition to the design of the locked chip, the attacker has access to a working copy of the chip. Our attack does not require a working copy and yet we successfully recover a significant fraction of key bits from the design of the locked chip only. Empirically, we demonstrate the success of our attack on eight large benchmark circuits from a benchmark suite that has been tailored specifically for logic synthesis research, for two different logic locking schemes. Then, to address this vulnerability, we initiate the study of provably secure logic locking mechanisms. We formalize, for the first time to our knowledge, a precise notion of security for logic locking. We establish that any locking procedure that is secure under our definition is guaranteed to counter our desynthesis attack, and all other such known attacks. We then devise a new logic locking procedure, Meerkat, that guarantees that the locked chip reveals no information about the key or the designer's intended functionality. A main insight behind Meerkat is that canonical representations of boolean functionality via Reduced Ordered Binary Decision Diagrams (ROBDDs) can be leveraged effectively to provide security. We analyze Meerkat with regards to its security properties and the overhead it incurs. As such, our work is a contribution to both the foundations and practice of securing digital ICs.
Motivation & Objective
- Address the growing risk of intellectual property (IP) theft in outsourced chip fabrication, where untrusted foundries may reverse-engineer designs.
- Identify a critical vulnerability in existing logic locking schemes: the ability to recover key bits from the locked netlist alone, without access to a working chip.
- Formalize a precise notion of security for logic locking to ensure resistance against all known attacks, including the proposed desynthesis attack.
- Design and evaluate Meerkat, a new logic locking mechanism that provably secures the key and functionality using ROBDDs, ensuring no information leakage.
Proposed method
- Propose a new attack, termed 'desynthesis,' that infers key bits from the structure of the locked netlist by exploiting synthesis-induced patterns in the netlist, even without I/O access.
- Formalize security for logic locking via a new definition based on indistinguishability: a secure scheme must not leak any information about the key or intended functionality.
- Develop Meerkat, a logic locking mechanism that leverages Reduced Ordered Binary Decision Diagrams (ROBDDs) to represent and lock the netlist in a way that preserves functional equivalence only under the correct key.
- Ensure Meerkat’s security by constructing the locked netlist such that the ROBDD representation of the locked function is indistinguishable from a random function to an attacker without the key.
- Integrate key gates in a way that maintains the ROBDD structure’s compactness and ensures that the key is not recoverable through structural analysis or SAT-based inference.
- Evaluate Meerkat’s security and overhead by comparing it to existing schemes like EPIC on benchmark circuits, measuring area, delay, and resistance to the desynthesis attack.
Experimental results
Research questions
- RQ1Can an attacker recover key bits from a logic-locked netlist alone, without access to a working chip or its I/O behavior?
- RQ2What formal definition of security ensures that logic locking is resistant to all known attacks, including the proposed desynthesis attack?
- RQ3Can a logic locking mechanism be constructed that provably prevents information leakage about the key or the original functionality?
- RQ4How does the performance overhead (area and delay) of a provably secure logic locking scheme compare to existing insecure schemes like EPIC?
Key findings
- The proposed desynthesis attack successfully recovers up to 30 key bits from 32-bit locked netlists and up to 59 bits from 64-bit locked netlists using only the netlist structure, without any I/O access.
- All existing logic locking schemes are vulnerable to this attack because they are applied after synthesis, embedding structural information about the original design into the locked netlist.
- Meerkat achieves provable security under a newly formalized security definition that ensures no information about the key or functionality is leaked.
- Meerkat’s area and delay overheads are moderate—higher than EPIC but acceptable given the strong security guarantees.
- The use of ROBDDs enables Meerkat to structure the locked netlist such that the key cannot be inferred via structural or SAT-based analysis.
- Meerkat is secure against all known attacks, including SAT-based inference and the desynthesis attack, due to its information-theoretic security foundation.
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.