Paper 2017/1119

Detection of cryptographic algorithms with grap

Léonard Benedetti
Aurélien Thierry
Julien Francq
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. We 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.

PDF
BibTeX
ePrint ↗
@misc{cryptoeprint:2017/1119,
      author = {Léonard Benedetti and Aurélien Thierry and Julien Francq},
      title = {Detection of cryptographic algorithms with grap},
      howpublished = {Cryptology {ePrint} Archive, Paper 2017/1119},
      year = {2017},
      url = {https://eprint.iacr.org/2017/1119}
}
Category
Applications
License
CC BY
Submitted
Versions

Report a problem

Comments

Log in or create an account

Privacy