Quarian
- Type
- Backdoor
- Capabilities
- Post exploitationReconnaissanceDLL sideloadingDefense evasion
- Delivery
- Exploit kit
- Platforms
- Windows
Quarian is a Windows backdoor associated with cyberespionage operations by BackdoorDiplomacy, also tracked as CloudComputating and Faking Dragon. It provides remote command shells, command execution, file operations, and system discovery. Its variants include Turian, identified as Quarian version 3, and samples associated with the name Whitebird. Newer samples use Windows Schannel for genuine TLS-protected command-and-control communications and implement revised command identifiers.
Quarian has targeted government organizations in the Middle East and Africa and telecommunications organizations in the Middle East and West Asia. In a documented 2020 intrusion, attackers exploited Microsoft Exchange vulnerability CVE-2020-0688 and used a ChinaChopper web shell to deploy Quarian and PlugX. Deployment techniques include DLL side-loading through legitimate Windows executables, loaders that extract and execute shellcode, and VMProtect-packed executable variants. Quarian access has also been used to install additional malware: systems compromised with Turian since 2022 were subsequently used to deploy the modular QSC framework in October 2023.
Quarian is not exclusive to its principal associated operators. Turla deployed it during a documented 2012 intrusion and removed its own Wipbot implant, using unrelated Chinese malware to misdirect incident responders and complicate attribution.
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
5 distinct threat actors Mallory has associated with this family across public reporting. Open in Mallory to see the full evidence chain and overlapping campaigns.
rather they installed a somewhat rare, already compiled piece of Chinese malware by the name of Quarian.
Our investigation found that the target machines had been infected with the Quarian backdoor version 3 (aka Turian) since 2022, and the same attackers had used this access to deploy the QSC framework starting on October 10, 2023.
Our investigation found that the target machines had been infected with the Quarian backdoor version 3 (aka Turian) since 2022, and the same attackers had used this access to deploy the QSC framework starting on October 10, 2023.
Quarian is a little-known malicious program... we noticed a new variant that was used during several attacks on Middle Eastern and African governments during 2020.
Techniques & procedures
8 distinct techniques documented for this family, organized by ATT&CK tactic.
Initial Access
1 technique
Initial Access
"...deployed following exploitation of the CVE-2020-0688 vulnerability... on a Microsoft Exchange server."
Execution
3 techniques
Execution
The Command Shell module launches % windir % \ system32 \ cmd . exe as a shell using the CreateProcess API, and data is written to and read from the shell using pipes.
net stop swprv ... sc config swprv start = auto ... net start swprv
reg add HKEY_LOCAL_MACHINE \ SYSTEM \ CurrentControlSet \ services \ swprv \ Parameters / v ServiceDll / t REG_EXPAND_SZ / d c : \ windows \ system32 \ swprr . dll / f
Persistence
1 technique
Persistence
"...was hosting the ChinaChopper webshell, which was used to obtain, and later launch, the Quarian and PlugX backdoors."
Stealth
3 techniques
Stealth
The belief is that the actors recognized researcher systems in their logs and instead of serving the normal second-stage binary, they instead provided a ‘fake’, unrelated piece of malware to cause confusion.
They then proceeded to uninstall the Wipbot malware and erase their tracks from the victim systems.
reg add HKEY_LOCAL_MACHINE \ SYSTEM \ CurrentControlSet \ services \ swprv \ Parameters / v ServiceDll / t REG_EXPAND_SZ / d c : \ windows \ system32 \ swprr . dll / f
Command and Control
1 technique
Command and Control
In addition to the QSC framework, the attackers also deployed a new backdoor written in Golang, which we have named “GoClient”.
Observables
13 indicators attributed across vendor reports, sandbox runs, and researcher write-ups. Values are masked here and available in full in Mallory.
Recent activity
11 sources tracked across advisories, community write-ups, and news. New activity surfaces here as Mallory finds it.