Kazuar
- Type
- RAT
- Capabilities
- ExfiltrationPersistencePost exploitationDefense evasionReconnaissanceProcess injection
- Platforms
- Windows
Kazuar is a .NET-based remote access Trojan and espionage backdoor associated with Turla, a Russian state-sponsored threat group linked to the Federal Security Service. Publicly analyzed in 2017, it provides extensive remote control and intelligence-collection capabilities on Windows systems. Kazuar has been deployed against government entities and Ukrainian targets, including through tools operated by the Russia-aligned Gamaredon group in access-sharing operations with Turla.
Kazuar supports arbitrary command execution, file discovery and manipulation, file uploads and downloads, screenshot and webcam capture, process enumeration and termination, and plugin installation and removal. It gathers system, user, and network-adapter information and allows operators to update its configuration and upgrade the implant. On Windows, it can write a DLL to disk and inject it into the Windows shell process or another configured process. Persistence mechanisms include Windows services, registry-based autostart entries, and Startup-folder shortcuts.
Its command-and-control functionality supports multiple server addresses, HTTP communications, Base64-encoded traffic, and XML-formatted tasks. Kazuar can also listen for incoming HTTP requests carrying commands, allowing compromised systems to serve as intermediary collection points. Compromised legitimate websites have been used as its command-and-control infrastructure.
Associated threat actors
4 distinct threat actors Mallory has associated with this family across public reporting. Open in Mallory to see the full evidence chain and overlapping campaigns.
ESET also documented collaboration between Turla and the Russia-aligned Gamaredon group in 2025, including the deployment and execution of Turla's Kazuar backdoor through Gamaredon tools.
ESET also documented collaboration between Turla and the Russia-aligned Gamaredon group in 2025, including the deployment and execution of Turla's Kazuar backdoor through Gamaredon tools.
...на уражені ЕОМ довантажується складний багатофункціональний бекдор KAZUAR, в якому реалізовано більше 40 функцій...
...угрупуванням UAC-0028 (APT28) та UAC-0003 (Turla), зокрема, із застосуванням модифікованого флагманського шкідливого програмного забезпечення KAZUAR.
Techniques & procedures
89 distinct techniques documented for this family, organized by ATT&CK tactic.
Initial Access
3 techniques
Initial Access
"the attackers leveraging the trust associated with SolarWinds Orion software to infiltrate government agencies and other companies so as to deploy a custom malware codenamed 'Sunburst.'"
Gamaredon is known for using spearphishing and malicious .lnk files on removable drives, thus one of these was the most likely compromise vector.
GTIG observed STOCKSTAY being deployed following successful phishing attempts using malicious RDP configuration files... In one operation in early 2025, GTIG identified a phishing email... containing a malicious RDP file attachment.
Execution
14 techniques
Execution
[Kazuar](https://attack.mitre.org/software/S0265) obtains a list of running processes through WMI querying.(Citation: Unit 42 Kazuar May 2017)
Kazuar now supports 150 configuration options allowing operators to enable/disable specific security bypasses, perform task scheduling, time the data theft and size of exfiltration chunks, perform process injection, manage tasks and command execution, and more.
"\Mozilla\Updates Firefox Browser (Scheduled Task)"
Kazuar’s ‘cmd’ command will run commands using “cmd.exe” for Windows systems and “/bin/bash” for Unix systems.
psh Executes a PowerShell Script
[Kazuar](https://attack.mitre.org/software/S0265) uses cmd.exe to execute commands on the victim’s machine.(Citation: Unit 42 Kazuar May 2017)
[Kazuar](https://attack.mitre.org/software/S0265) uses /bin/bash to execute commands on the victim’s machine.(Citation: Unit 42 Kazuar May 2017)
A second method drops a lightweight .NET loader configured as a COM object, decrypting and executing the payload entirely in memory with almost no trace left on disk.
jsc Executes JavaScript... chakra Executes Javascript using ChakraCore
netuse Connects or removes network resources from the machine using the WNetAddConnection2 and WNetCancelConnection2 WinAPIs
dlllist Gets all loaded modules of a specified process... Kazuar has a list of hard-coded known sandbox libraries. It checks for the presence of certain DLLs that belong to different sandbox services.
The malware uses hidden Windows messaging, named pipes, Mailslots, and Google Protocol Buffers for structured internal routing
A second method drops a lightweight .NET loader configured as a COM object, decrypting and executing the payload entirely in memory with almost no trace left on disk. | The malware uses hidden Windows messaging, named pipes, Mailslots, and Google Protocol Buffers for structured internal routing
T1559.003 Inter-Process Communication: XPC / Named Pipes Kernel↔Bridge↔Worker pipe IPC
Persistence
8 techniques
Persistence
Kazuar now supports 150 configuration options allowing operators to enable/disable specific security bypasses, perform task scheduling, time the data theft and size of exfiltration chunks, perform process injection, manage tasks and command execution, and more.
"\Mozilla\Updates Firefox Browser (Scheduled Task)"
Across the content, malware repeatedly 'adds Registry Run keys', 'creates Registry entries', 'modifies the Windows Registry', or 'overwrites registry keys' to maintain persistence.
[Kazuar](https://attack.mitre.org/software/S0265) can install itself as a new service.(Citation: Unit 42 Kazuar May 2017)
Not in User Interactive Mode... WMI consumer
T1546.015 Event Triggered Execution: Component Object Model Hijacking CLSID registry hijacks above
[Kazuar](https://attack.mitre.org/software/S0265) adds a sub-key under several Registry run keys.(Citation: Unit 42 Kazuar May 2017)
[Kazuar](https://attack.mitre.org/software/S0265) adds a .lnk file to the Windows startup folder.(Citation: Unit 42 Kazuar May 2017)
Privilege Escalation
9 techniques
Privilege Escalation
Kazuar now supports 150 configuration options allowing operators to enable/disable specific security bypasses, perform task scheduling, time the data theft and size of exfiltration chunks, perform process injection, manage tasks and command execution, and more.
"\Mozilla\Updates Firefox Browser (Scheduled Task)"
Aria-body has the ability to inject itself into another process such as rundll32.exe and dllhost.exe... BlackEnergy injects its DLL component into svchost.exe... ComRAT has injected its orchestrator DLL into explorer.exe... Stuxnet injects an entire DLL into an existing, newly created, or preselected trusted process.
If running in a Windows environment, [Kazuar](https://attack.mitre.org/software/S0265) saves a DLL to disk that is injected into the explorer.exe process to execute the payload. [Kazuar](https://attack.mitre.org/software/S0265) can also be configured to inject and execute within specific processes.(Citation: Unit 42 Kazuar May 2017)
[Kazuar](https://attack.mitre.org/software/S0265) can install itself as a new service.(Citation: Unit 42 Kazuar May 2017)
Not in User Interactive Mode... WMI consumer
T1546.015 Event Triggered Execution: Component Object Model Hijacking CLSID registry hijacks above
[Kazuar](https://attack.mitre.org/software/S0265) adds a sub-key under several Registry run keys.(Citation: Unit 42 Kazuar May 2017)
[Kazuar](https://attack.mitre.org/software/S0265) adds a .lnk file to the Windows startup folder.(Citation: Unit 42 Kazuar May 2017)
Stealth
15 techniques
Stealth
[Kazuar](https://attack.mitre.org/software/S0265) is obfuscated using the open source ConfuserEx protector. [Kazuar](https://attack.mitre.org/software/S0265) also obfuscates the name of created files/folders/mutexes and encrypts debug messages written to log files using the Rijndael cipher.(Citation: Unit 42 Kazuar May 2017)
The Russian state-sponsored hacking group known as Turla has transformed its custom backdoor Kazuar into a modular peer-to-peer (P2P) botnet that's engineered for stealth and persistent access to compromised hosts.
Originally disguised as a stock market application, the malware has more recently masqueraded as legitimate software such as PDF readers and calculator programs.
Kazuar will execute if its filename matches a specific hard-coded hashed name (using the FNV algorithm).
Aria-body has the ability to inject itself into another process such as rundll32.exe and dllhost.exe... BlackEnergy injects its DLL component into svchost.exe... ComRAT has injected its orchestrator DLL into explorer.exe... Stuxnet injects an entire DLL into an existing, newly created, or preselected trusted process.
If running in a Windows environment, [Kazuar](https://attack.mitre.org/software/S0265) saves a DLL to disk that is injected into the explorer.exe process to execute the payload. [Kazuar](https://attack.mitre.org/software/S0265) can also be configured to inject and execute within specific processes.(Citation: Unit 42 Kazuar May 2017)
[Kazuar](https://attack.mitre.org/software/S0265) can delete files.(Citation: Unit 42 Kazuar May 2017)
A second method drops a lightweight .NET loader configured as a COM object, decrypting and executing the payload entirely in memory with almost no trace left on disk.
In February 2025, Gamaredon’s PteroGraphin tool was used as a recovery method to restart Turla’s Kazuar espionage implant, likely after it crashed, ESET says.
The Kernel module serves as the central coordinator, managing tasks, updating configurations, and running anti-analysis checks including process inspection, canary file detection, and sandbox DLL verification.
It also performs extensive anti-analysis and sandbox checks during execution, including process inspection, canary file detection, and sandbox DLL checks.
Kaspersky Labs researchers said they found at least three similarities in the code and functions of Sunburst and Kazuar. They are: The algorithm used to make the malware “sleep,” or delay taking action, after infecting a network
This technique involves creating a hidden window and registering a ClassName and WindProc.
decrypting and executing the payload entirely in memory with almost no trace left on disk
The authors programmed Kazuar to either continue if the coast is clear, or to remain idle and cease all C2 communication if it is being debugged or analyzed.
Defense Impairment
2 techniques
Defense Impairment
Across the content, malware repeatedly 'adds Registry Run keys', 'creates Registry entries', 'modifies the Windows Registry', or 'overwrites registry keys' to maintain persistence.
Regarding the security bypass options, Kazuar now offers Antimalware Scan Interface (AMSI) bypass, Event Tracing for Windows (ETW) bypass, and Windows Lockdown Policy (WLDP) bypass.
Credential Access
6 techniques
Credential Access
Worker, which logs keystrokes, hooks Windows events, tracks tasks, and gathers system information, file listings, and Messaging Application Programming Interface (MAPI) details.
Worker modules handle operational tasks including capturing keystrokes
...steal authentication tokens, cookies, and credentials from a wide variety of programs, including browsers, FTP clients, VPN software, KeePass, Azure, AWS, and Outlook.
...steal authentication tokens, cookies, and credentials from a wide variety of programs, including browsers, FTP clients, VPN software, KeePass, Azure, AWS, and Outlook.
steal Steals data from various browsers and applications
...steal authentication tokens, cookies, and credentials from a wide variety of programs...
Discovery
19 techniques
Discovery
eventlog Gets Windows Event log entries... Kazuar collects and parses events from the Windows event logs.
[Kazuar](https://attack.mitre.org/software/S0265) gathers information about opened windows.(Citation: Unit 42 Kazuar May 2017)
regquery Queries a registry key
[Kazuar](https://attack.mitre.org/software/S0265) gathers information about network adapters.(Citation: Unit 42 Kazuar May 2017)
[Kazuar](https://attack.mitre.org/software/S0265) gathers information on users.(Citation: Unit 42 Kazuar May 2017)
The Worker module performs the actual espionage operations, such as: performing system and network reconnaissance
netuse Connects or removes network resources from the machine
[Kazuar](https://attack.mitre.org/software/S0265) obtains a list of running processes through WMI querying and the <code>ps</code> command.(Citation: Unit 42 Kazuar May 2017)
[Kazuar](https://attack.mitre.org/software/S0265) gathers information about local groups and members.(Citation: Unit 42 Kazuar May 2017)
[Kazuar](https://attack.mitre.org/software/S0265) gathers information on the system.(Citation: Unit 42 Kazuar May 2017)
[Kazuar](https://attack.mitre.org/software/S0265) finds a specified directory, lists the files and metadata about those files.(Citation: Unit 42 Kazuar May 2017)
“actors used the following commands… to enumerate user accounts: net user >> %temp%\download; net user /domain >> %temp%\download … APT1 used the commands net localgroup, net user, and net group to find accounts… APT32 enumerated administrative users using the commands net localgroup administrators … OilRig has run net user, net user /domain, net group "domain admins" /domain …”
[Kazuar](https://attack.mitre.org/software/S0265) gathers information on local groups and members on the victim’s machine.(Citation: Unit 42 Kazuar May 2017)
Numerous entries mention enumerating drives, logical disks, disk type, free space, or volume information; examples include 'Babuk can enumerate disk volumes,' 'Cuba can enumerate local drives,' and 'TAINTEDSCRIBE can use DriveList to retrieve drive information.'
The Kernel module serves as the central coordinator, managing tasks, updating configurations, and running anti-analysis checks including process inspection, canary file detection, and sandbox DLL verification.
It also performs extensive anti-analysis and sandbox checks during execution, including process inspection, canary file detection, and sandbox DLL checks.
Kaspersky Labs researchers said they found at least three similarities in the code and functions of Sunburst and Kazuar. They are: The algorithm used to make the malware “sleep,” or delay taking action, after infecting a network
The authors programmed Kazuar to either continue if the coast is clear, or to remain idle and cease all C2 communication if it is being debugged or analyzed.
[Kazuar](https://attack.mitre.org/software/S0265) gathers information on local drives.(Citation: Unit 42 Kazuar May 2017)
Lateral Movement
2 techniques
Lateral Movement
delegate Sends a command to another Kazuar implant on a remote system using a PIPE
GTIG conducted a review... in which we observed Turla deploying a wide range of tools into the victim’s network... via malicious GPO installation from a compromised domain controller... Multiple ZIP archives, each containing one of the core components of STOCKSTAY or its configuration, were uploaded to the domain controller.
Collection
10 techniques
Collection
[Kazuar](https://attack.mitre.org/software/S0265) uploads files from a specified directory to the C2 server.(Citation: Unit 42 Kazuar May 2017)
Worker, which logs keystrokes, hooks Windows events, tracks tasks, and gathers system information, file listings, and Messaging Application Programming Interface (MAPI) details.
Worker modules handle operational tasks including capturing keystrokes
The content repeatedly describes adversaries and malware storing collected data, command output, credentials, archives, or files in local temporary folders, working directories, hidden directories, registry locations, recycle bins, or specific files prior to exfiltration.
[Kazuar](https://attack.mitre.org/software/S0265) stages command output and collected data in files before exfiltration.(Citation: Unit 42 Kazuar May 2017)
[Kazuar](https://attack.mitre.org/software/S0265) captures screenshots of the victim’s screen.(Citation: Unit 42 Kazuar May 2017)
Its configuration system now supports roughly 150 options covering transport selection, injection methods, keylogging, screenshot capture, and MAPI email monitoring.
[Kazuar](https://attack.mitre.org/software/S0265) captures images from the webcam.(Citation: Unit 42 Kazuar May 2017)
All gathered information is encrypted and staged in a dedicated working directory before exfiltration.
"The data is now exfiltrated to the C2 server using ZIP archives instead of TAR."
Command and Control
15 techniques
Command and Control
[Kazuar](https://attack.mitre.org/software/S0265) can accept multiple URLs for C2 servers.(Citation: Unit 42 Kazuar May 2017)
Kazuar has the capabilities to use multiple protocols, such as HTTP, HTTPS, FTP or FTPS, determined by the prefixes of the hardcoded C2 URLs. So far, we have only observed HTTP used as the C2 protocol in our sample set.
[Kazuar](https://attack.mitre.org/software/S0265) uses HTTP and HTTPS to communicate with the C2 server. [Kazuar](https://attack.mitre.org/software/S0265) can also act as a webserver and listen for inbound HTTP requests through an exposed API.(Citation: Unit 42 Kazuar May 2017)
[Kazuar](https://attack.mitre.org/software/S0265) uses FTP and FTPS to communicate with the C2 server.(Citation: Unit 42 Kazuar May 2017)
T1071.003 Application Layer Protocol: Mail Protocols EWS transport on victim Exchange tenants
MITRE ATT&CK techniques ... Command and Control ... T1090 Proxy ... The October sample likely acts as a transfer agent used to proxy commands from the remote Turla operators to the Kazuar instances on internal nodes in the network via an internet-facing shared network location.
[Kazuar](https://attack.mitre.org/software/S0265) has used internal nodes on the compromised network for C2 communications.(Citation: Accenture HyperStack October 2020)
The Russian hacker group Secret Blizzard has developed its long-running Kazuar backdoor into a modular peer-to-peer (P2P) botnet designed for long-term persistence, stealth, and data collection.
MITRE ATT&CK techniques ... Command and Control T1102 ... Web Service ... Turla has relied on traditional C&C implementations, using compromised web servers as C&C, as well as utilizing legitimate web services like Pastebin.
[Kazuar](https://attack.mitre.org/software/S0265) has used compromised WordPress blogs as C2 servers.(Citation: Unit 42 Kazuar May 2017)
[Kazuar](https://attack.mitre.org/software/S0265) downloads additional plug-ins to load on the victim’s machine, including the ability to upgrade and replace its own binary.(Citation: Unit 42 Kazuar May 2017)
ADVSTORESHELL C2 traffic is encrypted, then encoded with Base64 encoding. APT19 HTTP malware variant used Base64 to encode communications to the C2 server. APT33 has used base64 to encode command and control traffic.
[Kazuar](https://attack.mitre.org/software/S0265) encodes communications to the C2 server in Base64.(Citation: Unit 42 Kazuar May 2017)
This command instructs the Trojan to start a thread to listen for inbound HTTP requests, which effectively turns Kazuar into a webserver. This functionality provides an API for the Trojan to run commands on the compromised system.
Data collected by the Worker module is then aggregated, encrypted, and written to the malware's working directory, from where it's exfiltrated to the C2 server.
Exfiltration
3 techniques
Exfiltration
[Kazuar](https://attack.mitre.org/software/S0265) can sleep for a specific time and be set to communicate at specific intervals.(Citation: Unit 42 Kazuar May 2017)
2 get Upload files from a specified directory... 7 scrshot ... The file is uploaded to the C2 server ... 26 run Runs a specified executable with supplied arguments and saves its output to a temporary file. The temporary file is up loaded to the C2 server.
"...ексфільтрації... з використанням легітимної програми rclone." and example rclone command line copying Desktop files to "remote:%COMPUTERNAME%\Desktop"
Impact
1 technique
Impact
[Kazuar](https://attack.mitre.org/software/S0265) can overwrite files with random data before deleting them.(Citation: Unit 42 Kazuar May 2017)
Observables
61 indicators attributed across vendor reports, sandbox runs, and researcher write-ups. Values are masked here and available in full in Mallory.
Recent activity
116 sources tracked across advisories, community write-ups, and news. New activity surfaces here as Mallory finds it.