CHERRYSPY
- Type
- Backdoor
- Capabilities
- PersistencePost exploitationDefense evasion
- Delivery
- SpearphishingLure
- Platforms
- Windows
CHERRYSPY, also known as DownExPyer, is a Python-based backdoor for Windows used by the Russia-aligned cyberespionage actor UAC-0063, also tracked as TAG-110. It provides persistent, covert remote access to compromised systems and has been deployed in operations targeting government, diplomatic, and scientific research organizations, including Ukrainian research institutions and entities in Central Asia.
CHERRYSPY is deployed as a follow-on payload after initial compromise, including through the HATVIBE loader. Documented infection chains begin with spearphishing messages carrying malicious Microsoft Word documents, sometimes distributed through compromised employee email accounts. Document macros establish HATVIBE access, after which a Python interpreter and CHERRYSPY are deployed. Earlier CHERRYSPY versions used PyArmor obfuscation; a variant observed in July 2024 was compiled as a Python extension DLL.
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.
According to the CERT-UA and Recorded Future, HATVIBE downloads and ultimately starts a more complex Python backdoor named CHERRYSPY.
HATVIBE acts as a loader, fetching and executing CHERRYSPY, which provides persistent, clandestine backdoor access.
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
8 sources tracked across advisories, community write-ups, and news. New activity surfaces here as Mallory finds it.