Skip to main content
Mallory
Malware2 associated actors3 associated CVEs

GobRAT

Tracked since Nov 25, 2025 · Updated today
Trending this weekNot trendingOutside this week’s top 100
Mention activity · 30 daysNo mention activity in the last 30 days.
Vulns3Associated
Actors2Associated
ATT&CK14Techniques
IOCs109Tracked
Type
RAT
Capabilities
PersistencePost exploitationDefense evasionReconnaissanceScanningBrute forceDDOS
Platforms
LinuxNetwork device

GobRAT is a Go-based remote access Trojan targeting Linux routers and other internet-facing edge devices, including network-attached storage systems. Identified in attacks against routers in Japan around February 2023, it has been compiled for ARM, MIPS, x86, and x86-64 architectures. Operators use compromised devices for remote access and as Operational Relay Boxes, proxying malicious traffic and concealing the origins of exploitation campaigns and distributed denial-of-service attacks.

GobRAT communicates with command-and-control servers over TLS, using Go's gob serialization protocol to exchange commands and execution results. Its 22 command types support reverse shells, arbitrary command execution, file reading and writing, host fingerprinting, system-state collection, command-and-control reconfiguration, and TCP/UDP communications. SOCKS5 proxying and integration with Fast Reverse Proxy enable traffic tunneling through infected devices. It can attempt authentication against SSH, Telnet, Redis, MySQL, and PostgreSQL services, scan HTTP/HTTPS services, conduct dictionary attacks, and generate SYN, TCP, UDP, HTTP, and ICMP denial-of-service traffic.

Deployment uses shell scripts on compromised edge devices to retrieve architecture-specific payloads. Associated installation scripts establish persistence through scheduled tasks and startup mechanisms, monitor and restart the malware, install an attacker-controlled SSH public key, and disable firewall protections. Execution under a legitimate-looking process name, UPX packing, and AES-128-CTR encryption of embedded strings further hinder detection and analysis.

GobRAT has been deployed alongside Bulbature in a globally distributed edge-device compromise operation affecting predominantly ARM-based Linux systems, including Asus and Qnap devices. The operation has been linked with high confidence to Chinese operators, but attribution to a specific named threat group or definitive state sponsorship has not been established.

Is this in your environment?See whether this family's indicators match your telemetry and which of your assets are exposed to the CVEs associated with it.
Check your exposure
Associated CVEs

Associated vulnerabilities

3 CVEs Mallory has correlated with this family across public research and vendor advisories. Each card links to the full Mallory page for that vulnerability.

CVE-2017-5638via sekoia blogApache Struts 2 Jakarta Multipart Parser Remote Code ExecutionGobRAT, which has been already documented by the JP-CERT, is a swiss-army knife backdoor written in Go which has standard RAT functionalities and is also used to relay specific attacks from the compromised devices such as DDoS or vulnerability exploitation campaigns. It seems to be used to gather intelligence from the networks associated with the compromised edge devices.View vulnerability →Source ↗
CVE-2019-13956via sekoia blogRemote PHP Code Execution in Discuz!ML Language Cookie HandlingGobRAT, which has been already documented by the JP-CERT, is a swiss-army knife backdoor written in Go which has standard RAT functionalities and is also used to relay specific attacks from the compromised devices such as DDoS or vulnerability exploitation campaigns. It seems to be used to gather intelligence from the networks associated with the compromised edge devices.View vulnerability →Source ↗
CVE-2019-9082via sekoia blogThinkPHP Remote Code Execution via invokefunctionGobRAT, which has been already documented by the JP-CERT, is a swiss-army knife backdoor written in Go which has standard RAT functionalities and is also used to relay specific attacks from the compromised devices such as DDoS or vulnerability exploitation campaigns. It seems to be used to gather intelligence from the networks associated with the compromised edge devices.View vulnerability →Source ↗
Threat actors

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.

View more details →
ZIRCONIUM

GobRAT, which has been already documented by the JP-CERT, is a swiss-army knife backdoor written in Go which has standard RAT functionalities and is also used to relay specific attacks from the compromised devices such as DDoS or vulnerability exploitation campaigns. It seems to be used to gather intelligence from the networks associated with the compromised edge devices.

via sekoia blogblog.sekoia.io
Quad7

GobRAT, which has been already documented by the JP-CERT, is a swiss-army knife backdoor written in Go which has standard RAT functionalities and is also used to relay specific attacks from the compromised devices such as DDoS or vulnerability exploitation campaigns. It seems to be used to gather intelligence from the networks associated with the compromised edge devices.

