Skip to main content
QUICK REVIEW

[Paper Review] MuxLink: Circumventing Learning-Resilient MUX-Locking Using Graph Neural Network-based Link Prediction

Lilas Alrahis, Satwik Patnaik|arXiv (Cornell University)|Dec 14, 2021
Integrated Circuits and Semiconductor Failure AnalysisEngineering7 citations
TL;DR

MuxLink proposes a graph neural network (GNN)-based link prediction attack that breaks learning-resilient D-MUX and symmetric MUX-based logic locking by exploiting structural link formation in the circuit, achieving up to 100% key prediction accuracy and precision on ISCAS-85 and ITC-99 benchmarks without requiring an oracle or key leakage.

ABSTRACT

Logic locking has received considerable interest as a prominent technique for protecting the design intellectual property from untrusted entities, especially the foundry. Recently, machine learning (ML)-based attacks have questioned the security guarantees of logic locking, and have demonstrated considerable success in deciphering the secret key without relying on an oracle, hence, proving to be very useful for an adversary in the fab. Such ML-based attacks have triggered the development of learning-resilient locking techniques. The most advanced state-of-the-art deceptive MUX-based locking (D-MUX) and the symmetric MUX-based locking techniques have recently demonstrated resilience against existing ML-based attacks. Both defense techniques obfuscate the design by inserting key-controlled MUX logic, ensuring that all the secret inputs to the MUXes are equiprobable. In this work, we show that these techniques primarily introduce local and limited changes to the circuit without altering the global structure of the design. By leveraging this observation, we propose a novel graph neural network (GNN)-based link prediction attack, MuxLink, that successfully breaks both the D-MUX and symmetric MUX-locking techniques, relying only on the underlying structure of the locked design, i.e., in an oracle-less setting. Our trained GNN model learns the structure of the given circuit and the composition of gates around the non-obfuscated wires, thereby generating meaningful link embeddings that help decipher the secret inputs to the MUXes. The proposed MuxLink achieves key prediction accuracy and precision up to 100% on D-MUX and symmetric MUX-locked ISCAS-85 and ITC-99 benchmarks, fully unlocking the designs. We open-source MuxLink [1].

Motivation & Objective

  • To address the gap in learning-resilient logic locking by identifying exploitable structural patterns that bypass existing defenses.
  • To develop an oracle-less attack that breaks state-of-the-art MUX-based locking schemes without relying on key leakage or functional access.
  • To demonstrate that link-level structural patterns in obfuscated circuits can be exploited by GNNs to recover secret keys.
  • To evaluate the robustness of D-MUX and symmetric MUX-locking under a novel GNN-based attack that targets global connectivity rather than local gate features.

Proposed method

  • Train a GNN model to learn the structural topology of the locked circuit, focusing on non-obfuscated wires and their connectivity around key-gates.
  • Use node and edge embeddings from the GNN to predict missing or obfuscated links (i.e., secret inputs to MUXes) based on local and global circuit structure.
  • Apply a post-processing threshold (th) to filter predictions, balancing precision and recall by selecting only high-confidence link predictions.
  • Perform subgraph sampling within h-hop neighborhoods of obfuscated MUX gates to scale the attack while preserving predictive accuracy.
  • Use Hamming distance analysis on 100,000 random input patterns to validate functional correctness of recovered designs.
  • Leverage the symmetry and structural invariance of D-MUX and symmetric MUX schemes to train a generalizable GNN model across benchmarks.

Experimental results

Research questions

  • RQ1Can a GNN-based link prediction model successfully break learning-resilient D-MUX and symmetric MUX-locking without relying on key leakage or oracle access?
  • RQ2Does the structural symmetry and local obfuscation in D-MUX and symmetric MUX schemes still leave exploitable global connectivity patterns?
  • RQ3How does the performance of the GNN-based attack vary with increasing key size and hop distance in subgraph sampling?
  • RQ4To what extent does post-processing thresholding affect the precision and recall of key predictions in the absence of ground-truth labels?

Key findings

  • MuxLink achieves 100% key prediction accuracy and precision on D-MUX-locked ISCAS-85 and ITC-99 benchmarks, fully recovering the secret key.
  • For symmetric MUX-based locking, MuxLink maintains high performance with an average key prediction accuracy of 94.65% when key size increases from 64 to 256.
  • The Hamming distance between the original and recovered designs is only 3.39% on average, indicating near-perfect functional recovery.
  • Even with a strict post-processing threshold of th=1.0, MuxLink maintains 100% precision, though only 30% of key bits are predicted.
  • Performance saturates at h=3 hop sampling, with a significant performance jump from h=1 to h=2, indicating that 1-hop neighborhood analysis is already sufficient to break the schemes.
  • The attack remains effective despite the absence of key leakage, demonstrating that link formation is a new exploitable source of information in logic locking.

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.