GitDoor decoded espionage tasking
A Chinese-speaking espionage crew left 80,409 tasking commands in public GitHub commit history, exposing two years of GitDoor operations against government and political victims in 23 countries
Posted · Spectrum Delta Research Team
Summary
A Chinese-speaking espionage crew assessed by Apiiro (B/2) to keep mainland China office hours ran the GitDoor backdoor for two years against government, political and military-linked victims in 23 countries, and 80,409 of its commands, preserved in public GitHub commit history, show tasking for coast-guard briefings, party talking points and ministry file shares. The December 2 report follows Kaspersky's November 17 exposure of Operation ShadowCloud: operators committed small encrypted command files named per implant session to public repositories, the GitDoor implant polled and ran them, and bulk deletions left the tasking recoverable in commit history. Apiiro identified 104 operator repositories, 97 unreported and all removed by GitHub by November 25, plus 494 uploaded Windows programs with 347 unseen by VirusTotal and 87 implant versions across six regional teams. The crew kept operating after exposure, opening a new Philippine government victim on November 20 and re-tasking Kuomintang machines with Group Policy persistence. Attribution is an assessment, commands prove tasking rather than execution, and Kaspersky saw FamousSparrow and CopperTurtle in the same staging folders.
Breakdown
Countries
- Taiwan
- Philippines
- United States
- Italy
- Eswatini
- Peru
- Vietnam
- India
- Mexico
- Laos
- Brazil
- Uganda
- Zambia
- Cambodia
- Thailand
- Afghanistan
- Namibia
Targets
Organizations
- Organization: Philippine Coast Guard
- Organization: Kuomintang
- Organization: Taiwan People's Party
- Organization: Democratic Progressive Party
- Organization: Peru Ministry of Defense
- Organization: Philippine National Nutrition Council
Technical exposure
- Endpoints with the GitDoor implant polling api.github.com contents
- Signed programs side-loading jli.dll or SbieDll.dll from staging folders
- Scheduled tasks named SystemOptimizer or SamsungMagician persisting loaders
- WDigest UseLogonCredential set to store passwords in clear text
Adversary
Chinese-speaking espionage crew · assessed mainland China office team (Apiiro, B/2); part tracked by Sophos as Bronze Sandcastle
Procedures (5)
Implant polls public GitHub repository for command files
Logs
Sysmon network events · Event ID 3 connections to api.github.com at regular polling intervals from servers, storage appliances or desktops outside engineering, continuing nights and weekends; requires Sysmon deployed on endpoints
- Web proxy and DNS logs · Sustained periodic requests to api.github.com repository-contents endpoints from a single non-developer host or NAS appliance
Operator commits INSOMNIA command files deleted in bulk
- T1070.004Indicator Removal: File Deletion
Logs
GitHub audit log · Commits by author INSOMNIA with message 'commit from INSOMNIA' and files named main.<code>.<4 chars>.js or main.<code>.js appearing and then deleted in bulk in repositories visible to the organization
Signed program side-loads malicious DLL from staging folder
- T1574.002
Logs
Sysmon process events · Event ID 1 creation of javaw.exe, jconsole.exe, updater.exe or sandboxiewuau.exe from C:\ProgramData\intel, %LOCALAPPDATA%\Programs, C:\Users\Public or C:\PerfLogs\sc2, loading jli.dll, SbieDll.dll or libcef.dll and reading a Base64 payload file such as config.ini
Scheduled tasks persist loaders on victim machines
- T1053.005Scheduled Task/Job: Scheduled Task
Logs
Windows Security event log · Event ID 4698 task creation for SystemOptimizer, SystemOptimizerTemp, SamsungMagician, Lenovo-BACKUP-*, Adobe-Agent-*, javaw-* or Microsoft\XblGameSave\Telemetry; requires advanced audit policy for task creation enabled
Custom uploaders send encrypted archives to cloud drives
- T1567.002Exfiltration Over Web Service: Exfiltration to Cloud Storage
Logs
- Web proxy and DNS logs · Large split-archive uploads to OneDrive or Google Drive endpoints from compromised hosts, paired with api.github.com polling; Ably relay rest.ably.io appears in Linux proxy channels and is benign alone
Indicators of compromise
Domains (3)
- ekmt.twrelay hostname used in Kuomintang repositories March to May 2026; hunt-only (Apiiro)
- openclawapi.webredirect.orgcustom remote-access tool channel, August 2026; hunt-only (Apiiro)
- n.deepso.orgcustom remote-access tool channel, November 2026; hunt-only (Apiiro)
Hashes (1)
- 552f0a9cc5fc3755721fa49be05e8035GitDoor client version 1.1.6, the sample published by Kaspersky (MD5)
CVEs (1)
- CVE-2026-42980Windows kernel exploit rebuild uploaded days before the November exposure; execution unconfirmed (Apiiro)
Sources
- B/2Apiiro Research: GitDoor - Chinese espionage commands decoded from GitHub
- B/2SecurityWeek: GitHub History Exposes Two Years of Chinese Espionage Orders
Grades are source reliability (A–F) and information credibility (1–6).
Questions, detections or sightings of GitDoor decoded espionage tasking? Bring them to the community.