Open-Source Tools Demonstrate Nymaim Malware Deobfuscation in IDA Pro
Attack Tradecraft · 2 sources · Updated 4mo ago · First seen Jan 18, 2019

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.
Why it matters
Impact assessment
This story does not describe a new vulnerability or active campaign; it describes public reverse-engineering tooling for the Nymaim malware family. The primary impact is to defenders, malware analysts, and threat research teams, who can use these tools to accelerate analysis of heavily obfuscated Nymaim samples and improve detection engineering.
Business and operational impact
- Affected users: malware analysts, DFIR teams, threat intel teams, and organizations tracking Nymaim-related activity.
- Severity: low direct business impact; moderate defensive value because the tooling can shorten analysis time and improve understanding of Nymaim internals.
- Scope: niche and targeted to reverse-engineering workflows in IDA Pro rather than broad enterprise exposure.
- Exploitation in the wild: not described in this story. No new intrusion activity, victimology, or active exploitation claims are provided.
Extracted entities and facts
- Malware family: Nymaim.
- Analysis platforms and dependencies: IDA Pro, miasm, grap, PyEmu, pydasm, Python 2.7.
- Repositories:
- GitHub: Malware-Scripts / Nymaim by user coldshell.
- Bitbucket: idapatchwork by daniel_plohmann.
- Published references:
- GitHub reference dated 2019-01-18.
- Bitbucket reference dated 2014-11-04.


