Short Tutorial: Reverse Engineering Tool radare2

radare2 is a reverse engineering tool/framework that is extremely useful for disassembling, debugging, patching, and analyzing binaries. This tool is pre-installed on the popular Kali Linux operating system. radare2 is based on a command-line interface tool. This blog covers installation/ uninstallation and utilities available in radare2 tool.

Installation

You can install it by using the below set of commands:

git clone https://github.com/radareorg/radare2
cd radare2 
sudo sys/install.sh

Uninstallation

make uninstall
make purge

Utilities available with radare2

rax2helps in base conversions
rabin2extract information from executable binaries
radiff2display differences
radare2main tool in the framework
rasm2support multiple architectures including Intel x86, x86-64 for assembling and disassembling
rahash2supports multiple cryptographic algorithms to check the integrity of files
rafind2help in finding byte patterns in files
ragg2compile high-level program into binaries (x86, x86-64, ARM)
rarun2Useful for Solving crackmes, Fuzzing and Test suites

Available options in rax2

Available options in rabin2

rabin2 -I <classes.dex>

Available options in radiff2

Available options in radare2

Available options in rasm2

Available options in rahash2

Available options in rafind2

Available options in ragg2

Available options in rarun2

r2frida

It is a project that allows the connection of radare2 with the popular tool Frida. This project works well both for Android and iOS environments.

Subscribe us to receive more such articles updates in your email.

If you have any questions, feel free to ask in the comments section below. Nothing gives me greater joy than helping my readers!

Disclaimer: This tutorial is for educational purpose only. Individual is solely responsible for any illegal act.

You may also like...

Leave a Reply

Your email address will not be published. Required fields are marked *

10 Blockchain Security Vulnerabilities OWASP API Top 10 - 2023 7 Facts You Should Know About WormGPT OWASP Top 10 for Large Language Models (LLMs) Applications Top 10 Blockchain Security Issues