Sistemas de governos e partidos políticos em… · Breach

Researchers expose two-year espionage via GitHub across 23 countries

· 1 min read

A China-aligned espionage group dubbed Bronze Sandcastle used public GitHub repositories as command-and-control servers for two years against governments and political parties in 23 countries, according to Apiiro researchers. The group deleted command files hours after use, but they remained in Git commit history, where researchers decoded 80,409 commands from 104 public repositories. Named organizations should hunt for the campaign's indicators in their environments.

Illustration: Researchers expose two-year espionage via GitHub across 23 countries
WhatsApp LinkedIn X
HighBreachNo software to update

In 30 seconds

Alleged

Here is the short version: researchers say a China-aligned espionage group they call Bronze Sandcastle spent two years using public GitHub repositories as command-and-control servers, meaning hacked machines fetched their orders from ordinary looking code hosting pages instead of a dedicated server.XQOPTRXx.com · XQOPTRX · xOpen original sourceSee in source list

Alleged

The operators deleted each command file a few hours after use, but deleting a file does not erase Git commit history. Researchers at Apiiro reportedly pulled and decoded 80,409 espionage commands from 104 public repositories, exposing a campaign that allegedly hit governments and political parties in 23 countries.XQOPTRXx.com · XQOPTRX · xOpen original sourceSee in source list

What happened

Alleged

According to a summary circulating on X, the campaign ran for roughly two years against governments and political parties across 23 countries. The targets named so far include the Philippine Coast Guard, Peru's Ministry of Defense, and political parties in Taiwan.XQOPTRXx.com · XQOPTRX · xOpen original sourceSee in source list

Alleged

To hide their traffic, the operators allegedly used public GitHub repositories as their command channel, a technique where infected machines check a public page for instructions. After sending orders, they deleted the command files within hours to cover their tracks. The flaw in that plan: Git commit history preserved everything, and Apiiro researchers say they recovered and decoded 80,409 commands straight from that history.XQOPTRXx.com · XQOPTRX · xOpen original sourceSee in source list

Why it matters

Inferred

The technique matters because traffic to GitHub looks like normal developer activity on most networks. When a public platform does double duty as attack infrastructure, defenders struggle to tell espionage apart from everyday work, which helps explain how the operation could run for two years.XQOPTRXx.com · XQOPTRX · xOpen original sourceSee in source list

Inferred

The exposure also shows how much forensic value sits inside version control. The commit history, built to track code changes, became the record that outlived every deletion. And if the target list holds, the stakes are high: coast guards, a defense ministry, and political parties across 23 countries.XQOPTRXx.com · XQOPTRX · xOpen original sourceSee in source list

What to do

Inferred

If your organization is among the named targets, the practical move is to hunt for this campaign's indicators in your environment, as the reporting urges. Look for unusual automated access to public repositories, not just suspicious domains.XQOPTRXx.com · XQOPTRX · xOpen original sourceSee in source list

Inferred

The general lesson transfers even if you are not on the list: audit what your Git histories contain, and treat outbound traffic to public code platforms from machines that have no reason to touch them as a signal worth checking.XQOPTRXx.com · XQOPTRX · xOpen original sourceSee in source list

Confirmed and still uncertain

Alleged

What is claimed so far: a two-year campaign, 23 affected countries, 104 repositories, 80,409 decoded commands, and a toolbox described as 87 custom backdoors plus zero-day exploits. All of this comes from researcher findings relayed through a public post.XQOPTRXx.com · XQOPTRX · xOpen original sourceSee in source list

Inferred

What remains open: the operators' real identity, since the China alignment is an attribution call rather than a confirmed fact. The evidence in this batch also does not show the full victim list, whether GitHub or Microsoft has responded, or whether any named victim has verified a compromise on its own side.XQOPTRXx.com · XQOPTRX · xOpen original sourceSee in source list

What people are saying

Observed

Public reaction on X leans toward dark amusement. One widely shared summary puts it like this: "You can have 87 custom backdoors and zero-day exploits, and still get caught by git log."XQOPTRXx.com · XQOPTRX · xOpen original sourceSee in source list

Observed

The same post frames the case as a nation-state group getting caught because they forgot how Git works, and that framing captures the tone of the discussion so far: surprise that an advanced crew stumbled on a basic platform detail.XQOPTRXx.com · XQOPTRX · xOpen original sourceSee in source list

Evolution

Alleged

The reconstruction offered so far: for about two years the routine held, with command files deleted hours after use, and the operation stayed quiet while it ran against targets in 23 countries.XQOPTRXx.com · XQOPTRX · xOpen original sourceSee in source list

Inferred

The picture changed when researchers stopped reading the live repositories and started reading the commit history underneath them. That shift turned a deletion trick into a self inflicted record, and the recovered commands are now the core of the public account.XQOPTRXx.com · XQOPTRX · xOpen original sourceSee in source list

Reach

Observed

1 independent groups, 1 updates, and 1 engagements.

Technical detail

Alleged

Command-and-control through public repositories works like a dead drop: infected machines poll an ordinary GitHub page for instructions, so the traffic blends in with legitimate developer use. The operators then deleted each command file within a few hours of delivery.XQOPTRXx.com · XQOPTRX · xOpen original sourceSee in source list

Alleged

The forensic core of the story is that Git stores every commit, so a deleted file survives in history. From that history, Apiiro researchers say they decoded the command set.XQOPTRXx.com · XQOPTRX · xOpen original sourceSee in source list

Inferred

Commit timestamps reportedly lined up with Beijing office hours, including the specific Saturdays that China declares official workdays. Researchers read that pattern as a schedule fingerprint pointing to operators based in China, which is an inference from timing, not proof of who they are.XQOPTRXx.com · XQOPTRX · xOpen original sourceSee in source list

Sources and evidence

Observed

This item rests on a single source in the current batch: an X post by user XQOPTRX that summarizes the Apiiro research. The post includes no link to the underlying report within the evidence we hold.XQOPTRXx.com · XQOPTRX · xOpen original sourceSee in source list

Inferred

That shapes confidence. Campaign details, attribution, and target names are researcher allegations relayed second-hand through a social post. The primary Apiiro report, victim confirmations, and any platform response are absent from this batch, so treat the specifics as unverified until the original research is checked.XQOPTRXx.com · XQOPTRX · xOpen original sourceSee in source list

Sources

  1. XQOPTRXx.com · XQOPTRX · x

Incidents like this, every morning

The ones that need action first, in a 3-minute read.

Free · 1 email a day, in the morning · no spam, unsubscribe in 1 click

Get the next one tomorrow morning

One email a day with what changed, what to fix first and how.

Free · 1 email a day, in the morning · no spam, unsubscribe in 1 click

Share it with your team

Whoever handles security with you should get it too.

LinkedIn X

Your colleague gets a confirmation request. Nothing is sent unless they confirm.

See all news

Read also

Before you go: get this every day

The HIFY Radar daily edition lands every morning with the incidents that need action. Free.

Free · 1 email a day, in the morning · no spam, unsubscribe in 1 click