References
  • Welcome!
  • Crypto
    • Bases
    • Nonces
    • RSA
    • Simple Ciphers
  • Pwn
    • Canary
    • Format String Attack
      • Fuzzer
    • NX, PIE, RELRO and ASLR
    • pwntools
    • The GOT and the PLT
  • Reverse Engineering
    • Assembly
    • CTF Tips And Tricks
    • Tools
      • Angr
    • Tools Setup
  • Web
    • JWT
  • Forensics
    • Analysing Network Packet Captures
    • Disk Images
    • Steganography
Powered by GitBook
On this page
  • Radare 2
  • Windows:
  • Ghidra:
  • Linux:
  • Windows:

Was this helpful?

Export as PDF
  1. Reverse Engineering

Tools Setup

Radare 2

Kali comes pre-installed with radare2. You can check by doing:

$ radare2 --version

If it's not installed, then we can either download it from apt

$ apt-get install radare2

Windows:

Or you can install it from github:

$ git clone https://github.com/radare/radare2.git
$ cd radare2
$ sys/install.sh

(Or without root permissions)

$ sys/user.sh

And then to run it:

$ r2

Ghidra:

Ghidra is a tool that the NSA released for it to be open source back in April 2019, and it's an amazing tool.\

The software needed to install ghidra is as follows (taken exactly from the installation guide):\

  • Java 11 64-bit Runtime and Development Kit (JDK)

  • Free long term support (LTS) versions of JDK 11 are provided here:

    • AdoptOpenJDK

    • Amazon Corretto

Linux:

Once you've downloaded ghidra as a zip file, you need to unzip:

$ unzip ghidra_*_PUBLIC_*.zip
$ sudo apt-get install default-jdk

Change directories into the ghidra folder, and then run using

$ ./ghidraRun

Windows:

Extract the zip file to any location that you would like (I'm going to be using the desktop)

  • Right click on zip -> extract all / extract (here)

Open the Environment Tables window:

  • Right click on windows start button -> Click on "System"

  • Click "Advanced System Settings" on the left (Administrative priveleges needed)

  • Click "Environment Variables" at the bottom

Add the JDK bin directory to the PATH variable

  • Under "System Variables", click "Path" -> edit -> new

  • Type the path of where you extracted the zip to + "\bin"

  • Click "ok" -> "ok" -> "ok"

To run:

  • Navigate to zip extraction path

  • Run ghidra.bat

PreviousAngrNextJWT

Last updated 4 years ago

Was this helpful?

Official download link:

Github page:

Full installation guide found here:

If, for whatever reason, your installation doesn't go as expected, here is ghidra's troubleshooting page:

https://www.ghidra-sre.org/
https://github.com/NationalSecurityAgency/ghidra
https://ghidra-sre.org/InstallationGuide.html
https://ghidra-sre.org/InstallationGuide.html#Troubleshooting