notmalicio.us
06 · toolkit

Reverse Engineering

Miscellaneous reverse engineering techniques for CTFs

3 sections · 1 min read · ~/playbook/reverse-engineering

Basics

Start with strings:

strings BINNAME

Identify file type with file and/or magic bytes:

file BINNAME
head BINNAME

Look at EXIF data:

exiftool FILENAME

Run a library trace for a file:

ltrace FILENAME

ILSpy

ILSpy is a tool for decompiling .NET binaries

How to use:

  1. Download ILSpy, unzip it, cd artifacts/linux-x64, and run sudo ./ILSpy
  2. Open target binary
  3. Explore main functions

JD-GUI

JD-GUI is a Java decompiler

Usage:

jd-gui
esc
↑↓ navigate↵ openesc close