ShadowLink
ShadowLink is a post-compromise backdoor/persistence tool used to provide covert remote access. High-confidence reporting in the provided content describes two observed forms of ShadowLink. In Microsoft reporting on the Seashell Blizzard (Sandworm/APT44) BadPilot campaign, ShadowLink is a Tor-based persistence capability that installs and configures a Tor hidden service on a compromised host, assigns the system a .onion address, and commonly forwards inbound connections to RDP (port 3389) to enable remote access. It may be made persistent by masquerading as an MS Defender application. Microsoft links this usage to a Russian state actor associated with GRU Unit 74455, with targeting across sectors including energy, oil and gas, telecommunications, shipping, arms manufacturing, and government, and with activity expanding to the United States, United Kingdom, Canada, and Australia.
Separately, the content describes a custom command-and-control beacon also named ShadowLink that was found on compromised TP-Link and ASUS routers and in the backdoored Xygeni GitHub Action used in a March 2026 supply-chain attack. Investigators reported that the ShadowLink protocol was identical across the router malware and the Xygeni payload, including shared registration paths, command polling logic, and the same authentication secret, indicating the same operator. On TP-Link devices, ShadowLink was deployed alongside microsocks after exploitation of CVE-2024-21833, registered with C2, polled for commands, executed them via eval, and exfiltrated base64-encoded results. The TP-Link stager downloaded architecture-specific payloads, established a SOCKS5 proxy, and deployed the ShadowLink beacon; persistence was achieved via cron, /etc/rc.local, and NVRAM rc_startup changes. An ASUS-targeting variant fingerprinted device model, firmware version, and architecture via ASUSWRT nvram and sent that data to C2. Across observed variants, ShadowLink used POST /b/in for registration and the HTTP header X-B: sL5x#9kR!vQ2$mN7 for authentication. In the Xygeni compromise, a malicious GitHub Actions step concealed a ShadowLink beacon in a background subshell that registered with C2, polled for commands for 180 seconds, executed them via eval, and exfiltrated results using zlib compression and base64 encoding via security-verify.91.214.78.178.nip[.]io.
Overall, the provided content supports describing ShadowLink as a covert remote-access/backdoor capability used for persistence and command-and-control, observed both as a Tor hidden-service access mechanism and as a custom HTTP beacon in router and CI/CD supply-chain compromises.
Associated vulnerabilities
3 CVEs Mallory has correlated with this family across public research and vendor advisories. Each card links to the full Mallory page for that vulnerability.
Associated threat actors
2 distinct threat actors Mallory has associated with this family across public reporting. Open in Mallory to see the full evidence chain and overlapping campaigns.
These routers were also running a custom command-and-control beacon that was named ShadowLink. When we analysed the ShadowLink protocol, we found it was identical, down to a shared authentication secret, to the backdoor planted in the Xygeni GitHub Action used for that supply-chain attack.
...in addition to a unique persistence and assured C2 method known to Microsoft Threat Intelligence as ShadowLink.
Techniques & procedures
23 distinct techniques documented for this family, organized by ATT&CK tactic.
Initial Access
3 techniques
Initial Access
Adversaries may leverage external-facing remote services to initially access and/or persist within a network. Remote services such as VPNs, Citrix, and other access mechanisms allow users to connect to internal enterprise network resources from external locations.
The primary payload, tplink_stager.sh, was designed for post-exploitation of CVE-2024-21833, an OS command injection vulnerability affecting TP-Link Archer and Deco series routers.
On March 3rd 2026, three malicious pull requests titled “add scanner version telemetry reporting” were opened against xygeni/xygeni-action... the mutable v5 tag was force-moved to point at the backdoored commit, a technique known as tag poisoning.
Execution
2 techniques
Execution
Persistence on the TP-Link devices was achieved through three mechanisms: Cron -> /var/spool/cron/crontabs/root or /etc/crontabs (every 5 minutes).
All payloads are POSIX shell scripts; command execution via eval.
Persistence
5 techniques
Persistence
Persistence on the TP-Link devices was achieved through three mechanisms... RC scripts -> modification of /etc/rc.local.
Persistence on the TP-Link devices was achieved through three mechanisms: Cron -> /var/spool/cron/crontabs/root or /etc/crontabs (every 5 minutes).
Adversaries may leverage external-facing remote services to initially access and/or persist within a network. Remote services such as VPNs, Citrix, and other access mechanisms allow users to connect to internal enterprise network resources from external locations.
Persistence on the TP-Link devices was achieved through three mechanisms... NVRAM -> writing to rc_startup via nvram set / nvram commit.
ShadowLink persisted via a system service
Privilege Escalation
3 techniques
Privilege Escalation
Persistence on the TP-Link devices was achieved through three mechanisms... RC scripts -> modification of /etc/rc.local.
Persistence on the TP-Link devices was achieved through three mechanisms: Cron -> /var/spool/cron/crontabs/root or /etc/crontabs (every 5 minutes).
ShadowLink persisted via a system service
Stealth
5 techniques
Stealth
Adversaries may get ShadowLink to persist on a system by masquerading it as an MS Defender application.
Each malicious commit contained a GitHub Actions step named “Report Scanner Telemetry” which may have blended in with legitimate CI/CD pipeline steps.
tplink_stager.sh self-deletes original and cleans wget/curl temp files.
Persistence on the TP-Link devices was achieved through three mechanisms... NVRAM -> writing to rc_startup via nvram set / nvram commit.
Dot-prefixed filenames on routers (/tmp/.m, /tmp/.s, /tmp/.bp, /tmp/.bid).
Discovery
2 techniques
Discovery
The device’s public WAN IP is retrieved via ipinfo.io or ifconfig.me.
All payloads collect hostname, username, and architecture via uname -m.
Lateral Movement
2 techniques
Lateral Movement
Commonly, Seashell Blizzard has utilized ShadowLink to redirect inbound connections to the Tor hidden service address to ports for RDP (3389).
Seashell Blizzard deployed OpenSSH with a unique public key, allowing them to access compromised systems using an actor-controlled account and credential...
Collection
1 technique
Collection
The beacon registered with the C2, polled for commands for 180 seconds, executed them via eval, and exfiltrated results using zlib compression and base64 encoding.
Command and Control
5 techniques
Command and Control
All three scripts implement the same core beaconing protocol: registration via POST /b/in with a custom HTTP authentication header... ShadowLink C2 over HTTP; JSON payloads to /b/in, /b/q, /b/r.
Adversaries may also establish persistence on network by configuring a Tor hidden service on a compromised system. Adversaries may utilize the tool ShadowLink to facilitate the installation and configuration of the Tor hidden service.
ShadowLink facilitates persistent remote access by configuring a compromised system to be registered as a Tor hidden service... Systems compromised with ShadowLink receive a unique .onion address, making them remotely accessible via the Tor network.
Downloading microsocks binaries, GOST, FRP, and scanner modules from C2.
ShadowLink on port 7443; TeamPCP staging on 666, FRP on 888.
Exfiltration
1 technique
Exfiltration
Command output exfiltrated via POST /b/r in ShadowLink protocol.
Observables
5 indicators attributed across vendor reports, sandbox runs, and researcher write-ups. Values are masked here and available in full in Mallory.
Recent activity
7 sources tracked across advisories, community write-ups, and news. New activity surfaces here as Mallory finds it.