Skip to main content
Live Webinar with SANS (June 25)— Agentic CTI Automation for Fun & ProfitRegister Free
Mallory
MalwareUsed by 1 actor

GRIDTIDE

GRIDTIDE is a previously undocumented C-based backdoor used by the threat actor UNC2814, which Google Threat Intelligence Group and Mandiant assess as a suspected PRC-nexus cyber-espionage group active since at least 2017. It was used in a global espionage campaign targeting telecommunications and government organizations, with confirmed victims in 42 countries and suspected additional infections in at least 20 more countries. Reporting states UNC2814 historically targeted international governments and global telecommunications organizations across Africa, Asia, and the Americas, and that the activity does not overlap with Salt Typhoon.

The malware abuses legitimate Google Sheets API functionality for command-and-control rather than exploiting a vulnerability in Google products. Its traffic is designed to blend into normal cloud API activity. GRIDTIDE authenticates using Google service account credentials and private key material stored in encrypted configuration data; it uses a 16-byte key file on the host to decrypt this configuration with AES-128-CBC. The decrypted configuration contains the Google service account, private key material, and spreadsheet ID used for C2. On startup, GRIDTIDE clears rows across A:Z using the Google Sheets API batchClear method, stores victim host metadata in cell V1, uses cell A1 for command polling and status responses, and uses cells A2 through An for data transfer. Reported capabilities include executing arbitrary shell commands, uploading files, and downloading files.

Observed victim-side behavior included deployment on CentOS systems, including a binary named /var/tmp/xapt that spawned /bin/sh and verified root access. The filename xapt was assessed as likely chosen to masquerade as a legacy Debian-related tool. UNC2814 was observed executing GRIDTIDE with nohup ./xapt, establishing persistence via a malicious systemd service at /etc/systemd/system/xapt.service, and spawning a new instance from /usr/sbin/xapt. Associated post-compromise activity included lateral movement via SSH using a service account, use of living-off-the-land binaries for reconnaissance, privilege escalation, and persistence, and deployment of SoftEther VPN Bridge to establish encrypted outbound connectivity to external infrastructure.

The campaign targeted systems containing sensitive personally identifiable information, including full name, phone number, date of birth, place of birth, voter ID number, and national ID number. GTIG assessed this targeting as consistent with telecommunications espionage intended to identify, track, and monitor persons of interest. Although direct data exfiltration was not observed in the described campaign, reporting notes GRIDTIDE was capable of transferring raw data and shell commands through Google Sheets and was deployed on endpoints containing sensitive PII. Public reporting also states Google and partners terminated attacker-controlled Google Cloud projects, disabled attacker accounts and Google Sheets API access, sinkholed infrastructure, notified victims, and released indicators of compromise and detections related to UNC2814 and GRIDTIDE.

Share:
For your environment

Hunt this family in your stack

Mallory pivots from this family to the IOCs, detections, and named campaigns that touch your stack, and pages you when something new lands.

THREAT ACTORS

Groups observed using it

1 distinct threat actor attributed by public researchers. Open in Mallory to see the full evidence chain and overlapping campaigns.

View more details
UNC2814

Mandiant discovered that UNC2814 was leveraging a novel backdoor tracked as GRIDTIDE.

via mandiant threat intelligencecloud.google.com
MITRE ATT&CK

Techniques & procedures

22 distinct techniques documented for this family, organized by ATT&CK tactic.

Initial Access

2 techniques
T1078.004Cloud AccountsEvidence1

“GRIDTIDE authenticates to a Google Service Account using a hardcoded private key...”

T1133External Remote ServicesEvidence1

"As a secondary communication channel, the group deployed SoftEther VPN Bridge, opening an encrypted outbound tunnel to external infrastructure"

Execution

1 technique
T1059.004Unix ShellEvidence4

C (Command): Executes Base64-encoded Bash shell commands on the endpoint and redirects the output to the spreadsheet.

Persistence

3 techniques
T1078.004Cloud AccountsEvidence1

“GRIDTIDE authenticates to a Google Service Account using a hardcoded private key...”

T1133External Remote ServicesEvidence1

"As a secondary communication channel, the group deployed SoftEther VPN Bridge, opening an encrypted outbound tunnel to external infrastructure"

T1543.002Systemd ServiceEvidence3

To achieve persistence, the threat actor created a service for the malware at /etc/systemd/system/xapt.service, and once enabled, a new instance of the malware was spawned from /usr/sbin/xapt. | To achieve persistence, the threat actor created a service for the malware at /etc/systemd/system/xapt.service.

Privilege Escalation

2 techniques
T1078.004Cloud AccountsEvidence1

“GRIDTIDE authenticates to a Google Service Account using a hardcoded private key...”

T1543.002Systemd ServiceEvidence3

To achieve persistence, the threat actor created a service for the malware at /etc/systemd/system/xapt.service, and once enabled, a new instance of the malware was spawned from /usr/sbin/xapt. | To achieve persistence, the threat actor created a service for the malware at /etc/systemd/system/xapt.service.

Stealth

3 techniques
T1027Obfuscated Files or InformationEvidence4

To evade detection and web filtering, GRIDTIDE employs a URL-safe Base64 encoding scheme for all data sent and received.

T1036MasqueradingEvidence3

