
SparkRAT
SparkRAT is an open-source, cross-platform remote access trojan written in Go by the Chinese-speaking developer XZB-1248, first published on GitHub in March 2022. It runs a web-based control panel and talks to its implants over WebSocket, with builds for Windows, Linux, and macOS out of the box. It is marketed as a remote administration tool, but it is tracked here as malware because threat actors adopted it for real intrusions, most visibly the DragonSpark campaign against East Asia and a later DPRK operation against macOS users.
For a defender, the useful part is that SparkRAT is consistent. Its C2 server defaults to port 8000, it answers with a recognizable HTTP response, and it beacons over WebSocket, so the server is findable even though the RAT itself changes hands between unrelated actors.
- Aliases: SparkRAT, Spark
- Type: open-source cross-platform remote access trojan (RAT)
- Author: XZB-1248, a Chinese-speaking developer
- Project: github.com/XZB-1248/Spark (open-source RAT source, referenced as text only)
- Written in: Go, with builds for Windows, Linux, and macOS
- First published: March 2022, on GitHub
- C2 channel: WebSocket, with HTTP POST version and upgrade checks
- Default port: 8000 for the C2 server
- Actively tracked
- First seen 2022


