# GRIDTIDE Backdoor — UNC2814 PRC-Nexus Global Espionage Campaign Targeting Telecoms & Governments via Google Sheets C2 (53 Victims, 42 Countries)

> GRIDTIDE is a novel C-based Linux backdoor deployed by UNC2814, a PRC-nexus espionage group active since 2017. The campaign compromised 53 victims across 42 countries on four continents, targeting telecommunications and government organizations. GRIDTIDE uses Google Sheets API calls as command-and-control, treating spreadsheet cells as a communication channel for commands, file transfers, and data exfiltration. Google/Mandiant disrupted the campaign by terminating attacker Cloud Projects, sinkholing domains, and revoking API access. Distinct from Salt Typhoon — different victims, different TTPs.

- **Published:** 2026-02-25T13:38:00Z
- **Last reviewed:** 2026-02-25T13:38:00Z
- **Canonical:** https://intel.threadlinqs.com/threat/TL-2026-0144
- **Card image:** https://intel.threadlinqs.com/og/threat/threat-intel-unc2814-gridtide-espionage-tl-2026-0144.webp?v=de66a814 (Threadlinqs threat intel: UNC2814 GRIDTIDE Telecoms, 53 Victims: Detection & IOCs (TL-2026-0144) — Critical severity, 40 IOCs, 9 detection rules.)
- **ID:** TL-2026-0144
- **Severity:** CRITICAL
- **Category:** APT
- **Status:** MONITORING
- **Actor:** UNC2814 (China)
- **Detections:** 9 (1 shown free below) · **IOCs:** 40 (3 shown free below)

## Description

GRIDTIDE is a sophisticated C-based backdoor discovered by Google Threat Intelligence Group (GTIG) and Mandiant during a Mandiant Threat Defense investigation into UNC2814, a suspected People's Republic of China (PRC)-nexus cyber espionage group tracked since 2017. The campaign represents one of the most prolific state-sponsored espionage operations documented, with 53 confirmed victims in 42 countries across four continents, and suspected infections in at least 20 additional countries (70+ total).

GRIDTIDE's defining innovation is its use of Google Sheets API as a command-and-control (C2) platform. Rather than exploiting a vulnerability, the malware abuses legitimate Google Sheets API functionality to disguise C2 traffic as benign SaaS activity. The backdoor expects a 16-byte AES-128-CBC cryptographic key in a separate .cfg file to decrypt its Google Drive configuration containing the service account credentials, private key, and Spreadsheet ID.

The C2 operates on a cell-based polling mechanism: Cell A1 serves as the command channel (malware polls for attacker commands, then overwrites with status responses like S-C-R for Server-Command-Success). Cells A2:An handle data transfer (command output, file uploads, file downloads in 45KB fragments). Cell V1 stores encoded victim metadata (username, hostname, OS, IP, working directory, language, timezone). Commands use a four-part syntax: <type>-<command_id>-<arg_1>-<arg_2>, supporting Command execution (Base64-encoded bash), Upload (cells to file), and Download (file to cells). If no command is pending, GRIDTIDE sleeps 1 second; after 120 polls, it switches to 5-10 minute random sleep intervals.

The infection chain begins with UNC2814 gaining initial access (historically via exploiting web servers and edge systems). The GRIDTIDE payload is delivered in apt.tar.gz from a staging server, deployed as /var/tmp/xapt (masquerading as the Debian apt tool). Persistence is established via systemd service at /etc/systemd/system/xapt.service, with the binary relocated to /usr/sbin/xapt. Post-compromise, SoftEther VPN Bridge is deployed for encrypted outbound tunneling, with VPN metadata suggesting infrastructure reuse since July 2018.

UNC2814's targeting focuses on telecommunications providers globally and government organizations. The campaign specifically targets PII (names, phone numbers, dates of birth, voter IDs, national IDs) consistent with surveillance-oriented espionage — identifying, tracking, and monitoring persons of interest. Historical PRC-nexus telecom intrusions have resulted in theft of call data records, unencrypted SMS, and compromise of lawful intercept systems.

GTIG disrupted the campaign by: (1) terminating all attacker Google Cloud Projects, severing GRIDTIDE C2 access, (2) disabling all known UNC2814 infrastructure and sinkholing domains, (3) disabling attacker accounts and revoking Google Sheets API access, (4) issuing victim notifications, (5) releasing IOCs active since 2023. UNC2814 is distinct from Salt Typhoon — different victims, different TTPs, no observed overlaps.

