_research / tropic-trooper-trojanized-sumatrapdf-adaptixc2-vscode-tunnels
RESEARCH ANALYSIS 7 min read

Tropic Trooper's Silent Takeover: Trojanized PDF Reader Deploys C2 Beacons Through VS Code Tunnels

Tropic Trooper weaponizes SumatraPDF to deploy AdaptixC2 beacons, abusing VS Code tunnels for stealthy remote access against Chinese-speaking targets.

2026-04-24 · Source: The Hacker News
🔬
RESEARCH ANALYSIS

This analysis is based on research published by The Hacker News. CypherByte adds analysis, context, and security team recommendations.

Original research credit: Zscaler ThreatLabz, as reported by The Hacker News. CypherByte analysis and commentary is original and independent.

Executive Summary

A newly uncovered campaign attributed with high confidence to Tropic Trooper — also tracked as Earth Centaur, KeyBoy, and APT23 — represents a meaningful evolution in the threat group's operational tradecraft. Discovered by Zscaler ThreatLabz, the campaign weaponizes a trojanized version of the widely trusted SumatraPDF reader to silently deploy the AdaptixC2 post-exploitation framework, before pivoting to abuse Microsoft Visual Studio Code tunnels as a persistent, low-noise remote access channel. Security teams responsible for protecting enterprise endpoints, government networks, and organizations with Chinese-speaking user bases should treat this campaign as an active and credible threat requiring immediate defensive attention.

What makes this campaign particularly significant is not just the sophistication of any single component, but the deliberate layering of trusted software abuse across the entire kill chain. SumatraPDF is a legitimate, open-source PDF reader with a strong reputation in security-conscious communities — its use as a delivery vehicle is calculated to lower victim suspicion. The subsequent abuse of VS Code tunnels, a feature designed by Microsoft for legitimate remote development workflows, demonstrates Tropic Trooper's clear strategic priority: blend into the noise of normal enterprise tooling to defeat detection and attribution at every stage.

Key Finding: Tropic Trooper has operationalized a full attack chain that leverages three trusted software ecosystems — a popular PDF reader, GitHub infrastructure, and Microsoft VS Code — to deliver, stage, and maintain access. No single component in this chain is inherently malicious, making behavioral detection the primary defensive surface.

Technical Analysis

The attack chain begins with a trojanized installer of SumatraPDF, distributed through means not yet fully disclosed but consistent with Tropic Trooper's historical use of spearphishing and watering hole delivery. When the victim executes the installer, the legitimate SumatraPDF application is installed and launched normally — preserving the illusion of a clean installation — while a secondary malicious payload is simultaneously dropped and executed in the background. This dual-execution pattern is a classic technique to suppress victim suspicion during initial compromise.

The dropped payload establishes communication with attacker-controlled infrastructure and retrieves the AdaptixC2 beacon. AdaptixC2 is an open-source post-exploitation framework that has gained traction among threat actors precisely because its open availability complicates attribution and its modular architecture supports a broad range of post-compromise capabilities, including lateral movement, credential harvesting, and payload staging. The beacon communicates with a command-and-control server, and critically, Zscaler's research indicates that GitHub repositories were leveraged as part of the staging and delivery infrastructure — a technique that exploits the trusted reputation of GitHub's domains to evade network-layer filtering and proxy inspection.

The most technically notable component of this campaign is the final-stage abuse of Microsoft Visual Studio Code tunnels. VS Code tunnels (code tunnel) are a legitimate Microsoft feature that allows developers to expose a remote machine's VS Code server over an authenticated tunnel, enabling full IDE access from any browser. Tropic Trooper's operators exploit this feature to establish a durable, encrypted remote access channel that routes through Microsoft's own infrastructure (*.vscode.dev, *.tunnels.api.visualstudio.com). From a network traffic perspective, this is indistinguishable from legitimate developer activity — the traffic is TLS-encrypted, originates from a trusted Microsoft domain, and uses standard HTTPS ports.

Technique Highlight: The abuse of VS Code tunnels for C2 represents a living-off-trusted-sites (LoTS) evolution beyond traditional living-off-the-land (LotL) techniques. Rather than abusing binaries already present on a victim machine, attackers are abusing cloud-hosted services from major vendors — dramatically increasing the cost of detection and blocking for defenders.

The use of GitHub for payload staging follows a pattern CypherByte has tracked across multiple APT campaigns over the past 18 months. Raw content URLs from GitHub repositories pass through many enterprise proxies and web filters without inspection, and the use of version-controlled repositories allows actors to update payloads dynamically while maintaining plausible deniability about repository ownership. Tropic Trooper's integration of this technique into a multi-stage chain demonstrates deliberate operational security planning rather than opportunistic tool reuse.

Impact Assessment

The immediate targeting scope appears focused on Chinese-speaking individuals, consistent with Tropic Trooper's documented history of targeting Taiwan, the Philippines, and Hong Kong — particularly government, military, energy, and transportation sectors. However, the tooling and infrastructure choices in this campaign have implications well beyond the immediate victim set. The AdaptixC2 framework, once beaconed, provides operators with broad post-exploitation capability. A successfully compromised endpoint can serve as a pivot point into broader network infrastructure, supply chain environments, or partner organization networks.

