Inside Millenium RAT 4.x: Configuration Architecture
The native C++ rewrite — why it matters defensively, how configuration is protected, and the MaaS model behind its scale.
What is Millenium RAT 4.x? Millenium RAT 4.x is the substantially rewritten generation of the malware analyzed by Group-IB in June 2026. It is a native C++ Windows application that uses libcurl to communicate with the Telegram Bot API, stores configuration inside an embedded PE RCDATA resource protected by Base64 and a custom XOR scheme, and is marketed under a low-cost Malware-as-a-Service subscription model.
Why the rewrite matters defensively
- Removes dependency on the .NET Framework
- Changes static-analysis characteristics
- Changes malware signatures
- Alters reverse-engineering workflows
- Reduces value of detections targeting earlier .NET implementations
Important: native C++ does not automatically make malware "undetectable." It changes the analysis workflow. Modern behavior-based detection remains effective when it correlates process lineage, persistence, and network communication rather than relying on a single hash.
Configuration architecture
According to Group-IB, Millenium RAT 4.x stores configuration data inside an embedded Windows PE RCDATA resource. Reported processing:
Researchers observed additional random Base64 content placed alongside configuration data. This can alter resulting file hashes between builds even when underlying functionality remains similar.
Why hash-only detection fails
- Matches a known file fingerprint
- Config padding changes hashes between builds
- Underlying functionality can remain identical
- File reputation + behavioral activity
- Process lineage + persistence behavior
- Network communication + endpoint telemetry
Communication library: libcurl
Group-IB reported that version 4.x uses libcurl to send and receive requests involving the Telegram API. libcurl is a commonly used legitimate software library for transferring data over network protocols. Malware can abuse legitimate libraries just as legitimate applications can use them — the library itself is not malicious.
Malware-as-a-Service pricing
Group-IB reported Millenium RAT 4.x marketed using a subscription / commercial access model. Reported pricing at the time:
Pricing reported by Group-IB in June 2026. No purchase links are provided. Inexpensive MaaS lowers the skill and financial barriers to cybercrime. For comparison, CYFIRMA reported the earlier 2.4 branch at US$30 for a version 2.4 lifetime license in November 2023 — the subscription model is new to the 4.x generation.
Vendor marketing claims vs. documented behavior
The vendor's own marketing page claims that from version 4.0 most work happens in memory, that an uninstall command removes the on-disk trail entirely, and that the tool runs on Windows 7 and above. By mid-2026 the same page advertised a 4.6 build, though several of the developer's code-hosting repositories (GitHub, GitLab, Gitea) had already been taken down by the time Group-IB published. These are self-reported marketing claims, not independently confirmed findings — treat them as such until a specific sample is verified. Group-IB's own analysis still documents an optional on-disk AppData copy and a Run-key autorun whenever persistence is enabled in the build, which contradicts the "clean uninstall" claim for at least some configurations.
- ▸4.x is a native C++ rewrite that removes the .NET dependency.
- ▸Config: embedded PE RCDATA → Base64 → custom XOR → runtime config.
- ▸Config padding causes hash variation — hash-only detection is insufficient.
- ▸Uses libcurl (a legitimate library) for Telegram API communication.
- ▸MaaS pricing (~US$50 first month) lowers barriers to cybercrime.




