# RedOps / WeaveLotus Espionage Campaign Breaches Military and Government Networks in Thailand and the Philippines (CVE-2024-36401)

> RedOps is an August-September 2026 espionage campaign by an actor SOCRadar tracks as WeaveLotus, with five confirmed intrusions into military, government and legislative organizations in Thailand and the Philippines. Operators abused an unpatched GeoServer (CVE-2024-36401), default JasperReports credentials, an osTicket SQL injection (CVE-2021-42235) and a Laravel app in debug mode to steal gigabytes of documents and credentials. SOCRadar assesses Vietnamese state sponsorship with moderate confidence and an OceanLotus (APT32) link with low confidence.

- **Author:** Threadlinqs Team
- **Published:** 2026-11-27T06:59:29Z
- **Last updated:** 2026-11-27T09:00:56.308Z
- **Canonical:** https://intel.threadlinqs.com/threat/TL-2026-6957
- **ID:** TL-2026-6957
- **Severity:** HIGH (CVSS 9.8)
- **Category:** APT
- **Status:** ACTIVE
- **Actor:** WeaveLotus (Vietnam)
- **Detections:** 9 (1 shown free below) · **IOCs:** 25 (3 shown free below)
- **CVEs:** CVE-2024-36401, CVE-2021-42235

## Description

SOCRadar's Threat Research Unit named the campaign RedOps after the string 'redops' that recurs in the operators' tooling. Activity ran from August to September 2026 and produced five confirmed intrusions against government, military and legislative bodies in Thailand and the Philippines. Concurrent reconnaissance covered more than 30 Indonesian government organizations (Certificate Transparency harvesting, port scans, VPN fingerprinting of GlobalProtect, Ivanti Connect Secure, Cisco ASA and FortiGate, and IMAP/POP3 banner grabs) with no intrusion observed. The stated collection focus is South China Sea defense and military agreements; no private-sector targeting was observed.

Intrusion 1 (Thai military-affiliated organization, late August 2026): SOCRadar believes initial access was via CVE-2024-36401, an unauthenticated GeoTools/GeoServer property-name expression eval-injection RCE (CVSS 9.8, CISA KEV since 2024-07-15), using malicious XML payloads (evil_vps3.xml) sent from 172.235.255.195. A script with Vietnamese-language comments downloaded a SOCKS5 proxy (socks.py) and opened a reverse SSH tunnel into the internal network. Operators enumerated hostnames, routing tables, DNS, TLS certificates, SSH keys, cron jobs and Hadoop DataNodes, wrote recon output into GeoServer's public web directory, and attempted SSRF against internal CMS, Elasticsearch and ClickHouse. On 2026-09-20 C2 moved to 172.235.245.49 and a cron job ran watch.sh every three minutes to restart the proxy and keep an SSH tunnel over port 443 with 13 reverse port forwards. The pivot reached a Directus CMS whose Public role allowed unauthenticated access to the directus_files API; the actor listed ~95,000 records (~52 GB) and downloaded about 31,418 files (~575 MB) in five batches, ran OCR with Thai and English packs, and probed a Wowza surveillance-video platform.

Intrusion 2 (Thai legislative organization, 2026-09-20): the operators logged in to an internet-facing JasperReports server with default credentials (jasperadmin:jasperadmin), uploaded a malicious report loading a custom Java class that ran SQL on the backend Microsoft SQL Server (deleting the report after each run), and used a custom stored procedure xp_redops wrapping xp_cmdshell with GodPotato (dbsvc.bin) to run PowerShell as SYSTEM. repoint5_sys.sql used xp_redops to open a reverse SSH tunnel over port 443 using a staged private key. A lightweight Python C2 (jrs_c2v3.py) beaconed every five minutes over TLS via the path {host}?b=JRS1. An NTLM relay to create a backdoor account and dump NTDS.dit failed; an LDAP relay returned extensive Active Directory information. Four password-spraying rounds against a third-party document management system (DMS) using employee names paired with National ID numbers succeeded, yielding configuration data with cleartext credentials, 1,502 user records, 90,000+ audit entries and data on 88,575 documents; 5,000+ ZIP archives and 4,000+ recent documents were staged and sent to 45.61.144.206 using MinIO (19 GB verified against transfer logs). A rogue LDAP listener captured administrator credentials for another Thai government organization.

