{
  "id": "2017/1119",
  "url": "https://opencryptology.org/2017/1119",
  "original_url": "https://eprint.iacr.org/2017/1119",
  "title": "Detection of cryptographic algorithms with grap",
  "authors": [
    "Léonard Benedetti",
    "Aurélien Thierry",
    "Julien Francq"
  ],
  "affiliations": null,
  "abstract": "The disassembled code of an executable program can be seen as a graph representing the possible sequence of instructions (Control Flow Graph). grap is a YARA-like tool, completely open-source, and able to detect graph patterns, defined by the analyst, within an executable program.\n\nWe used grap to detect cryptographic algorithms: we created patterns for AES and ChaCha20 that are based on parts of the assembly code produced by compiling popular implementations (available in LibreSSL and libsodium). Our approach is thus based on the algorithms and their structure and does not rely on constant detection.",
  "category": "Applications",
  "license": {
    "code": "CC BY",
    "url": "https://creativecommons.org/licenses/by/4.0/",
    "label": "CC BY 4.0",
    "attribution": "“Detection of cryptographic algorithms with grap” by Léonard Benedetti, Aurélien Thierry, Julien Francq, Cryptology ePrint Archive, Paper 2017/1119, https://eprint.iacr.org/2017/1119. Licensed under CC BY 4.0 (https://creativecommons.org/licenses/by/4.0/).",
    "retroactive": true,
    "redistribute_verbatim_only": false,
    "non_commercial": false
  },
  "dates": {
    "submitted": "2017-11-24T06:46:25Z",
    "updated": "2017-11-24T06:46:25Z",
    "withdrawn": null
  },
  "withdrawn": false,
  "withdrawn_on": null,
  "pdf": {
    "url": "https://opencryptology.org/2017/1119.pdf",
    "sha256": "aa98b39a0708ea75dad7191807c2b083ea26813ad788107e222941631e915e06",
    "size": 584252,
    "source": "github-mirror",
    "source_date": "2019-02-25T17:41:11Z",
    "maybe_stale": false,
    "newer_on_eprint": null,
    "withdrawn": false
  },
  "versions": [
    {
      "url": "https://opencryptology.org/2017/1119/versions/20190225T174111Z.pdf",
      "captured_at": "2019-02-25T17:41:11Z",
      "label": "copy captured 2019-02-25",
      "source": "github-mirror",
      "source_url": "https://raw.githubusercontent.com/arturo-kong/IACR-eprint-mirror/master/2017/1119.pdf",
      "size": 584252,
      "sha256": "aa98b39a0708ea75dad7191807c2b083ea26813ad788107e222941631e915e06",
      "is_default_pdf": true
    }
  ],
  "other_sources": [
    {
      "kind": "wayback",
      "url": "https://web.archive.org/web/20251230072706id_/https://eprint.iacr.org/2017/1119.pdf",
      "captured_at": "2025-12-30T07:27:06Z",
      "size": 585182
    },
    {
      "kind": "github-mirror",
      "url": "https://raw.githubusercontent.com/arturo-kong/IACR-eprint-mirror/master/2017/1119.pdf",
      "captured_at": "2019-02-25T17:41:11Z",
      "size": 584252
    }
  ],
  "bibtex": "@misc{cryptoeprint:2017/1119,\n      author = {Léonard Benedetti and Aurélien Thierry and Julien Francq},\n      title = {Detection of cryptographic algorithms with grap},\n      howpublished = {Cryptology {ePrint} Archive, Paper 2017/1119},\n      year = {2017},\n      url = {https://eprint.iacr.org/2017/1119}\n}"
}
