RESAA: A Removal and Structural Analysis Attack Against Compound Logic Locking
Felipe Almeida, Levent Aksoy, Samuel Pagliarini
TL;DR
RESAA presents a practical framework for removing and structurally analyzing compound logic locking (CLL) by identifying critical gates and partitioning locked nets into RLL and PSLL components. It classifies techniques, then applies both oracle-guided (OG) and oracle-less (OL) attacks, including QBF, SAT, and SCOPE, to recover secret keys across CLL configurations. The approach demonstrates high key-recovery success, notably achieving up to 92.6% OL accuracy on ITC'99 b22 and superior performance over standalone attacks in OL scenarios, while integrating with industry-grade synthesis flows and releasing open-source resources. These findings underscore security vulnerabilities in CLL and stress the need for thorough evaluation and careful selection of LL techniques in practice, with RESAA offering a realistic, end-to-end analysis tool for designers and researchers.
Abstract
The semiconductor industry's paradigm shift towards fabless integrated circuit (IC) manufacturing has introduced security threats, including piracy, counterfeiting, hardware Trojans, and overproduction. In response to these challenges, various countermeasures, including Logic locking (LL), have been proposed to protect designs and mitigate security risks. LL is likely the most researched form of intellectual property (IP) protection for ICs. A significant advance has been made with the introduction of compound logic locking (CLL), where two LL techniques are concurrently utilized for improved resiliency against attacks. However, the vulnerabilities of LL techniques, particularly CLL, need to be explored further. This paper presents a novel framework, RESAA, designed to classify CLL-locked designs, identify critical gates, and execute various attacks to uncover secret keys. RESAA is agnostic to specific LL techniques, offering comprehensive insights into CLL's security scenarios. Experimental results demonstrate RESAA's efficacy in identifying critical gates, distinguishing segments corresponding to different LL techniques, and determining associated keys based on different threat models. In particular, for the oracle-less threat model, RESAA can achieve up to 92.6% accuracy on a relatively complex ITC'99 benchmark circuit. The results reported in this paper emphasize the significance of evaluation and thoughtful selection of LL techniques, as all studied CLL variants demonstrated vulnerability to our framework. RESAA is also open-sourced for the community at large.