Intrusion 3 (Thai government organization): the captured credentials gave root SSH on a Keycloak 3.4 server; the actor dumped the credential database (40,000+ user records), cracked PBKDF2-SHA256 hashes offline with wordlists built around Thai Buddhist Era years, validated passwords against the token endpoint (ROPC), obtained two accounts holding all 18 administrative roles, and pulled 349,782 records (669 MB) from a downstream application API. A Microsoft 365 spray failed. Intrusions 4 and 5 (Philippines, 2026-08-30): an osTicket password-reset blind SQL injection (CVE-2021-42235) exposed staff usernames, emails and bcrypt hashes, and a Laravel application with debug mode enabled leaked server paths and source snippets.

Attribution: SOCRadar assesses WeaveLotus as Vietnam-sponsored with moderate confidence (Vietnamese-language script comments, UTC+7 working hours, target selection) while stating the evidence is not conclusive. An OceanLotus (APT32) link is assessed with low confidence: no APT32 malware families, spear-phishing lures or cloud-service C2 were observed, and SOCRadar concludes the activity points to a distinct operational team. SOCRadar warns stolen documents could later be reused as spear-phishing lures. Affected-version ranges for the osTicket, Laravel, JasperReports and Directus components were not published.

## MITRE ATT&CK

- T1595.002 Vulnerability Scanning
- T1596.003 Digital Certificates
- T1593.002 Search Engines
- T1190 Exploit Public-Facing Application
- T1078.001 Default Accounts
- T1059.004 Unix Shell
- T1059.001 PowerShell
- T1059.006 Python
- T1053.003 Cron
- T1505.001 SQL Stored Procedures
- T1070.004 File Deletion
- T1110.003 Password Spraying
- T1110.002 Password Cracking
- T1046 Network Service Discovery
- T1087.002 Domain Account
- T1213 Data from Information Repositories
- T1119 Automated Collection
- T1074.001 Local Data Staging
- T1572 Protocol Tunneling
- T1090 Proxy
- T1071.001 Web Protocols
- T1048 Exfiltration Over Alternative Protocol
- T1583.003 Acquire Infrastructure
- T1134.001 Access Token Manipulation
- T1021.004 Remote Services

## Free detection (Splunk SPL, Microsoft KQL, Sigma)

**RedOps xp_redops Stored Procedure and GodPotato (dbsvc.bin) SYSTEM Escalation via MSSQL** (`TL-2026-6957-SPL-002`)

Detects WeaveLotus post-exploitation on Microsoft SQL Server: the custom stored procedure xp_redops wrapping xp_cmdshell, SQL Server (sqlservr.exe) spawning cmd/PowerShell, and the GodPotato privilege-escalation binary staged as dbsvc.bin (SHA256 353209e5...dbac) used to run PowerShell as SYSTEM at the Thai legislative organization.

- **Languages:** Splunk SPL, Microsoft KQL, Sigma
- **ATT&CK:** T1505.001, T1068, T1059.001
- **Data sources:** sysmon, windows_security, mde_device_process_events
- **Severity:** critical
- **Confidence:** high

### Splunk SPL

