Google Threat Intelligence Group analyzed STOCKSTAY, a .NET backdoor used by Turla for cyber espionage against Ukraine and European targets, and detailed its multi-component architecture, deployment methods, and overlaps with KAZUAR. The report also documents infrastructure, indicators of compromise, and evidence of Turla using GitHub, Render, compromised websites, and phishing lures to distribute and control the malware. #STOCKSTAY #Turla #KAZUAR #K1MORPHER #DIAMONDBACK #WILDDAY
Keypoints
- Google Threat Intelligence Group tracks STOCKSTAY as a .NET backdoor developed and used by Turla since at least December 2022.
- STOCKSTAY is split into multiple components: STOCKBROKER for C2 tunneling, STOCKMARKET for orchestration, and STOCKTRADER for host actions.
- The malware uses encrypted configuration files, WebSocket-based C2, IPC via WM_COPYDATA, and RSA to protect outbound data.
- Turla deployed STOCKSTAY in operations targeting Ukrainian government and military entities, as well as European organizations of foreign-policy interest.
- StockSTAY has strong functional and code overlap with KAZUAR, including shared multi-component design and K1MORPHER string obfuscation.
- Delivery methods included malicious RDP files, HTA files, MSI packages, compromised websites, GitHub-hosted artifacts, and WinRAR exploitation via CVE-2025-8088.
- GTIG identified multiple infrastructure and file indicators, including WebSocket endpoints hosted on Render and compromised domains, plus several malware samples and configuration files.
MITRE Techniques
- [T1059.001 ] PowerShell – Used to stage or run additional malware and scripts during intrusions (‘staging output from an otherwise unknown Powershell backdoor’).
- [T1053.005 ] Scheduled Task/Job: Scheduled Task – Persistence was established through autorun-style execution and registry run keys, and the report notes multiple autorun entries used by MARKETMAKER (‘establishes persistence through Windows registry modifications’ / ‘multiple autorun entries’).
- [T1112 ] Modify Registry – STOCKTRADER supports registry read/write/delete operations, and MARKETMAKER uses registry run keys for persistence (‘Registry Write’, ‘Registry Write to Run Registry Key’).
- [T1027 ] Obfuscated Files or Information – STOCKSTAY and related components used junk code, string obfuscation, encrypted config files, and hidden modules to resist analysis (‘heavy obfuscation’, ‘encrypted configuration files’).
- [T1105 ] Ingress Tool Transfer – STOCKSTAY.MARKETMAKER downloaded and extracted ZIP payloads from remote servers and compromised sites (‘downloads and extracts additional payloads from a remote server’).
- [T1071.001 ] Web Protocols – STOCKSTAY communicated with C2 over secure WebSocket connections (‘communicates with its command and control (C2) via a secure WebSocket connection’).
- [T1133 ] External Remote Services – Victims were first connected through malicious RDP files to actor-controlled infrastructure (‘malicious Remote Desktop Protocol (RDP) file’).
- [T1204.002 ] User Execution: Malicious File – Phishing lures relied on users opening RDP, HTA, MSI, LNK, or archive files to trigger execution (‘upon opening resulted in a connection’, ‘malicious HTA file’).
- [T1566.001 ] Phishing: Spearphishing Attachment – Emails delivered malicious RDP and other attachments to targets (‘phishing email containing … a malicious RDP file attachment’).
- [T1566.002 ] Phishing: Spearphishing Link – Phishing emails used unique file-sharing links to deliver malicious archives (‘each containing a unique ukr.net file sharing link’).
- [T1106 ] Native API – The malware uses Windows Forms, WM_COPYDATA, WMI, and .NET framework functionality to execute internal operations (‘WMI is queried’, ‘exchange of WM_COPYDATA messages’).
- [T1083 ] File and Directory Discovery – STOCKTRADER can enumerate directories and collect file listings (‘Generate a listing of the specified directories’).
- [T1005 ] Data from Local System – STOCKTRADER can retrieve files and archive them for exfiltration (‘All files matching … will be added to an in-memory ZIP archive’).
- [T1119 ] Automated Collection – The malware can gather system details, files, screenshots, and process lists automatically (‘Conduct a system survey’, ‘Perform a screen-capture’).
- [T1057 ] Process Discovery – The Sysinfo command collects running process names (‘captures a list of the names of running processes’).
- [T1547.001 ] Boot or Logon Autostart Execution: Registry Run Keys / Startup Folder – MARKETMAKER and LNK payloads were used to execute malware at startup (‘enabled persistent execution via registry run keys’, ‘startup programs directory’).
- [T1102 ] Web Service – STOCKSTAY used Render and GitHub-hosted WebSocket infrastructure and compromised web services for hosting (‘hosting web services, including WebSockets’).
- [T1553.002 ] Code Signing or Trusted Developer Utilities Proxy Execution – The attack leveraged legitimate-looking application names and benign wrappers such as MSI, RDP, and HTA execution paths to conceal malware (‘masquerading as “MicrosoftUpdateOneDrive”‘, ‘masqueraded as the ILSpy application’).
Indicators of Compromise
- [File names ] STOCKSTAY components and archives – StockMarketView.exe, StockMarketNet.exe, StockMarketSystem.exe, docs.zip, calculator.rar, DiplomacyEduAI.msi
- [SHA-256 hashes ] malware samples and configs – d1e54270433a94aa3d45d888e4c62299bee3480eb2cb4a5489c7dda69d476c3e, da8a96bc74e265f945f1cc6992c6dc0f9ea36ed1991f7b8d312db79d9bf78c40, and other sample hashes throughout the report
- [URLs / domains ] WebSocket C2 and delivery infrastructure – wss://wool-basalt-clock.glitch.me/ws, wss://weatherdataai.theworkpc.com/ws, wss://canal1zac1a.onrender.com/ws, wss://google-ai-labs-it.onrender.com/ws, basecon.com.ua, online.zp.ua
- [GitHub repositories / accounts ] actor-hosted infrastructure – Roberto1983-ai, msi_installer_test2, msi_installer_test3, ChikenFresh, google-ai-labs-it
- [IP / network-related indicators ] RDP and client-side connections – 3389, X-Forwarded-For header usage, and actor-controlled RDP endpoints
- [Registry paths ] persistence locations – SoftwareMicrosoftWindowsCurrentVersionRun
- [Malicious archive and lure names ] delivery artifacts – DriversPrinterGraphic.rar, apps_libwallets_v1.3.rar, Copia.msi, Калькулятор грошового забезпечення військовослужбовців 2025.hta
- [Database / server artifact names ] C2 controller storage – weather_data1.db, log database table, server.py, models.py, wtools.py
Read more: https://cloud.google.com/blog/topics/threat-intelligence/stockstay-turla-intelligence-gathering/