Skip to main content
Mallory
Malware5 associated actors

Nymaim

Tracked since Nov 25, 2025 · Updated 5 days ago
Trending this weekNot trendingOutside this week’s top 100
Mention activity · 30 daysNo mention activity in the last 30 days.
Vulns0Associated
Actors5Associated
ATT&CK38Techniques
IOCs225Tracked
Type
Downloader
Capabilities
Defense evasionReconnaissanceExtortion
Delivery
PhishingMalspamExploit kitDrive byLure
Platforms
Windows

Nymaim is a Windows malware family first documented in 2013, primarily used to download and execute additional malicious payloads. Early infections combined a first-stage downloader with a second-stage screen locker that demanded ransom payments. Later versions emphasized flexible payload delivery, information stealing, and system profiling. Nymaim has delivered ransomware and banking malware, notably Ursnif, and has also exhibited banking web-injection functionality that monitors banking-site visits and modifies page content to facilitate fraud. Its downloader and evasion components were combined with Gozi code to create the distinct GozNym banking trojan.

Early Nymaim campaigns relied heavily on the Blackhole exploit kit and drive-by downloads. Subsequent campaigns increasingly used phishing and malicious spam containing macro-enabled Microsoft Office documents or links to such documents. Delivery themes have included payments, shipping notifications, and public-health notices. Distributors have abused legitimate bulk email services to benefit from trusted sender and link reputations. Nymaim has also been delivered by other malware, including Pony, Emotet, and PrivateLoader.

Nymaim is notable for custom code obfuscation and anti-analysis mechanisms. Analyzed versions use encrypted configuration bytecode interpreted by an embedded virtual machine, allowing conditional execution, procedure calls, system inspection, and interaction with the malware's other components. Environment checks identify security software, debugging and sandbox-related libraries, virtualization-associated network adapters, and suspicious user or computer names. Command-and-control mechanisms have included domain generation algorithms, transformed DNS responses with checksum validation, nameserver filtering intended to avoid sinkholes, and encrypted HTTP communications. Implementation details vary between versions, and some variants substantially reduced earlier obfuscation.

Nymaim has appeared in global campaigns, including activity targeting North America, Germany, Italy, and Poland. Storm-0324, Sangria Tempest, and TA564 have been associated with its distribution. These distribution relationships do not establish ownership or development of the malware.

Is this in your environment?See whether this family's indicators match your telemetry and which of your assets are exposed to the CVEs associated with it.
Check your exposure
Threat actors

Associated threat actors

5 distinct threat actors Mallory has associated with this family across public reporting. Open in Mallory to see the full evidence chain and overlapping campaigns.

View more details →
FIN7

“The threat actors Sangria Tempest and Storm-0324 previously had been associated with the distribution of ... Nymaim downloader and locker.”

via trellix othertrellix.com
Storm-0324

“The threat actors Sangria Tempest and Storm-0324 previously had been associated with the distribution of ... Nymaim downloader and locker.”

via trellix othertrellix.com
TA564

This threat actor typically targets Canada with false shipping lures, such as CanadaPost and DHL, and have attempted to deliver Ursnif, DanaBot, and Nymaim in the past.

via proofpoint threat insight blogproofpoint.com
TA544

Poland (Defunct) Polish Nymaim Medium Volume Manufacturing Campaigns began regularly in March of 2017 and appear to have gone on hiatus in May of 2018.

via proofpoint threat insight blogproofpoint.com
FIN8

"Malicious Microsoft Office Document using encoded macros ... also seen for Nymaim ransomware delivery"

via web archiveweb.archive.org
MITRE ATT&CK

Techniques & procedures

38 distinct techniques documented for this family, organized by ATT&CK tactic.

Resource Development

1 technique
T1583Acquire InfrastructureEvidence1

Active since 2009, the Avalanche botnet has been used for money muling schemes, distributing a wide variety of malware, and as a fast-flux communication infrastructure for other botnets.

Initial Access

5 techniques
T1189Drive-by CompromiseEvidence4

At that time, Nymaim was largely distributed via the Black Hole Exploit Kit (BHEK) as a "drive-by download."

T1190Exploit Public-Facing ApplicationEvidence1

