NimzaLoader
- Type
- Loader
- Capabilities
- Initial accessPost exploitationDefense evasionProcess injection
- Delivery
- PhishingLanding pageLure
- Platforms
- Windows
NimzaLoader is a Windows malware loader associated with the TA800 threat group and used to establish an initial foothold in enterprise environments. It emerged in 2021 in phishing campaigns that used personalized lures and fake PDF-preview links to drive victims to download a disguised executable. Delivery chains have included intermediary landing pages before the final payload download, and the malware has been observed masquerading as a document to improve execution rates.
NimzaLoader is written in the Nim programming language and has been assessed as distinct from BazaLoader despite early public speculation linking the two. Reported differentiators include its implementation language, obfuscation approach, string decryption, API hashing, command-and-control response decryption, lack of domain generation algorithm use, and JSON-based communications. The malware stores many strings in encrypted form, includes an execution expiration mechanism, and uses a heartbeat capability to refresh that expiration in memory.
For command and control, NimzaLoader uses HTTPS and performs an initial handshake to exchange keying material and retrieve configuration data. Subsequent communications use encrypted JSON messages. Supported tasking includes execution of system shell and PowerShell commands, as well as delivery and injection of shellcode into a specified process, indicating a role in staging follow-on payloads and post-compromise activity. NimzaLoader has been reported as commonly followed by Cobalt Strike deployment, consistent with its use as an access-enablement loader rather than as a full-featured end-stage implant.
The malware is primarily associated with phishing-led intrusion activity against enterprise targets. Its operational role is to provide initial access, execute operator commands, and facilitate secondary payload delivery while using obfuscation and encrypted communications to hinder detection and analysis.
Associated threat actors
2 distinct threat actors Mallory has associated with this family across public reporting. Open in Mallory to see the full evidence chain and overlapping campaigns.
On February 3rd, 2021, Proofpoint observed a TA800 campaign distributing NimzaLoader... Conclusion NimzaLoader is a new initial access malware being distributed and used by the TA800 threat actor.
The latest version is written in Nim, a relatively new language utilized by threat actors the past two years, most notably by the NimzaLoader variant of BazarLoader used by the TrickBot group.
Techniques & procedures
10 distinct techniques documented for this family, organized by ATT&CK tactic.
Initial Access
2 techniques
Initial Access
On February 3rd, 2021, Proofpoint observed a TA800 campaign distributing NimzaLoader. Consistent with previous activity, this campaign utilized personalized details in its lure, including, the recipient’s name and/or the company’s name.
The messages contained links, which in some cases were shortened links, purporting to be a link to a PDF preview, but instead linked to GetResponse landing pages.
Execution
2 techniques
Execution
The following commands have been identified in NimzaLoader: powershell - execute powershell.exe command
The following commands have been identified in NimzaLoader: cmd - execute cmd.exe command
Privilege Escalation
1 technique
Privilege Escalation
shellcode - inject shellcode into a process as a thread command arguments are a JSON object containing: sc – hex-encoded and compressed shellcode prog - program to inject shellcode into
Stealth
2 techniques
Stealth
The landing pages contained links to the “PDF” which was the NimzaLoader executable hosted on Slack and used a fake Adobe icon in an attempt to fool the user.
shellcode - inject shellcode into a process as a thread command arguments are a JSON object containing: sc – hex-encoded and compressed shellcode prog - program to inject shellcode into
Command and Control
4 techniques
Command and Control
Most of the strings used by the malware are encrypted when stored by using an XOR-based algorithm and a single key per string.
C&C is HTTPS based.
There has been some evidence suggesting NimzaLoader is being used to download and execute Cobalt Strike as its secondary payload
The handshake is used to do a X2551 key exchange with the C&C server and retrieve some configuration items... The key shared between the malware and C&C server via the key exchange will be used for future C&C communications.
Observables
9 indicators attributed across vendor reports, sandbox runs, and researcher write-ups. Values are masked here and available in full in Mallory.
Recent activity
3 sources tracked across advisories, community write-ups, and news. New activity surfaces here as Mallory finds it.