{
  "id": "2021/1245",
  "url": "https://opencryptology.org/2021/1245",
  "original_url": "https://eprint.iacr.org/2021/1245",
  "title": "SeqL+: Secure Scan-Obfuscation with Theoretical and Empirical Validation",
  "authors": [
    "Seetal Potluri",
    "Shamik Kundu",
    "Akash Kumar",
    "Kanad Basu",
    "Aydin Aysu"
  ],
  "affiliations": null,
  "abstract": "Existing logic-locking attacks are known to successfully decrypt a functionally correct key of a locked combinational\ncircuit. Extensions of these attacks to real-world Intellectual Properties (IPs, which are sequential circuits) have been demonstrated through the scan-chain by selectively initializing the combinational logic and analyzing the responses. In this paper, we propose SeqL+ to mitigate a broad class of such attacks. The key idea is to lock selective functional-input/scan-output pairs of flip-flops without feedback to cause attackers to decrypt an incorrect key, and to scramble flip-flops with feedback to increase key length without introducing further vulnerabilities. We conduct a formal study of the scan-locking and scan-scrambling problems and demonstrate automating our proposed defense on any given IP. This study reveals the first formulation and complexity analysis of Boolean Satisfiability (SAT)-based attack on scan-scrambling. We formulate the attack as a conjunctive normal form (CNF) using a worst-case O(n^3) reduction in terms of scramble-graph size n, making SAT-based attack applicable and show that scramble equivalence classes are equi-sized and of cardinality 1. In order to defeat SAT-based attack, we propose an iterative swapping-based scan-cell scrambling algorithm that has linear implementation time-complexity and exponential SAT-decryption time-complexity in terms of a user-configurable cost constraint. We empirically validate that SeqL+ hides functionally correct keys from the attacker, thereby increasing the likelihood of the decrypted key being functionally incorrect. When tested on pipelined combinational benchmarks (ISCAS, MCNC), sequential benchmarks (ITC), and a fully-fledged RISC-V CPU, SeqL+ gave 100% resilience to a broad range of state-of-the-art attacks including SAT [1], Double-DIP [2], HackTest [3], SMT [4], FALL [5], Shift-and-Leak [6], Multi-cycle [7], Scan-flushing [8], and Removal [9] attacks.",
  "category": "Implementation",
  "license": {
    "code": "CC BY",
    "url": "https://creativecommons.org/licenses/by/4.0/",
    "label": "CC BY 4.0",
    "attribution": "“SeqL+: Secure Scan-Obfuscation with Theoretical and Empirical Validation” by Seetal Potluri, Shamik Kundu, Akash Kumar, Kanad Basu, Aydin Aysu, Cryptology ePrint Archive, Paper 2021/1245, https://eprint.iacr.org/2021/1245. Licensed under CC BY 4.0 (https://creativecommons.org/licenses/by/4.0/).",
    "retroactive": true,
    "redistribute_verbatim_only": false,
    "non_commercial": false
  },
  "dates": {
    "submitted": "2021-09-20T11:51:08Z",
    "updated": "2022-07-25T12:45:32Z",
    "withdrawn": null
  },
  "withdrawn": false,
  "withdrawn_on": null,
  "pdf": {
    "url": "https://opencryptology.org/2021/1245.pdf",
    "sha256": "babe95312ac892fb989f010907f20292e37b19726ab8147099c38eb6471c05c8",
    "size": 578738,
    "source": "github-mirror",
    "source_date": "2024-01-14T06:13:28Z",
    "maybe_stale": false,
    "newer_on_eprint": null,
    "withdrawn": false
  },
  "versions": [
    {
      "url": "https://opencryptology.org/2021/1245/versions/20240114T061328Z.pdf",
      "captured_at": "2024-01-14T06:13:28Z",
      "label": "copy captured 2024-01-14",
      "source": "github-mirror",
      "source_url": "https://raw.githubusercontent.com/arturo-kong/IACR-eprint-mirror/master/2021/1245.pdf",
      "size": 578738,
      "sha256": "babe95312ac892fb989f010907f20292e37b19726ab8147099c38eb6471c05c8",
      "is_default_pdf": true
    },
    {
      "url": "https://opencryptology.org/2021/1245/versions/20210921T092508Z.pdf",
      "captured_at": "2021-09-21T09:25:08Z",
      "label": "copy captured 2021-09-21",
      "source": "wayback",
      "source_url": "https://web.archive.org/web/20210921092508id_/https://eprint.iacr.org/2021/1245.pdf",
      "size": 5004879,
      "sha256": "eb76ca42b0f14f13e93b023d154da56be974a0e0765f5abb7ff922bf63ffc8a2",
      "is_default_pdf": false
    }
  ],
  "other_sources": [
    {
      "kind": "wayback",
      "url": "https://web.archive.org/web/20240520035545id_/https://eprint.iacr.org/2021/1245.pdf",
      "captured_at": "2024-05-20T03:55:45Z",
      "size": 526559
    },
    {
      "kind": "github-mirror",
      "url": "https://raw.githubusercontent.com/arturo-kong/IACR-eprint-mirror/master/2021/1245.pdf",
      "captured_at": "2024-01-14T06:13:28Z",
      "size": 578738
    }
  ],
  "bibtex": "@misc{cryptoeprint:2021/1245,\n      author = {Seetal Potluri and Shamik Kundu and Akash Kumar and Kanad Basu and Aydin Aysu},\n      title = {SeqL+: Secure Scan-Obfuscation with Theoretical and Empirical Validation},\n      howpublished = {Cryptology {ePrint} Archive, Paper 2021/1245},\n      year = {2021},\n      url = {https://eprint.iacr.org/2021/1245}\n}"
}
