Researchers published proof-of-concept tooling to deobfuscate Nymaim malware, showing how analysts can recover cleaner code and improve reverse engineering in IDA Pro. One GitHub project, Nymaim deobfuscation, uses miasm for emulation and grap for graph-pattern matching to identify and patch common Nymaim obfuscation routines such as push_reg, detour_call, and detour_jmp, then generates an IDA script to rename functions and produce a cleaned sample.
A related Bitbucket project, Patchwork, was built to demonstrate malware deobfuscation against the same malware family inside IDA using a modified PyEmu engine. The author described upgrades including stronger memory management, better support for uncommon x86 instructions, and a Python 2.7-compatible rebuild of pydasm, alongside setup guidance for loading Nymaim samples and running the deobfuscation workflow, underscoring a broader effort to automate analysis of heavily obfuscated Nymaim binaries.

Mallory correlates global threat intelligence with your attack surface — know if you’re exposed before adversaries strike.
2 events from the most recent confirmed update back to the earliest known activity.
A public GitHub repository directory for Nymaim deobfuscation was made available in the Malware-Scripts project maintained by coldshell. The proof-of-concept used miasm for emulation and grap for graph-pattern matching to patch Nymaim obfuscation patterns and generate an IDA renaming script plus a cleaned sample.
Daniel Plohmann published the unfinished Patchwork tool to demonstrate malware deobfuscation in IDA Pro against Nymaim samples. The repository included a refurbished PyEmu with improved memory management, rare x86 instruction handling, and a Python 2.7-compatible pydasm build for newer IDA versions.
Vulnerabilities, threat actors, malware, products, organizations, and breaches Mallory has linked to this story.
2 references tracked. Mallory keeps watching after this page renders.
Map indicators from this story to your assets and identify affected systems in minutes.
Every observed campaign, victim, and pivot linked to actors named in this story.
Malware, exploits, and IOCs connected to the activity described here.
YARA, Sigma, and Snort rules deployed to your SIEM as soon as they’re published.
Get matching new stories delivered to your team as they break — not the next morning.
Ask questions about this story and take action on the answers.