Awesome
BinaryAI Plugin for Ghidra / IDA Pro
Upload your binary to binaryai.net and wait for the analysis finishes, then you can download the result json file with BinaryAI similarity
button.
Or try with binaries and results in samples
.
Load result with Ghidra
- Download
binaryai.py
and put it in$USER_HOME/ghidra_scripts
- Open your binary in Ghidra
- Open
Window -> Script Manager
, findbinaryai.py
and double click to run script - Select the result json file downloaded from binaryai.net in the file dialog
- Open
Window -> Bookmark
to see all matched functions inBinaryAI
category, navigate in code browser to see matched function details
Load result with IDA Pro
- Download
binaryai.py
and put it in$IDA_INSTALL_DIR/plugins
- Install dependency:
pip install pygments
- Open your binary in IDA Pro
- Invoke the plugin with
Ctrl-Shift-B
orEdit -> Plugins -> BinaryAI
- Select the result json file downloaded from binaryai.net in the file dialog
- Matched functions will be highlighted in
Functions window
, navigate inIDA view
orPesudocode view
to see matched function details