Operation RapidRust is a Pakistan-aligned espionage campaign that Zscaler ThreatLabz attributed to Transparent Tribe (APT36 / Earth Karkaddan), active most intensely between August 20 and September 1, 2026 against government and defense entities in India and Afghanistan.
The operators rewrote their toolkit in Rust and shipped four undocumented tools: RUSTYSHADE (a Windows backdoor whose command channel lives entirely inside private GitHub repositories), RUSTYMOVE (USB propagation), and the twin stealers PSNATCH (PowerShell) and BASHNATCH (Linux).
No CVE is involved — access is bought with typosquatted Indian-news domains and social engineering, and the C2 blends into legitimate GitHub API traffic that most egress filters wave through. This brief breaks down the arsenal, the GitHub tradecraft, the full IOC set, and copy-paste KQL/SPL hunts.
◈ Table of Contents
01 · Threat Actor Profile & Attribution
Phase 1 / 13Transparent Tribe is one of the most persistent South Asian espionage clusters, aligned with Pakistani interests and focused for years on Indian government, military and diplomatic targets. Operation RapidRust marks a deliberate re-tooling: the group has moved core capability into Rust and doubled down on legitimate cloud services for command-and-control, a direction that started with its earlier GOGITTER and GITSHELLPAD GitHub-based activity.
| Attribute | Detail |
|---|---|
| Primary name | Transparent Tribe |
| Aliases | APT36, Earth Karkaddan |
| Attribution | Pakistan-aligned (Zscaler ThreatLabz) |
| Campaign | Operation RapidRust |
| Targeting | Government & defense — India and Afghanistan |
| Peak activity | August 20 – September 1, 2026 |
| Tool language | Rust (Win64) + PowerShell + Bash |
| C2 model | Attacker-owned private GitHub repositories via REST API |
| Severity | Severity: HIGH targeted espionage, no CVE required |
The four RapidRust tools are all previously undocumented, but the tradecraft is consistent with prior Transparent Tribe operations. ThreatLabz notes a January 2026 cluster with overlapping tradecraft that may represent an APT36 subgroup or an adjacent Pakistan-linked crew — a reminder that a single "APT36" label often hides several teams sharing infrastructure and playbooks.
Track this actor on behaviour, not just tooling. The Rust rewrite invalidates every hash-based and YARA-on-C-runtime signature you had for Transparent Tribe. The GitHub-C2 pattern and the recon command sequence survive the rewrite — pivot on those.
02 · Campaign Timeline
Phase 2 / 13- 1Aug 2026 (prior wave): A related APT36 operation deploys the
PATCHCORDbackdoor against Afghan telecom and other South Asian infrastructure — context for the RapidRust push. - 2Aug 20 – Sep 1, 2026: Peak RapidRust activity. Typosquatted news domains stage PowerShell downloaders and the Rust payloads.
- 3Weekday windows only: RUSTYSHADE C2 commands are issued between roughly
04:00and11:00 UTC, and only on weekdays — an operator work-schedule tell that maps to a South Asian business day. - 4Sep 17–18, 2026: Zscaler ThreatLabz publishes the RapidRust analysis; The Hacker News, GBHackers and others corroborate.
The 04:00–11:00 UTC weekday envelope is a hunt primitive in its own right. Beaconing to api.github.com that clusters tightly in that window, from a host with no developer footprint, is worth a look even before you have a hash.
03 · Initial Access & Delivery
Phase 3 / 13RapidRust does not exploit a vulnerability. Access is engineered: victims are steered to domains that impersonate well-known Indian news outlets, which host intermediary PowerShell scripts and the ZIP payloads. Bulk payload storage is offloaded to Backblaze B2 cloud buckets so the news-lure domains stay light and disposable.
| Stage | Artifact |
|---|---|
| Lure domains | theprints[.]org (spoofs ThePrint), indiatodays[.]org (spoofs India Today), officialinfo[.]org |
| Staging paths | theprints[.]org/adrive, theprints[.]org/drivefolder, theprints[.]org/mau |
| Cloud storage | clients-easy.s3.us-east-005.backblazeb2[.]com, f005.backblazeb2[.]com |
| Payload archives | DriverInstaller.zip → DriverInstaller.exe · Automata-20.zip → Automata-20.exe |
| Delivery command | PowerShell / wget-style fetch of the ZIP from the spoofed domain or Backblaze bucket |
Block on the pattern, not the string. "theprints" / "indiatodays" are throwaway typosquats; the durable signal is a browser or script fetching a .zip that expands to an .exe named like a driver or updater from a newly-registered look-alike news domain. Feed newly-observed-domain intel into your proxy category rules.
04 · Technical Deep Dive — RUSTYSHADE Backdoor
Phase 4 / 13RUSTYSHADE is the centrepiece: a 64-bit Windows backdoor written in Rust whose entire command channel is a private GitHub repository. There is no bespoke C2 server to fingerprint and no novel protocol on the wire — just authenticated HTTPS calls to api.github.com that look like a developer's tooling. Every message is AES-256-GCM encrypted before it is ever committed to the repo.
RUSTYSHADE ships with a hard-coded GitHub Personal Access Token (PAT) that authorizes it to read and write the operator's private repositories. Rather than store a separate crypto key, the malware derives its AES-256 key from the SHA-256 hash of that PAT — so the token doubles as both credential and key material.
- 1The embedded PAT authenticates every GitHub REST API request via the
Authorizationheader, granting repo read/write over HTTPS. - 2The 32-byte AES-256 key is computed as
SHA-256(PAT)— no key exchange, no second secret to recover during triage. - 3Recovering the PAT from a sample therefore hands a responder both the C2 credential and the decryption key at once — pull it during analysis and you can read the operator's repo traffic.
Every command and every result is sealed in an AES-256-GCM envelope. RUSTYSHADE generates a fresh random 12-byte nonce per message, concatenates nonce || ciphertext || auth-tag, Base64-encodes the blob, and prefixes it with the literal string HCENC1:. That prefix is a gift to defenders — it is a stable, high-signal string that survives the Rust rewrite.
- 1Because GCM binds the tag to the nonce and key, tampering is detected — but the fixed
HCENC1:prefix makes committed blobs trivially greppable in repo history. - 2The scheme is symmetric and self-contained: no server certificate, no domain to sinkhole. GitHub is the dead-drop.
RUSTYSHADE polls a private repository for a well-known set of files. The operator writes an encrypted command.txt; the implant reads it, decrypts it, executes, and writes an encrypted results.txt back. Reconnaissance, keepalive and exfiltrated media each get their own filename.
| Repo file | Direction | Purpose |
|---|---|---|
| command.txt | operator → implant | Encrypted command to execute |
| results.txt | implant → operator | Encrypted command output |
| info.txt | implant → operator | System reconnaissance / host profile |
| heartbeat.txt | implant → operator | Keepalive beacon |
| screenshot.png | implant → operator | Desktop screen capture |
| webcam_photo.jpg | implant → operator | Webcam still capture |
| download.bin | implant → operator | Generic exfiltrated file blob |
Supported capabilities include arbitrary shell command execution, drive and directory enumeration, desktop screenshots, webcam capture, and compressed file exfiltration — a full remote-access feature set brokered entirely through commits.
05 · RUSTYMOVE — USB Propagation & Air-Gap Bridging
Phase 5 / 13RUSTYMOVE is a lightweight Rust utility whose only job is to spread RUSTYSHADE onto removable media — the classic route into segmented or air-gapped defense networks that never touch the open internet.
RUSTYMOVE continuously monitors for newly-attached removable devices — USB, SD, MMC and IEEE 1394 — and, on detection, copies a pre-staged archive containing RUSTYSHADE plus a decoy shortcut to the drive root.
- 1Detects insertion of USB / SD / MMC / IEEE 1394 volumes.
- 2Drops a ZIP carrying RUSTYSHADE alongside a malicious
.pdf.LNKdouble-extension shortcut designed to look like a document. - 3When the drive is carried to another host and the "PDF" is opened, the LNK executes and stages RUSTYSHADE there — bridging the gap manually.
An air-gap does not save you here. RUSTYMOVE weaponizes the humans who ferry USB sticks between the internet-connected and isolated sides. Enforce device-control policy on the isolated network and disallow autorun / LNK execution from removable media.
06 · PSNATCH & BASHNATCH — Cross-Platform Collection
Phase 6 / 13The stealers handle bulk document theft on each platform. PSNATCH targets Windows via PowerShell; BASHNATCH is its Linux counterpart. Both stage locally, compress, and exfiltrate to private GitHub repos using a hard-coded PAT, and both keep a JSON ledger so re-runs only ship new files.
PSNATCH walks high-value user locations and fixed drives, filters by file type and recency, compresses the haul with Compress-Archive, and uploads to GitHub. Collection is capped to stay quiet.
| Parameter | Value |
|---|---|
| Locations | Desktop, Downloads, Documents, OneDrive, fixed drives D:–H: |
| File types | Office docs, archives, images, databases, scripts, executables, media |
| Recency filter | Files modified within the last 120 days |
| Size caps | 1 GB per file · 5 GB per execution |
| Staging | Date-stamped folders, compressed via Compress-Archive |
| Dedup ledger | %APPDATA%\SmartUploader\uploaded_files.json |
BASHNATCH mirrors the same collection-and-upload model on Linux, keeping its own incremental ledger at ~/.local/share/SmartUploader/uploaded_files.json. Its existence tells you the operators expect mixed Windows/Linux estates in Indian and Afghan government and defense environments — not a Windows-only assumption.
- 1Enumerates user home directories and mounted volumes for the same document classes.
- 2Tracks already-exfiltrated files in the SmartUploader JSON to avoid re-sending.
- 3Compresses and uploads to a private GitHub repo via the hard-coded token.
The shared SmartUploader/uploaded_files.json artifact is a cross-platform gift. Hunt for that exact path on both Windows (%APPDATA%) and Linux (~/.local/share) — it ties PSNATCH and BASHNATCH activity together across your estate.
07 · Recon & Lateral Movement
Phase 7 / 13After RUSTYSHADE lands, operators run a compact, repeatable hands-on-keyboard sequence: map the subnet, look for SMB/RPC, enumerate shares, plant persistence, then clean up. This sequence is stable across the campaign and is one of the best behavioural detections available.
Network reconnaissance uses ping sweeps and hostname resolution, port probing on 445 and 135, and IPC$ share connection attempts to enumerate accessible SMB shares for lateral movement.
- 1Persistence is planted as scheduled tasks masquerading as OS updaters — e.g.
StandAloneOneDriveUpdater-2626andMicrosoftEdgeUpdateTaskUserS-1-5-24-*. - 2Post-deployment, operators delete staging artifacts and traces (T1070.004) to slow forensic reconstruction.
08 · GitHub-as-C2 Infrastructure & Fingerprinting
Phase 8 / 13The strategic move in RapidRust is resilient, cloud-backed C2. By using attacker-owned private repositories over the GitHub REST API, Transparent Tribe inherits GitHub's TLS, uptime and reputation — and sidesteps the domain-and-IP indicators that defenders usually pivot on. The private-repo access token is never exposed to a passive network observer, so there is nothing to sinkhole and no C2 domain to block without also blocking github.com.
No Sinkhole Surface
C2 is a private repo reached with a PAT over TLS to api.github.com. There is no attacker domain to seize and no plaintext beacon to signature.
Lineage: GOGITTER / GITSHELLPAD
RapidRust builds directly on Transparent Tribe's earlier GitHub-repo C2 tooling, indicating a deliberate, maturing investment in the technique.
Operator Rhythm
Commands appear only 04:00–11:00 UTC on weekdays — a schedule tell that survives infrastructure churn and aids clustering.
HCENC1 Fingerprint
The fixed HCENC1: prefix on Base64 blobs is a durable content signature usable on host telemetry and, where visible, in repo history.
Specific attacker GitHub account and repository names were not publicly disclosed by ThreatLabz — expected, since burning them tips off the operators. Defenders should therefore pivot on behaviour: which processes on your estate talk to api.github.com, and do they have any legitimate reason to?
09 · Indicators of Compromise
Phase 9 / 13Defanged indicators from Zscaler ThreatLabz reporting. Treat the domains as disposable and the hashes as a starting point — the Rust rewrite means new samples will surface. Behavioural and path-based indicators (below) age far better than file hashes.
| Type | Indicator | Context |
|---|---|---|
| SHA-256 | 40a75f87f1e52c33df9ca733aaf8ebbb00aff1a72c5d5635ab36ce2eb370718a | RapidRust sample |
| SHA-256 | f0557a052d07b3ef0c5f27d082551d51027de452682e1fbd5bb38a897ea4b31b | RapidRust sample |
| Domain | theprints[.]org | Lure — spoofs ThePrint |
| Domain | indiatodays[.]org | Lure — spoofs India Today |
| Domain | officialinfo[.]org | Lure / staging |
| URL path | theprints[.]org/adrive · /drivefolder · /mau | Payload staging paths |
| Cloud | clients-easy.s3.us-east-005.backblazeb2[.]com | Backblaze B2 payload host |
| Cloud | f005.backblazeb2[.]com | Backblaze B2 payload host |
| Filename | DriverInstaller.zip / .exe · Automata-20.zip / .exe | Delivered payload archives |
| Path | %APPDATA%\SmartUploader\uploaded_files.json | PSNATCH dedup ledger |
| Path | ~/.local/share/SmartUploader/uploaded_files.json | BASHNATCH dedup ledger |
| Task | StandAloneOneDriveUpdater-2626 | Persistence scheduled task |
| Task | MicrosoftEdgeUpdateTaskUserS-1-5-24-* | Persistence scheduled task |
| String | HCENC1: | AES-256-GCM envelope prefix (C2 messages) |
10 · Detection & Hunt Queries
Phase 10 / 13Each hunt below pairs a Microsoft Sentinel/Defender KQL query with its Splunk SPL equivalent. Start with behaviour that survives the Rust rewrite: unexpected processes talking to GitHub, the SmartUploader ledger, updater-masquerading scheduled tasks, and the HCENC1 marker.
Tune the GitHub-egress hunt before alerting. In dev-heavy orgs, legitimate CI runners and tooling hit api.github.com constantly. Baseline which hosts and service accounts should reach GitHub, then alert on the exceptions — a finance or HR workstation beaconing to api.github.com on a weekday morning is the anomaly you want.
11 · MITRE ATT&CK Mapping
Phase 11 / 13| Tactic | Technique | ID | Where seen |
|---|---|---|---|
| Initial Access | Phishing | T1566 | Spoofed news-domain lures |
| Execution | Command & Scripting: PowerShell | T1059.001 | PSNATCH, intermediary downloaders |
| Persistence | Scheduled Task/Job | T1053.005 | OneDrive/Edge updater tasks |
| Defense Evasion | Obfuscated Files or Information | T1027 | AES-256-GCM / HCENC1 envelope |
| Defense Evasion | Indicator Removal: File Deletion | T1070.004 | Post-deployment cleanup |
| Credential Access | Credentials In Files | T1552.001 | Hard-coded GitHub PAT |
| Discovery | Remote System Discovery | T1018 | Ping sweeps / hostname lookups |
| Discovery | Network Service Discovery | T1046 | Port probes 445 / 135 |
| Lateral Movement | Remote Services: SMB Shares | T1021.002 | IPC$ share enumeration |
| Lateral Movement | Replication Through Removable Media | T1091 | RUSTYMOVE USB propagation |
| Collection | Data from Local System | T1005 | PSNATCH / BASHNATCH |
| Collection | Screen Capture | T1113 | RUSTYSHADE screenshots |
| Collection | Video Capture | T1125 | RUSTYSHADE webcam stills |
| Collection | Archive via Utility | T1560.001 | Compress-Archive staging |
| Collection | Data Staged: Local | T1074.001 | Date-stamped staging folders |
| Command & Control | Application Layer Protocol: Web | T1071.001 | GitHub REST API dead-drop |
| Command & Control | Ingress Tool Transfer | T1105 | ZIP/EXE staging from cloud |
| Resource Development | Acquire Infrastructure: Domains | T1584.001 | Typosquatted news domains |
| Exfiltration | Exfil Over Web Service | T1567.002 | Uploads to private GitHub repos |
12 · DFIR & Hardening
Phase 12 / 13If a host matches the hunts above, work the GitHub-C2 nature of this threat to your advantage: the sample carries the credential to its own C2.
- 1Isolate the host and capture memory before killing processes — RUSTYSHADE is a live Rust process, and its resolved PAT/key may be recoverable from memory.
- 2Extract the hard-coded PAT from the sample/memory. With it you hold both the C2 credential and
SHA256(PAT), the decryption key for committed traffic. - 3Report the PAT to GitHub for revocation and preserve repo contents (with legal/IR sign-off) —
results.txt,info.txtand staged blobs reconstruct what was taken. - 4Remove persistence: delete the rogue
StandAloneOneDriveUpdater-2626/MicrosoftEdgeUpdateTaskUserS-1-5-24-*tasks and the SmartUploader ledgers. - 5Re-run the identification hunts and expect zero hits before closing.
- 6Rebuild the timeline: the 04:00–11:00 UTC weekday cadence bounds the operator's active windows.
- No process outside your GitHub allow-list is reaching api.github.com
- All rogue updater scheduled tasks are removed on every affected host
- SmartUploader ledgers and staging ZIPs are gone
- The recovered PAT is revoked and repo access confirmed dead
- Removable-media device control is enforced on segmented networks
- 1Egress governance for GitHub: allow-list which hosts/service accounts may reach api.github.com; alert on the rest. This single control breaks the dead-drop for most of your estate.
- 2Removable-media control: block autorun and LNK execution from USB/SD on isolated networks to defeat RUSTYMOVE.
- 3ASR + scheduled-task auditing: enable Event ID 4698 auditing and alert on tasks named like OS updaters created by non-SYSTEM processes.
- 4Newly-registered-domain filtering: categorize and block fresh look-alike news domains at the proxy.
- 5Web/webcam telemetry: monitor for unexpected screen and webcam capture activity on sensitive endpoints.
13 · Sources & References
Phase 13 / 13Hunting GitHub-as-C2 in your environment? Start with the SmartUploader path, the HCENC1 marker and the updater-task names above, then baseline every process that touches api.github.com. Paste the RapidRust hashes and domains into the CyberHawk IOC Scanner, and follow the CyberHawk Threat Intel feed for the next Transparent Tribe update.
◈ Stay Connected
Follow CyberHawk Threat Intel for threat intelligence, deployment guides and hands-on SOC tooling content.
"They can't exploit you if you are the Exploit."