/analyze-community-ghidra-plugin

Ghidra plugin for https://analyze.intezer.com

Primary LanguagePythonBSD 3-Clause "New" or "Revised" LicenseBSD-3-Clause

Intezer Analyze Ghidra Plugin Run the plugin in Ghidra to save yourself time while reversing. The plugin helps you focus on the malicious and unique functions. For more information about the plugin visit our blog: https://www.intezer.com/blog/intezer-analyze/community-ghidra-plugin-is-here/

alt text

Installation

  1. Clone the repo.

    $ git clone https://github.com/intezer/analyze-community-ghidra-plugin.git
    
  2. Add your API key to the environment variables: create a new variable called INTEZER_API_KEY with your API key value.

  3. In Ghidra: add the path of the repo into the list of directories that Ghidra uses for its scripts. From Ghidra's first main window: click "Edit" menu > "Plugin Path..." > "Add Dir..." > Navigate to 'analyze-community-ghidra-plugin' > "Add Directory" > "OK"

  4. Upload the sample to https://analyze.intezer.com.

  5. In Ghidra, from the CodeBrowser window: click "Window" menu > "Script Manager" > Filter: 'intezer' > double click 'intezer_analyze_gh_community.py'

macOS

If you are using macOS, setting the INTEZER_API_KEY via Terminal only sets the variable for that particular session. The variable will not be found by Ghidra if it was started in the GUI. To automatically set this environment variable for everything including GUI applications, copy the file com.intezer.Analyze.plist to ~/Library/LaunchAgents in your user's home directory. Edit the file to change the fake API key to your correct API key, then logout and login again.