APT36 Uses PATCHCORD Backdoor in Espionage Campaign

APT36 Linked to 'PATCHCORD' Espionage Campaign in South Asia

HIGH
August 16, 2026
5m read
Threat ActorMalwareThreat Intelligence

Related Entities

Threat Actors

Organizations

National Informatics Centre (NIC)

Products & Tech

Google Sheets GitHub Gists

Other

PATCHCORDSHEETCORDAfghan Telecom (AFTEL)IndiaAfghanistan

Full Report

Executive Summary

Security researchers have uncovered an ongoing cyber-espionage campaign attributed with moderate confidence to APT36 (also known as Transparent Tribe), a threat actor aligned with Pakistani interests. The campaign, active since at least March 2026, targets high-value entities in South Asia, including telecommunications providers in Afghanistan and government and critical infrastructure in India. The operation employs a new, custom C/C++ backdoor named PATCHCORD. A more advanced, Go-based variant called SHEETCORD has also been discovered, which cleverly uses Google Sheets and GitHub Gists for command-and-control (C2), demonstrating the actor's evolving tradecraft to blend in with legitimate traffic and evade detection.

Threat Overview

The campaign showcases APT36's focus on intelligence gathering against strategic targets in neighboring countries. The actor uses targeted social engineering lures, such as fake VPN installers impersonating software from the Afghan Telecom (AFTEL) company, to deliver its malware. This indicates thorough pre-attack reconnaissance.

The malware suite consists of two main components:

  • PATCHCORD: A custom C/C++ backdoor that establishes persistence, fingerprints the host, and executes remote commands.
  • SHEETCORD: A more sophisticated Go-based implant that uses a technique known as "living off the trusted land." It abuses legitimate public cloud services for C2, making its traffic difficult to block or identify as malicious. It retrieves commands from a public Google Sheet and exfiltrates data to GitHub Gists.

This use of legitimate services for C2 is a key tactic for evading network-based security controls and is a hallmark of increasingly sophisticated APT groups.

Technical Analysis

APT36's attack chain combines social engineering with custom malware that leverages trusted services.

  1. Delivery & Initial Access: The malware is delivered via malicious files disguised as legitimate software, such as a fake VPN installer for AFTEL. This is a classic example of T1204.002 - Malicious File.
  2. Execution & Persistence: Once executed, the PATCHCORD or SHEETCORD malware is installed. It establishes persistence on the host, for example, by hijacking browser shortcuts to ensure it is re-executed regularly.
  3. Command and Control: This is the most innovative part of the campaign. The SHEETCORD variant communicates with its operators using legitimate web services, a technique known as T1102 - Web Service.
    • It periodically queries a specific public Google Sheet.
    • The operators place encoded commands in the cells of this sheet.
    • The malware retrieves, decodes, and executes these commands (e.g., run shell command, download file, exfiltrate data).
    • Exfiltrated data is uploaded to GitHub Gists.
  4. Actions on Objectives: The malware's capabilities include system fingerprinting (T1082 - System Information Discovery), executing arbitrary commands (T1059.003 - Windows Command Shell), and stealing data.

Researchers also noted that some malware components may have been developed with the assistance of Large Language Models (LLMs), indicating the actor is adopting modern development tools.

Impact Assessment

The primary goal of this campaign is espionage. By targeting telecommunications, government, and critical infrastructure, APT36 aims to gather sensitive political, military, and economic intelligence. A successful compromise of a telecom provider could allow the actor to monitor communications, while a breach of a government entity could expose state secrets. The use of stealthy C2 channels like Google Sheets allows the actor to maintain long-term persistence in victim networks, quietly exfiltrating data over extended periods. This poses a significant national security threat to the targeted countries.

IOCs — Directly from Articles

No specific Indicators of Compromise (IOCs) such as IP addresses, domains, or file hashes were mentioned in the source articles.

Cyber Observables — Hunting Hints

Security teams may want to hunt for the following patterns to detect this type of activity:

Type
network_traffic_pattern
Value
Repetitive connections to docs.google.com/spreadsheets/d/.../export?format=csv
Description
Look for non-browser processes (e.g., unknown executables) making repeated, scripted connections to a specific Google Sheet URL.
Type
network_traffic_pattern
Value
Anomalous POST requests to api.github.com/gists
Description
Monitor for unusual processes making API calls to create or update GitHub Gists, which could be a sign of data exfiltration.
Type
file_name
Value
AFTEL-VPN.exe
Description
An example of a lure file name. Hunt for executables that impersonate legitimate software relevant to your organization.
Type
command_line_pattern
Value
powershell.exe -enc <base64_string>
Description
Attackers often use encoded PowerShell commands to download and execute malware payloads. Monitor for this behavior.

