r/MalwareAnalysis • • 18h ago

Built a static analysis tool for PE/ELF triage: CFG view, pseudo-C and Unicorn emulation of decode stubs. What would you want from it?

2 Upvotes

I'm a pentester getting into malware RE and I've been writing a static analysis desktop app called Malhound (GPL-2.0, Windows app, analyses PE and ELF).

What it does now: Capstone disassembly with recursive descent and jump-table resolution, a control-flow graph view, an early pseudo-C lifter, Unicorn emulation to decode simple string/config decode stubs, IOC extraction, simple YARA-style and capa-style rules, and a report that states which analysis stages actually ran and which were skipped.

Tested on: WannaCry, a kernel driver, a Go binary and a 32-bit ARM Linux bot sample. Static only, no dynamic analysis has been run on a real VM yet.

Known gaps: pseudo-C still has raw asm lines, no for-loop or real switch recovery, ARM Thumb and MIPS delay slots are not handled.

Questions for people who do this daily: what do you check first when triaging an unknown PE, and what do the existing graph views get wrong that you'd fix?

Source and releases: https://github.com/LIME1Star/Malhound