Skip to main content
Mallory
← Back to News
offensive-tooling-releasedefense-evasion-methoddetection-content-update

Open-Source Tools Demonstrate Nymaim Malware Deobfuscation in IDA Pro

Attack Tradecraft · 2 sources · Updated 4mo ago · First seen Jan 18, 2019

Open-Source Tools Demonstrate Nymaim Malware Deobfuscation in IDA Pro

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.
Who uses this technique?Get the actors, campaigns, and ATT&CK mapping behind it.
Get the tradecraft
Event timeline

How this story unfolded

Events from the most recent confirmed update back to the earliest known activity.

2 events · Nov 4, 2014 – Jan 18, 2019
  1. Jan 18, 20198y ago

    Nymaim deobfuscation proof-of-concept published on GitHub

    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.

    Malware-Scripts/Nymaim at master · coldshell/Malware-Scripts · GitHub
  2. Nov 4, 201412y ago

    Patchwork deobfuscation tool created for Spring9 Nymaim demo

    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.

    daniel_plohmann / idapatchwork - Bitbucket
Linked entities

Related entities

Vulnerabilities, threat actors, malware, products, organizations, breaches, and observables Mallory has linked to this story. Indicator values are masked here and available in full in the app.

Open in app →

Malware

1 linked

Affected products

1 linked
Ida Pro

Observables

1 linked

Indicator values are masked on this page. See the values in Mallory Domains, IPs, hashes, and URLs are exportable to your SIEM.

Do you run this?Get the adversaries, campaigns, and ATT&CK mapping behind this technique, with detections ready to deploy.
See Who Uses This Technique
Mallory platform

See the full picture, correlated to your attack surface.

This page covers what’s public. Mallory adds the parts that aren’t: which of your assets are affected, which threat actors are using it right now, and what to deploy next.

Exposure mappingMap indicators from this story to your assets and identify affected systems in minutes.
Threat actor evidenceEvery observed campaign, victim, and pivot linked to actors named in this story.
Associated malwareMalware, exploits, and IOCs connected to the activity described here.
Detection signaturesYARA, Sigma, and Snort rules deployed to your SIEM as soon as they’re published.
Scheduled alertsGet matching new stories delivered to your team as they break, not the next morning.
AI threadsAsk questions about this story and take action on the answers.