Sakula
- Type
- RAT
- Capabilities
- PersistencePrivilege escalationDefense evasionDLL sideloadingExfiltrationReconnaissance
- Delivery
- Watering holeDrive by
- Platforms
- Windows
Sakula, also known as Sakurel and VIPER, is a Windows remote access trojan used in targeted cyberespionage operations and associated with the China-linked DEEP PANDA threat group. It enables interactive remote command execution, file transfers, downloading and execution of additional components, retrieval of host information, modification of command-and-control settings, and removal of the implant. Its command-and-control protocol uses HTTP GET and POST requests, with single-byte XOR encoding to obfuscate communications. XOR encoding is also used to conceal embedded strings and components.
Most variants establish persistence through user- or machine-level Registry autorun entries; others install themselves as Windows services. Sakula uses DLL side-loading through legitimate, digitally signed Kaspersky or McAfee components to execute malicious libraries. Some variants contain User Account Control bypass code for both 32-bit and 64-bit Windows systems. The malware also abuses the Windows command interpreter and signed system utilities for DLL execution, and some samples delete temporary installation artifacts.
Observed delivery includes a strategic website compromise exploiting the Internet Explorer vulnerability CVE-2014-0322, which was a zero-day vulnerability at the time. Installers have also masqueraded as legitimate software components, and some were digitally signed to appear trustworthy and bypass security controls. Sakula has been linked to intrusions affecting organizations across multiple sectors, including the U.S. Office of Personnel Management breach.
Associated vulnerabilities
1 CVE Mallory has correlated with this family across public research and vendor advisories. Each card links to the full Mallory page for that vulnerability.
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.
The indictment was filed by US federal attorneys... it accuses ten Chinese individuals... According to the indictment... they used the Sakula, PlugX, and Winnti malware in the different organizations.
Techniques & procedures
26 distinct techniques documented for this family, organized by ATT&CK tactic.
Initial Access
1 technique
Initial Access
CTU researchers observed a copy of Sakula being delivered in a strategic web compromise (SWC) that exploited CVE-2014-0322, which was a zero-day vulnerability in Internet Explorer at the time of compromise.
Execution
3 techniques
Execution
[Sakula](https://attack.mitre.org/software/S0074) calls cmd.exe to run various DLL files via rundll32 and also to perform file cleanup. [Sakula](https://attack.mitre.org/software/S0074) also has the capability to invoke a reverse shell.(Citation: Dell Sakula)
The other is the registry key used for persistence, which uses VBScript to call cmd.exe to run a DLL via the rundll32 application...
[Sakula](https://attack.mitre.org/software/S0074) uses DLL side-loading, typically using a digitally signed sample of Kaspersky Anti-Virus (AV) 6.0 for Windows Workstations or McAfee's Outlook Scan About Box to load malicious DLL files.(Citation: Dell Sakula)
Persistence
3 techniques
Persistence
In a small group of Sakula samples from 2013, the install process also modified the hosts file to point some of the victim's subdomains to various IP addresses within the victim's own organization. The malware also registered a file as a command component within the registry.
Some [Sakula](https://attack.mitre.org/software/S0074) samples install themselves as services for persistence by calling WinExec with the <code>net start</code> argument.(Citation: Dell Sakula)
Most [Sakula](https://attack.mitre.org/software/S0074) samples maintain persistence by setting the Registry Run key <code>SOFTWARE\Microsoft\Windows\CurrentVersion\Run\</code> in the HKLM or HKCU hive, with the Registry value and file name varying by sample.(Citation: Dell Sakula)
Privilege Escalation
4 techniques
Privilege Escalation
The malware reportedly utilizes techniques similar to those observed in previous RAT families, including process injection, reflective DLL injection, and single-byte XOR encoding to obfuscate network communications and embedded strings, making detection significantly more difficult for security solutions.
Some [Sakula](https://attack.mitre.org/software/S0074) samples install themselves as services for persistence by calling WinExec with the <code>net start</code> argument.(Citation: Dell Sakula)
Most [Sakula](https://attack.mitre.org/software/S0074) samples maintain persistence by setting the Registry Run key <code>SOFTWARE\Microsoft\Windows\CurrentVersion\Run\</code> in the HKLM or HKCU hive, with the Registry value and file name varying by sample.(Citation: Dell Sakula)
[Sakula](https://attack.mitre.org/software/S0074) contains UAC bypass code for both 32- and 64-bit systems.(Citation: Dell Sakula)
Stealth
10 techniques
Stealth
Network communication is obfuscated with single-byte XOR encoding. Sakula also leverages single-byte XOR encoding to obfuscate various strings and files embedded in the resource section...
[Sakula](https://attack.mitre.org/software/S0074) uses single-byte XOR obfuscation to obfuscate many of its files.(Citation: Dell Sakula)
Some installers masqueraded as the following applications and used social engineering to convince users that the applications were required to do business: Adobe Self Extractor, CITRIX Access Gateway Secure Input, Juniper SSL VPN ActiveX Plugin, Microsoft Hotfix Security Exchange Mail, Exchange ActiveX Control.
The malware reportedly utilizes techniques similar to those observed in previous RAT families, including process injection, reflective DLL injection, and single-byte XOR encoding to obfuscate network communications and embedded strings, making detection significantly more difficult for security solutions.
Some [Sakula](https://attack.mitre.org/software/S0074) samples use cmd.exe to delete temporary files.(Citation: Dell Sakula)
The legitimate application is a digitally signed sample of Kaspersky Anti-Virus (AV) 6.0 for Windows Workstations. When the Kaspersky application is run, it loads a file named msi.dll, which is located within the same directory.
HKU\Software\Microsoft\Windows\CurrentVersion\Run\MicroWhoknow: "mshta vbscript:CreateObject("WScript.Shell").Run("cmd /c cd C:\Users\user\AppData\Local\Temp\MicroWhoknow && rundll32 MicroWhoknow.dll Plugupdate",0)(window.close)"
[Sakula](https://attack.mitre.org/software/S0074) calls cmd.exe to run various DLL files via rundll32.(Citation: Dell Sakula)
Based on whether the compromised system is 32-bit or 64-bit, the appropriate file is written and run using cmd.exe calling rundll32 on the DLL with the PlayWin32 or PlayWin64 export.
[Sakula](https://attack.mitre.org/software/S0074) uses DLL side-loading, typically using a digitally signed sample of Kaspersky Anti-Virus (AV) 6.0 for Windows Workstations or McAfee's Outlook Scan About Box to load malicious DLL files.(Citation: Dell Sakula)
Defense Impairment
2 techniques
Defense Impairment
In a small group of Sakula samples from 2013, the install process also modified the hosts file to point some of the victim's subdomains to various IP addresses within the victim's own organization. The malware also registered a file as a command component within the registry.
A subset of Sakula variants are digitally signed, allowing them to bypass security controls and providing users with a false sense of security that the software is legitimate.
Discovery
1 technique
Discovery
Based on whether the compromised system is 32-bit or 64-bit, the appropriate file is written and run using cmd.exe calling rundll32 on the DLL with the PlayWin32 or PlayWin64 export.
Command and Control
7 techniques
Command and Control
Many entries describe XOR, XOR/ADD, bitwise NOT and XOR, ROR plus XOR, hexadecimal encoding after encryption, and custom encoding/obfuscation of HTTP traffic or beacons.
Threat actors and malware developers utilise TLS certificates to encrypt communications and establish connections between a target host and malicious infrastructure.
[Sakula](https://attack.mitre.org/software/S0074) uses HTTP for C2.(Citation: Dell Sakula)
[Sakula](https://attack.mitre.org/software/S0074) has the capability to download files.(Citation: Dell Sakula)
Case 1 Invoke a remote shell via named pipe with optional command
The content is a catalog of malware and threat groups that encrypt command-and-control communications using algorithms such as DES, AES, RC4, XOR, Blowfish, RSA, Camellia, RC2, RC6, and custom ciphers.
[Sakula](https://attack.mitre.org/software/S0074) encodes C2 traffic with single-byte XOR keys.(Citation: Dell Sakula)
Exfiltration
1 technique
Exfiltration
Case 3 Upload a file by path
Observables
32 indicators attributed across vendor reports, sandbox runs, and researcher write-ups. Values are masked here and available in full in Mallory.
Recent activity
31 sources tracked across advisories, community write-ups, and news. New activity surfaces here as Mallory finds it.