MuxLink: Circumventing Learning-Resilient MUX-Locking Using Graph Neural Network-based Link Prediction

Lilas Alrahis, Satwik Patnaik, Muhammad Shafique, Ozgur Sinanoglu
12/14/2021
cs.CR
gnn

Official code: lilasrahis/MuxLink (9 stars, Python, last commit 2023-11-23).

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.

Show full abstract

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].

View on arXivView PDF

Code Implementations(1)

lilasrahis/MuxLinkOfficial100%

MuxLink attack on learning resilient logic locking. L. Alrahis et al., "Circumventing Learning-Resilient MUX-Locking Using Graph Neural Network-based Link Prediction," DATE, 2022

95Python, PerlDec 5, 20213 years ago

Similar Papers

Cite this paper

@article{alrahis2021muxlink,
  title  = {MuxLink: Circumventing Learning-Resilient MUX-Locking Using Graph Neural Network-based Link Prediction},
  author = {Lilas Alrahis and Satwik Patnaik and Muhammad Shafique and Ozgur Sinanoglu},
  year   = {2021},
  eprint = {2112.07178},
  archivePrefix = {arXiv},
  url    = {https://arxiv.org/abs/2112.07178}
}

Add a badge to your README

Shows whether official code is linked for this paper.

Code of Paper badge
[![Code of Paper](https://codeofpaper.com/badge/2112.07178.svg)](https://codeofpaper.com/paper/2112.07178)

Discussion