{
  "id": "2022/029",
  "url": "https://opencryptology.org/2022/029",
  "original_url": "https://eprint.iacr.org/2022/029",
  "title": "CRYScanner: Finding cryptographic libraries misuse",
  "authors": [
    "Amit Choudhari",
    "Sylvain Guilley",
    "Khaled Karray"
  ],
  "affiliations": null,
  "abstract": "Cryptographic libraries have become an integral part of every digital device. Studies have shown that these systems are not only vulnerable due to bugs in cryptographic libraries, but also due to misuse of these libraries. In this paper, we focus on vulnerabilities introduced by the application developer. We performed a survey on the potential misusage of well-known libraries such as PKCS #11. We introduced a generic tool CRYScanner, to identify such misuses during and post-development. It works on the similar philosophy of an intrusion detection system for an internal network. This tool provides verification functions needed to check the safety of the code, such as detecting incorrect call flow and input parameters.\n\nWe performed a feature-wise comparison with the existing state of the art solutions. CRYScanner includes additional features, preserving the capabilities of both static and dynamic analysis tools. We also show the detection of potential vulnerabilities in the several sample codes found online.",
  "category": "Cryptographic protocols",
  "license": {
    "code": "CC BY",
    "url": "https://creativecommons.org/licenses/by/4.0/",
    "label": "CC BY 4.0",
    "attribution": "“CRYScanner: Finding cryptographic libraries misuse” by Amit Choudhari, Sylvain Guilley, Khaled Karray, Cryptology ePrint Archive, Paper 2022/029, https://eprint.iacr.org/2022/029. Licensed under CC BY 4.0 (https://creativecommons.org/licenses/by/4.0/).",
    "retroactive": false,
    "redistribute_verbatim_only": false,
    "non_commercial": false
  },
  "dates": {
    "submitted": "2022-01-10T07:52:05Z",
    "updated": "2022-04-30T18:33:46Z",
    "withdrawn": null
  },
  "withdrawn": false,
  "withdrawn_on": null,
  "pdf": {
    "url": "https://opencryptology.org/2022/029.pdf",
    "sha256": "9818c29a350b45b19348217cec9e567d37d2610ab0501dd14292aa45be3713dd",
    "size": 254623,
    "source": "github-mirror",
    "source_date": "2024-01-14T06:13:34Z",
    "maybe_stale": false,
    "newer_on_eprint": null,
    "withdrawn": false
  },
  "versions": [
    {
      "url": "https://opencryptology.org/2022/029/versions/20240114T061334Z.pdf",
      "captured_at": "2024-01-14T06:13:34Z",
      "label": "copy captured 2024-01-14",
      "source": "github-mirror",
      "source_url": "https://raw.githubusercontent.com/arturo-kong/IACR-eprint-mirror/master/2022/29.pdf",
      "size": 254623,
      "sha256": "9818c29a350b45b19348217cec9e567d37d2610ab0501dd14292aa45be3713dd",
      "is_default_pdf": true
    },
    {
      "url": "https://opencryptology.org/2022/029/versions/20220126T053718Z.pdf",
      "captured_at": "2022-01-26T05:37:18Z",
      "label": "copy captured 2022-01-26",
      "source": "wayback",
      "source_url": "https://web.archive.org/web/20220126053718id_/https://eprint.iacr.org/2022/029.pdf",
      "size": 254289,
      "sha256": "3851d8aa0a32ba89ba8e0c807216f2f48687273011792e2718cd788aa34f010c",
      "is_default_pdf": false
    },
    {
      "url": "https://opencryptology.org/2022/029/versions/20220110T111411Z.pdf",
      "captured_at": "2022-01-10T11:14:11Z",
      "label": "copy captured 2022-01-10",
      "source": "wayback",
      "source_url": "https://web.archive.org/web/20220110111411id_/https://eprint.iacr.org/2022/029.pdf",
      "size": 253373,
      "sha256": "6d9bc2754e68aac14903f6fa34eb9047bcce3af107154ebf8fe90efba503616e",
      "is_default_pdf": false
    }
  ],
  "other_sources": [
    {
      "kind": "wayback",
      "url": "https://web.archive.org/web/20240930190402id_/https://eprint.iacr.org/2022/029.pdf",
      "captured_at": "2024-09-30T19:04:02Z",
      "size": 242697
    },
    {
      "kind": "github-mirror",
      "url": "https://raw.githubusercontent.com/arturo-kong/IACR-eprint-mirror/master/2022/29.pdf",
      "captured_at": "2024-01-14T06:13:34Z",
      "size": 254623
    }
  ],
  "bibtex": "@misc{cryptoeprint:2022/029,\n      author = {Amit Choudhari and Sylvain Guilley and Khaled Karray},\n      title = {CRYScanner: Finding cryptographic libraries misuse},\n      howpublished = {Cryptology {ePrint} Archive, Paper 2022/029},\n      year = {2022},\n      url = {https://eprint.iacr.org/2022/029}\n}"
}
