Difference between pages "Tutorials/Reverse engineering embedded software using Radare2" and "Tutorials"

From LCA2015 Delegate wiki
(Difference between pages)
Jump to: navigation, search
(Created page with "== Outline == We will try and get through all the following: * Introduction to Radare2 reverse engineering tool * The Radare2 utilities * Basics of using the Radare2 reverse...")
 
 
Line 1: Line 1:
== Outline ==
+
{{Trail|Programme}}
 +
Requirements and notes on tutorials here.
  
We will try and get through all the following:
+
* [[pgReplicationTutorial|PostgreSQL Replication Tutorial]]
 
+
* [[Tutorials/Drupal8_outta_the_box|Drupal8 outta the box]]
* Introduction to Radare2 reverse engineering tool
+
* [[Tutorials/Reverse engineering embedded software using Radare2|Reverse Engineering Embeded Software and Radare2 Tutorial]]
* The Radare2 utilities
+
* Basics of using the Radare2 reverse engineering to with a binary you probably have on your laptop
+
* Looking at an arduino binary
+
* Introduction to MIPS architecture and assembly
+
* Extracting firmware images
+
 
+
You might like to bring your own binary to play with as well instead!
+
 
+
== Prerequisites ==
+
 
+
If you are planning to work through the examples and try your own thing during the session, you really want to get this sorted before the event.
+
 
+
Minimum requirements:
+
* a C compiler and libraries needed to build radare2 - the "apt-gettable" version is out of date
+
* xdot for viewing callgraphs.
+
 
+
Various other tools may be helpful, and indeed needed (e.g. an editor) to complete some of the examples
+
 
+
If you are using a Debian-derived distro, for example:
+
 
+
    sudo apt-get install build-essential xdot eog ghex binwalk vim gedit srecord
+
 
+
It should be possible to build radare2 on Linux, FreeBSD/NetBSD etc, Max OS/X and Windows and possibly on Android if you try hard enough (using a Debian root, for example)
+
 
+
However, the tutorial examples have only been tested using Debian Wheezy.
+
 
+
=== Clone & build radare2 ===
+
 
+
Note, changing to the lca2015_tutorial branch is important, because the software is under active development there could be breakage in master upstream
+
 
+
    git clone http://github.com/pastcompute/radare2
+
    cd radare2
+
    git checkout tutorial_branch
+
    ./configure
+
    make -j
+
    sudo make symstall
+
 
+
Note, you can install as a normal user if you need to:
+
 
+
    ./configure --prefix=$HOME/path/to/wherever
+
    make -j
+
    sudo make symstall
+
    export PATH=$HOME/path/to/wherever:$PATH
+
 
+
Clone the examples repository
+
 
+
    cd
+
    git clone http://github/com/pastcompute/lca2015-radare2-tutorial
+

Revision as of 22:09, 9 January 2015

< Main Page < Programme

Requirements and notes on tutorials here.