r/ReverseEngineering • • 2d ago

Malhound: static malware RE tool (Windows PE + Linux ELF/.deb) with CFG graph view, pseudo-C lifter and Unicorn decode-stub emulation (GPL-2.0, early)

https://github.com/LIME1Star/Malhound
7 Upvotes

1 comment sorted by

-1

u/Financial_Yam4336 2d ago

Author here. Malhound is an early, static-analysis-first desktop tool (Tauri/React GUI, C17 PE core, Python orchestrator, Capstone).

What it does:

  • PE parsing, recursive-descent disassembly with CFG and jump-table recovery
  • Unicorn emulation of simple decode stubs, recursive unpacking, IOC extraction
  • Early pseudo-C lifter (if/else, while/do-while, early returns; no for-loops or real switch yet, still has raw asm comment lines)
  • ELF reader and disassembly for x86, x86-64, ARM, AArch64, MIPS (not handled: ARM Thumb, MIPS delay slots), plus .deb unpacking
  • Simplified YARA/capa-style rule engines
  • Every report has a "claims audit" listing what was actually run vs skipped

Limits, upfront:

  • Accuracy has no baseline corpus yet

Tested on a kernel driver, a Go binary, WannaCry and a 32-bit ARM Linux bot sample. Licensed GPL-2.0-only (it bundles Unicorn).

I'd like technical criticism, especially on the CFG/jump-table recovery and the lifter's structuring. Happy to write up the lifter design if that's useful.