Linux Watchdogd Downloader Hides Payload as a Fake kworker Thread

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
| Type | Indicator | Context |
|---|---|---|
| IPV4 | 192[.]124[.]176[.]192 | IP identified in the article as belonging to gittest2, the host serving the agent download. |
| IPV4 | 96[.]126[.]130[.]107 | IP identified in the article as belonging to wssendlog, the WebSocket logging server. |
| SHA256 | 0177415bfa63400f2a86a68e7c45bac537a2a35069391804f9030bc222664c3f | SHA-256 of the watchdogd downloader sample analyzed in the article. |
| URL | hxxps[:]//gittest2[.]work[.]gd/25.11reg/down/releases/download/1/ws80-op-client | Payload-download URL for the ws80-op-client agent; the server refused the connection during analysis. |
MITRE ATT&CK
T1027 · Obfuscated Files or InformationThe Go downloader is described as scrambled with an obfuscator that removes almost all function names.T1036.005 · Match Legitimate Resource Name or LocationThe agent is launched with the process name [kworker/7:2] to resemble a Linux kernel worker.T1053.003 · Cronwatchdogd adds a user crontab entry and attempts to write a root cron file.T1053.006 · Systemd Timerswatchdogd installs an hourly systemd timer named Run watchdog.T1070.004 · File Deletionwatchdogd deletes the agent's file from disk shortly after launching it.T1071.001 · Web Protocolswatchdogd sends plain-text progress messages to its operator over a WebSocket.T1105 · Ingress Tool Transferwatchdogd downloads the ws80-op-client agent from a remote release URL.T1543.002 · Systemd ServiceAfter a successful download, watchdogd installs a systemd service named System Update Service.T1546.004 · Unix Shell Configuration Modificationwatchdogd adds an autostart block to ~/.profile.T1564.001 · Hidden Files and Directorieswatchdogd may copy itself into a hidden .runtime folder in a user's home directory or /tmp.
Malware
Tools
capaTools used: Malcat, objdump, Python, capa, Censys and Triage.CensysTools used: Malcat, objdump, Python, capa, Censys and Triage.MalcatTools used: Malcat, objdump, Python, capa, Censys and Triage.objdumpTools used: Malcat, objdump, Python, capa, Censys and Triage.PythonTools used: Malcat, objdump, Python, capa, Censys and Triage.TriageTools used: Malcat, objdump, Python, capa, Censys and Triage.