All data sent and received by GRIDTIDE uses URL-safe Base64 encoding (replacing + and / with - and _) for evasion. The campaign's massive infrastructure includes 26 attacker IPs, 150+ DDNS C2 domains across 18 registrars, and multiple SoftEther VPN servers — reflecting a decade of concentrated operational effort.

## MITRE ATT&CK

- T1190 Exploit Public-Facing Application
- T1059.004 Unix Shell
- T1543.002 Systemd Service
- T1078 Valid Accounts
- T1036.005 Match Legitimate Resource Name or Location
- T1027 Obfuscated Files or Information
- T1102.002 Bidirectional Communication
- T1552.001 Credentials In Files
- T1082 System Information Discovery
- T1033 System Owner/User Discovery
- T1016 System Network Configuration Discovery
- T1021.004 SSH
- T1005 Data from Local System
- T1071.001 Web Protocols
- T1572 Protocol Tunneling
- T1568.002 Domain Generation Algorithms
- T1105 Ingress Tool Transfer
- T1567.002 Exfiltration to Cloud Storage
- T1041 Exfiltration Over C2 Channel

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

**GRIDTIDE Post-Exploitation — Google Sheets API C2 Communication, xapt.service Systemd Persistence, and apt Package Manager Masquerading** (`TL-2026-0144-SPL-002`)

Detects GRIDTIDE post-exploitation: Google Sheets API v4 calls from Linux servers (not workstations), xapt.service systemd unit creation for persistence (Restart=always, After=network-online, no logging), and xapt masquerading as apt package manager in /usr/sbin/ with 'Advanced Package Tool Service' description. Cell-based C2: A1 for commands, V1 for fingerprint, A2:An for 45KB file fragments. Adaptive polling: 1s→5-10min after 120 empty polls.

- **Languages:** Splunk SPL, Microsoft KQL, Sigma
- **ATT&CK:** T1102.002, T1543.002, T1036.005, T1027
- **Data sources:** proxy_logs, linux_audit_logs, sysmon_linux, systemd_journal
- **Severity:** critical
- **Confidence:** high

### Splunk SPL

```spl
index=proxy OR index=linux sourcetype="proxy_logs" OR sourcetype="sysmon:linux" OR sourcetype="linux:audit"
| search (
    (dest="sheets.googleapis.com" src_category!="workstation")
    OR (dest="oauth2.googleapis.com" src_category!="workstation" process_name!="chrome" process_name!="firefox")
    OR (file_path="/etc/systemd/system/xapt.service" action="created")
    OR (CommandLine="*systemctl*xapt*")
    OR (process_name="xapt" parent_process="systemd")
    OR (file_path="/usr/sbin/xapt" action="created" OR action="executed")
)
| eval alert_type=case(
    match(dest, "sheets\.googleapis\.com"), "google_sheets_api_from_server",
    match(dest, "oauth2\.googleapis\.com"), "google_oauth2_from_server",
    match(file_path, "xapt\.service"), "systemd_persistence_created",
    match(CommandLine, "systemctl.*xapt"), "systemctl_xapt_command",
    process_name="xapt" AND parent_process="systemd", "gridtide_service_running",
    match(file_path, "/usr/sbin/xapt"), "gridtide_system_path_deploy",
    1=1, "gridtide_post_exploit"
)
| stats count by host, alert_type, dest, file_path, process_name
| table host, alert_type, dest, file_path, process_name, count
```

### Microsoft KQL

```kql
let sheets_api = DeviceNetworkEvents
| where Timestamp > ago(24h)
| where RemoteUrl has "sheets.googleapis.com/v4/spreadsheets"
| where InitiatingProcessFileName !in~ ("chrome.exe", "firefox.exe", "msedge.exe", "code", "electron")
| extend AlertType = "google_sheets_api_from_server";
let systemd_persist = DeviceFileEvents
| where Timestamp > ago(24h)
| where FolderPath has "/etc/systemd/system" and FileName == "xapt.service"
| extend AlertType = "xapt_systemd_persistence";
let xapt_process = DeviceProcessEvents
| where Timestamp > ago(24h)
| where FileName == "xapt" and InitiatingProcessFileName == "systemd"
| extend AlertType = "gridtide_running_as_service";
let masquerade = DeviceFileEvents
| where Timestamp > ago(24h)
| where FileName == "xapt" and FolderPath has "/usr/sbin"
| extend AlertType = "apt_masquerade_in_sbin";
union sheets_api, systemd_persist, xapt_process, masquerade
| project Timestamp, DeviceName, AlertType, FileName, FolderPath, RemoteUrl, InitiatingProcessFileName
| sort by Timestamp desc
```