````spl
index=sysmon sourcetype="XmlWinEventLog:Microsoft-Windows-Sysmon/Operational" EventCode=1 ((ParentImage="*\\sqlservr.exe" (Image="*\\cmd.exe" OR Image="*\\powershell.exe" OR Image="*\\pwsh.exe")) OR Image="*\\dbsvc.bin" OR CommandLine="*xp_redops*" OR CommandLine="*GodPotato*" OR Hashes="*353209e5fcd0a3a7a48ddd095d416219f37a04520d96a203fdfe85257088dbac*")
```RedOps: SQL Server spawning a shell, xp_redops, GodPotato (dbsvc.bin) SYSTEM escalation```
| eval detection_reason=case(like(lower(CommandLine),"%xp_redops%"),"xp_redops stored procedure", match(Image,"(?i)dbsvc\\.bin$"),"GodPotato dbsvc.bin executed", like(lower(CommandLine),"%godpotato%"),"GodPotato in command line", match(ParentImage,"(?i)sqlservr\\.exe$"),"sqlservr.exe spawned a shell", true(),"GodPotato SHA256 match")
| stats count values(Image) as images values(CommandLine) as command_lines values(detection_reason) as reasons min(_time) as first_seen max(_time) as last_seen by host, User, ParentImage
| convert ctime(first_seen) ctime(last_seen)
````

### Microsoft KQL

```kql
DeviceProcessEvents
| where Timestamp > ago(24h)
// RedOps: sqlservr.exe -> shell, xp_redops, GodPotato (dbsvc.bin)
| where (InitiatingProcessFileName =~ "sqlservr.exe" and FileName in~ ("cmd.exe", "powershell.exe", "pwsh.exe"))
    or FileName =~ "dbsvc.bin"
    or ProcessCommandLine has_any ("xp_redops", "GodPotato")
    or SHA256 =~ "353209e5fcd0a3a7a48ddd095d416219f37a04520d96a203fdfe85257088dbac"
| project Timestamp, DeviceName, AccountName, FileName, ProcessCommandLine, InitiatingProcessFileName, InitiatingProcessCommandLine, SHA256
```

### Sigma

```yaml
title: RedOps xp_redops / GodPotato SYSTEM Escalation via SQL Server
id: 0a9d4e72-51c6-4b38-8f2e-7d1a6c3b5e02
status: experimental
description: Detects WeaveLotus RedOps post-exploitation on MSSQL - SQL Server spawning a command interpreter, the custom xp_redops stored procedure, and GodPotato staged as dbsvc.bin to run PowerShell as SYSTEM.
references:
    - https://socradar.io/blog/redops-weavelotus-southeast-asian-governments/
    - https://geoserver.org/vulnerability/2024/09/12/cve-2024-36401.html
    - https://nvd.nist.gov/vuln/detail/CVE-2024-36401
author: Threadlinqs Team
date: 2026-11-27
tags:
    - attack.persistence
    - attack.t1505.001
    - attack.privilege-escalation
    - attack.t1068
    - attack.execution
    - attack.t1059.001
    - attack.tool.godpotato
logsource:
    category: process_creation
    product: windows
detection:
    selection_sql_shell:
        ParentImage|endswith: '\sqlservr.exe'
        Image|endswith:
            - '\cmd.exe'
            - '\powershell.exe'
            - '\pwsh.exe'
    selection_tool:
        - Image|endswith: '\dbsvc.bin'
        - CommandLine|contains:
            - 'xp_redops'
            - 'GodPotato'
        - Hashes|contains: 'SHA256=353209E5FCD0A3A7A48DDD095D416219F37A04520D96A203FDFE85257088DBAC'
    condition: 1 of selection_*
falsepositives:
    - Database administrators using xp_cmdshell for approved maintenance jobs
    - SQL Agent jobs that launch cmd.exe or PowerShell
level: high

```

**Known false positives:**

- DBA maintenance using xp_cmdshell
- SQL Agent jobs that legitimately launch cmd.exe or PowerShell

**Tuning notes:** Baseline sqlservr.exe child processes per host and allowlist approved job command lines; sqlservr.exe -> cmd/PowerShell should be rare. The xp_redops and dbsvc.bin/GodPotato terms are near zero false-positive. Pair with SQL Server audit events for sp_configure xp_cmdshell enablement.

### 8 more detection rules (Splunk SPL, Microsoft KQL, Sigma), unlock with TL Creds