kits d'exploitation (Exploit Kits), qui scannent silencieusement les vulnérabilités des navigateurs web ou des plugins obsolètes

T1566PhishingEvidence5

In 2016, we documented distribution of the Ursnif banking Trojan via email campaigns

T1566.001Spearphishing AttachmentEvidence5

On February 17, for example, we tracked a malicious document attachment campaign in which Microsoft Word documents attached to emails with subjects "February payment" or "Fedex Delivery Notification" used macros to drop Pony onto PCs.

T1566.002Spearphishing LinkEvidence2

The emails include links from legitimate domains used by the service provider but redirect users to malicious macro-embedded documents to deliver Nymaim.

Execution

3 techniques
T1059.005Visual BasicEvidence2

When users open one of these documents, the macros download and install Nymaim.

T1204User ExecutionEvidence1

+++ using tricky locker deployment method - not just simply starting it up immediately(in this way your servers will stay 'clean' longer)

T1204.002Malicious FileEvidence3

When the user clicks the image thinking they are opening it locally, it will be downloaded using a web browser.

Stealth

10 techniques
T1027Obfuscated Files or InformationEvidence6

Nymaim ... is well known for using an advanced custom obfuscation engine, which makes it very difficult to analyse the code ... the way in which the code is written and obfuscated.

T1027.002Software PackingEvidence2

the custom "ARCH" structure known to be used by Nymaim in order to keep the aplib32 compressed data is also used by Xpaj

T1027.007Dynamic API ResolutionEvidence1

When it comes to Nymaim obfuscation capabilities it’s not nearly over. For example external functions are not called directly, instead of it an elaborate wrapper is used: This wrapper pushes hash of function name on the stack... A second dispatcher pushes hash of a dll name on the stack... And finally real dispatcher is executed.

T1027.013Encrypted/Encoded FileEvidence1

POST variable value = encrypted request (base64 encoded)... To decrypt it, we need to concatenate the key with the salt – and use that password with the rc4 algorithm.

T1070Indicator RemovalEvidence1

SignalEvent(); // pre-process termination ... Exit(0); // Exit process

T1140Deobfuscate/Decode Files or InformationEvidence1

Almost every constant used in the program is stored in a special data section. When Nymaim needs to use one of that constants, it is using special encrypted_memcpy function.

T1218.011Rundll32Evidence1

"%!system32W6432%\rundll32.exe; -%!rndl_0_0_2_1_3% %!rndl_0_0_2_3_8%.dll"

T1497Virtualization/Sandbox EvasionEvidence3

Detecting sandboxing and debugging environment (IsDebugged())

T1497.001System ChecksEvidence2

The virtual machine uses IsDebugged() for anti-debugging checks, looking for blacklisted items associated with research environments: MAC addresses associated with virtual machine platform vendors VmWare, Dell, PCS Computer Systems GmbH, Microsoft Corporation, Parallels, and Xensource.

T1622Debugger EvasionEvidence1

Loaded libraries "dbghelp.dll" and "SbieDll.dll" (parts of Debugging Tools For Windows and Sandboxie).

Defense Impairment

1 technique
T1686Disable or Modify System FirewallEvidence1

For example we can find strings typical for adding exception to Windows Firewall (and of course – that’s what malware did when executed on a real machine).

Credential Access

2 techniques
T1539Steal Web Session CookieEvidence1

payload – banker module (responsible for web injects – passive member of botnet)

T1555Credentials from Password StoresEvidence1

L’un de ces modules est notamment conçu pour intercepter les identifiants d’accès aux comptes de messagerie et aux programmes FTP, puis transmettre ces informations aux serveurs C2

Discovery

6 techniques
T1057Process DiscoveryEvidence2

Determine presence of certain processes running (IsProcessRunning())

T1082System Information DiscoveryEvidence2

the config interpreter can communicate with other parts of the Nymaim code using a structure holding initial data, which includes: IsAdmin flag; System version from a OSVERSIONINFOEXW structure; SubAuthID; Locale obtained by GetLocaleInfoA; Pointer to the PEB

T1497Virtualization/Sandbox EvasionEvidence3

Detecting sandboxing and debugging environment (IsDebugged())

T1497.001System ChecksEvidence2