### Sigma

```yaml
title: Google Sheets API v4 Access from Linux Server (GRIDTIDE C2 Channel)
id: e681d905-c72b-43bc-91e0-cb7358f05638
status: experimental
description: Detects Google Sheets API v4 calls originating from Linux servers — GRIDTIDE uses Google Sheets as C2 channel. Servers should not access Google Sheets API. Combined with xapt.service persistence and apt masquerading, indicates UNC2814 compromise.
references:
    - https://cloud.google.com/blog/topics/threat-intelligence/google-sheets-c2-gridtide
author: Threadlinqs Team
date: 2026/02/25
tags:
    - attack.command_and_control
    - attack.t1102.002
    - attack.persistence
    - attack.t1543.002
    - attack.defense_evasion
    - attack.t1036.005
logsource:
    category: proxy
detection:
    selection:
        DestinationHostname: 'sheets.googleapis.com'
        HttpRequestUri|contains: '/v4/spreadsheets/'
    filter_workstation:
        src.asset_type: 'workstation'
    condition: selection and not filter_workstation
falsepositives:
    - Server-side integrations legitimately using Google Sheets API (verify service account and purpose)
    - CI/CD pipelines writing test results to Google Sheets
level: critical
```

**Known false positives:**

- Server-side integrations legitimately using Google Sheets API
- CI/CD pipelines writing test results to Sheets

**Tuning notes:** Google Sheets API from Linux server = high-confidence GRIDTIDE C2. Verify: is source a server or workstation? Servers should NOT access Sheets API. xapt.service in /etc/systemd/system/ = definitive persistence. 'Advanced Package Tool Service' description on CentOS/RHEL = masquerading. Adaptive polling pattern: burst 1s → slow 5-10min.

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

- UNC2814 GRIDTIDE Kill Chain — Multi-Signal Weighted Scoring (Google Sheets C2 + xapt Backdoor + SoftEther VPN + DDNS + PII Exfil) (locked: unlock with TL Creds)
- GRIDTIDE Google Sheets API C2 Traffic Analysis — High-Frequency Cell Polling, batchClear Operations, and 45KB Fragment Write Bursts (locked: unlock with TL Creds)
- UNC2814 Campaign IOC Sweep — GRIDTIDE File Hashes, Staging IPs, DDNS Domains, xapt Paths, and Telecom PII Exfiltration Indicators (locked: unlock with TL Creds)
- GRIDTIDE xapt.service Systemd Persistence with apt Masquerading — Anomalous on CentOS/RHEL Systems (locked: unlock with TL Creds)
- DDNS Domain Resolution from Server Infrastructure — UNC2814 150+ Domain C2/Staging Infrastructure Across 18 Registrars (locked: unlock with TL Creds)
- Telecom PII Data Collection and Google Sheets Cell Fragment Exfiltration — Database Dumps via sh -c Execution and 45KB Fragment Upload (locked: unlock with TL Creds)
- GRIDTIDE Initial Access — apt.tar.gz Download from Staging IP [indicator] and xapt C-Based Backdoor Deployment to /var/tmp/ (locked: unlock with TL Creds)
- UNC2814 C2 and Lateral Movement — SoftEther VPN Bridge Layer-2 Tunnel, 150+ DDNS Domain Resolution, SSH Lateral to Telecom Systems, and PII Exfiltration via Google Sheets (locked: unlock with TL Creds)

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

## Sample indicators (3 of 40)

Defanged, TLP:CLEAR.

- IP address: `130.94.6[.]228`
- File hash: `ce36a5fc44cbd7de947130b67be9e732a7b4086fb1df98a5afd724087c973b47`
- IP address: `38.180.205[.]14`

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

## Sources

- [GTIG/Mandiant: Exposing the Undercurrent — Disrupting the GRIDTIDE Global Cyber Espionage Campaign](https://cloud.google.com/blog/topics/threat-intelligence/disrupting-gridtide-global-espionage-campaign/)
- [VirusTotal GTI Collection — UNC2814 IOCs](https://www.virustotal.com/gui/collection/d0acdcacc1fec8a9673d037ecc413c215d238f6fbf53247add30c8a58f275e3d/summary)
- [Google Security Operations — Mandiant Hunting Rule Pack](https://cloud.google.com/security/products/security-operations)
- [Mandiant Threat Defense — Continuous Detection and Response](https://cloud.google.com/security/products/mandiant-managed-threat-hunting)
- [Google Cloud Shared Fate Security Model](https://cloud.google.com/security/shared-fate)

## 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): https://intel.threadlinqs.com/mcp

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