Gokcpdoor is a Go-based backdoor observed in intrusions against organizations in Japan since 2022. It has Windows and Linux variants with largely equivalent functionality. The China-linked cyberespionage group Bronze Butler, also known as Tick, used an updated version in 2025 attacks exploiting CVE-2025-61932 in on-premises Motex Lanscope Endpoint Manager deployments.
Gokcpdoor supports remote command and shell execution, file upload and download, directory enumeration, process and network-interface listing, network-connection inspection, port forwarding, SOCKS5 proxy management, and self-termination. These functions enable remote control, reconnaissance, file retrieval, and tunneled access to compromised networks. Server-type variants listen for incoming connections, while client-type variants initiate outbound connections to configured command-and-control infrastructure.
Early versions used the kcp-go library for encrypted KCP communication over UDP, with Base64-encoded command messages and AES-256 encryption using keys derived through PBKDF2. The 2025 variant discontinued KCP support and introduced multiplexed command-and-control communications using the smux library.
Earlier intrusions involved access using stolen credentials and deployment alongside the ABK downloader and OAED loader. In the 2025 Bronze Butler campaign, exploitation of Lanscope delivered Gokcpdoor, and some samples were loaded through OAED, which injected payloads into legitimate executables. Operators used backdoor tunnels for Remote Desktop access and additional tools for directory-data collection and information theft.
1 CVE Mallory has correlated with this family across public research and vendor advisories. Each card links to the full Mallory page for that vulnerability.
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.
In 2022 we observed the use of new APT malware by an unknown China-based APT actor across several incidents in Japan. The malware uses KCP protocol for backdoor communication and was coded in Golang on multiple platform operating systems – we named it ‘gokcpdoor’.
In 2022 we observed the use of new APT malware by an unknown China-based APT actor across several incidents in Japan. The malware uses KCP protocol for backdoor communication and was coded in Golang on multiple platform operating systems – we named it ‘gokcpdoor’.
15 distinct techniques documented for this family, organized by ATT&CK tactic.
APT actors use stolen credentials to break into the victim’s network and install malware using lateral movement.
Intrusions harnessing the critical request origin verification vulnerability in Motex Lanscope Endpoint Manager, tracked as CVE-2025-61932, as a zero-day have been launched by China-linked cyberespionage operation Bronze Butler, also known as Tick, to spread an updated Gokcpdoor malware
APT actors use stolen credentials to break into the victim’s network and install malware using lateral movement.
In the case we analysed the APT actor had registered gokcpdoor as a service to implement persistence mechanisms.
APT actors use stolen credentials to break into the victim’s network and install malware using lateral movement.
In the case we analysed the APT actor had registered gokcpdoor as a service to implement persistence mechanisms.
APT actors use stolen credentials to break into the victim’s network and install malware using lateral movement.
Ifconfig / ipconfig List all network interfaces
whoami / id Get username by executing ‘whoami’ or ‘id’ command
netstat Get network statistics about all active connections
ps List all running processes
getos Get OS information by executing ‘wmic os get name’ or ‘uname -a’ command
dir / ls List the contents of the specified directory
The malware uses KCP protocol for backdoor communication... This backdoor has 20 commands and connects with C2 servers via KCP over UDP.
The malware has 20 commands, for execution, uploading and downloading files, file manipulation, port forwarding, and so on.
portfoward list: List all port forwarding settings add: Add port forwarding setting which TCP or UDP can be selected delete: Delete port forwarding setting
This backdoor has 20 commands and connects with C2 servers via KCP over UDP.
The malware has 20 commands, for execution, uploading and downloading files, file manipulation, port forwarding, and so on.
The malware has 20 commands, for execution, uploading and downloading files... In particular, the exec, shell, upload and download commands play an important role in controlling the victim host.
13 indicators attributed across vendor reports, sandbox runs, and researcher write-ups. Values are masked here and available in full in Mallory.
8 sources tracked across advisories, community write-ups, and news. New activity surfaces here as Mallory finds it.