# Bronze Sandcastle / Operation ShadowCloud: GitDoor and GraphDoor Espionage Using Public GitHub Repositories, SharePoint and Ably for C2

> A Chinese-speaking, PRC-aligned actor (tracked by Sophos as Bronze Sandcastle, exposed by Kaspersky as Operation ShadowCloud) has run a roughly two-year espionage campaign against government and political targets in Asia, Africa, Latin America and elsewhere. Its GitDoor and GraphDoor backdoors hide C2 in GitHub repositories, Microsoft SharePoint (Graph API) and Ably, and are delivered via DLL side-loading. Per SecurityWeek, activity continued after public exposure.

- **Author:** Threadlinqs Team
- **Published:** 2026-12-03T16:19:20Z
- **Last updated:** 2026-12-03T16:19:20Z
- **Canonical:** https://intel.threadlinqs.com/threat/TL-2026-7406
- **Card image:** https://intel.threadlinqs.com/og/threat/TL-2026-7406.png
- **ID:** TL-2026-7406
- **Severity:** HIGH
- **Category:** APT
- **Status:** ACTIVE
- **Actor:** BRONZE SANDCASTLE (China)
- **Detections:** 9 (1 shown free below) · **IOCs:** 38 (3 shown free below)

## Description

Operation ShadowCloud was documented by Kaspersky (Securelist, 2026-11-17, two parts) as cloud-service-based backdoors targeting mainly government networks in Asia and Africa. Entry point is unknown; in a Taiwanese organization two MeshCentral Agent instances (wss://27.102.66.162:443/agent.ashx) dropped a legitimate side-loading binary, a malicious loader DLL and an encrypted config.ini payload. Kaspersky evidence suggests reuse of an earlier infection on the network.

GitDoor (client_version 1.1.6 in the analyzed sample) uses two GitHub repositories per account: a download repo (e.g. Havo) for commands and plug-ins, and an upload repo (e.g. Trix) for victim data and results. Check-in collects public/internal IP, domain, user, host, process and OS data, creates an 8-character victim code, opens a GitHub issue titled 'problem [GUID]', encrypts data (AES-256-ECB, Base64, XOR) and uploads it as main.[code].js.map to GitHub and Ably. Plug-ins (scr.ts screenshot, pr.ts process list, kl.ts keylogger, channel.ts frp-derived proxy, abchannel.ts / ab2channel.ts Ably proxies, moveDir.ts relocation) and commands (shellcode/COFF loading, file manager, keylogger, WinPTY shell, service/task/user management, Mimikatz renamed 'imzimzgo 2.2.0 x64', CookieKatz, PetitPotam-style EFSRPC coercion, Procdump, upload to gofile.io) give operators broad post-exploitation capability. Mimikatz sekurlsa::logonpasswords and lsadump::sam are used.

GraphDoor (client_version 1.2.7) is the sibling implant that authenticates to Microsoft Graph via OAuth2 client-credentials against a hard-coded tenant, and uses SharePoint document libraries and lists (buildersemp.sharepoint.com, cskautogo.sharepoint.com) for exfiltration, plug-ins and commands, adding 'shell' (cmd.exe /C) and 'adsmload' commands. It stages in C:\ProgramData\Intel_Log\<GUID> and has no hard-coded C2 host; the C2 is supplied via proxy-channel info commands or Ably. Kaspersky did not confirm a persistence mechanism for GraphDoor.

Loaders come in Type 1 (jli.dll: custom Base64, RC4, XOR, CRC32/FNV-1 API hashing, MAC-string encoding) and Type 2 (sbiedll.dll: vectored exception handler clearing DR7, XOR payload) variants, side-loaded by javaw.exe, Sandboxie start.exe, python-based binaries, zoomit.exe, PDF24 and others. Apiiro (as reported by SecurityWeek) counted 170 side-loading DLLs, 494 Windows programs and at least 87 GitDoor versions.

Apiiro (per SecurityWeek 2026-12-03) decoded over 80,000 commands from public GitHub commit histories (commands were deleted hours after posting but persisted in history), identified 104 repositories (92 linked to victim machines) and found regional teams (Taiwan; Philippines; Vietnam/Southeast Asia; Zambia/Uganda; South/Central Asia; Latin America/Italy) working Beijing office hours and the mainland China holiday calendar. Apiiro notes a command is not proof of execution. The Apiiro primary report could not be retrieved, so Apiiro-specific figures here rely on SecurityWeek. Reported victims include Philippine Coast Guard and DOJ cybercrime office, Taiwanese political parties (DPP, KMT, TPP) and supplier/contractor chains, Argentina's foreign ministry, Peru MoD help desk, Mexico's economy ministry, Caribbean ministries, an Italian think tank, Eswatini's national data center, India's toll collection system, and US targets including a website builder for Trump clubs and a union IT HQ. After the Kaspersky report, operators reportedly continued targeting the KMT (loaders/drivers via Group Policy tasks, a proxy deployed, an unnamed Windows kernel exploit uploaded to a repository), a Philippine government entity (Nov 20), and a KMT web/payment server session (Nov 23).

Attribution: Sophos CTU tracks the activity as Bronze Sandcastle (China-based by UTC+8 working hours; incidents Aug 2025-Aug 2026; payload versions 1.1.5 and 1.1.7; Meterpreter-like reflective loader with COFFLoader elements; vssadmin shadow copy then ntds.dit theft; C2 via file.io, gofile.io, Ably and GitHub). The Sophos report does not name GitDoor/GraphDoor, but it cites the same GitHub account (LatonyCharnleyaW) seen in Kaspersky's GitDoor analysis. Kaspersky does not firmly attribute and notes overlaps with FamousSparrow and CopperTurtle (shared staging directories: %ProgramData%\excint and C:\Program Files\PDF24).

## MITRE ATT&CK

- T1583.006 Web Services
- T1059.003 Windows Command Shell
- T1574.001 DLL
- T1574.001 DLL
- T1053.005 Scheduled Task
- T1484.001 Group Policy Modification
- T1027 Obfuscated Files or Information
- T1027.007 Dynamic API Resolution
- T1620 Reflective Code Loading
- T1070.004 File Deletion
- T1003.001 LSASS Memory
- T1003.002 Security Account Manager
- T1003.003 NTDS
- T1539 Steal Web Session Cookie
- T1187 Forced Authentication
- T1056.001 Keylogging
- T1057 Process Discovery
- T1087 Account Discovery
- T1113 Screen Capture
- T1102.002 Bidirectional Communication
- T1090 Proxy
- T1071.001 Web Protocols
- T1573.001 Symmetric Cryptography
- T1219 Remote Access Tools
- T1567.002 Exfiltration to Cloud Storage

## Free detection (Splunk SPL, Microsoft KQL, Sigma)

**Renamed Mimikatz (imzimzgo), LSASS and SAM Credential Dumping Commands - GitDoor Post-Exploitation** (`TL-2026-7406-SPL-002`)

TL-2026-7406. GitDoor operators run Mimikatz renamed 'imzimzgo 2.2.0 x64' with sekurlsa::logonpasswords and lsadump::sam, and use Procdump against LSASS. This detects those command-line patterns plus reg.exe hive saves of SAM or SECURITY. SPL, KQL and Sigma flavors are equivalent.

- **Languages:** Splunk SPL, Microsoft KQL, Sigma
- **ATT&CK:** T1003.001, T1003.002
- **Data sources:** sysmon, microsoft_defender_for_endpoint
- **Severity:** critical
- **Confidence:** high

### Splunk SPL

```spl
index=sysmon sourcetype="XmlWinEventLog:Microsoft-Windows-Sysmon/Operational" EventCode=1 earliest=-24h (CommandLine="*sekurlsa::*" OR CommandLine="*lsadump::sam*" OR CommandLine="*lsadump::lsa*" OR CommandLine="*imzimzgo*" OR Image="*imzimzgo*" OR (Image="*procdump*" CommandLine="*lsass*") OR (Image="*reg.exe" CommandLine="* save *" (CommandLine="*hklm*sam*" OR CommandLine="*hklm*security*")))
| eval attack_technique=case(like(lower(CommandLine),"%lsadump::sam%") OR like(lower(CommandLine),"%hklm%sam%"),"T1003.002", true(),"T1003.001")
| stats count min(_time) as first_seen max(_time) as last_seen values(attack_technique) as attack_technique values(CommandLine) as cmdline values(ParentImage) as parent by host, User, Image
| table host, User, Image, parent, cmdline, attack_technique, count, first_seen, last_seen
```

### Microsoft KQL

```kql
DeviceProcessEvents
| where Timestamp > ago(24h)
| where ProcessCommandLine has_any ("sekurlsa::", "lsadump::sam", "lsadump::lsa", "imzimzgo")
    or FileName has "imzimzgo"
    or (FileName has "procdump" and ProcessCommandLine has "lsass")
    or (FileName =~ "reg.exe" and ProcessCommandLine has " save " and ProcessCommandLine has_any (@"hklm\sam", @"hklm\security"))
| extend AttackTechnique = iff(ProcessCommandLine has_any ("lsadump::sam", @"hklm\sam"), "T1003.002", "T1003.001")
| project Timestamp, DeviceName, AccountName, FileName, ProcessCommandLine, InitiatingProcessFileName, InitiatingProcessCommandLine, SHA256, AttackTechnique
| order by Timestamp desc
```

### Sigma

```yaml
title: Mimikatz Credential Dumping Commands Including Renamed imzimzgo Build
id: b3e8d015-6f29-4a9c-a1d7-3c5e9b0f8a34
status: experimental
description: Detects Mimikatz command-line modules (sekurlsa, lsadump), the renamed 'imzimzgo' Mimikatz build used by GitDoor operators, Procdump against LSASS, and reg.exe saves of the SAM or SECURITY hives.
references:
    - https://securelist.com/operation-shadowcloud-gitdoor/122004/
    - https://www.sophos.com/en-us/blog/bronze-sandcastle-deploys-modified-meterpreter-shells
author: Threadlinqs Team
date: 2026/12/03
tags:
    - attack.credential-access
    - attack.t1003.001
    - attack.t1003.002
    - attack.s0002
logsource:
    category: process_creation
    product: windows
detection:
    selection_mimikatz_cmd:
        CommandLine|contains:
            - 'sekurlsa::'
            - 'lsadump::sam'
            - 'lsadump::lsa'
            - 'imzimzgo'
    selection_mimikatz_img:
        Image|contains: 'imzimzgo'
    selection_procdump:
        Image|contains: 'procdump'
        CommandLine|contains: 'lsass'
    selection_reg_img:
        Image|endswith: '\reg.exe'
    selection_reg_save:
        CommandLine|contains: ' save '
    selection_reg_hive:
        CommandLine|contains:
            - 'hklm\sam'
            - 'hklm\security'
    condition: 1 of selection_mimikatz_* or selection_procdump or (selection_reg_img and selection_reg_save and selection_reg_hive)
falsepositives:
    - Authorized red team or penetration test activity
    - Backup or forensic tooling that exports registry hives
level: critical

```

**Known false positives:**

- Authorized red team or penetration test activity
- Backup or forensic tooling that exports SAM or SECURITY hives with reg.exe

**Tuning notes:** Allow-list approved red team hosts and backup service accounts. This relies on command-line arguments, so it still fires when the Mimikatz binary is renamed. Pair it with Sysmon EventCode 10 LSASS access alerting (GrantedAccess 0x1010 or 0x1410) to cover in-memory use through the GitDoor shellcode or COFF loader, where no command line exists.

### 8 more detection rules (Splunk SPL, Microsoft KQL, Sigma), unlock with TL Creds

- MeshCentral Agent Foothold Connecting to Operation ShadowCloud Server [indicator] (locked: unlock with TL Creds)
- NTDS.dit Theft via Volume Shadow Copy, ntdsutil IFM or wmic Shadowcopy (locked: unlock with TL Creds)
- Connections to Bronze Sandcastle Proxy and Cobalt Strike Infrastructure ([indicator], [indicator], v1.1.5 C2 Domains) (locked: unlock with TL Creds)
- GitDoor/GraphDoor Implant Staging Files (config.ini Payload, Intel_Log, Keylogger logs.dat) (locked: unlock with TL Creds)
- Scheduled Task Deployed Through Group Policy Object Modification (Loader and Driver Distribution) (locked: unlock with TL Creds)
- GraphDoor Named Pipe \\.\pipe\p<PID> Created by the Implant (locked: unlock with TL Creds)
- GitDoor/GraphDoor Loader DLL Side-Loading (jli.dll, sbiedll.dll, python39.dll, WINMM.dll) - Bronze Sandcastle (locked: unlock with TL Creds)
- Non-Browser Process Contacting GitHub API, Graph, Ably, gofile or Attacker SharePoint Tenants - GitDoor/GraphDoor C2 (locked: unlock with TL Creds)

Sign up free to unlock the detection rules: https://threadlinqs.com/?modal=signup

## Sample indicators (3 of 38)

Defanged, TLP:CLEAR.

- IP address: `27.102.66[.]162`
- Domain: `ms[.]twnic[.]top`
- URL: `hxxps://api[.]github[.]com/repos/LatonyCharnleyaW`

Full set of 38 indicators unlocks with TL Creds: https://threadlinqs.com/tl-creds

## Sources

- [GitHub History Exposes Two Years of Chinese Espionage Orders (SecurityWeek)](https://www.securityweek.com/github-history-exposes-two-years-of-chinese-espionage-orders/)
- [Operation ShadowCloud Part 1 - GitDoor (Securelist / Kaspersky)](https://securelist.com/operation-shadowcloud-gitdoor/122004/)
- [Operation ShadowCloud Part 2 - GraphDoor (Securelist / Kaspersky)](https://securelist.com/operation-shadowcloud-graphdoor/122005/)
- [BRONZE SANDCASTLE deploys modified Meterpreter shells (Sophos CTU)](https://www.sophos.com/en-us/blog/bronze-sandcastle-deploys-modified-meterpreter-shells)
- [Sophos blog tag: bronze sandcastle](https://www.sophos.com/en-us/blog/tag/bronze-sandcastle)
- [Operation ShadowCloud: GitDoor and GraphDoor (secnews.gr)](https://www.secnews.gr/en/751906/operation-shadowcloud-gitdoor-graphdoor/)
- [Hexnode Threat Watch: Operation ShadowCloud](https://www.hexnode.com/threat-watch/?p=2686)

## Full data

The other 8 detection rules (Splunk SPL / Microsoft KQL / Sigma) unlock with TL Creds; a free account includes daily creds: https://threadlinqs.com/?modal=signup
Indicator values unlock with TL Creds, at a lower price on Red and Purple; AI agents can query rules and IOCs through the Threadlinqs MCP server (Purple and Gold in full, 2 calls a day on a free account): https://intel.threadlinqs.com/mcp

Canonical: https://intel.threadlinqs.com/threat/TL-2026-7406
