Skip to main content
Mallory
Malware2 associated actors3 associated CVEs

ShadowLink

Tracked since Jan 25, 2026 · Updated 6 months ago
Trending this weekNot trendingOutside this week’s top 100
Mention activity · 30 daysNo mention activity in the last 30 days.
Vulns3Associated
Actors2Associated
ATT&CK23Techniques
IOCs5Tracked

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.

Is this in your environment?See whether this family's indicators match your telemetry and which of your assets are exposed to the CVEs associated with it.
Check your exposure
Associated CVEs

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.

CVE-2024-21833via ctrlaltintel blogExploited in the wildOS command injection in TP-Link Archer and Deco routersThese 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. | The primary payload, tplink_stager.sh, was designed for post-exploitation of CVE-2024-21833, an OS command injection vulnerability (CVSS 8.8) affecting TP-Link Archer and Deco series routers.View vulnerability →Source ↗
CVE-2023-48788via microsoft generalExploited in the wildUnauthenticated SQL Injection Leading to Remote Code Execution in Fortinet FortiClient EMSSince early 2024, the subgroup has expanded its range of access to include targets in the United States and United Kingdom by exploiting vulnerabilities primarily in... Fortinet FortiClient EMS security software (CVE-2023-48788). Both CVE-2024-1709 and CVE-2023-48788 provided the ability to launch arbitrary commands on a vulnerable server. | ...in addition to a unique persistence and assured C2 method known to Microsoft Threat Intelligence as ShadowLink.View vulnerability →Source ↗
CVE-2024-1709via microsoft generalExploited in the wildAuthentication Bypass in ConnectWise ScreenConnectSince early 2024, the subgroup has expanded its range of access to include targets in the United States and United Kingdom by exploiting vulnerabilities primarily in ConnectWise ScreenConnect (CVE-2024-1709) IT remote management and monitoring software... This was first observed when the subgroup exploited vulnerabilities in ConnectWise ScreenConnect (CVE-2024-1709) and Fortinet FortiClient EMS (CVE-2023-48788). | ...in addition to a unique persistence and assured C2 method known to Microsoft Threat Intelligence as ShadowLink.View vulnerability →Source ↗
Threat actors

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.

View more details →
TeamPCP

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.

via ctrlaltintel blogctrlaltintel.com
Sandworm

...in addition to a unique persistence and assured C2 method known to Microsoft Threat Intelligence as ShadowLink.

via microsoft generalmicrosoft.com
MITRE ATT&CK

Techniques & procedures

23 distinct techniques documented for this family, organized by ATT&CK tactic.

Initial Access

3 techniques
T1133External Remote ServicesEvidence1

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.

T1190Exploit Public-Facing ApplicationEvidence1

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.

T1195.002Compromise Software Supply ChainEvidence1

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
T1053.003CronEvidence1

Persistence on the TP-Link devices was achieved through three mechanisms: Cron -> /var/spool/cron/crontabs/root or /etc/crontabs (every 5 minutes).

T1059.004Unix ShellEvidence1

All payloads are POSIX shell scripts; command execution via eval.

Persistence

5 techniques
T1037.004RC ScriptsEvidence1

Persistence on the TP-Link devices was achieved through three mechanisms... RC scripts -> modification of /etc/rc.local.

T1053.003CronEvidence1

Persistence on the TP-Link devices was achieved through three mechanisms: Cron -> /var/spool/cron/crontabs/root or /etc/crontabs (every 5 minutes).

T1133External Remote ServicesEvidence1

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.

T1542Pre-OS BootEvidence1

Persistence on the TP-Link devices was achieved through three mechanisms... NVRAM -> writing to rc_startup via nvram set / nvram commit.

T1543.003Windows ServiceEvidence1

ShadowLink persisted via a system service

Privilege Escalation

3 techniques
T1037.004RC ScriptsEvidence1

Persistence on the TP-Link devices was achieved through three mechanisms... RC scripts -> modification of /etc/rc.local.

T1053.003CronEvidence1

Persistence on the TP-Link devices was achieved through three mechanisms: Cron -> /var/spool/cron/crontabs/root or /etc/crontabs (every 5 minutes).

T1543.003Windows ServiceEvidence1

ShadowLink persisted via a system service

Stealth

5 techniques
T1036MasqueradingEvidence3

Adversaries may get ShadowLink to persist on a system by masquerading it as an MS Defender application.

T1036.005Match Legitimate Resource Name or LocationEvidence1

Each malicious commit contained a GitHub Actions step named “Report Scanner Telemetry” which may have blended in with legitimate CI/CD pipeline steps.