The payload was likely named xapt to masquerade as the legacy tool used in Debian-based systems.

T1078.004Cloud AccountsEvidence1

“GRIDTIDE authenticates to a Google Service Account using a hardcoded private key...”

Discovery

4 techniques
T1033System Owner/User DiscoveryEvidence2

The binary then executed the command sh -c id 2>&1 to retrieve the system's user and group identifiers. This reconnaissance technique enabled the threat actor to confirm their successful privilege escalation to root.

T1082System Information DiscoveryEvidence4

It fingerprints the endpoint by collecting the victim’s username, endpoint name, OS details, local IP address, and environmental data such as the current working directory, language settings, and local time zone.

T1083File and Directory DiscoveryEvidence2

Once the Sheet is prepared, the backdoor conducts host-based reconnaissance. It fingerprints the endpoint by collecting the victim’s username, endpoint name, OS details, local IP address, and environmental data such as the current working directory...

T1124System Time DiscoveryEvidence1

It fingerprints the endpoint by collecting... language settings, and local time zone.

Collection

3 techniques
T1005Data from Local SystemEvidence1

The threat actor dropped GRIDTIDE on to an endpoint containing personally identifiable information (PII)... We expect UNC2814 used this access to exfiltrate a variety of data on persons and their communications.

T1119Automated CollectionEvidence1

GRIDTIDE is a sophisticated C-based backdoor with the ability to execute arbitrary shell commands, upload files, and download files.

T1530Data from Cloud StorageEvidence1

The attacker was using API calls to communicate with SaaS apps as command-and-control (C2) infrastructure to disguise their malicious traffic as benign.

Command and Control

7 techniques
T1071Application Layer ProtocolEvidence3

This activity is not the result of a security vulnerability in Google’s products; rather, it abuses legitimate Google Sheets API functionality to disguise C2 traffic. | The attacker was using API calls to communicate with SaaS apps as command-and-control (C2) infrastructure to disguise their malicious traffic as benign... GRIDTIDE leverages Google Sheets as a high-availability C2 platform.

T1071.001Web ProtocolsEvidence2

“...deployed a new C-based backdoor named ‘GRIDTIDE,’ which abuses the Google Sheets API for evasive command-and-control (C2) operations.”

T1102Web ServiceEvidence3

The backdoor leverages Google Sheets as a high-availability C2 platform, treating the spreadsheet not as a document, but as a communication channel to facilitate the transfer of raw data and shell commands.

T1102.002Bidirectional CommunicationEvidence2

"The malware is designed to use Google Sheets... for command-and-control. Hackers used the spreadsheet API to convert the service into a communication channel relaying shell commands and the transfer of stolen data."

T1105Ingress Tool TransferEvidence4

U (Upload): Upload the data stored in the cells A2:A<arg_2> to the target endpoint, reconstruct and write to the encoded file path <arg_1>.

T1132Data EncodingEvidence1

To evade detection and web filtering, GRIDTIDE employs a URL-safe Base64 encoding scheme for all data sent and received.

T1573Encrypted ChannelEvidence2

"installed open source SoftEther VPN Bridge to encrypt all C2 communications with an external IP address"

Exfiltration

2 techniques
T1041Exfiltration Over C2 ChannelEvidence4

D (Download): Reads the data from the encoded local file path on the endpoint <arg_1> and transfers the contents in 45-KB fragments to the spreadsheet across the A2:An range.

T1567Exfiltration Over Web ServiceEvidence1

Rather than abusing a weakness or security flaw, attackers rely on cloud-hosted products to function correctly and make their malicious traffic seem legitimate.

INDICATORS OF COMPROMISE

IOCs tracked for this family

227 indicators attributed across vendor reports, sandbox runs, and researcher write-ups. Full values are available in Mallory.

View more in app
Network
218 tracked

IPs, domains, and DNS infrastructure linked to this family.

Hashes
6 tracked

File hashes (MD5, SHA-1, SHA-256) from samples and reports.

Other
3 tracked

Other indicator types observed in public reporting.

TypeValueLatest sighting
ip.v4●●●●●●●●●●●●View more in app2 months ago
domain●●●●●●●●●●●●View more in app4 months ago
domain●●●●●●●●●●●●View more in app4 months ago
domain●●●●●●●●●●●●View more in app4 months ago
domain●●●●●●●●●●●●View more in app4 months ago
domain●●●●●●●●●●●●View more in app4 months ago
ACTIVITY FEED

Recent activity

14 sources tracked across advisories, community write-ups, and news. New activity surfaces here as Mallory finds it.

What this page doesn’t show

The version that knows your environment.

This page is what’s public. Mallory adds the parts that aren’t: which of your assets match these IOCs, which detections are missing, which campaigns to expect next, and what to do in the next 30 minutes.
IOC matching227

Match every observed IP, domain, and hash against your live telemetry.

Threat actor attribution1

Named campaigns wielding this family, with evidence pinned to each claim.

Exploited vulnerabilities

CVEs this family uses for access and lateral movement.

Detection signatures

YARA, Sigma, Snort, and vendor rules, auto-deployed to your SIEM.

MITRE ATT&CK mapping22

Every documented technique, ranked by evidence weight.

Researcher chatter

Reddit, Mastodon, and CTI community discussion around this family.