Skip to content

Response, New York. Noah Park: Check Point Patches Actively Exploited Management Server Path Traversal. Detection, Dallas. Ava Okello: Report Finds Nearly Half of Deployed Detections Need Attention Before SOCs Can Trust Them.

SOCtember

Always First. Fast SOC News.

A SOCRadar title graphic reading RedOps, WeaveLotus Targets Southeast Asian Governments, set against a dark map of Southeast Asia with red attack paths and an operator at a bank of monitors.
Image: SOCRadar (fair use), title graphic for its RedOps report on the WeaveLotus campaign.

Threat Intel

SOCRadar Says a Suspected Vietnam-Backed Crew Broke Into Thai and Philippine Government Systems Through Old GeoServer and osTicket Flaws and a Default JasperReports Password, Then Hid Behind SSH Tunnels on Port 443

Researchers tied five intrusions in Thailand and the Philippines to a campaign hunting for intelligence on South China Sea defense agreements. Nothing in the break-ins needed a zero-day. The crew walked in through years-old bugs and factory passwords on open-source web apps, then kept access with reverse SSH tunnels that a SOC can catch.

Priya Shah, Threat IntelSingapore7 min read

SINGAPORE - A hacking crew that researchers believe works for Vietnam spent August and September inside government, military and legislative networks in Thailand and the Philippines, pulling out tens of thousands of documents on budgets, national strategy and military operations, according to a report published this week by the threat intelligence company SOCRadar.

The campaign, which SOCRadar calls RedOps after a string that recurs in the attackers' tools, was aimed at intelligence on South China Sea defense and military agreements, the company said. Its threat research unit attributes the activity, with moderate confidence, to an actor it tracks as WeaveLotus, citing Vietnamese-language comments in operator scripts, working hours aligned with UTC+7 and a target list made up entirely of Southeast Asian government bodies. It assessed a direct link to OceanLotus, also known as APT32, the best-known Vietnam-linked group, with low confidence, and said the evidence "does not conclusively establish state sponsorship."

For security operations teams, the attribution matters less than the method. SOCRadar counted five confirmed intrusions, and none of them needed a new vulnerability. The way in was a 2024 GeoServer bug, a 2021 osTicket bug, a Laravel application left in debug mode and a JasperReports server still using its default administrator password.

A SOCRadar diagram showing WeaveLotus at the center with confirmed intrusions into a Thai military organization, a Thai legislative organization, two Philippine government organizations and a Thai government organization reached by a lateral pivot using captured LDAP administrator credentials, and reconnaissance only against Indonesian government organizations.
Image: SOCRadar (fair use), the five RedOps intrusions and the LDAP credential pivot from a Thai legislative network to a second agency.

Reading the news before reading the files

The operation began the way a conventional intelligence unit works, SOCRadar said. Automated Bing search scripts scraped news and documents on military agreements involving the Philippines, China and the United States, with a focus on the South China Sea. The crew then enumerated government, military and legislative entities across the Philippines, Thailand and Indonesia and moved to collecting directly from their networks.

In Indonesia it never got past reconnaissance. SOCRadar said the crew harvested Certificate Transparency logs, ran port scans, fingerprinted Palo Alto GlobalProtect, Ivanti Connect Secure, Cisco ASA and Fortinet FortiGate VPN services and grabbed mail-server banners across more than 30 Indonesian government organizations. No intrusion followed.

A map server that became a pivot

The first break-in, in late August, hit a Thai military-affiliated organization through an exposed GeoServer instance, an open-source server for geospatial data. SOCRadar said the crew likely exploited CVE-2024-36401, an unauthenticated remote code execution flaw rated 9.8 out of 10, by sending malicious XML payloads from 172.235.255[.]195. A script with Vietnamese comments then fetched a SOCKS5 proxy and opened a reverse SSH tunnel into the internal network.

The operators wrote their own reconnaissance output, including hostnames, routing tables, DNS records and port scans, into GeoServer's public web directory, exposing their work to anyone who looked. On September 20 they moved command and control to 172.235.245[.]49 and installed a cron job that ran a self-healing script, watch.sh, every three minutes. It restarted the proxy when needed and held an SSH tunnel open over port 443 with 13 reverse port forwards into internal services.

From that foothold the crew reached a Directus content management system whose file API allowed unauthenticated access. It listed 95,000 records, about 52 GB, and downloaded about 31,418 files, about 575 MB, sorted into five Vietnamese-named folders: Cooperation, Design, Military, Planning and Diplomacy. It ran optical character recognition with Thai and English language packs to make scanned documents searchable. It also tried to log in to a Wowza platform hosting surveillance video feeds and to push a test stream into it. The injected stream never appeared, SOCRadar said.

A default password and a stored procedure

On September 20 the crew logged in to a Thai legislative organization's JasperReports server with the default jasperadmin:jasperadmin credentials. It uploaded a malicious report that loaded a custom Java class to run SQL on the backend Microsoft SQL Server, then deleted the report after each run to limit forensic traces.

