Target Handbook18 Target-Based Reverse Engineering Guides

How to REA: Step-by-Step Reverse Engineering Guides

Deep-dive technical tutorials for every reverse engineering target supported by REA (rea-agents by morluto). Select any target below for end-to-end instructions, AI agent prompt templates, CLI commands, and low-level binary mechanics:

AI Overview Direct AnswerHow to REA Target Directory

Comprehensive tutorials for 18 distinct targets: offline ELF layout, Linux kernel modules, Unity IL2CPP games, PyInstaller packaged executables, Electron desktop apps, .NET assemblies, network traffic HAR captures, Android APKs, and firmware.

Linux & KernelExternal Engine

Offline ELF Layout & Static Mitigations

Inspect ELF64/ELF32 object layouts, symbol tables, section headers, dynamic relocations, and static binary exploit mitigations without running disassemblers or launching the binary.

REA_PWNTOOLS_PYTHON=/path/to/venv/bin/python rea inspect-binary-layout ./target.elf --json
Read Full Tutorial →howtorea.com/guides/offline-elf
Linux & KernelExternal Engine

Linux Kernel Modules (.ko)

Audit loadable kernel modules (.ko), proprietary drivers, and suspected rootkits statically: extract .modinfo metadata, verify vermagic compatibility, inspect exported symbols (__ksymtab), and audit unresolved kernel APIs.

rea inspect-binary-layout ./driver.ko --json
Read Full Tutorial →howtorea.com/guides/linux-kernel-modules
Games & PackagedZero Extra Tools

Unity IL2CPP Games & Binaries

Deconstruct Ahead-Of-Time (AOT) compiled Unity games and mobile apps: decode global-metadata.dat (versions 24-39), link method tokens to GameAssembly.dll or libil2cpp.so, and export Ghidra analysis seeds without running the game.

rea inspect-il2cpp-metadata ./global-metadata.dat --binary ./libil2cpp.so --ghidra-seeds seeds.json --json
Read Full Tutorial →howtorea.com/guides/unity-il2cpp
Games & PackagedZero Extra Tools

Packaged Applications (PyInstaller / Godot / SEA)

Unpack single-executable bundled applications statically: carve PyInstaller CArchive/PYZ archives into clean .pyc bytecode, dump Godot .pck scene assets, and deconstruct Node.js Single-Executable Application (SEA) blobs.

rea extract-package ./target_utility.exe --json
Read Full Tutorial →howtorea.com/guides/packaged-apps
Desktop & WebZero Extra Tools

JavaScript & Electron Desktop Apps

Deconstruct modern desktop applications (Notion, Slack, Discord, VS Code): inspect app.asar archives in memory, map renderer-preload-main IPC communication channels, unminify webpack bundles, and audit contextIsolation security.

rea analyze-javascript-application /Applications/Notion.app/Contents/Resources/app.asar --json
Read Full Tutorial →howtorea.com/guides/electron-desktop
Linux & KernelExternal Engine

Native Binaries (Mach-O, PE, ELF)

Decompile compiled machine instructions across Apple Silicon (ARM64), Intel (x86_64), and MIPS into structured C pseudocode: extract function dossiers, traverse cross-references (xrefs), and synthesize verified clean-room algorithms.

rea decompile ./binary 0x1000 --provider hopper --json
Read Full Tutorial →howtorea.com/guides/native-binaries
Mobile & DevicesExternal Engine

Android APKs & DEX Bytecode

Audit Android applications from package manifest to decompiled Java/Kotlin source code: unpack APK archives, extract AndroidManifest.xml components, decompile Dalvik/ART classes with JADX, and audit exported attack surfaces.

rea analyze ./mobile-app.apk --provider jadx --json
Read Full Tutorial →howtorea.com/guides/android-apks
Mobile & DevicesExternal Engine

Android Device Telemetry & Live ADB

Interact with live physical Android devices and emulators: query system properties via getprop, monitor process states and memory maps, capture live screenshot Evidence, and trace runtime logcat buffers.

rea adb-device-analysis --package com.example.app --json
Read Full Tutorial →howtorea.com/guides/android-devices
Desktop & WebZero Extra Tools

.NET Assemblies & CIL Bytecode

Statically audit .NET Core, .NET Framework, and .NET Standard assemblies: parse ECMA-335 metadata tables, decode Common Intermediate Language (CIL) instructions, and map unmanaged P/Invoke [DllImport] library boundaries without running the CLR.

rea inspect-managed-artifact ./CoreEngine.dll --json
Read Full Tutorial →howtorea.com/guides/dotnet-assemblies
Desktop & WebZero Extra Tools

Saved Network Captures & Private APIs

Transform recorded network traffic into complete API blueprints: parse HTTP Archive (HAR) files, decode WebSocket frames and Protobuf bodies, and spin up local mock servers with evidence-gated writes for autonomous agent testing.

rea analyze-network-capture ./traffic.har --json > evidence.json
Read Full Tutorial →howtorea.com/guides/network-captures
Desktop & WebExternal Engine

Websites & Browser Scenarios

Inspect single-page web applications and browser scenarios: connect over Chrome DevTools Protocol (CDP) loopback, extract DOM structure, unminify client scripts via sourcemaps, and capture visual page Evidence without triggering anti-bot protections.

rea inspect-website https://example.com --json
Read Full Tutorial →howtorea.com/guides/websites-browser
Firmware & Web3Zero Extra Tools