- RedOps JasperReports Default Credential (jasperadmin) Login and Malicious Report Upload/Delete (locked: unlock with TL Creds)
- RedOps C2 and Exfiltration Infrastructure Contact ([indicator], [indicator], [indicator]) and JRS1 Beacon Path (locked: unlock with TL Creds)
- RedOps Directus directus_files Bulk Enumeration and Mass File Download (locked: unlock with TL Creds)
- RedOps Password Spraying Against Keycloak and Document Management Authentication (locked: unlock with TL Creds)
- RedOps WeaveLotus Operator Scripts and Reconnaissance Tooling Execution (locked: unlock with TL Creds)
- RedOps MinIO Exfiltration to [indicator] (locked: unlock with TL Creds)
- RedOps CVE-2024-36401 GeoServer OGC Property-Name Expression Injection (WeaveLotus Initial Access) (locked: unlock with TL Creds)
- RedOps Reverse SSH Tunnel over 443, SOCKS5 Proxy (socks.py) and watch.sh Cron Watchdog (locked: unlock with TL Creds)

Sign up free to unlock the detection rules: https://threadlinqs.com/?modal=signup

## Sample indicators (3 of 25)

Defanged, TLP:CLEAR.

- IP address: `172.235.255[.]195`
- File hash: `d8a7dd1961d47068f87ef9c7d5021aec4febce1408bdf83023e5b47efece9ad6`
- IP address: `172.235.245[.]49`

Full set of 25 indicators unlocks with TL Creds: https://threadlinqs.com/tl-creds

## Sources

- [Hackers Breach Military and Government Networks Across Southeast Asia, Stealing Sensitive Documents (Cyber Security News)](https://cybersecuritynews.com/military-and-government-networks/)
- [SOCRadar: RedOps - WeaveLotus Targets Southeast Asian Governments for South China Sea Intelligence](https://socradar.io/blog/redops-weavelotus-southeast-asian-governments/)
- [RedOps: WeaveLotus Targets Southeast Asian Governments for South China Sea Intelligence (malware.news repost of SOCRadar)](https://malware.news/t/redops-weavelotus-targets-southeast-asian-governments-for-south-china-sea-intelligence/127682)
- [WeaveLotus Exploits GeoServer and osTicket Flaws to Breach Government Networks (Cyberpress)](https://cyberpress.org/weavelotus-breaches-government-networks/)
- [GeoServer advisory: CVE-2024-36401 RCE in evaluating property name expressions](https://geoserver.org/vulnerability/2024/09/12/cve-2024-36401.html)
- [GitHub GeoServer Security Advisory GHSA-6jj6-gm7p-fcvv](https://github.com/geoserver/geoserver/security/advisories/GHSA-6jj6-gm7p-fcvv)
- [GitHub GeoTools Security Advisory GHSA-w3pj-wh35-fq8w](https://github.com/geotools/geotools/security/advisories/GHSA-w3pj-wh35-fq8w)
- [NVD: CVE-2024-36401](https://nvd.nist.gov/vuln/detail/CVE-2024-36401)
- [CISA KEV Catalog entry for CVE-2024-36401 (added 2024-07-15)](https://www.cisa.gov/known-exploited-vulnerabilities-catalog?field_cve=CVE-2024-36401)
- [The Hacker News: CISA Warns of Actively Exploited RCE Flaw in GeoServer GeoTools Software](https://thehackernews.com/2024/07/cisa-warns-of-actively-exploited-rce.html)
- [Vicarius: GeoServer RCE CVE-2024-36401 write-up](https://www.vicarius.io/vsociety/posts/geoserver-rce-cve-2024-36401)

## Full data

The other 8 detection rules (Splunk SPL / Microsoft KQL / Sigma) unlock with TL Creds; a free account includes daily creds: https://threadlinqs.com/?modal=signup
Indicator values unlock with TL Creds, at a lower price on Red and Purple; AI agents can query rules and IOCs through the Threadlinqs MCP server (Purple and Gold in full, 2 calls a day on a free account): https://intel.threadlinqs.com/mcp

Canonical: https://intel.threadlinqs.com/threat/TL-2026-6957
