GoSerpent: a persistent threat evolves with sophisticated data collection and exfiltration
The GoSerpent campaign is a sophisticated, multi-stage attack targeting government and diplomatic entities in Southeast Asia since at least 2021, with evolved variants deployed through 2026. The Go-based GoSerpent backdoor establishes persistent access and deploys ThumbcacheService for document collection, Mimikatz and QuarksDumpLocalHash for credential dumping, and later stages use Stowaway RAT and TmcLoader/TmcPayload to exfiltrate collected data via network shares using stolen credentials. The tight integration between collection, credential theft, and exfiltration components demonstrates advanced operational planning and long-term intelligence gathering objectives.
- filenamethumbcache_605a.dbDatabase file created by ThumbcacheService in C:\Users\Public\ to store collected sensitive documents; later exfiltrated by TmcPayload
- ip101[.]36[.]104[.]87C2 IP address hosted on Alibaba Cloud infrastructure used by campaign
- ip103[.]138[.]13[.]30C2 IP address used by GoSerpent/Stowaway campaign infrastructure
- ip144[.]48[.]6[.]46C2 IP address used by campaign infrastructure
- ip152[.]32[.]160[.]239C2 IP address used by GoSerpent/Stowaway campaign infrastructure
- ip152[.]32[.]222[.]113C2 IP address used by campaign infrastructure
- ip43[.]106[.]30[.]226C2 IP address used by campaign infrastructure
- ip47[.]80[.]22[.]58C2 IP address used by campaign infrastructure
- ip8[.]220[.]193[.]189C2 IP address used by campaign infrastructure
- ip8[.]220[.]194[.]108C2 IP address used by GoSerpent/Stowaway campaign infrastructure
- ip8[.]220[.]209[.]155C2 IP address used by campaign infrastructure
- ip8[.]220[.]214[.]132C2 IP address used by GoSerpent/Stowaway campaign infrastructure
- md519f8befcb035f52bf70094e6b4f5779aMD5 hash of Stowaway RAT/proxy tool binary (third sample)
- md564e9d1950e42bc98486dfd9919463d1cMD5 hash of ThumbcacheService malicious DLL (second sample)
- md57f223ee0716ce2ad56f55d3744419449MD5 hash of Stowaway RAT/proxy tool binary (second sample)
- md5846ef7c1c7323849b2a778c5e4cda162MD5 hash of Stowaway RAT/proxy tool binary (fourth sample)
- md593a1569d5d5ab2c4761fedf84f83709eMD5 hash of TmcLoader stealthy C++ loader (second sample)
- md5cb6c4c70a3b171fa3404b8e1a3382116MD5 hash of ThumbcacheService malicious DLL for file collection
- md5cbbb6d483737ea3566726e51752dff40MD5 hash of Stowaway RAT/proxy tool binary
- md5d08a059e8b815e3b891505bc8777fc28MD5 hash of TmcLoader stealthy C++ loader that injects TmcPayload into svchost
- md5d6e86bf8a90e9b632add5fa495f97fbcMD5 hash of McMx RAT, simpler Go-based variant of GoSerpent
- md5dc506ff7bb72735444fb3703a6bee6d8MD5 hash of GoSerpent backdoor binary (second sample)
- md5ebffd5a76aaa690bcdb922f82e0bacc5MD5 hash of GoSerpent backdoor binary
Detection / Hunteropenrouter
What Happened
A sophisticated hacking group has been targeting government and diplomatic organizations in Southeast Asia since at least 2021 using a malware tool called GoSerpent. The attackers use a multi-step approach: first they install a backdoor (a hidden remote access tool) that lets them control infected computers, then they deploy additional tools to silently collect sensitive documents (like Word, Excel, and PDF files) over weeks or months. They also steal computer passwords to help them move data out later. In a second phase months later, they return with new tools to quietly transfer all the collected files out of the victim's network using the stolen passwords. Government and diplomatic organizations in Southeast Asia are the primary targets. Organizations in the region should check their systems for the specific files, network connections, and malware indicators described in the report, and ensure they have strong monitoring for unusual network share access and unexpected Windows services.
Key Takeaways
- GoSerpent is a Go-based RAT active since 2021 targeting government and diplomatic entities in Southeast Asia, with evolved variants deployed through 2026
- The threat actor integrates multiple tools in a coordinated chain: GoSerpent deploys ThumbcacheService for file collection and credential dumpers, then later deploys Stowaway and TmcLoader/TmcPayload to exfiltrate the collected data via network shares
- ThumbcacheService specifically targets .doc, .docx, .pdf, .xls, and .xlsx files, archives them with 7-Zip using a hardcoded password, and stores them in C:\Users\Public\thumbcache_605a.db
- TmcPayload injects into the svchost process and exfiltrates the exact thumbcache_605a.db file using credentials harvested earlier, demonstrating tight toolset integration
- Possible attribution link to TetrisPhantom threat actor based on victim targeting and operational methodology similarities
Affected Systems
- Windows systems in government and diplomatic organizations in Southeast Asia
Vulnerabilities (CVEs)
None identified.
Attack Chain
- Initial Access: GoSerpent backdoor deployed with encrypted C2 parameters on target government/diplomatic systems in Southeast Asia
- Persistence & Collection: GoSerpent deploys ThumbcacheService as a Windows service to silently collect .doc/.docx/.pdf/.xls/.xlsx files into thumbcache_605a.db over weeks
- Credential Dumping: GoSerpent deploys Mimikatz and QuarksDumpLocalHash to extract LSASS credentials and SAM hashes for later use
- Second Stage: Stowaway RAT deployed months later to establish chained proxy paths and deliver TmcLoader with encrypted configuration file
- Exfiltration: TmcLoader injects TmcPayload into svchost process; TmcPayload reads configuration with stolen network share credentials and exfiltrates thumbcache_605a.db via network shares
Detection Availability
- YARA Rules: No
- Sigma Rules: No
- Snort/Suricata Rules: No
- KQL Queries: No
- Splunk SPL Queries: No
- EQL Queries: No
- Other Detection Logic: No
The article does not include any detection rules, queries, or signatures. It provides IOCs (file hashes and C2 IP addresses) and technical behavioral descriptions that could be used to develop custom detections.
Detection Engineering Assessment
| Dimension | Rating | Rationale |
|---|---|---|
| EDR Visibility | Medium | GoSerpent uses filenames mimicking legitimate processes (lass.exe, updates.exe) and TmcPayload injects into svchost, which may blend with normal activity. However, the creation of Windows services for ThumbcacheService and TmcLoader, along with Mimikatz/QuarksDumpLocalHash execution, should be visible to EDR if behavioral detection rules are in place. |
| Network Visibility | Medium | C2 communications use ChaCha20 and AES-256-GCM over TCP, HTTP, or WebSocket channels, which may appear as normal HTTPS traffic. SOCKS5 proxy activity and network share-based exfiltration could be detected with network monitoring if baselines are established. The use of legitimate hosting providers (Alibaba Cloud, UCLOUD HK) makes IP-based detection less reliable. |
| Detection Difficulty | Hard | The threat actor uses legitimate hosting providers, mimics system process names, injects into svchost, and employs multiple encryption layers. The multi-month delay between collection and exfiltration makes correlation challenging. The use of network shares for exfiltration may appear as legitimate file access if stolen credentials are used. |
Required Log Sources
- Windows Event Logs (Service creation - Event ID 7045, 4697)
- Sysmon Event ID 1 (Process Creation), 7 (Image Loaded), 8 (Remote Thread Creation), 11 (File Creation)
- EDR process telemetry including command-line arguments
- Network flow logs for C2 beaconing and SOCKS5 proxy detection
- Windows Event Log 4624 (logon events) and 5140/5145 (network share access) for exfiltration detection
- File system monitoring for C:\Users\Public\ directory writes
Hunting Hypotheses
| Hypothesis | Telemetry | ATT&CK Stage | FP Risk |
|---|---|---|---|
| Consider hunting for Windows services created with names resembling ThumbcacheService or TmcLoader, especially those running from non-standard paths like C:\Users\Public\ | Windows Event Log 7045/4697 (service creation), Sysmon Event ID 1 (process creation of service binaries) | Persistence / Execution | Low — service names referencing thumbcache or tmc in non-standard paths are uncommon in legitimate software |
| Consider hunting for file writes to C:\Users\Public\ that create .db files, particularly thumbcache_605a.db or files with GUID-like names in a Libraries subdirectory | Sysmon Event ID 11 (File Creation), EDR file write telemetry | Collection / Staging | Low — legitimate applications rarely write database files to C:\Users\Public\ |
| Consider hunting for processes named lass.exe or updates.exe that exhibit network proxy or C2 beaconing behavior, as these mimic legitimate Windows processes (lsass.exe, Windows Update) | EDR process telemetry with network correlation, Sysmon Event ID 1 and 3 (process creation with network connections) | Initial Access / C2 | Medium — updates.exe is a common name; verify the signing path and network behavior to differentiate from legitimate update services |
| Consider hunting for SOCKS5 proxy activity originating from Windows hosts that are not known proxy servers, particularly those communicating with IPs on Alibaba Cloud or UCLOUD HK infrastructure | Network flow logs, firewall logs, EDR network telemetry | C2 / Lateral Movement | Medium — some legitimate administrative tools use SOCKS proxies; correlate with known-good admin activity |
| Consider hunting for network share access events (T1039) where the accessing credentials were recently associated with Mimikatz or QuarksDumpLocalHash execution on the source host | Windows Event Log 5140/5145 (network share access), 4624 (logon), EDR credential dumping alerts | Exfiltration | Medium — legitimate administrators access network shares regularly; focus on hosts with prior credential dumping alerts |
Control Gaps
- Network-based detection may miss C2 traffic that uses legitimate hosting providers and standard protocols (HTTP, WebSocket) with encryption
- File collection by ThumbcacheService may not trigger alerts if the targeted file types (.doc, .docx, .pdf, .xls, .xlsx) are accessed during normal business hours
- Process injection into svchost by TmcPayload may evade application whitelisting and some behavioral detection rules
- The multi-month delay between collection and exfiltration may exceed typical detection correlation windows, breaking kill-chain analysis
Key Behavioral Indicators
- Windows service creation with names containing 'Thumbcache' or 'Tmc' from non-standard paths
- File writes to C:\Users\Public\ creating .db files or GUID-named files in Libraries subdirectory
- Processes named lass.exe (not lsass.exe) or updates.exe in non-standard directories exhibiting network activity
- 7-Zip archiving of document files with password protection from a service context
- Monitoring of $Recycle.Bin directory by a Windows service process
- SOCKS5 proxy listeners on workstations communicating with cloud hosting provider IP ranges
- Network share access using credentials that were recently dumped on the accessing host
False Positive Assessment
Medium — The malware uses filenames mimicking legitimate Windows processes (lass.exe, updates.exe) and legitimate hosting providers for C2, which could generate false positives if detection is based solely on process names or IP reputation. However, the specific file paths (C:\Users\Public), service names, and behavioral patterns (SOCKS5 proxying from workstations, 7-Zip archiving from service context) provide good discriminators when combined.
Recommendations
Immediate Mitigation
- Verify against your organization's incident response runbook and team escalation paths before acting. Consider searching endpoint telemetry for the listed MD5 hashes and C2 IP addresses to identify any existing compromises.
- Consider checking for the presence of thumbcache_605a.db in C:\Users\Public\ and the GUID-named .db file in C:\Users\Public\Libraries\ as indicators of staging or exfiltration configuration.
- If your EDR supports it, consider blocking the listed C2 IP addresses and quarantining any hosts showing communication with these addresses.
- Consider reviewing Windows service creation logs (Event IDs 7045, 4697) for services named ThumbcacheService or TmcLoader, especially those running from C:\Users\Public\ paths.
Infrastructure Hardening
- Evaluate whether network segmentation can restrict workstation-to-workstation SOCKS5 proxy traffic and limit lateral movement via network shares.
- Consider implementing network flow monitoring for outbound connections to Alibaba Cloud and UCLOUD HK IP ranges if these are not part of normal business traffic.
- If applicable, consider enforcing LSA Protection (RunAsPPL) and Credential Guard to mitigate Mimikatz-based LSASS credential dumping.
- Consider restricting write permissions to C:\Users\Public\ via AppLocker or similar application control policies.
User Protection
- Consider deploying EDR behavioral detection rules for process injection into svchost.exe from non-standard parent processes.
- Evaluate whether your endpoint protection can detect XOR-obfuscated strings in DLLs loaded as Windows services.
- Consider enabling Sysmon logging for file creation in C:\Users\Public\ and its subdirectories if not already covered.
- If supported by your tooling, consider alerting on any process named lass.exe (misspelling of lsass.exe) or updates.exe running from non-standard paths.
Security Awareness
- Consider reminding staff in government and diplomatic roles about the importance of reporting unusual system behavior, especially unexpected service installations or slow system performance during file collection.
- If applicable to your awareness program, consider highlighting that attackers may use legitimate-looking filenames and services to evade detection, emphasizing the importance of verifying unexpected system changes with IT security teams.
MITRE ATT&CK Mapping
Persistence
Privilege Escalation
Credential Access
Collection
Command and Control
Exfiltration
Additional IOCs
- Ips:
8[.]220[.]209[.]155- C2 IP address used by campaign infrastructure8[.]220[.]193[.]189- C2 IP address used by campaign infrastructure144[.]48[.]6[.]46- C2 IP address used by campaign infrastructure47[.]80[.]22[.]58- C2 IP address used by campaign infrastructure152[.]32[.]222[.]113- C2 IP address used by campaign infrastructure43[.]106[.]30[.]226- C2 IP address used by campaign infrastructure
- File Hashes:
DC506FF7BB72735444FB3703A6BEE6D8(MD5) - MD5 hash of GoSerpent backdoor binary (second sample)D6E86BF8A90E9B632ADD5FA495F97FBC(MD5) - MD5 hash of McMx RAT, simpler Go-based variant of GoSerpent64E9D1950E42BC98486DFD9919463D1C(MD5) - MD5 hash of ThumbcacheService malicious DLL (second sample)7F223EE0716CE2AD56F55D3744419449(MD5) - MD5 hash of Stowaway RAT/proxy tool binary (second sample)19F8BEFCB035F52BF70094E6B4F5779A(MD5) - MD5 hash of Stowaway RAT/proxy tool binary (third sample)846EF7C1C7323849B2A778C5E4CDA162(MD5) - MD5 hash of Stowaway RAT/proxy tool binary (fourth sample)93A1569D5D5AB2C4761FEDF84F83709E(MD5) - MD5 hash of TmcLoader stealthy C++ loader (second sample)
- File Paths:
C:\Users\Public\thumbcache_605a.db- Database file created by ThumbcacheService to store collected sensitive documentsC:\Users\Public\Libraries\{BBF061R2-BE25-4F6D-8B2D-1A6A39C3FSA2}.db- Encrypted configuration file delivered via Stowaway containing network share credentials and exfiltration destination paths
- Command Lines:
- Purpose: GoSerpent receives encrypted base64-encoded command-line arguments containing C2 server address and communication password, decrypted via AES-CBC | Tools:
GoSerpent| Stage: Initial Access / C2 Establishment - Purpose: McMx configuration generated via batch file echo commands writing C2 parameters to text file | Tools:
cmd.exe,McMx| Stage: C2 Configuration |echo <c2_params> > <config_file>
- Purpose: GoSerpent receives encrypted base64-encoded command-line arguments containing C2 server address and communication password, decrypted via AES-CBC | Tools:
- Other:
lass.exe- Filename used by GoSerpent to mimic legitimate Windows process lsass.exe for evasionupdates.exe- Filename used by GoSerpent to mimic a legitimate update process for evasion31323334353637383930616263646566- Fixed AES-CBC IV used by GoSerpent for decrypting command-line arguments@vx0a9n5W2M0c3D6.#- Hardcoded 7-Zip archive password used by ThumbcacheService to protect collected file archives0x13- Single-byte XOR key used by ThumbcacheService for string obfuscation