Stowaway
- Type
- RAT
- Capabilities
- Post exploitationLateral movementReconnaissancePersistenceDefense evasionDLL sideloading
- Delivery
- Fake update
- Platforms
- WindowsLinux
Stowaway is an open-source, Go-based remote-access and multi-hop proxy tool used in post-compromise operations on Windows and Linux systems. It enables operators to route traffic through compromised hosts, establish chained tunnels into internal networks, and maintain remote access. Its capabilities include SOCKS5 proxying, port forwarding, reverse tunneling, SSH-based tunneling, remote shell access, and file transfer. Documented deployments support TCP, HTTP, and WebSocket communication channels, with AES-256-GCM or TLS protection.
Attackers deploy Stowaway after establishing an initial foothold, frequently alongside web shells, Cobalt Strike, and other remote-access tools. It supports reconnaissance, internal pivoting, and delivery of additional payloads. Observed execution and concealment methods include DLL sideloading through legitimate applications, embedding the tool within stitched DLLs, and masquerading under alternative executable names. Operators have also configured startup execution to preserve access. In a Southeast Asian espionage campaign, Stowaway delivered TmcLoader as part of a subsequent data-exfiltration chain.
Stowaway is shared tooling rather than a capability unique to one threat actor. Its documented users include Earth Lamia, CL-STA-0048, ToddyCat, UAT-8302, and BlackCat-associated attackers. It has appeared in intrusions affecting government and diplomatic entities, telecommunications providers, and other enterprises across multiple regions.
Associated vulnerabilities
2 CVEs Mallory has correlated with this family across public research and vendor advisories. Each card links to the full Mallory page for that vulnerability.
Associated threat actors
8 distinct threat actors Mallory has associated with this family across public reporting. Open in Mallory to see the full evidence chain and overlapping campaigns.
From further analysis of TA413 activity, we also identified evidence that the group is likely using the open-source proxy tool Stowaway.
Establishing proxy tunnels to the Victims' network with tools such as "rakshasa" and "Stowaway".
The proxy/tunneling/scanning section lists https://github.com/ph4ntonn/Stowaway among projects used in the operation.
The Cobalt Strike beacon was injected into an SQL server process, enabling C2 communication to deliver additional malware such as `Stowaway` and `iox` to tunnel network traffic through compromised systems.
Another example from this incident demonstrates the use of the PowerShell cmdlet Start-BitsTransfer. In this case, the second-stage Stowaway implant is extracted as follows.
A new Go-based RAT named Stowaway took the lead. It adds reverse tunneling and SSH-based tunneling on top of the proxy features.
+2 more in the app. View in Mallory
Techniques & procedures
27 distinct techniques documented for this family, organized by ATT&CK tactic.
Resource Development
1 technique
Resource Development
The actors use open-source exploits and open-source multi-hop pivoting tools such as STOWAWAY.
Execution
2 techniques
Execution
远程shell ... (node 0) >> shell ... Shell is started successfully!
The attacker created two DLLs (swprvs.dll and appmgmt.dll) and replaced the legitimate Shadow Copy Provider Service and Application Management Service DLL paths in the registry.
Persistence
3 techniques
Persistence
当前Stowaway提供基于SO_REUSEPORT和SO_REUSEADDR特性的端口复用功能及基于IPTABLES的端口复用功能
Snippets showing both the listening and connecting executions of Stowaway, using a service installed on the machine... Windows event log ID 7045, showing the creation of the service which executes ‘vga.exe’... service named ‘RoHesJayPv’... remotely creating a service named ‘HkBnPoqLAj’.
The threat actor utilized a compromised user account to create a batch script named ‘sap.bat’... in the... ‘Startup’... folder, in order to maintain persistency.
Privilege Escalation
2 techniques
Privilege Escalation
Snippets showing both the listening and connecting executions of Stowaway, using a service installed on the machine... Windows event log ID 7045, showing the creation of the service which executes ‘vga.exe’... service named ‘RoHesJayPv’... remotely creating a service named ‘HkBnPoqLAj’.
The threat actor utilized a compromised user account to create a batch script named ‘sap.bat’... in the... ‘Startup’... folder, in order to maintain persistency.
Stealth
4 techniques
Stealth
Obfuscated Files or Information T1027 Basic description To bypass security solutions, attackers employ obfuscation.
the threat actor created a malicious file named ‘C:\Intel\svchost.exe’... attempting to mask the malware as benign activity... Additional executions of the Stowaway tunneling tool were also observed during this phase using the names ‘svchost.exe’, ‘tomcat.exe’, and ‘tomcat7.exe’.
当前Stowaway提供基于SO_REUSEPORT和SO_REUSEADDR特性的端口复用功能及基于IPTABLES的端口复用功能
The attacker created two DLLs (swprvs.dll and appmgmt.dll) and replaced the legitimate Shadow Copy Provider Service and Application Management Service DLL paths in the registry.
Credential Access
3 techniques
Credential Access
Meanwhile, credential dumpers pull secrets from LSASS memory and the SAM hive.
Meanwhile, credential dumpers pull secrets from LSASS memory and the SAM hive.
Meanwhile, credential dumpers pull secrets from LSASS memory and the SAM hive.
Discovery
1 technique
Discovery
The malware enabled TA to perform reconnaissance to map the environment.
Lateral Movement
4 techniques
Lateral Movement
The actors use SSH endpoints and chained relays to enable interactive remote access.
Day 3: The threat actor successfully connected over RDP from the DESKTOP-PSGDD89 host to a server in the victim’s network... Phase 2: Lateral Movement... through RDP and tunneled connections.
Day 1: Several RDP and SMB logon attempts were made... Day 2: A brute-force attack was initiated... via port 445 (SMB)... the threat actor copied over SMB a Stowaway instance named ‘vga.exe’ to the remote server.
A new Go-based RAT named Stowaway took the lead. It adds reverse tunneling and SSH-based tunneling on top of the proxy features.
Command and Control
12 techniques
Command and Control
The actors open non-standard SSH and HTTP ports and use separate C2 channels within high-traffic nodes.
Salt Typhoon uses open-source multi-hop pivoting tools to build chained relays.
The attacker used various tools for different purposes: collecting information for infiltration, port forwarding for establishing an external connection...
节点间可通过socks5/http代理进行连接
The group leverages STOWAWAY to build chained relays and enable interactive remote access.
The backdoor connects to command-and-control servers using ChaCha20 encryption for communications... Communications are transported over TCP...
Technical details | Command and Control TA0011 | Ingress Tool Transfer T1105
当前Stowaway提供基于SO_REUSEPORT和SO_REUSEADDR特性的端口复用功能及基于IPTABLES的端口复用功能
The primary weapon in this campaign is the GoSerpent backdoor... Stowaway is a proxy and remote access tool... McMx is a basic Go-based proxy and remote access tool.
The malware accepted inbound TCP network connections via port 7475. VSOCKpuppet accepts connections via the VSOCK interface (including port 6667).
“Stowaway and iox [were used] to tunnel network traffic through compromised systems.”
节点间流量以TLS/AES-256-GCM进行加密 ... 通过设置此选项,可以将节点间流量以TLS加密
Observables
52 indicators attributed across vendor reports, sandbox runs, and researcher write-ups. Values are masked here and available in full in Mallory.
Recent activity
22 sources tracked across advisories, community write-ups, and news. New activity surfaces here as Mallory finds it.