{"id":5174,"date":"2026-12-04T07:36:11","date_gmt":"2026-12-04T07:36:11","guid":{"rendered":"https:\/\/wyominginvest.com\/?p=5174"},"modified":"2026-12-04T07:36:11","modified_gmt":"2026-12-04T07:36:11","slug":"exposed-two-year-global-espionage-campaign-used-public-github-repositories-for-command-and-control","status":"publish","type":"post","link":"https:\/\/wyominginvest.com\/?p=5174","title":{"rendered":"Exposed: Two-Year Global Espionage Campaign Used Public GitHub Repositories for Command-and-Control"},"content":{"rendered":"<p>A sophisticated, Chinese-speaking threat actor has been unmasked following a sprawling two-year espionage campaign that spanned five continents and targeted critical infrastructure, government agencies, and political entities across 23 countries. According to new research from the cybersecurity firm Apiiro, the group utilized public GitHub repositories as a novel command-and-control (C&amp;C) mechanism to manage its malicious implants, effectively hiding their operational traffic in plain sight.<\/p>\n<p>This campaign, identified by Kaspersky in November as &quot;Operation ShadowCloud,&quot; demonstrates a high degree of technical sophistication and operational discipline. The threat actor, which cybersecurity researchers at Sophos have tracked under the moniker &quot;Bronze Sandcastle,&quot; has consistently aligned its activities with the strategic interests of the People\u2019s Republic of China (PRC). Its primary focus has been the systematic gathering of intelligence from organizations throughout Asia and Africa, though the scope of the operation eventually widened significantly to include targets in the United States, Europe, and Latin America.<\/p>\n<h3>The Anatomy of the GitDoor Operation<\/h3>\n<p>The operational backbone of the campaign relied on the &quot;GitDoor&quot; and &quot;GraphDoor&quot; backdoors. Kaspersky\u2019s initial disclosure in November mapped the group\u2019s complex infection chain, which included the abuse of legitimate cloud services\u2014specifically Microsoft SharePoint, GitHub, and the real-time messaging service Ably\u2014to facilitate C&amp;C communication. This strategic use of reputable platforms allowed the attackers to bypass standard network security filters, as traffic to these domains is typically permitted in most corporate and government environments.<\/p>\n<p>The GitDoor implant, in particular, utilized a clever dual-repository system. One GitHub repository served as a drop point for incoming commands, while a secondary repository was used to exfiltrate and report the results of those commands. While the operators were diligent in deleting their commands within hours of execution, they failed to account for the permanence of public commit histories. Apiiro\u2019s security analysts were able to decode over 80,000 individual commands left behind in these repositories, providing a rare and unprecedented window into the group&#8217;s tactical decision-making process over the last 24 months.<\/p>\n<p>&quot;Espionage operations are usually seen through their malware and servers, and rarely through their orders,&quot; Apiiro stated in their detailed report. &quot;This record is the operators&#8217; own task list: what they asked for, from whom and when, across every victim, down to the minute.&quot;<\/p>\n<p>Apiiro identified 104 distinct repositories utilized throughout the campaign, 92 of which were directly connected to victim infrastructure. The researchers noted that the campaign functioned as a highly organized, regionalized effort. Each regional team operated with its own specific GitHub accounts, relay servers, and tailored implant builds. The geographic segmentation of these teams\u2014covering regions as diverse as Taiwan, the Philippines, Vietnam, Southeast Asia, Zambia, Uganda, South and Central Asia, Latin America, and Italy\u2014points to a well-funded, state-aligned operation capable of maintaining long-term persistence across vastly different political landscapes.<\/p>\n<h3>Victims Across Five Continents<\/h3>\n<p>The breadth of the targeting is staggering. By analyzing the recovered command logs, Apiiro mapped the espionage footprint to 23 countries. In the United States, the group targeted a diverse array of organizations, including a web development firm responsible for maintaining the online presence of several high-profile properties associated with Donald Trump, such as Mar-a-Lago, Bedminster, and Doral. Other US-based victims included the IT headquarters of a large industrial union, as well as the accounting database and software infrastructure of a federal contractor.<\/p>\n<p>In the Philippines, the group\u2019s interests appeared explicitly tied to regional geopolitical tensions. Investigators observed the group targeting the Philippine Coast Guard, an effort likely designed to monitor the movements and strategic communications of US forces stationed within the country.<\/p>\n<p>Taiwan remained a primary focus for the threat actors, who attempted to infiltrate the nation\u2019s entire political spectrum. The group targeted the ruling Democratic Progressive Party (DPP), the main opposition party (KMT), and the Taiwan People\u2019s Party (TPP). Beyond political parties, the attackers sought to compromise Taiwan\u2019s national security by targeting military suppliers and infrastructure contractors.<\/p>\n<p>The campaign\u2019s reach extended into critical sectors globally. Victims included the foreign ministry of Argentina, the national data center of Eswatini, a help-desk account at Peru\u2019s Ministry of Defense, various foreign and energy ministries across the Caribbean, Mexico\u2019s ministry of the economy, and India\u2019s national electronic toll collection system. Additionally, the hackers targeted a foreign-policy think tank in Italy and the Philippine Department of Justice\u2019s Office of Cybercrime.<\/p>\n<h3>Operational Resilience and Attribution<\/h3>\n<p>One of the most striking aspects of the investigation was the attackers&#8217; resilience in the face of public disclosure. Even after Kaspersky exposed Operation ShadowCloud on November 17, the threat actors did not cease their operations. Instead, they adapted. Apiiro observed that the group continued to target the KMT in Taiwan, deploying new loaders and drivers via Group Policy tasks and establishing a proxy on a compromised machine shortly after the initial reports were published. In a display of tactical audacity, the group even uploaded a Windows kernel exploit to a repository just minutes before the Kaspersky report went live.<\/p>\n<p>The sheer scale of the toolset deployed by Bronze Sandcastle is indicative of a mature organization. Apiiro cataloged 494 unique Windows programs used during the campaign, including 170 distinct DLL side-loading files and at least 87 different versions of the GitDoor implant.<\/p>\n<p>The attribution to a China-based actor is supported by more than just the political alignment of the targets. The digital breadcrumbs left in the logs provide compelling evidence of the operators&#8217; physical location. Apiiro observed that the activity consistently followed Beijing office hours and strictly adhered to the mainland China holiday calendar\u2014including specific Saturdays that the Chinese government designates as official workdays to compensate for public holidays. This rigid adherence to a specific work schedule, which is rarely mirrored by international threat groups, provides a strong indicator of the operators&#8217; presence within mainland China.<\/p>\n<p>The campaign highlights a growing trend where sophisticated threat actors leverage the infrastructure of trusted third-party cloud providers to conduct espionage. By embedding their C&amp;C infrastructure within the commit histories of public repositories, Bronze Sandcastle was able to maintain a persistent, low-profile presence in the networks of high-value targets for years. <\/p>\n<p>As organizations continue to transition to cloud-centric workflows, the reliance on platforms like GitHub and Microsoft SharePoint for legitimate business operations will likely continue to make them attractive targets for state-sponsored espionage. The discovery of the GitDoor campaign serves as a critical reminder that even the most reputable and widely used platforms can be subverted by actors with the patience and technical capacity to hide in plain sight. For the victims identified by Apiiro, the fallout from this two-year breach\u2014which involved the potential theft of sensitive political, military, and governmental data\u2014is only beginning to be understood as security teams work to identify the full extent of the compromised systems.<\/p>\n","protected":false},"excerpt":{"rendered":"<p>A sophisticated, Chinese-speaking threat actor has been unmasked following a sprawling two-year espionage campaign that spanned five continents and targeted critical infrastructure, government agencies, and political entities across 23 countries. According to new research from the cybersecurity firm Apiiro, the group utilized public GitHub repositories as a novel command-and-control (C&amp;C) mechanism to manage its malicious<\/p>\n","protected":false},"author":2,"featured_media":5173,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[373],"tags":[374,445,387,1561,444,1606,1267,906,144,1572,3616,5,240,202,519],"class_list":["post-5174","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-bug-bounty-vulnerabilities","tag-bug-bounty","tag-campaign","tag-command","tag-control","tag-espionage","tag-exposed","tag-github","tag-global","tag-hacking","tag-public","tag-repositories","tag-security","tag-used","tag-vulnerabilities","tag-year"],"_links":{"self":[{"href":"https:\/\/wyominginvest.com\/index.php?rest_route=\/wp\/v2\/posts\/5174","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/wyominginvest.com\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/wyominginvest.com\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/wyominginvest.com\/index.php?rest_route=\/wp\/v2\/users\/2"}],"replies":[{"embeddable":true,"href":"https:\/\/wyominginvest.com\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=5174"}],"version-history":[{"count":0,"href":"https:\/\/wyominginvest.com\/index.php?rest_route=\/wp\/v2\/posts\/5174\/revisions"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/wyominginvest.com\/index.php?rest_route=\/wp\/v2\/media\/5173"}],"wp:attachment":[{"href":"https:\/\/wyominginvest.com\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=5174"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/wyominginvest.com\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=5174"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/wyominginvest.com\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=5174"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}