Detection & Response

  • Egress Traffic Analysis: The key to detection is analyzing outbound network traffic. Since blocking docs.google.com or api.github.com is not feasible for most organizations, focus on the context of the connections. Use an EDR or a sophisticated network proxy to identify which processes are making these connections. A non-browser process making repeated calls to Google Sheets is highly suspicious. This is an advanced application of D3FEND's Outbound Traffic Filtering (D3-OTF).
  • TLS/SSL Inspection: To gain visibility into the specific URLs and content being accessed (e.g., the specific Google Sheet ID), TLS/SSL inspection is necessary at the network perimeter.
  • Endpoint Monitoring: Use an EDR to monitor for the malware's persistence techniques, such as modifications to browser shortcuts or the creation of suspicious scheduled tasks.

Mitigation

  • Application Control: Use application control solutions like AppLocker or WDAC to restrict the execution of unauthorized software, which can prevent the initial malware delivery from succeeding. This aligns with M1038 - Execution Prevention.
  • Restrict Web-Based Content: While blocking Google and GitHub entirely is impractical, it is possible to use proxy categories to block access to "Personal Cloud Storage" or similar categories for servers and sensitive workstations that have no business need for them. This is a targeted form of M1021 - Restrict Web-Based Content.
  • User Training: Educate users about the risks of downloading and running software from untrusted sources, especially those delivered via email. This is a key part of M1017 - User Training.

Timeline of Events

1
March 1, 2026
The PATCHCORD espionage campaign is assessed to have been active since at least March 2026.
2
August 16, 2026
This article was published

MITRE ATT&CK Mitigations

Filter outbound web traffic. While blocking all of Google is not feasible, use proxies with TLS inspection to identify and block connections from non-browser processes to services like Google Sheets.

Mapped D3FEND Techniques:

Implement application allowlisting to prevent the execution of unauthorized executables, such as the fake VPN installers used as lures.

Mapped D3FEND Techniques:

Audit

M1047enterprise

Monitor for persistence mechanisms, such as changes to LNK files in startup directories, using File Integrity Monitoring (FIM) or EDR.

Mapped D3FEND Techniques:

Timeline of Events

1
March 1, 2026

The PATCHCORD espionage campaign is assessed to have been active since at least March 2026.

Sources & References

APT36 Suspected in PATCHCORD Espionage Campaign Using Google Sheets C2
Security Affairs (securityaffairs.com) August 16, 2026
New PATCHCORD Backdoor Targets Afghan Telecom and Indian Critical Infrastructure
The Hacker News (thehackernews.com) August 13, 2026
PATCHCORD
Mallory (mallory.ai) August 14, 2026

Article Author

Jason Gomes

Jason Gomes

• Cybersecurity Practitioner

Cybersecurity professional with over 10 years of specialized experience in security operations, threat intelligence, incident response, and security automation. Expertise spans SOAR/XSOAR orchestration, threat intelligence platforms, SIEM/UEBA analytics, and building cyber fusion centers. Background includes technical enablement, solution architecture for enterprise and government clients, and implementing security automation workflows across IR, TIP, and SOC use cases.

Threat Intelligence & AnalysisSecurity Orchestration (SOAR/XSOAR)Incident Response & Digital ForensicsSecurity Operations Center (SOC)SIEM & Security AnalyticsCyber Fusion & Threat SharingSecurity Automation & IntegrationManaged Detection & Response (MDR)

Editorial Standards & Analyst Review

CyberNetSec.io uses automation to assist source monitoring, deduplication, observable extraction, and structured intelligence generation. Published analysis follows human-defined editorial standards and adds defensive context including MITRE ATT&CK, D3FEND, STIX, and Sigma where applicable. Read our editorial policy.

Tags

APT36Transparent TribePATCHCORDSHEETCORDEspionageMalwareGoogle SheetsC2

📢 Share This Article

Help others stay informed about cybersecurity threats

🎯 MITRE ATT&CK Mapped

Every tactic, technique, and sub-technique used in this threat has been identified and mapped to the MITRE ATT&CK framework for consistent, actionable threat language.

🧠 Enriched & Analyzed

Observables and indicators of compromise (IOCs) have been extracted and cataloged. Risk has been assessed and correlated with known threat actors and historical campaigns.

🛡️ Actionable Guidance

Detection rules, incident response steps, and D3FEND-aligned mitigation strategies are included so your team can act on this intelligence immediately.

🔗 STIX Visualizer

Structured threat data is packaged as a STIX 2.1 bundle and can be visualized as an interactive graph — relationships between actors, malware, techniques, and indicators.

Sigma Generator

Sigma detection rules are derived from the threat techniques in this article and can be converted for deployment across any major SIEM or EDR platform.