via sekoia blogblog.sekoia.io
MITRE ATT&CK

Techniques & procedures

14 distinct techniques documented for this family, organized by ATT&CK tactic.

Initial Access

1 technique
T1190Exploit Public-Facing ApplicationEvidence1

Initially, the attacker targets a router whose WEBUI is open to the public, executes scripts possibly by using vulnerabilities, and finally infects the GobRAT.

Execution

2 techniques
T1053.003CronEvidence1

since Loader Script uses crontab to register the file path of Start Script for persistence

T1059Command and Scripting InterpreterEvidence1

Loader Script works as a loader, containing functions such as generating various scripts and downloading GobRAT. | Appendix A: GobRAT commands ... 0x3 Start reverse shell

Persistence

2 techniques
T1053.003CronEvidence1

since Loader Script uses crontab to register the file path of Start Script for persistence

T1556Modify Authentication ProcessEvidence1

The SSH public key, which is assumed to be used for the backdoor, is hard-coded in the script... Register a SSH public key in /root/.ssh/authorized_keys

Privilege Escalation

1 technique
T1053.003CronEvidence1

since Loader Script uses crontab to register the file path of Start Script for persistence

Stealth

1 technique
T1036MasqueradingEvidence1

this script executes GobRAT under the file name apached to make it look like a legitimate process

Defense Impairment

1 technique
T1556Modify Authentication ProcessEvidence1

The SSH public key, which is assumed to be used for the backdoor, is hard-coded in the script... Register a SSH public key in /root/.ssh/authorized_keys

Credential Access

2 techniques
T1110Brute ForceEvidence1

Attempt to login to sshd, Telnet, Redis, MySQL, PostgreSQL services running on another machine ... 0x2D Dictionary attack to HTTP/HTTPS service of specified IP

T1556Modify Authentication ProcessEvidence1

The SSH public key, which is assumed to be used for the backdoor, is hard-coded in the script... Register a SSH public key in /root/.ssh/authorized_keys

Discovery

3 techniques
T1046Network Service DiscoveryEvidence1

0x2a Scan to HTTP/HTTPS service of specified IP

T1082System Information DiscoveryEvidence1

GobRAT performs the following checks at startup... IP address and MAC address of itself Uptime by uptime command Network communication status by /proc/net/dev ... 0x16 Obtain various machine information such as df command

T1083File and Directory DiscoveryEvidence1

0x1f Check for the existence of the specified file

Command and Control

4 techniques
T1071Application Layer ProtocolEvidence1

GobRAT uses TLS to send and receive data with its C2 server.

T1090ProxyEvidence1

Start socks5 ... Execute SOCKS5 proxy with specified port and password ... Execute SOCKS5 proxy on specified port

T1105Ingress Tool TransferEvidence1

Loader Script works as a loader, containing functions such as generating various scripts and downloading GobRAT.

T1219Remote Access ToolsEvidence1

GobRAT is a RAT written in Go language and communicates with C2 server via TLS and executes various commands.

Impact

1 technique
T1499Endpoint Denial of ServiceEvidence1

0x31 DDoS attacks on SYN, TCP, UDP, HTTP, ICMP

Indicators of compromise

Observables

109 indicators attributed across vendor reports, sandbox runs, and researcher write-ups. Values are masked here and available in full in Mallory.

View all in app →
Indicator values are available in Mallory. Pivot on every hash, domain, URL, and IP, or pipe them straight into your SIEM.View all in Mallory
Activity feed

Recent activity

12 sources tracked across advisories, community write-ups, and news. New activity surfaces here as Mallory finds it.

View more in app →
+8 more in the timeline. Sign up to see them
Is this in your environment?See whether this family's indicators match your telemetry and which of your assets are exposed to the CVEs associated with it.
Check your exposure
Mallory platform

The version that knows your environment.

This page is what’s public. Mallory adds the parts that aren’t: which of your assets match these IOCs, which detections are missing, which campaigns to expect next, and what to do in the next 30 minutes.
IOC matching109Match every observed IP, domain, and hash against your live telemetry.
Associated threat actors2Groups linked to this family, with evidence pinned to each claim.
Associated vulnerabilities3CVEs linked to this family, with the reporting behind each link.
Detection signaturesYARA, Sigma, Snort, and vendor rules, auto-deployed to your SIEM.
MITRE ATT&CK mapping14Every documented technique, ranked by evidence weight.
Researcher chatterReddit, Mastodon, and CTI community discussion around this family.