CHERRYSPY
- Type
- Backdoor
- Capabilities
- PersistencePost exploitationDefense evasion
- Delivery
- SpearphishingLure
- Platforms
- Windows
CHERRYSPY, also known as DownExPyer, is a Python-based Windows backdoor used by the Russia-aligned cyberespionage actor UAC-0063, also tracked as TAG-110. It provides persistent, covert remote access to compromised systems and supports espionage operations targeting government and research organizations. Documented deployments include attacks against Ukrainian state bodies and a Ukrainian scientific research institution.
CHERRYSPY is deployed after initial compromise, including through infection chains in which malicious Microsoft Word macros install HATVIBE, which subsequently fetches and executes the backdoor. Spearphishing campaigns have used government-themed document lures and compromised employee email accounts to distribute malicious attachments. Earlier CHERRYSPY versions used pyArmor obfuscation; a variant observed in July 2024 was compiled as a Python extension DLL and deployed alongside a Python interpreter.
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.
HATVIBE acts as a loader, fetching and executing CHERRYSPY, which provides persistent, clandestine backdoor access.
...на комп'ютер в каталог "C:\ProgramData\Python" згодом завантажено Python-інтерпретатор та файл шкідливої програми CHERRYSPY, який, на відміну від попередньої версії, обфускованої за допомогою pyArmor, скомпільовано в .pyd (DLL) файл.
Techniques & procedures
14 distinct techniques documented for this family, organized by ATT&CK tactic.
Initial Access
2 techniques
Initial Access
Recorded Future's Insikt Group published research today detailing a Russia-aligned threat actor tracked as TAG-110 conducting espionage against government, educational, and research-related entities in Tajikistan.
На етапі первинного ураження зловмисник, маючи доступ до облікового запису електронної пошти співробітника установи, здійснив відправку копії нещодавно відправленого листа десяткам адресатів (включаючи самого відправника), замінивши оригінальний документ-вкладення іншим документом, в який було вбудовано макрос.
Execution
3 techniques
Execution
The A5 task results in a command execution... For example: A5(... command=['', '', '', 'taskkill /f /im pythonw.exe'])
Present with the files is a VBA macro that's responsible for placing the document template in the Microsoft Word startup folder for automatic execution and subsequently initiating communications with a command-and-control (C2) server and potentially executing additional VBA code supplied with C2 responses.
...на комп'ютер в каталог "C:\ProgramData\Python" згодом завантажено Python-інтерпретатор та файл шкідливої програми CHERRYSPY...
Persistence
1 technique
Persistence
The documents themselves are poisoned macro-enabled Word documents, .dotm files, which 'leverage a global template file placed in the Word startup folder for persistence.'
Discovery
2 techniques
Discovery
If the fourth parameter is an empty string, the script invokes the systeminfo function, which sends the following system information to the C2
The A6 task provides file listing capabilities... The issued A6 tasks specifically target shared folders, indicating that attackers likely use this task to search for files of interest.
Collection
3 techniques
Collection
The A3 task is designed for file exfiltration... only files matching the specified criteria are collected.
The A7 task enables screen capturing... The screenshots are captured using the mss Python module and uploaded to the C2 as .png files
files selected for exfiltration are combined into archives, each no larger than 16MB, and uploaded to the C2 server.
Command and Control
2 techniques
Command and Control
Decoded HATVIBE script shows that an HTTP PUT request is sent to the C2 server, transmitting the victim's ID, hostname, and username as a JSON payload.
Використовуючи створену технічну можливість прихованого віддаленого управління ЕОМ, на комп'ютер в каталог "C:\ProgramData\Python" згодом завантажено Python-інтерпретатор та файл шкідливої програми CHERRYSPY...
Exfiltration
1 technique
Exfiltration
Once the scan is complete... file metadata is grouped into chunks of 10,000 entries and uploaded to the C2 server as .logs files. Next, files selected for exfiltration are combined into archives... and uploaded to the C2 server.
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
7 sources tracked across advisories, community write-ups, and news. New activity surfaces here as Mallory finds it.