Set up Ghidra on Macbook.

There are many guides and setups for Ghidra on Macbooks (and even for Windows). But now, we only want to focus on setting up this reverse-engineering software on Macbooks. First, go to Ghidra's official website (https://ghidra-sre.org/) or their GitHub (https://github.com/NationalSecurityAgency/ghidra?tab=readme-ov-file) and follow its installation guide thoroughly. Then, install the Java OpenJDK 21 version. If you don’t have Gradle installed, please do so.
NOTE: WHEN INSTALLED GRADLE VIA HOMEBREW, PLEASE SURE YOUR X-CODE IS ALREADY INSTALLED. IF YOU HAVE A “METAL” ISSUE, RUN xcode-select --switch /Applications/
Xcode.app/Contents/Developer
IN YOUR TERMINAL AND YOU ARE GOOD TO GO.
Then, run gradle -I gradle/support/fetchDependencies.gradle
to install the dependencies. To launch, run gradle buildGhidra
.
NOTE: IF YOUR GRADLE HAVE A FEW ISSUES, JUST RUN gradle run build
Note from me: It is recommended that you set up your lab using your favorite VMs and choose any distros or OS, such as Windows, to use this software.
Subscribe to my newsletter
Read articles from Ahmad Irfan directly inside your inbox. Subscribe to the newsletter, and don't miss out.
Written by
