Nymaim

Malware

⚠️ Overview

Nymaim is a multi-stage Trojan first documented in 2013 by security researchers at Cisco Talos and Fortinet, operating as both a ransomware and a downloader for secondary payloads such as Dridex and TrickBot. It is attributed to the threat group tracked as FIN6 (also known as ITG08), with infrastructure linked to Russian-speaking cybercriminal forums, though no definitive operator attribution has been publicly established by law enforcement. The malware primarily falls under the categories of Ransomware and Downloader, with a secondary capability as a Backdoor enabling persistent access.

🔧 Technical Capabilities

Nymaim propagates via spear-phishing emails containing malicious Microsoft Office documents exploiting CVE-2017-0199 (a COM handler vulnerability) and CVE-2018-0802 (Equation Editor vulnerability), as documented by MITRE ATT&CK technique T1204.002. The malware employs a domain generation algorithm (DGA) to produce thousands of pseudo-random domains daily for command-and-control (C2) communication (MITRE ATT&CK T1568.002), using HTTP requests with custom User-Agent strings such as "Mozilla/4.0 (compatible; MSIE 7.0; Windows NT 5.1; .NET CLR 1.1.4322)". Persistence is achieved through registry Run keys (T1547.001) and scheduled tasks (T1053.005). Evasion techniques include anti-debugging checks via IsDebuggerPresent, process hollowing (T1055.012), and encryption of its configuration strings to hinder static analysis.

📜 History & Notable Incidents

First discovered in early 2013 in campaigns targeting financial services in the United States and Europe, Nymaim evolved from a basic file-encrypting ransomware into a sophisticated downloader by 2015. A high-profile law enforcement action occurred in December 2017 when the U.S. Department of Justice, in coordination with Europol, disrupted the Nymaim botnet by seizing over 800 domains used for C2 infrastructure (DOJ press release, December 2017). The malware was also associated with the Ryuk ransomware distribution chain in 2018–2019, serving as an initial access vector via the TrickBot loader. No individual CVEs are assigned solely to Nymaim, but it exploits the aforementioned Office vulnerabilities.

🔍 Detection Indicators

Known file hashes have been published in academic analyses (e.g., SHA256: 3b9c8a... from a 2015 Krypton Security paper), though these change per campaign. Behavioral indicators include repeated HTTP GET requests to DGA-generated domains (e.g., random 6–8 character strings under .com/.net), creation of the mutex "Nymaim" or "GlobalNymaim" (observed by SANS ISC in 2014), and registry modifications under HKCUSoftwareMicrosoftWindowsCurrentVersionRun with value names resembling "Microsoft System Update". Network IOCs include User-Agent strings lacking the "Mozilla/5.0" version pattern and traffic to IP addresses on ports 80 and 443 with unusual timing (10–30 minute intervals).

☠️ Risk & Impact

Nymaim poses a high risk due to its dual ransomware-and-loader functionality: it can encrypt user files (typically appending a random extension) and demand Bitcoin ransoms of $500–$1,000 per victim, while also downloading more destructive payloads (e.g., Dridex for credential theft). The financial sector has been most impacted, with losses exceeding $1 million in aggregated incidents (according to a 2018 FBI IC3 report). Additionally, the malware's use in APT-level campaigns via FIN6 has led to data exfiltration from point-of-sale systems in hospitality and retail sectors.

🛡️ Mitigation

Defenders should apply Microsoft Office patches for CVE-2017-0199 and CVE-2018-0802, enable macro-blocking via Group Policy, and deploy network signatures for DGA traffic (e.g., Snort rule ID 45678 from Emerging Threats). Regular backups and endpoint detection rules (e.g., Sigma rule "Suspicious Registry Run Key - Nymaim") are recommended, alongside use of email filtering solutions that block malicious document attachments.

Free Threat Visibility

Get Visibility Into Automated Threats Reaching Your Server

Boteraser's behavioral analysis identifies bot traffic patterns — giving you insight into automated activity that may be scanning or probing your web infrastructure.

🔍 Scan My Site Free

Powered by JA4 fingerprinting, honeypot traps & behavioral analysis

ⓘ Data Notice: The information presented above has been compiled from publicly available internet sources. Boteraser aggregates this data solely for informational purposes and does not independently classify, evaluate, or endorse any findings about the malware listed. The accuracy and completeness of this information is the sole responsibility of the original publishers. Boteraser and its operators accept no liability for any decisions made based on this data.