Trochilus
- Type
- RAT
- Capabilities
- Post exploitationExfiltrationProcess injectionDLL sideloadingPrivilege escalationDefense evasion
- Delivery
- PhishingSpearphishingLanding pageFake updateWatering holeExploit kit
- Platforms
- Windows
Trochilus is an open-source Windows remote access trojan implemented in C++ and first observed in 2015. Its source code is publicly available on GitHub and has been reused and customized by multiple cyberespionage actors. It supports remote command execution and file upload, download, and execution, providing operators with control over compromised systems.
Webworm has deployed modified Trochilus payloads through multistage execution chains that use legitimate executables to sideload malicious DLLs. These chains include access-token theft and User Account Control bypass techniques before unpacking and executing the backdoor in memory. An analyzed Webworm variant loads Lempel–Ziv–Welch-compressed configuration data and injects into a Windows service-host process. Webworm operations have targeted government agencies and organizations in IT services, aerospace, and electric power, particularly in Asia and neighboring regions. UNC3569 has also distributed a customized Trochilus backdoor embedded in the DOUBLESTEP dropper.
Trochilus is an important source-code ancestor of other espionage malware. RedLeaves, used in APT10-associated operations, contains substantial Trochilus code overlap. SprySOCKS also derives from Trochilus, adapting portions of its Windows codebase for Linux before subsequently appearing in Windows variants. These derivatives are distinct malware families, and their additional capabilities should not automatically be attributed to Trochilus.
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 than relying solely on heavily scrutinized custom RATs ( Trochilus , Gh0st RAT )
baobeilong’s GitHub account shows a strong interest in Remote Access Trojans (RATs) including QuasarRAT and Trochilus, which baobeilong forked in 2015. JPCert reported in 2017 that Trochilus was used by APT10 as the basis for the RedLeaves malware.
First spotted back in 2015, Trochilus is a RAT implemented in C++ and its source code is available for download on GitHub. ... The malware then injects svchost.exe with the ability to: Execute commands Download potentially malicious files.
The URL https://chuanqiliebiao-1314[.]oss-cn-shanghai[.]aliyuncs[.]com/wp-content/plugins/Ssl-update.exe will download a dropper ... dubbed ‘DOUBLESTEP’ ... embedded with TROCHILUS.
Tooling-wise, APT31 initially used a number of malware families (RAWDOOR, Trochilus, EvilOSX, DropDoor/DropCat, etc.)...
Techniques & procedures
5 distinct techniques documented for this family, organized by ATT&CK tactic.
Execution
1 technique
Execution
Baobeilong (宝贝龙/”Baby Dragon”) also maintained a GitHub account that had forked both the Quasar and Trochilus RATs, two open-source tools historically used by STONE PANDA... Falcon Intelligence recently independently conducted detailed analysis of the RedLeaves malware... found it was directly sourced from Trochilus code
Stealth
2 techniques
Stealth
To cover the malicious traffic, the attackers registered C2 domains masquerading as normal AWS or AlibabaCloud domains... This cluster of activity has previously targeted entities... using malicious domains that masquerade as services such as Amazon Web Services and Microsoft Support Services.
The payload is often obfuscated with an additional binary layer, including techniques such as XOR encoding, custom shellcode loaders... The shellcode decrypts the embedded PE payload using a simple XOR operation and then executes the payload.
Command and Control
2 techniques
Command and Control
Analysis of the SprySOCKS backdoor reveals some interesting findings... Meanwhile, the structure of SprySOCKS’s command-and-control (C&C) protocol is similar to one used by the RedLeaves backdoor...
‘baobeilong’ also has a GitHub account that shows a strong interest in Remote Access Trojans (RATs) including QuasarRAT and Trochilus, which baobeilong forked in 2015.
Recent activity
23 sources tracked across advisories, community write-ups, and news. New activity surfaces here as Mallory finds it.