StreamSpy
StreamSpy is a trojan/backdoor associated with the Indian-origin threat actor Patchwork, also tracked as Dropping Elephant and APT-Q-36, and described in reporting as used in espionage operations, including targeting Pakistan's defense sector. It has been reported as a previously undocumented malware family as of December 2025. StreamSpy uses WebSocket and HTTP for command-and-control communications, with reporting specifically noting that C2 commands were concealed within WebSocket traffic for stealth. Reported delivery includes ZIP archives hosted on firebasescloudemail[.]com. Its documented capabilities include harvesting system information, establishing persistence, executing commands, downloading files, uploading files, enumerating the file system, manipulating files, and executing both cmd and PowerShell commands. Persistence mechanisms mentioned in the supporting content include Windows Registry, scheduled tasks, or LNK files in the Startup folder. The activity is linked to Patchwork through reporting and malware/tooling similarities noted with Spyder, a variant of WarHawk attributed to SideWinder, and shared digital-signature correlations with ShadowAgent, a RAT attributed to the DoNot Team; QiAnXin also reported resource sharing between Patchwork and DoNot. High-confidence infrastructure detail directly mentioned in the content includes distribution via firebasescloudemail[.]com.
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.
Patchwork APT Deploys StreamSpy Trojan, Hiding C2 Commands in WebSocket Traffic for Stealth Espionage
Techniques & procedures
1 distinct technique documented for this family, organized by ATT&CK tactic.
Command and Control
1 technique
Command and Control
“ShadowAgent… communicates with the server using WebSocket and HTTP” and “StreamSpy… communicates… using a combination of WebSocket and HTTP… retrieves commands… through this WebSocket channel. HTTP is used for… file transfers.”
Recent activity
4 sources tracked across advisories, community write-ups, and news. New activity surfaces here as Mallory finds it.