Radare2 (also known as r2 ) is a free cross-platform reverse engineering framework written in C , which includes a disassembler , a hex editor , a code analyzer, and so on [2] . Used when reversing and debugging malware and firmware [3] [4] .
| Radare2 | |
|---|---|
Radare2 web interface | |
| Type of | Disassembler and reverse engineering framework |
| Author | pancake |
| Developer | pancake |
| Written on | Si |
| Interface | command line , graphical , web interface |
| operating system | Linux , BSD , OS X , Windows , Solaris , Android , iOS , Firefox OS , MeeGo , QNX , Haiku |
| Interface languages | English |
| First edition | February 2006 |
| Hardware platform | Cross platform |
| Latest version | |
| condition | Active |
| License | LGPL |
| Site | radare.org |
Content
History and Development
The radare project [5] began to develop a hacker with the nickname pancake in 2006, and for a long time, in fact, he was the only developer. Initially, the project was conceived as a hex editor with a simple console interface, allowing to find and recover data from hard drives. Therefore, it was called "a tool for computer forensic examination ." Later, according to the authors, the project concept changed, and the developers' goal was to create a full-fledged platform for analyzing binary files , in particular, executables [6] .
In 2010, there was a "redesign" of the framework, after which the project began to grow and be replenished with new functions, which allowed using it not only as an editor, but also as a disassembler and analyzer of both code and shell codes .
Composition of radare2
The radare2 framework is available as libraries and utilities:
- Rasm2 is an assembler / disassembler of the framework, executed as a separate application and allows you to disassemble both binary and separate lines.
- Rabin2 is a utility for working with various executable files (ELF, PE, Java class, Mach-O). It is used to get various information about the file: imported functions, exported symbols, sections, plug-in libraries and so on.
- Rahash2 is a utility for getting hash values in many formats from both binary files and certain parts of data.
- Radiff2 is a utility for comparing binary files.
- Rafind2 is a utility for searching both strings with and without regular expressions, as well as data in hexadecimal format or a binary pattern.
- Ragg2 is an experimental utility for compiling small programs for x86 / x64 and ARM architectures.
- Rax2 is a utility for converting data in various formats.
- Rarun2 - allows you to run the program with different environment settings, arguments, rights and directories.
- Radeco [7] is a decompiler .
Bokken
Bokken [8] - PyGtk graphical user interface for radare2.
Supported Architectures / File Formats
| Supported Architectures | Supported File Formats |
|---|---|
|
|
Version History
| Colour | Value |
|---|---|
| Red | Old version |
| Green | Current version |
| Version radare2 | Date of issue | Features |
|---|---|---|
| 0.9.2 | October 2, 2012 |
|
| 0.9.6 | November 11, 2013 |
|
| 0.9.9 | June 5, 2015 | |
| 1.0 [9] | November 6, 2016 | Added autocompletion of commands, color themes, menuetOS, KolibriOS, DOS4GW formats, improved PE, MACH0, ELF, COFF character parsers, improved Android support |
| 1.0.2 [9] | November 8, 2016 |
See also
- Reverse engineering
- IDA Pro Disassembler (Interactive DisAssembler)
Notes
- ↑ Release 3.6.0 - 2019.
- Osh Joshua J. Drake, Zach Lanier, Collin Mulliner, Pau Oliva Fora, Stephen A. Ridley. Android Hacker's Handbook . - John Wiley & Sons, 2014. - p. 495. - 576 p. - ISBN 9781118922255 .
- ↑ Workshop “Reversing and debugging malware and firmware using the radare2 framework”
- ↑ Ken Dunham, Shane Hartman, Manu Quintans, Jose Andre Morales, Tim Strazzere. Android Malware and Analysis . - CRC Press, 2014-10-24. - p. 146. - 246 p. - ISBN 9781482252194 .
- ↑ Git radare repository (English)
- ↑ Radare documentation, Chapter 1: Introduction, 1.1 History (English)
- G Git radeco repository (English)
- Bo Bokken Home Page
- ↑ 1 2 Releases · radare / radare2 · GitHub
Literature
- Boris Ryutin. On the radare in full view. Basics of working with the radare2 framework // Hacker. - 2014. - № 9 (188) .
- In English
- The radare book . - pancake, 2008. - p. 152.
- Radare2 Book
- pancake Binary Mangling with Radare // Phrack Magazine. - 2009. - № 66 .
Links
- Official site (eng.)
- Official blog (Eng.)
- Official Twitter (eng.)
- Git Repository (Eng.)
- Forum Russian-speaking users radare2