Researchers dumped a GitHub commit log this week and found an espionage campaign’s to-do list sitting in version control. For a little over two years, Operation ShadowCloud used GitHub as command-and-control against government networks in Asia and Africa. Eighty thousand, four hundred nine commands. Your cybersecurity stack already treats that domain as homework. Developers live there. CI lives there. The firewall learned years ago that github.com is a friendly name.
Nobody opens a ticket for a git pull.
Your cybersecurity program still gives GitHub a pass

ShadowCloud did not need a rotating bulletproof domain. It needed a site your change board will not let you block. GitHub qualifies. Commit history became the command channel, and the public log became the after-action report. Chinese-speaking operators ran backdoors into government environments, then filed instructions the same way a contractor files a README. Threat detection that scores destinations by reputation watched a trusted platform serve work tickets to malware.
You already budget for shady hosting. You do not budget for a hostname that prints on every onboarding slide. Legal uses GitHub. Engineering uses GitHub. The SOC uses GitHub. Egress policies flatten the whole company into one allow rule, then the surprise arrives when C2 shares the same SNI as your pull requests.
Two years is a long time to look like productivity. Analysts reconstructed the campaign because the operators left the commands in commits. Live traffic would have blended with every other HTTPS session to a developer platform. If your incident response playbook still starts with a hunt for firewall denies, you will close this as noise and go back to the queue.
Treat GitHub as a control plane you do not own. Organization membership, leftover PATs, outbound webhooks, and private repos that suddenly grow commit volume are more useful than another feed of “suspicious IPs abroad.” ShadowCloud picked a channel that survives every cheap threat-protection category: business, collaboration, source control. Cyber security teams that still split the world into corporate apps and everything else handed them that split for free.
The implant had a product page for six months
While GitHub was busy looking like work, Apple’s App Store spent half a year hosting a commercial implant. Italian vendor Robco SpA shipped UltraMob under the name MySupport, aimed at iPhone users in Italy, and the listing sat there until Osservatorio Nessuno dragged it into the light. Six months. On the store. Named like a help-desk tool your users would install because someone in Slack said to.

You will not block the App Store. You should stop telling executives that MDM means Apple already did the hard part. Commercial spyware vendors have been shopping for distribution that does not require a lure PDF, and a store listing with a support-shaped name is the cleanest path they can buy. Users tap Install. The phone does the rest. Dwell time here is measured in seasons, not hours after a phishing click.
Meta is running the browser version at billboard scale. The European Commission said this week, in preliminary Digital Services Act findings, that millions of scam ads on Facebook and Instagram racked up billions of impressions in the EU, and that Meta has not done enough to understand or limit the harm. Your users did not wander onto a typosquat forum. The ad sat between a cousin’s photos and a retailer they already buy from. Fake logins, “pay this customs fee,” brand impersonation; all of it rode the same targeting engine your marketing team pays to use.
Help-desk tickets from those ads will arrive as password resets and “I think I got phished” Slack messages, days after the click. By then the session token is gone and the inbox rule is already forwarding invoices. Platform trust is the payload.
Stop waiting for a domain that looks evil
You are not going to unplug GitHub, the App Store, or Instagram. Plan around that constraint. Deny-by-default still matters on the edges you actually own. It does nothing for the destinations everyone is required to use.
Do the ugly inventory work this month, then keep it on a calendar:
- Pull 30 days of egress to github.com, gist, raw content hosts, and git over SSH. Group by identity, not by “the engineering subnet.” A service account committing to a repo nobody in your org owns is an incident, even if TLS is valid and the firewall logged allow.
- Census GitHub PATs, deploy keys, GitHub Apps, and webhooks. Revoke anything that cannot name an owner and a purpose by Friday. ShadowCloud-style C2 loves leftover tokens more than it loves zero-days.
- On mobile, compare MDM-installed apps against a short allowlist of business titles. Hunt support-themed apps, unknown configuration profiles, and anything sideloaded after a “help desk” call. UltraMob’s trick was looking like IT. Your response is knowing what IT actually ships.
- Stand up a same-day path for ad-driven credential theft: forced logout, mail-forward audit, new app passwords, and a write-down of which Meta or Google ad account impersonated you. Waiting for the platform to take the ad down is not containment.
- Keep brute-force controls on the services you still publish. GitHub C2 does not retire password spraying against VPN, SSH, and RDP. Fail2ban-style ipban still earns its keep on those listeners; IPBan Pro is fine if that is already in the stack. Do not let a glamorous SaaS C2 story pull eyes off the login logs you already have.
- Rewrite the IR trigger. “Destination is a known-good SaaS brand” is not a close code. Unusual repo, unusual app, unusual ad click plus a new mailbox rule is enough to open a case.
Security hardening here is mostly identity and inventory. You are reducing the number of people and tokens that can talk to GitHub, the number of apps that can sit on a phone, and the number of days an ad-driven mailbox rule can live before someone looks. That is slower than buying another dashboard. It is also the part that would have shortened a two-year C2 run.
Defense in depth has to include the brands you like
Most threat-protection catalogs still sell you a clean story: bad domains, bad hashes, bad countries. ShadowCloud, UltraMob, and the Meta ad mill live on the other side of that catalog. HTTPS to a famous name. A signed store listing. An ad with a real logo in a feed your acceptable-use policy blesses. Defense in depth that stops at the perimeter logo wall is decorative.

Put a named owner on “trusted SaaS as hostile infrastructure.” That person gets GitHub audit logs, MDM drift, and the phishing mailbox, not three separate teams who each assume the other one watches the brand-name traffic. Give them a kill switch that does not require a vice president to approve blocking github.com for the whole company: repo-level blocks, token revocation, managed-app wipe, forced reauth. Small levers. Fast ones.
Keep the boring controls too. Patch the stuff CISA already put on a clock. Watch the VPN for spraying. Just stop pretending those controls cover a command channel that looks like documentation, an implant that looks like support, or a scam that looks like an ad you already paid to run.
The operators picked GitHub because you trained your tools to ignore it. You can untrain them. Start with the allowlist you are proud of.
Sources
- GitHub Commit History Exposes 80,409 Espionage Commands From Chinese-Speaking Hackers
- Commercial iPhone Spyware UltraMob Went Undetected on Apple’s App Store for Six Months
- Meta risks hefty EU fine over millions of scam ads on Facebook and Instagram
Take Control of Your Server Security
Don't let brute-force attacks slow you down. Try IPBan Pro risk-free for 30 days.
Secure. Automated. Lightweight.
Take Control of Your Server Security
Don't let brute-force attacks slow you down. Try IPBan Pro risk-free for 30 days.
Secure. Automated. Lightweight.
