r/ExploitDev • • 5h ago

Using Paranoia (local Rust RE workbench) for binary analysis during exploit development – workflow and limitations

I’ve been using Paranoia as part of my binary analysis workflow when developing exploits, and since it’s open source (Apache-2.0) and runs fully offline, I figured it might be relevant here. This isn’t a “look at my tool” post — it’s a breakdown of what it actually does for exploit dev, and where it still falls short.

What it gives you for exploit analysis

The engine handles PE/PE32+, ELF (PIE, PLT/GOT, symbol versions), and Mach-O (universal binaries, chained fixups, export trie). For stripped binaries, it recovers functions from entry points, exports, symbols, and unwind tables — so you’re not starting from a blank graph. Go binaries keep their function names via Go’s own function table.

The decompiler covers x86 and x64 with typed variables, API constants, struct member access (Y on a variable), and types that follow calls. AArch64 decompilation is experimental and has only been measured on Go binaries, so don’t rely on it for ARM64 exploit work yet. Other architectures (ARM32, RISC-V, MIPS, PowerPC) get disassembly and graphs only.

Where it actually helps in exploit dev

  • Function memory and binary diffing: You name a function once, and the tool remembers it. When you open the next version of the target, the names and comments carry over, and you get a function-by-function diff. That’s useful for patch diffing — spotting what changed between a vulnerable and patched build.
  • Patching: Hex view, byte patches, NOP/invert/force-jump, an x86 assembler, and save patched file. For quick binary modifications during PoC development, it’s faster than spinning up a full IDA session.
  • Debugging: Local Windows (x64 and 32-bit) and Linux x86-64. The debugger runs the program you’re analysing, so for malware or untrusted targets you still need a VM — the tool doesn’t sandbox execution.
  • Scripting: Python in your own interpreter (idc and idautils work for common calls), JavaScript, plugins, and a headless batch mode. If you have existing IDA scripts, some of them will port over.

Limitations you should know before trying it

  • No independent audit. The executables aren’t Authenticode-signed yet, so SmartScreen will warn on first run.
  • Remote debugging is planned but not implemented.
  • The desktop app is Windows-only; on Linux/macOS you run the CLI or build from source.
  • MIPS has only been tested on known instruction encodings, not full binaries.
  • Raw firmware images without a PE/ELF/Mach-O header can’t be loaded yet.

What this isn’t

This is not an exploit framework. It won’t find vulnerabilities for you, and it won’t generate PoCs. It’s a disassembler/decompiler/debugger with a local database and a diffing workflow — the kind of thing you use while you’re developing an exploit, not instead of understanding the bug.

The repo has benchmarks against Ghidra (including the failures) and an architecture doc if you want to see how the engine, sandboxed shell, and frontends fit together. Happy to answer technical questions about the engine or the diffing workflow.

Link: https://github.com/Altumptic/paranoia

0 Upvotes

0 comments sorted by