The VS Code tunnel persistence mechanism is particularly damaging from a remediation standpoint. Because the tunnel authenticates via Microsoft account credentials established on the compromised host, simply removing the initial malware dropper may not terminate attacker access if the tunnel service remains registered and running. Organizations that discover this campaign on their endpoints must validate that VS Code tunnel services have been fully deregistered — not merely that the initial payload has been quarantined. Partial remediation creates a false sense of security and leaves a live access channel in attacker hands.

Affected systems include any Windows endpoints where the trojanized SumatraPDF installer was executed. The presence of AdaptixC2 beacon activity or anomalous code tunnel processes should be treated as indicators of full compromise requiring complete incident response, not simply endpoint remediation.

CypherByte's Perspective

This campaign crystallizes a trend that CypherByte considers one of the most challenging structural shifts in the enterprise threat landscape: the systematic weaponization of legitimate cloud infrastructure as command-and-control fabric. When an attacker's C2 traffic is routed through vscode.dev and their staging infrastructure lives on raw.githubusercontent.com, the traditional network security model — block known-bad domains, inspect anomalous traffic — fails almost completely. Defenders are left with behavioral analytics, endpoint telemetry, and identity controls as their primary tools.

Tropic Trooper's operational evolution here should be read as a signal for the broader industry. This group has historically been assessed as a mid-tier APT with significant capability but less sophistication than top-tier Chinese state actors. The fact that they have now integrated LoTS techniques, open-source C2 frameworks, and multi-stage trusted-software abuse into a cohesive campaign suggests that these techniques are no longer the exclusive domain of elite threat actors — they are becoming standard operating procedure for capable state-sponsored groups globally. Security teams that have not yet built detection capability around trusted-cloud-service abuse should treat this campaign as a forcing function for that investment.

Indicators and Detection

Security teams should investigate the following indicators and behavioral patterns associated with this campaign:

File and Process Indicators: Look for SumatraPDF installer executions followed immediately by secondary process spawning, particularly processes writing to unusual directories or establishing outbound network connections. Trojanized installers typically maintain the expected file hash for the visible application while bundling a separate malicious binary — hash validation of the installer itself against official SumatraPDF release hashes is a recommended first step.

Network Indicators: Unexpected or unauthorized connections to *.vscode.dev, *.tunnels.api.visualstudio.com, or global.rel.tunnels.api.visualstudio.com from endpoints where VS Code is not an authorized or installed application should trigger immediate investigation. Similarly, high-frequency or scripted access to raw.githubusercontent.com from endpoints outside of development environments warrants scrutiny.

Behavioral Indicators: The presence of the code tunnel process (code.exe tunnel or equivalent) on non-developer endpoints, particularly if registered as a service or scheduled task, is a strong indicator of potential abuse. AdaptixC2 beacon behavior typically includes periodic beaconing intervals, jitter patterns, and encrypted HTTP/HTTPS communications — EDR telemetry showing these patterns from unexpected processes should be escalated.

Detection Priority: Organizations should immediately audit endpoints for unauthorized VS Code tunnel registrations. The command code tunnel list or inspection of registered tunnel services in the Microsoft account portal associated with endpoint identities can identify unauthorized persistent tunnels that may survive malware removal.

Recommendations

1. Audit and restrict VS Code tunnel usage. Security teams should establish explicit policy around VS Code tunnel authorization. If tunnels are not required for business operations, consider blocking access to tunnels.api.visualstudio.com endpoints at the network layer. Where tunnels are legitimately used, implement allowlisting of authorized tunnel registrations and alert on any new registrations.

2. Validate software provenance rigorously. The trojanized SumatraPDF vector underscores the need for cryptographic verification of all software installers — including open-source tools often downloaded informally. Enforce software installation policies that require packages sourced from official distribution channels, and consider application control policies that flag unsigned or hash-mismatched installers before execution.

3. Deploy behavioral detection for AdaptixC2 patterns. Since AdaptixC2 is open-source, its network communication signatures, memory footprints, and behavioral patterns are documentable. Security teams should work with their EDR and NDR vendors to ensure AdaptixC2 detection rules are current. YARA rules and Sigma detections for AdaptixC2 are available in public threat intelligence repositories and should be deployed where not already active.

4. Treat GitHub raw content access as a monitored vector. Implement monitoring or proxy inspection of access to raw.githubusercontent.com from production and user endpoints. While legitimate use exists, access patterns that suggest automated payload retrieval — particularly short-interval repeated fetches of non-HTML content — should trigger investigation.

5. Conduct targeted threat hunting for this campaign. Organizations in sectors historically targeted by Tropic Trooper — government, defense, energy, transportation — and those with significant Chinese-speaking employee populations should initiate proactive threat hunts using the behavioral and network indicators above. The campaign is active, and dwell time before detection directly correlates with the scope of damage achievable by the operators.

This analysis is based on original research published by Zscaler ThreatLabz and reported by The Hacker News. CypherByte's perspective, impact assessment, and recommendations represent independent analytical work. Readers are encouraged to consult the original Zscaler ThreatLabz report for primary technical indicators and raw research data.

// TOPICS
#research#analysis

How this article was produced

This analysis was produced by CypherByte's automated research pipeline, starting from the published summary of the original report credited below. Articles are published automatically. It can include context and recommendations that are not in the original report, so read the original for the researchers' own findings.

Sources

Spotted an error? Tell us on X (@cypherbyteio) with this page's address so we can fix it.

// WANT MORE LIKE THIS?

CypherByte Premium is coming soon, with deep-dive writeups and a weekly threat briefing. Join the waitlist for founding member pricing.