The virtual machine uses IsDebugged() for anti-debugging checks, looking for blacklisted items associated with research environments: MAC addresses associated with virtual machine platform vendors VmWare, Dell, PCS Computer Systems GmbH, Microsoft Corporation, Parallels, and Xensource.

T1518Software DiscoveryEvidence1

All of these point to executables associated with antivirus applications, suggesting that IsProcessRunning() is used to detect installed AV utilities.

T1622Debugger EvasionEvidence1

Loaded libraries "dbghelp.dll" and "SbieDll.dll" (parts of Debugging Tools For Windows and Sandboxie).

Lateral Movement

1 technique
T1210Exploitation of Remote ServicesEvidence1

Another suspicious behavior is opening ports on a router with help of UPNP. Because of this, infected devices from around the world can connect to it directly.

Collection

1 technique
T1185Browser Session HijackingEvidence1

In Figure 3, Nymaim is monitoring and replacing content of a banking website while the user is browsing it.

Command and Control

9 techniques
T1071Application Layer ProtocolEvidence4

we have discovered interesting similarities in ... the communication protocol

T1071.001Web ProtocolsEvidence3

This screenshot shows traffic generated by the malware to its injection control IP address 31.184.234[.]21. The malware reports that the user is visiting a banking site. It then receives instructions on how to modify and replace content to initiate fraud on the user’s account.

T1090.003Multi-hop ProxyEvidence1

Avalanche used fast-flux DNS, a technique to hide the criminal servers, behind a constantly changing network of compromised systems acting as proxies.

T1095Non-Application Layer ProtocolEvidence1

Payload is very different from dropper when it comes to network communication: No hardcoded domain But has DGA And P2P

T1105Ingress Tool TransferEvidence9

Nymaim on its own is a dropper. It acts solely as a gateway—a delivery system for other strands of malware. GozNym uses Nymaim’s advanced stealth capabilities to unload the previously mentioned Gozi malware.

T1568Dynamic ResolutionEvidence2

A distinctive feature of Nymaim is the DNS query for the name server record (NS). Nymaim checks if any of the answers contains a word from a list it calls BlackNsWords... If Nymaim finds any of those word in the NS resource record, it will not use the domain.

T1568.001Fast Flux DNSEvidence4

Avalanche used fast-flux DNS, a technique to hide the criminal servers, behind a constantly changing network of compromised systems acting as proxies.

T1568.002Domain Generation AlgorithmsEvidence4

README.md ... Domain Generation Algorithms (DGAs) of Malware reimplemented in Python.

T1572Protocol TunnelingEvidence1

Like the earlier version of Nymaim, the A resource records are not the C2 IPs. The real addresses are obtained by transforming the IPs with a sequence of easily reversible XOR and substraction steps.

Exfiltration

1 technique
T1041Exfiltration Over C2 ChannelEvidence1

intercepter les identifiants d’accès aux comptes de messagerie et aux programmes FTP, puis transmettre ces informations aux serveurs C2

Impact

1 technique
T1486Data Encrypted for ImpactEvidence1

German Design for Bomba Locker / Lyposit (which is the same as Nymaim based on Urausy...itself inspired by Reveton June 2012)

Indicators of compromise

Observables

225 indicators attributed across vendor reports, sandbox runs, and researcher write-ups. Values are masked here and available in full in Mallory.

View all in app →
Indicator values are available in Mallory. Pivot on every hash, domain, URL, and IP, or pipe them straight into your SIEM.View all in Mallory
Mallory platform

The version that knows your environment.

This page is what’s public. Mallory adds the parts that aren’t: which of your assets match these IOCs, which detections are missing, which campaigns to expect next, and what to do in the next 30 minutes.
IOC matching225Match every observed IP, domain, and hash against your live telemetry.
Associated threat actors5Groups linked to this family, with evidence pinned to each claim.
Associated vulnerabilitiesCVEs linked to this family, with the reporting behind each link.
Detection signaturesYARA, Sigma, Snort, and vendor rules, auto-deployed to your SIEM.
MITRE ATT&CK mapping38Every documented technique, ranked by evidence weight.
Researcher chatterReddit, Mastodon, and CTI community discussion around this family.