KazakRAT
KazakRAT is a Windows-based remote access trojan/implant used in a suspected state-affiliated cyber-espionage campaign active since at least August 2022. Researchers described it as a DLL-based RAT delivered via malicious MSI installers, including lures packaged with Kazakhstan- and Afghanistan-themed decoy documents. Observed decoys included a fake letter from the President of the Republic of Kazakhstan and documents themed around Afghan provincial authorities in Khost. The campaign primarily targeted Kazakh entities, including likely government and financial-sector roles, and also targeted Afghan government-related entities.
KazakRAT is described as a simple, unobfuscated RAT with little evasion. It establishes persistence via the Windows Run registry key and executes through rundll32. Command-and-control communications use unencrypted HTTP, with beaconing every five seconds and command retrieval via HTTP POST requests to /as/include.php using an id derived from the C: drive VolumeSerialNumber. Reported capabilities include host profiling, OS and process enumeration, drive and file enumeration, command execution, downloading and executing additional payloads, searching for files, and exfiltrating files over HTTP POST. Documented commands across variants include exec, disks, info, ctd, upload, and variant-specific file exfiltration commands such as dload, download, and dl.
Researchers reported command-and-control infrastructure active as of 20 January 2026 and identified C2 domains including server.fsocmicrsoft[.]com, dns.freiesasien[.]com, dsn.mamurigovaf[.]site, and dns.microbwt[.]team. One sample reportedly connected to dsn.mamurigovaf[.]site while using the Host header dns.microbwt[.]team. Researchers gained control of the expired domain dns.freiesasien[.]com and sinkholed victim traffic, observing Kazakh IP addresses still beaconing. The activity has been assessed as likely linked to a low-maturity, suspected state-affiliated actor. Overlapping infrastructure was also linked to modified XploitSpy Android spyware used by the same group, but no definitive attribution was established.
Associated threat actors
1 distinct threat actor Mallory has associated with this family across public reporting. Open in Mallory to see the full evidence chain and overlapping campaigns.
During our tracking we identified a Windows-based RAT, delivered as a DLL, that we have coined KazakRAT. KazakRAT allows the threat actor to download and run additional payloads, enumerate and collect host data, and search for and exfiltrate files.
Techniques & procedures
16 distinct techniques documented for this family, organized by ATT&CK tactic.
Initial Access
1 technique
Initial Access
The samples identified had all been delivered via .msi files, with different variants of the RAT being delivered using slightly different mechanisms.
Execution
2 techniques
Execution
the RAT will run the executable passed as the parameter using CreateProcessW
When the user double-clicks the MSI, the process SysDrive.exe will be ran.
Persistence
1 technique
Persistence
all observed samples persist using the Run registry key in order to execute the DLL with rundll32
Privilege Escalation
1 technique
Privilege Escalation
all observed samples persist using the Run registry key in order to execute the DLL with rundll32
Stealth
4 techniques
Stealth
Notably this sample had a decoy Word document, flReport.doc, that is a fake letter from the President of the Republic of Kazakhstan.
persist using the Run registry key in order to execute the DLL with rundll32
all observed samples persist using the Run registry key in order to execute the DLL with rundll32
the command ctd allowed the operator to create a hidden directory using CreateDirectoryA and SetFileAttributesW, with the parameter 2 (FILE_ATTRIBUTE_HIDDEN)
Discovery
4 techniques
Discovery
variants A, C, D sample also leveraged the Win32 API function EnumProcesses enumerate PIDs which are then used to get process names
all variants of KazakRAT will collect OS version information using GetVersionExW
the command dir also leveraged the above two Win32 API functions to list directories and search for files
if the command sent to C2 is disks, the RAT will use the function GetLocalDrives() to return a listing of the single character drives that exist on the system
Command and Control
3 techniques
Command and Control
Once launched, it connects to an external server at "79.110.49[.]15" for command-and-control (C2) communications
C2 communications are unencrypted and follow a simple beaconing mechanism over HTTP.
the upload command can be used to download a file from a remote URL to the victim host
Exfiltration
1 technique
Exfiltration
the command dload allows the operator to exfiltrate (or download) local files over HTTP POST request
Recent activity
7 sources tracked across advisories, community write-ups, and news. New activity surfaces here as Mallory finds it.