A custom stored procedure, xp_redops, wrapped xp_cmdshell and used the GodPotato privilege escalation tool to run PowerShell as SYSTEM. One script used it to open a reverse SSH tunnel over port 443 to the crew's server with a private key staged on the database host. To stop uploading reports by hand, the operators deployed a small Python command server, which SOCRadar calls JRS C2, with an agent inside JasperReports that beaconed every five minutes over TLS.

A SOCRadar screenshot of a SQL script executing a base64-encoded PowerShell command through the xp_redops stored procedure; the decoded command grants permissions on an SSH key file in the SQL Server data directory, opens a reverse SSH tunnel to 172.235.245[.]49 on port 443 and logs whether the tunnel is established.
Image: SOCRadar (fair use), the repoint5_sys.sql script running PowerShell through xp_redops to open a reverse SSH tunnel on port 443.

NTLM relay attempts to create a backdoor account and dump the domain's NTDS.dit database failed, SOCRadar said, but an LDAP relay returned extensive Active Directory information. The most productive target was a third-party document management system that the JasperReports server rendered documents for. The crew ran four rounds of password spraying using employee names paired with National ID numbers, suggesting it held a staff roster. Once in, it pulled the system configuration with multiple cleartext credentials, 1,502 user records, more than 90,000 audit log entries and folder data covering 88,575 documents.

It then took more than 5,000 ZIP archives of up to 80 MB each and more than 4,000 recently created documents, including meeting agendas, government expenditures, appointments and asset disclosure outcomes, and moved them to 45.61.144[.]206 using MinIO, an S3-compatible storage system. SOCRadar said it verified 19 GB against transfer logs in the crew's open directory.

A SOCRadar screenshot pairing a folder tree named minio-curated-vps4 with subfolders actionplan, level3plan, query, signed-pdf and supplemental, beside rsync progress lines showing about 19.35 billion bytes transferred at 9.30 MB per second.
Image: SOCRadar (fair use), the curated MinIO folders and the rsync log SOCRadar used to verify the 19 GB transfer.

One agency's credentials open another

A rogue LDAP listener on the same legislative foothold captured administrator credentials for another domain in the Active Directory trust chain, belonging to a separate Thai government organization. With them, the crew gained root SSH access to a server running Keycloak 3.4, an open-source identity platform, and dumped its credential database of more than 40,000 user records.

It cracked the PBKDF2-SHA256 password hashes offline with wordlists built around Thai Buddhist Era years, then tested the results against Keycloak's Resource Owner Password Credentials token endpoint. Two of the working accounts held all 18 administrative roles, which SOCRadar likened to domain administrator. A script then ran for more than an hour and pulled 349,782 records, 669 MB, from a downstream application's API, covering national strategy, reform directives, five-year fiscal plans and budget allocations. A password spray against the organization's Microsoft 365 tenant failed.

In the Philippines, on August 30, the crew exploited CVE-2021-42235, an unauthenticated blind SQL injection flaw in osTicket's password reset handler, and over roughly three hours extracted the usernames, email addresses and bcrypt password hashes of staff accounts at one government organization. The same day, at a second agency, it forced verbose error pages from a Laravel application left in debug mode, exposing server paths, source code fragments and directories tied to an internal project management and budgeting system.

A SOCRadar map of Southeast Asia shading Thailand and the Philippines where intrusions were observed and Indonesia where activity stayed at reconnaissance, with government, military and legislative listed as targeted sectors and a note that no private-sector targeting was observed.
Image: SOCRadar (fair use), where RedOps reached intrusion and where it stopped at reconnaissance.

What to hunt

SOCRadar's recommendations and the indicators in its report give defenders a short list:

  • Patch internet-facing open-source applications, starting with GeoServer for CVE-2024-36401 and osTicket for CVE-2021-42235, remove default JasperReports credentials and turn off debug mode on production Laravel applications.
  • Restrict anonymous read access to internal APIs, including the Directus Public role on directus_files.
  • Alert on outbound SSH from web and database servers, especially sessions to port 443 that carry remote port forwards, and on cron entries that relaunch proxies or tunnels every few minutes.
  • On SQL Server, look for new stored procedures that wrap xp_cmdshell, such as xp_redops, and for PowerShell launched by the SQL Server service account with encoded commands.
  • Watch identity platforms for bursts of password-grant token requests, the ROPC flow, and for password spraying that pairs staff names with ID numbers.
  • Check network logs for 172.235.255[.]195, 172.235.245[.]49 and 45.61.144[.]206, the reverse shell, staging and Chisel ports SOCRadar lists (4444, 7779, 443 and 80), and for requests carrying the JRS C2 path parameter ?b=JRS1, after confirming current ownership of the addresses.

About the Author

Priya Shah

Priya Shah covers threat intelligence, intrusion analysis, and adversary tradecraft for SOCtember from Singapore.

Related stories

Threat Intel desk