T1070.004File DeletionEvidence1

tplink_stager.sh self-deletes original and cleans wget/curl temp files.

T1542Pre-OS BootEvidence1

Persistence on the TP-Link devices was achieved through three mechanisms... NVRAM -> writing to rc_startup via nvram set / nvram commit.

T1564.001Hidden Files and DirectoriesEvidence1

Dot-prefixed filenames on routers (/tmp/.m, /tmp/.s, /tmp/.bp, /tmp/.bid).

Discovery

2 techniques
T1016System Network Configuration DiscoveryEvidence1

The device’s public WAN IP is retrieved via ipinfo.io or ifconfig.me.

T1082System Information DiscoveryEvidence1

All payloads collect hostname, username, and architecture via uname -m.

Lateral Movement

2 techniques
T1021.001Remote Desktop ProtocolEvidence4

Commonly, Seashell Blizzard has utilized ShadowLink to redirect inbound connections to the Tor hidden service address to ports for RDP (3389).

T1021.004SSHEvidence1

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
T1560.001Archive via UtilityEvidence1

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
T1071.001Web ProtocolsEvidence1

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.

T1090ProxyEvidence2

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.

T1090.003Multi-hop ProxyEvidence2

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.

T1105Ingress Tool TransferEvidence1

Downloading microsocks binaries, GOST, FRP, and scanner modules from C2.

T1571Non-Standard PortEvidence1

ShadowLink on port 7443; TeamPCP staging on 666, FRP on 888.

Exfiltration

1 technique
T1041Exfiltration Over C2 ChannelEvidence1

Command output exfiltrated via POST /b/r in ShadowLink protocol.

Indicators of compromise

Observables

5 indicators attributed across vendor reports, sandbox runs, and researcher write-ups. Values are masked here and available in full in Mallory.

View all in app →
Indicator values are available in Mallory. Pivot on every hash, domain, URL, and IP, or pipe them straight into your SIEM.View all in Mallory
Activity feed

Recent activity

7 sources tracked across advisories, community write-ups, and news. New activity surfaces here as Mallory finds it.

View more in app →
ctrlaltintel blogNews · Apr 10, 2026Supply-Chain Attacks, TP-Link devices & a pair of socks - Ctrl-Alt-IntelCustom command-and-control beacon/backdoor used across compromised TP-Link routers, ASUS routers, and the Xygeni GitHub Action supply-chain attack. It registers with a C2 via POST /b/in, polls for commands via GET /b/q, executes commands via eval, and exfiltrates results via POST /b/r using base64 encoding, with one variant using zlib plus base64. On TP-Link devices it was paired with microsocks to build residential proxy infrastructure.Read more ↗microsoft generalNews · Feb 12, 2025The BadPilot campaign: Seashell Blizzard subgroup conducts multiyear global access operation | Microsoft Security BlogCustom persistence and remote access capability that registers compromised systems as Tor hidden services to provide covert remote access and evade traditional C2 detection.Read more ↗tidal cyberNews · Jul 20, 2017Tidal Cyber - Are you Ready to Respond? (Webinar)ShadowLink is a tool used to install and configure a Tor hidden service on a compromised system, enabling persistent remote access over the Tor network and forwarding inbound connections such as RDP.Read more ↗tidal cyberNews · Oct 7, 2016Tidal Cyber - Attacking the Hospitality and Gaming Industries: Tracking an Attacker Around the World in 7 YearsShadowLink is a tool used to install and configure a Tor hidden service on a compromised host, establish a .onion address, forward inbound connections such as RDP, and maintain covert remote access and persistence.Read more ↗
+3 more in the timeline. Sign up to see them
Is this in your environment?See whether this family's indicators match your telemetry and which of your assets are exposed to the CVEs associated with it.
Check your exposure
Mallory platform

The version that knows your environment.

This page is what’s public. Mallory adds the parts that aren’t: which of your assets match these IOCs, which detections are missing, which campaigns to expect next, and what to do in the next 30 minutes.
IOC matching5Match every observed IP, domain, and hash against your live telemetry.
Associated threat actors2Groups linked to this family, with evidence pinned to each claim.
Associated vulnerabilities3CVEs linked to this family, with the reporting behind each link.
Detection signaturesYARA, Sigma, Snort, and vendor rules, auto-deployed to your SIEM.
MITRE ATT&CK mapping23Every documented technique, ranked by evidence weight.
Researcher chatterReddit, Mastodon, and CTI community discussion around this family.