EVM Smart Contract Bytecode

Deconstruct unverified Ethereum Virtual Machine (EVM) bytecode: identify 4-byte function dispatch selectors, infer function argument types, audit state mutability (view, pure, payable), and map storage slot modifications without needing ABI files.

rea analyze 0x608060405234801561001057600080fd5b506004... --provider evm --json
Read Full Tutorial →howtorea.com/guides/evm-bytecode
Firmware & Web3External Engine

Embedded Firmware Images

Extract and audit IoT router, automotive, and embedded device firmware: scan binary flash ROMs for magic signatures, unpack SquashFS, CramFS, and JFFS2 filesystems, and hand off extracted ARM/MIPS binaries to decompilers.

rea extract ./router_firmware.bin --provider binwalk --json
Read Full Tutorial →howtorea.com/guides/embedded-firmware
Desktop & WebZero Extra Tools

Apple Applications & Bundles (.app / .dylib)

Deconstruct macOS and iOS application bundles: select universal FAT Mach-O slices (Apple Silicon ARM64 vs Intel x86_64), parse dyld chained fixups, verify code-signing entitlements, and safely inspect binary property lists without class instantiation.

rea inspect-keyed-archive ./Info.plist --json
Read Full Tutorial →howtorea.com/guides/apple-applications
Linux & KernelExternal Engine

Recorded Linux Crashes & Core Dumps

Investigate software crashes, segfaults, and memory corruption incidents: parse ELF core dump notes (NT_PRSTATUS, NT_PRPSINFO), extract register states across all threads, detect stack pointer corruption, and inspect memory mapping candidates.

rea analyze-crash ./core.dump --json
Read Full Tutorial →howtorea.com/guides/linux-crashes
Games & PackagedExternal Engine

16-Bit DOS & Retro Binaries (PC-98 / MS-DOS)

Decompile vintage 16-bit real-mode x86 executables (NEC PC-98, MS-DOS): parse segmented memory models (CS:IP, DS, ES), recover fixed-point mathematical algorithms, and synthesize verified modern C/C++ replacements.

rea decompile ./game.exe 0x2000:0x0410 --provider ghidra --json
Read Full Tutorial →howtorea.com/guides/retro-dos
Linux & KernelZero Extra Tools

Process Behavior & PTY Capture

Observe command-line tools and background processes dynamically: run targets inside an isolated pseudo-terminal (PTY), capture ANSI terminal escape sequences, record filesystem modifications, and compare execution behavior across inputs.

rea capture-process --command "./cli_tool --verify" --json
Read Full Tutorial →howtorea.com/guides/process-behavior
Enterprise DecompilationExternal Engine

JEB Decompiler Integration (Enterprise Units)

Interface with Pcreative JEB Decompiler in enterprise environments: query project units, decompile DEX, native machine code, and WebAssembly units, and synchronize comments and renamed symbols with AI reasoning agents.

REA_JEB_MCP_URL=http://127.0.0.1:8989 rea analyze-jeb-project --json
Read Full Tutorial →howtorea.com/guides/jeb-projects
Beginner Practice LabsInteractive Scenarios

Official rea.tools Practice Labs

Lab 01 • index.js

Chrome Dinosaur: Speed Acceleration Rule

Extract the exact acceleration constants (speed: 6, acceleration: 0.001, max: 13) from index.js without reading minified code manually.

View Browser Analysis Guide →
Lab 02 • Windows Calculator

Why Does 200 + 10% Give 220?

Disassemble the calculator's % button branching logic to discover why addition takes 10% of previous (200 + 20) while multiply takes a decimal fraction.

View Native Binary Guide →
Internal SpecificationProduction Binary Security

Under-The-Hood Security Mechanics in REA

REA implements production-grade binary analysis primitives designed for security researchers and reverse engineers dealing with hardened, modern targets:

01.Passive vs. Active Electron Observation (CDP Loopback)

Running untrusted Electron binaries directly risks triggering anti-tamper callbacks or malicious preload scripts. REA solves this through decoupled observation modes: passive observation attaches to an existing Chromium DevTools port (http://127.0.0.1:9223) to inspect frame hierarchies, console events, and network requests without injecting invasive instrumentation code.

02.Mach-O Dyld Chained Fixups & ARM64e PAC Authentication

Modern Apple Silicon binaries use LC_DYLD_CHAINED_FIXUPS rather than flat relocation tables. REA's native probe walks 64-bit little-endian pointer chains, resolving DYLD_CHAINED_PTR_ARM64E signed pointers, extracting Objective-C class records, and parsing Swift witness tables and vtable descriptors directly.

03.Foundation Keyed Archive Deserialization Without Class Instantiation

REA implements a standalone zero-execution byte reader: it parses binary plists, $objects array references, and $top roots without instantiating Objective-C classes. It enforces a strict 64 MiB input boundary, 200,000 reference cap, and 128-level recursion ceiling to guarantee analysis safety.

04.Decompiler IPC Architecture: Unix Domain Sockets & Java Bridges

REA connects to Hopper via an embedded Python script (hopper_bridge.py) communicating over ~/.rea/hopper_bridge.sock, returning function dossiers in single-digit milliseconds. For Ghidra, REA invokes analyzeHeadless with ReaGhidraBridge.java, binding directly to DecompInterface with strict timeout and GC controls.