Public GitHub Histories Reveal Two Years of Chinese Espionage Commands

Summary
Apiiro says it decoded more than 80,000 commands preserved in public GitHub commit histories, tracing a China-linked espionage campaign across 23 countries. The firm cautions that commands do not prove execution.
Key points
- Apiiro decoded more than 80,000 commands recorded in public GitHub commit histories; the commands had been deleted from the repositories but remained in their histories.
- Apiiro identified 104 repositories used in the campaign, including 92 connected to victim machines.
- The campaign used Microsoft SharePoint, GitHub, and Ably to conceal command-and-control traffic and deployed the GraphDoor and GitDoor backdoors, according to the article.
- The commands suggest the group targeted organizations in 23 countries. Apiiro cautions that a command does not prove it was executed and says it did not access the private repositories that received implant responses.
- Reported targets included Taiwan’s main political parties and military suppliers, the Philippine Coast Guard, and government entities and organizations in other countries.
- Apiiro identified 494 Windows programs used by the attackers, 170 side-loading DLLs, and at least 87 versions of the GitDoor implant.
- Apiiro says activity against Taiwan’s KMT continued after Kaspersky published its Operation ShadowCloud report, including loaders and drivers delivered through Group Policy tasks.
Article Details
- Event Type
- Two-year espionage campaign using public GitHub repositories to manage implants and conceal command-and-control traffic
- Impact
- Apiiro reports decoding more than 80,000 commands recorded in public commit histories from 104 repositories, 92 of which were connected to victim machines. The operation likely targeted organizations in 23 countries and included government, political, military, and other organizations. Apiiro cautions that a command is not proof it ran, repository deletions do not establish execution, and it did not examine the private repositories that received implant responses.
MITRE ATT&CK
T1053.005 · Scheduled TaskAfter Kaspersky published its report, operators reportedly planted loaders and drivers via Group Policy tasks on a KMT-targeted system.T1102.002 · Bidirectional CommunicationGitDoor used GitHub repositories to receive commands and report their results, providing bidirectional command-and-control communication through a public web service.T1574.002 · DLL Side-LoadingThe article reports that the group used 170 side-loading DLLs.
Threat Actors
Malware
Vendors
AblyKaspersky in November as Operation ShadowCloud, the threat actor abused Microsoft SharePoint, GitHub, and Ably to hide command-and-control (C&C) traffic and infected victims with the GraphDoor and GitDoor backdoors.GitHubA Chinese-speaking threat actor targeted organizations in 23 countries as part of a two-year-long espionage campaign that relied on public GitHub repositories for implant management, cybersecurity firm Apiiro reports.Microsoftof the campaign, exposed by Kaspersky in November as Operation ShadowCloud, the threat actor abused Microsoft SharePoint, GitHub, and Ably to hide command-and-control (C&C) traffic and infected victims with the
Products
AblyKaspersky in November as Operation ShadowCloud, the threat actor abused Microsoft SharePoint, GitHub, and Ably to hide command-and-control (C&C) traffic and infected victims with the GraphDoor and GitDoor backdoors.GitHubA Chinese-speaking threat actor targeted organizations in 23 countries as part of a two-year-long espionage campaign that relied on public GitHub repositories for implant management, cybersecurity firm Apiiro reports.Microsoft SharePointcampaign, exposed by Kaspersky in November as Operation ShadowCloud, the threat actor abused Microsoft SharePoint, GitHub, and Ably to hide command-and-control (C&C) traffic and infected victims with the GraphDoor and
Countries
ArgentinaOther victims include a foreign-policy think tank in Italy, Argentina’s foreign ministry, Eswatini’s national data center, a help-desk account at Peru’s Ministry of Defense, Caribbean foreign and energy ministries,BrazilThe hacking group targeted organizations in Brazil and other countries as well.Chinaby Sophos as Bronze Sandcastle, has been conducting activities aligned with the People’s Republic of China (PRC) interests, mainly focusing on intelligence gathering from organizations in Asia and Africa.EswatiniOther victims include a foreign-policy think tank in Italy, Argentina’s foreign ministry, Eswatini’s national data center, a help-desk account at Peru’s Ministry of Defense, Caribbean foreign and energy ministries,Indiaat Peru’s Ministry of Defense, Caribbean foreign and energy ministries, Mexico’s economy ministry, India’s national electronic toll collection system, and the Philippine Department of Justice’s Office ofItalyEach team has its own GitHub accounts, relay servers, implant build and region: Taiwan; the Philippines; Vietnam and Southeast Asia; Zambia and Uganda; South and Central Asia; Latin America and Italy,” Apiiro notes.Mexicodata center, a help-desk account at Peru’s Ministry of Defense, Caribbean foreign and energy ministries, Mexico’s economy ministry, India’s national electronic toll collection system, and the Philippine Department ofPeruthink tank in Italy, Argentina’s foreign ministry, Eswatini’s national data center, a help-desk account at Peru’s Ministry of Defense, Caribbean foreign and energy ministries, Mexico’s economy ministry, India’sPhilippinesEach team has its own GitHub accounts, relay servers, implant build and region: Taiwan; the Philippines; Vietnam and Southeast Asia; Zambia and Uganda; South and Central Asia; Latin America and Italy,” Apiiro notes.TaiwanEach team has its own GitHub accounts, relay servers, implant build and region: Taiwan; the Philippines; Vietnam and Southeast Asia; Zambia and Uganda; South and Central Asia; Latin America and Italy,” Apiiro notes.UgandaEach team has its own GitHub accounts, relay servers, implant build and region: Taiwan; the Philippines; Vietnam and Southeast Asia; Zambia and Uganda; South and Central Asia; Latin America and Italy,” Apiiro notes.United StatesBased on the identified commands, the espionage group’s operation likely hit organizations in 23 countries, including many in the US, Taiwan, and the Philippines.ZambiaEach team has its own GitHub accounts, relay servers, implant build and region: Taiwan; the Philippines; Vietnam and Southeast Asia; Zambia and Uganda; South and Central Asia; Latin America and Italy,” Apiiro notes.
Industries
DefenseArgentina’s foreign ministry, Eswatini’s national data center, a help-desk account at Peru’s Ministry of Defense, Caribbean foreign and energy ministries, Mexico’s economy ministry, India’s national electronic tollGovernmentOn November 20, the group targeted another Philippine government entity, and on November 23 it opened a session to a KMT machine holding the party’s website and payment-site folders.
