CNCMachineRMS
- Type
- RAT
- Capabilities
- PersistencePost exploitationDefense evasionReconnaissanceDLL sideloading
- Delivery
- ClickfixLure
- Platforms
- Windows
CNCMachineRMS is a Windows remote access trojan that combines persistent remote administration, endpoint surveillance, and additional-payload execution. Its capabilities include interactive command shells, remote desktop control, screen streaming and screenshots, microphone and camera capture, file management, and extensive host reconnaissance. It collects system, hardware, domain, privilege, process, network, and security-product information. It also supports creating local accounts and adding them to privileged groups. Its payload-execution commands accommodate native executables, DLLs, installers, scripts, and archive-based packages.
CNCMachineRMS has been distributed through ClickFix campaigns associated with SmartApeSG and the ROMULUS delivery ecosystem, including fake CAPTCHA, system-repair, and ChatGPT-themed lures that persuade users to execute malicious commands. Documented infection chains employ malicious installers, legitimate signed applications, DLL sideloading, concealed shellcode, and the BabaDeda loader. Abused applications include IBM SPSS components, Stardock utilities, and calibre. ROMULUS distributes CNCMachineRMS and LegionLoader through separate chains; shared CNCMachineRMS tooling across delivery ecosystems does not establish common operators.
The malware and its supporting execution framework use a proprietary binary storage format for configuration, embedded payloads, local state, and command-and-control tasking. A custom scripting engine coordinates persistence, communications, resource loading, and native-code execution. Persistence mechanisms include Registry Run entries, scheduled tasks, and Startup shortcuts. Controller scripts can periodically restore persistence and reassert it during shutdown. Runtime API resolution, dynamically constructed strings, padded state storage, and configurable virtualization checks complicate analysis.
CNCMachineRMS resolves command-and-control domains through public DNS-over-HTTPS services, bypassing conventional local DNS visibility. Its subsequent command traffic uses a distinctive binary protocol; observed connections on TCP port 443 were not protected by TLS. Its documented role is persistent access and operator-controlled follow-on execution rather than dedicated credential theft. No specific industry targeting or common operator attribution has been established.
Techniques & procedures
39 distinct techniques documented for this family, organized by ATT&CK tactic.
Initial Access
1 technique
Initial Access
The captures showed ClickFix attacks in which a fake CAPTCHA was used to deliver a previously unknown remote access trojan.
Execution
10 techniques
Execution
The pattern echoes other RATs where persistence supports silent access through registry entries and scheduled tasks.
Persistence is re-asserted on a loop every 150 seconds for the registry and every 875 seconds for the scheduled task... The same string is used as the scheduled task name.
Rodel notes that CNCMachineRMS includes several features typical of RATs, including: Interactive shell
22120 PS_SCRIPT Loader powershell -NoProfile -ExecutionPolicy Bypass -File
22130 BAT Loader cmd /c
It passes the shellcode through EnumTimeFormatsEx, a harmless Windows date-formatting interface, so Windows itself calls the code.
From there, a run of four decoy DLLs loads through ordinary import resolution, with no suspicious API calls and no odd LoadLibrary to flag.
ClickFix lure Tricks the user into launching the signed host
The attackers exploit its ability to activate a scripting engine through COM, directing it to a dropped DLL.
Every module opens directly from the application directory, with no failed search path probe first.
Persistence
7 techniques
Persistence
The pattern echoes other RATs where persistence supports silent access through registry entries and scheduled tasks.
Persistence is re-asserted on a loop every 150 seconds for the registry and every 875 seconds for the scheduled task... The same string is used as the scheduled task name.
Windows event IDs 4720 and 4732, the local account backdoor creating users and adding them to privileged groups.
It creates local accounts and adds them to privileged groups.
Windows event IDs 4720 and 4732, the local account backdoor creating users and adding them to privileged groups.
Its built-in functions include an interactive shell, file manager, screen capture, local account backdoor
HKCU\Software\Microsoft\Windows\CurrentVersion\Run Value name: IBM SPSS WinWrap Basic IDE Value data: <path to the running process>
Privilege Escalation
6 techniques
Privilege Escalation
The pattern echoes other RATs where persistence supports silent access through registry entries and scheduled tasks.
Persistence is re-asserted on a loop every 150 seconds for the registry and every 875 seconds for the scheduled task... The same string is used as the scheduled task name.
The last decoy fills a buffer with random data, places shellcode inside it, and makes the memory executable.
Windows event IDs 4720 and 4732, the local account backdoor creating users and adding them to privileged groups.
It creates local accounts and adds them to privileged groups.
HKCU\Software\Microsoft\Windows\CurrentVersion\Run Value name: IBM SPSS WinWrap Basic IDE Value data: <path to the running process>
Stealth
10 techniques
Stealth
There are no cleartext APIs or strings anywhere in the shellcode. APIs are resolved at runtime from hashes, and strings are built on the stack by a custom cipher.
The last decoy fills a buffer with random data, places shellcode inside it, and makes the memory executable.
In this case, WinWrapIDE.exe is clean and legitimately signed. The attackers exploit its ability to activate a scripting engine through COM, directing it to a dropped DLL.
22030 MSI Loader msiexec /i … /qn /norestart
22060 DLL_REGSVR32 Loader regsvr32 /s
22050 DLL_RUNDLL32 Loader rundll32 <dll>,DllMain
The native engine behind vmdetector_scan_light is far more thorough... covering GPU and OpenGL renderer checks, DXGI adapter enumeration, CPUID hypervisor vendor strings, PCI and device IDs, driver and service and process names, and SMBIOS registry paths.
Before any of that, the decoy library fingerprints the environment: computer name, username, system and Windows and temp and current directory paths, tick count, system and local time... alongside sandbox and analysis evasion checks.
Every module opens directly from the application directory, with no failed search path probe first.
The last decoy fills a buffer with random data, places shellcode inside it, and makes the memory executable.
Discovery
8 techniques
Discovery
Extended recon. Monitors, drives, battery, network adapters, domain controller details, open TCP and UDP ports with owning PID
The browser related strings that are present resolve to default browser detection and a running process list... Extended recon... process list.
Identity. Computer name, username, domain, SID, elevation status... Platform. OS, build, edition, version, architecture... Hardware. CPU vendor and clock, core count, RAM total and usage, GPU and VRAM...
What it does ship with is an access toolkit: an interactive shell, a file manager...
Its host profile includes domain, SID, and elevation status, which is Active Directory context rather than fingerprinting...
The native engine behind vmdetector_scan_light is far more thorough... covering GPU and OpenGL renderer checks, DXGI adapter enumeration, CPUID hypervisor vendor strings, PCI and device IDs, driver and service and process names, and SMBIOS registry paths.
Before any of that, the decoy library fingerprints the environment: computer name, username, system and Windows and temp and current directory paths, tick count, system and local time... alongside sandbox and analysis evasion checks.
Installed AV via ROOT\SecurityCenter2, plus Defender status via MSFT_MpComputerStatus... installed applications
Collection
2 techniques
Collection
Rodel notes that CNCMachineRMS includes several features typical of RATs, including: Interactive shell File manager Screen capture
22170 DIR_EXE_ZIPPED_BY_LINK Loader Download payload.zip, Expand-Archive, run main.exe
Command and Control
6 techniques
Command and Control
The RAT communicated with 89.110.110.119 over TCP port 443. Although the traffic used port 443, it was not protected by TLS and did not resemble any previously known C2 protocol. | This post describes the binary command-and-control (C2) protocol used by CNCMachineRMS, a recently identified remote access trojan (RAT).
The payload resolves its C2 domain over DNS over HTTPS, using dns.google, cloudflare-dns.com and dns.quad9.net.
One notable behavior is the malware’s use of DNS over HTTPS (DoH). Rather than sending the C2 domain lookup to the system’s usual DNS resolver, CNCMachineRMS sends the query over HTTPS to an external DoH provider.
This post describes the binary command-and-control (C2) protocol used by CNCMachineRMS... Several fields contain consecutive 0x00 or 0xff bytes at fixed offsets, creating a distinctive pattern across the protocol’s messages.
22040 EXE Loader Drop and execute ... 22150 EXE_BY_LINK Loader Download then execute ... 22170 DIR_EXE_ZIPPED_BY_LINK Loader Download payload.zip, Expand-Archive, run main.exe
Domain resolution over DNS over HTTPS through dns.google, cloudflare-dns.com and dns.quad9.net, so internal resolver logs will show nothing
Observables
42 indicators attributed across vendor reports, sandbox runs, and researcher write-ups. Values are masked here and available in full in Mallory.
Recent activity
25 sources tracked across advisories, community write-ups, and news. New activity surfaces here as Mallory finds it.