gost
- Capabilities
- Post exploitationPersistenceLateral movementDefense evasion
- Platforms
- WindowsLinuxNetwork deviceCloud
GOST (Go Simple Tunnel) is an open-source proxy and tunneling utility written in Go that is used legitimately and abused by threat actors for post-compromise connectivity. It supports SOCKS5 proxies and reverse TCP tunnels, enabling operators to expose internal services, relay traffic, and maintain external access to compromised environments. Observed deployments include Windows systems, Linux servers and containers, and Palo Alto Networks PAN-OS firewalls.
Attackers deploy GOST after gaining access through other mechanisms rather than using it as an exploit itself. Malicious deployments have used systemd services and external service-based loaders or schedulers to maintain or periodically reactivate tunnels. Operators have also disguised GOST as trusted software components and combined it with other proxy and tunneling utilities to provide redundant access channels.
GOST has been used by Akira ransomware affiliates, UTA0218, Partisan Zmiy associated with Cyber Partisans, SHADOW-EARTH-053, and TeamPCP. Documented environments include enterprise networks, healthcare infrastructure, backup servers, and containerized workloads. UTA0218 deployed it following exploitation of CVE-2024-3400, while TeamPCP used it to proxy traffic through compromised containers. GOST is a dual-use tool; its presence alone does not establish malicious activity or attribution.
Associated threat actors
6 distinct threat actors Mallory has associated with this family across public reporting. Open in Mallory to see the full evidence chain and overlapping campaigns.
Alert on tunneling and proxy tools from the operator’s toolkit, such as gost, gs-netcat, yuze, suo5 and Neo-reGeorg.
“DNSCat2, PartisanDNS, and a GOST–3proxy chain provided alternative connectivity, preventing disruption of one channel from automatically removing access.”
“DNSCat2, PartisanDNS, and a GOST–3proxy chain provided alternative connectivity, preventing disruption of one channel from automatically removing access.”
This version attempts to download a Golang tunneling tool named GOST and execute it with two different command-line options to establish SOCKS5 and RTCP tunnels.
Observed tooling included IOX Proxy, GOST, Wstunnel, and multiple tunnel-core.exe variants. These tools established SOCKS5 proxies, HTTPS tunnels, and reverse communication channels to attacker infrastructure.
Tunneling tools: TeamPCP uses frps (fast reverse proxy) and gost for establishing persistent tunnels and proxying through compromised container environments
Techniques & procedures
13 distinct techniques documented for this family, organized by ATT&CK tactic.
Resource Development
1 technique
Resource Development
Multiple groups “obtained and used” publicly available/open-source tools (e.g., APT28 used Koadic/Mimikatz/Responder; APT29 used Mimikatz/SDelete/Tor/meek/Cobalt Strike; many others acquired tools such as PsExec, Impacket, Metasploit, etc.).
Initial Access
2 techniques
Initial Access
Tunneling tools: TeamPCP uses frps (fast reverse proxy) and gost for establishing persistent tunnels and proxying through compromised container environments
The primary payload, tplink_stager.sh, was designed for post-exploitation of CVE-2024-21833, an OS command injection vulnerability affecting TP-Link Archer and Deco series routers.
Execution
1 technique
Execution
“Locker and audit runs as SYSTEM tasks every 5-10 minutes”; persistence tasks include “AfricaSync, FinSoftSync*, SvcSync, NetAssist.”
Persistence
4 techniques
Persistence
“Locker and audit runs as SYSTEM tasks every 5-10 minutes”; persistence tasks include “AfricaSync, FinSoftSync*, SvcSync, NetAssist.”
Tunneling tools: TeamPCP uses frps (fast reverse proxy) and gost for establishing persistent tunnels and proxying through compromised container environments
Persistence was achieved via six systemd services... TeamPCP proxy.sh creates six systemd services with Restart=always.
They made Localtonet persistent with the help of Non-Sucking Service Manager (NSSM)... If the -p flag is specified... a service for the Gost tool will be installed... If -t key is passed... it installs and configures cloudflared in the system.
Privilege Escalation
3 techniques
Privilege Escalation
“Locker and audit runs as SYSTEM tasks every 5-10 minutes”; persistence tasks include “AfricaSync, FinSoftSync*, SvcSync, NetAssist.”
Persistence was achieved via six systemd services... TeamPCP proxy.sh creates six systemd services with Restart=always.
They made Localtonet persistent with the help of Non-Sucking Service Manager (NSSM)... If the -p flag is specified... a service for the Gost tool will be installed... If -t key is passed... it installs and configures cloudflared in the system.
Command and Control
7 techniques
Command and Control
Upon launch, it connected to the C2 server, allowing the operator to execute commands on the compromised host... Cloudflared tunnels traffic through the Cloudflare network.
Mandiant observed UNC5330 operating a server since Dec. 6, 2021, which the group used as a GOST proxy to help facilitate malicious tool deployment to endpoints.
The group uses reverse SSH tunnels with -R port forwarding and tools including GOST, rsocx, cloudflared, and localtonet to redirect traffic.
“Tor, SSH pivots, gost exits on compromised hosts, residential proxies.”
After exploiting the business automation platform server, attackers downloaded and installed the PhantomJitter backdoor... The backdoor was downloaded into the victims’ infrastructure from the following URLs...
ShadowLink on port 7443; TeamPCP staging on 666, FRP on 888.
The operator ... used multiple tunneling tools to facilitate access to internal networks through compromised Exchange servers.
Observables
21 indicators attributed across vendor reports, sandbox runs, and researcher write-ups. Values are masked here and available in full in Mallory.
Recent activity
14 sources tracked across advisories, community write-ups, and news. New activity surfaces here as Mallory finds it.