CryptoHunt is a binary analysis tool to detect cryptographic functions in a binary trace. Now we only support 32 bit traces.
- You need to download PIN from Intel. I tested version 2.13 and 3.2, but other versions probably work as well.
- You need a g++ (above 6.0 verion) installed.
- Compile the tracer: run
make PIN_ROOT=PinDirectory TARGET=ia32 $*
in thetracer
directory. - Compile CryptoHunt: run
make
in the project root directory.
- Use the tracer to record an execution trace.
pin -t tracer/obj-ia32/instracelog.so -- yourprogram
- Run loop detection on the trace.
./loopdetect tracefile
- Compare the loop bodies.
./llse refloop targetloop