Linux Watchdogd Downloader Hides Payload as a Fake kworker Thread

· Original article ↗

Summary

Analysis of watchdogd, a Go-based Linux downloader, found it launches an unavailable second-stage agent as a fake [kworker/7:2], deletes its file, and uses hourly persistence; the agent's behavior remains unknown.

Key points

  • watchdogd is an obfuscated 64-bit Linux downloader written in Go; its purpose is to fetch and launch a separate agent.
  • The downloader disguises the agent as [kworker/7:2], detaches it, and deletes its file; its /proc/<pid>/exe link can still point to the deleted file.
  • After a successful download, watchdogd can establish persistence with an hourly systemd timer, an OpenRC service, cron entries, and a ~/.profile block.
  • It sends plain-text progress messages, along with the machine hostname and time, to wssendlog[.]work[.]gd over a one-way WebSocket channel.
  • The second-stage agent, ws80-op-client, could not be retrieved because gittest2[.]work[.]gd refused the connection, so its behavior remains unknown.
  • The analysis recommends checking suspicious kworker-named processes for an executable link and monitoring for new systemd timers and outbound WebSocket traffic to work[.]gd subdomains.

Article Details

Attack Vectors
  • watchdogd downloads the ws80-op-client agent from a fake GitHub-style release URL.
  • The downloader launches the agent under the process name [kworker/7:2] and deletes the agent file.
  • After a successful download, watchdogd establishes persistence using a systemd service and hourly timer, an OpenRC init script, cron entries, and a ~/.profile block.
  • watchdogd sends plain-text progress messages, along with the machine hostname and time, over a WebSocket to its operator.
Defensive Notes
  • Check whether [kworker...] processes have an existing /proc/<pid>/exe link; the article says the fake process points to a deleted file.
  • Look for new systemd timers running from /usr/bin or hidden home folders, and for the listed watchdogd files and persistence markers.
  • Monitor outbound WebSocket traffic to work[.]gd subdomains.

Indicators of compromise

TypeIndicatorContext
IPV4192[.]124[.]176[.]192IP identified in the article as belonging to gittest2, the host serving the agent download.
IPV496[.]126[.]130[.]107IP identified in the article as belonging to wssendlog, the WebSocket logging server.
SHA2560177415bfa63400f2a86a68e7c45bac537a2a35069391804f9030bc222664c3fSHA-256 of the watchdogd downloader sample analyzed in the article.
URLhxxps[:]//gittest2[.]work[.]gd/25.11reg/down/releases/download/1/ws80-op-clientPayload-download URL for the ws80-op-client agent; the server refused the connection during analysis.

MITRE ATT&CK

Malware

Tools

Related Articles