ShadowPad
- Type
- Backdoor
- Capabilities
- Post exploitationDLL sideloading
- Delivery
- SpearphishingExploit kitDrive by
- Platforms
- Windows
ShadowPad is a modular Windows backdoor shared among multiple China-linked threat actors and used in cyberespionage operations. Its modular architecture supports extensible backdoor functionality, and an IIS listener module can turn compromised servers into relay points for attacker communications. ShadowPad is a shared capability rather than a reliable identifier of any single operator.
Associated operators include FamousSparrow, which has deployed ShadowPad variants against research institutes in the United States and Mexico, and HOLLOW PANDA, which has deployed it after targeting Check Point VPN infrastructure at financial institutions in South America and Southeast Asia. China-aligned ShadowPad activity has also been observed in intrusions targeting Pakistani law-enforcement organizations. Its use against financial institutions is associated with espionage and economic-intelligence collection rather than direct monetary theft.
ShadowPad loaders have been associated with DLL sideloading using legitimate security-software executables. Such loader components and execution patterns are shared with other malware and cannot independently establish ShadowPad deployment or actor attribution.
Associated vulnerabilities
27 CVEs Mallory has correlated with this family across public research and vendor advisories. Each card links to the full Mallory page for that vulnerability.
15 more CVEs associated with this family tracked in Mallory.
Associated threat actors
46 distinct threat actors Mallory has associated with this family across public reporting. Open in Mallory to see the full evidence chain and overlapping campaigns.
[RedEcho](https://attack.mitre.org/groups/G1042) has used [ShadowPad](https://attack.mitre.org/software/S0596) during intrusions.(Citation: RecordedFuture RedEcho 2021)(Citation: RecordedFuture RedEcho 2022)
(Citation: FireEye APT41 Aug 2019)(Citation: Recorded Future RedEcho Feb 2021)
(Citation: Palo Alto Unit42 STATELY TAURUS TONESHELL September 2023)
+40 more in the app. View in Mallory
Techniques & procedures
114 distinct techniques documented for this family, organized by ATT&CK tactic.
Resource Development
6 techniques
Resource Development
FishMonger bought domains and used them for C&C traffic.
Listed in both FamousSparrow ATT&CK matrices. | Listed in both FamousSparrow ATT&CK matrices; the content identifies FamousSparrow C2/download infrastructure.
These private players supply everything from malware and network infrastructure to raw stolen data, turning cyber espionage into a marketplace.
Listed in the SparroWocky and FamousSparrow ATT&CK tables. | Listed in the MITRE ATT&CK tables for SparroWocky and FamousSparrow.
Cobalt Strike and two custom backdoors, RESHELL and XDealer, were employed during the initial stage of attack.
Listed in the SparroWocky and FamousSparrow ATT&CK tables. | Listed in the MITRE ATT&CK tables for SparroWocky and FamousSparrow.
Initial Access
11 techniques
Initial Access
Deploy malware using compromised user credentials to transfer files via SMB
The attackers ... are believed to have infiltrated the system via third-party devices like IP cameras that may have been left vulnerable when their default credentials were kept in place.
The threads began with a malicious actor using compromised user credentials to log in to the target organization's Check Point Remote Access virtual private network (VPN) from an attacker-controlled, remote device named 'DESKTOP-O82ILGG'.
The threads began with a malicious actor using compromised user credentials to log in to the target organization's Check Point Remote Access virtual private network (VPN) from an attacker-controlled, remote device named 'DESKTOP-O82ILGG'.
According to the researchers, a China-linked operator planted malware disguised as a portal update — an executable that displayed a fake “update complete” message while infecting the visitor's device.
Exploitation of WSUS web service endpoints to achieve unauthenticated remote code execution with SYSTEM privileges.
2017年7月に発生したソフトウェアのサプライチェーン攻撃で初めて利用が観測されました。この攻撃キャンペーンでは、NetSarang 社が提供する企業ネットワーク向けサーバー管理ソフトウェアのコードライブラリの一つに ShadowPad が埋め込まれており
The injection of malicious code at the source code level of the compromised software... The injection of malicious code inside C/C++ compiler runtime (CRT) libraries...
Le malware Floxif a été injecté directement dans le binaire officiel de CCleaner... Le fichier résultant était signé numériquement avec le certificat de Piriform.
TA412 targeted U.S. NGOs, mining companies and commodity traders using lures including fake internship inquiries and messages about an Asian Studies conference. UNK_LateNight used fake procurement inquiries, while UNK_QuietRacket used fake Indonesian conference invitations.
Earth Krahang that has targeted 116 entities spanning 35 countries by leveraging spear-phishing and flaws in public-facing Openfire and Oracle servers to deliver bespoke malware such as PlugX, ShadowPad, ReShell, and DinodasRAT.
Execution
15 techniques
Execution
Beyond ShadowPad, the attackers deployed IOX proxy to create covert communication channels, used Windows Management Instrumentation Command-line (WMIC) for lateral movement... WMIC was then used to push backdoors onto additional hosts
AppLaunch.exe was executed by creating a task in the Windows Task Scheduler... The Windows Task Scheduler was also used for the new ShadowPad version to get a foothold in a system... added by the attackers to the task scheduler for daily execution.
Le payload ShadowPad assure sa persistance via tâche planifiée.
ShadowPad extracts information about the host, executes commands, interacts with the file system and registry, and deploys new modules to extend functionality.
a sample named “AppSov.exe” was used to download a malicious file called “x.dat” via a PowerShell command.
Listed in the ATT&CK matrices for SparroWocky and FamousSparrow.
At Victim D, the attackers gained access to an admin console and used it to deploy implants on other machines in the local network.
Listed in the ATT&CK matrices for SparroWocky and FamousSparrow.
After the initial handshake, Variant1 executes the commands of the plugins specified by the C2 server.
BITS Jobs T1197 + Ingress Tool Transfer T1105
The groups used the BlueMoon exploit kit to compromise Chrome browsers and deploy malware. BlueMoon combined two browser flaws with a Windows vulnerability to take control of a victim’s computer.
«…команды… должны быть получены через пайп от другого запущенного экземпляра бэкдора… „ImpUser“ реализует функциональность „сервера“ для пайп-соединения…»
Alternatively, the threat actor has placed the DLL file in the Windows System32 directory so as to be loaded by the Remote Desktop Configuration (SessionEnv) Service, ultimately leading to the deployment of Cobalt Strike on compromised systems.
Leveraging legitimate ELAN touchpad executable (ETDCtrlHelper.exe) to sideload malicious ShadowPad loader DLL.
It delivers and interacts with the ShadowPad and DarkNimbus backdoors by hijacking binary downloads and Android application updates.
Persistence
11 techniques
Persistence
AppLaunch.exe was executed by creating a task in the Windows Task Scheduler... The Windows Task Scheduler was also used for the new ShadowPad version to get a foothold in a system... added by the attackers to the task scheduler for daily execution.
Le payload ShadowPad assure sa persistance via tâche planifiée.
Deploy malware using compromised user credentials to transfer files via SMB
The attackers ... are believed to have infiltrated the system via third-party devices like IP cameras that may have been left vulnerable when their default credentials were kept in place.
The threads began with a malicious actor using compromised user credentials to log in to the target organization's Check Point Remote Access virtual private network (VPN) from an attacker-controlled, remote device named 'DESKTOP-O82ILGG'.
[ShadowPad](https://attack.mitre.org/software/S0596) can modify the Registry to store and maintain a configuration block and virtual file system.(Citation: Kaspersky ShadowPad Aug 2017)(Citation: TrendMicro EarthLusca 2022)
The threads began with a malicious actor using compromised user credentials to log in to the target organization's Check Point Remote Access virtual private network (VPN) from an attacker-controlled, remote device named 'DESKTOP-O82ILGG'.
BITS Jobs T1197 + Ingress Tool Transfer T1105
Server Software Component: Web Shell T1505.003 Technical details | Persistence TA0003 | Server Software Component: Web Shell T1505.003
Listed in all three ATT&CK matrices. | Listed in all three ATT&CK technique tables.
Listed in all three ATT&CK technique tables. | Listed in all three ATT&CK matrices.
Privilege Escalation
12 techniques
Privilege Escalation
AppLaunch.exe was executed by creating a task in the Windows Task Scheduler... The Windows Task Scheduler was also used for the new ShadowPad version to get a foothold in a system... added by the attackers to the task scheduler for daily execution.
Le payload ShadowPad assure sa persistance via tâche planifiée.
[ShadowPad](https://attack.mitre.org/software/S0596) has injected an install module into a newly created process.(Citation: Kaspersky ShadowPad Aug 2017)
[ShadowPad](https://attack.mitre.org/software/S0596) has injected a DLL into svchost.exe.(Citation: Kaspersky ShadowPad Aug 2017)
Then the malicious DLL... performs the Process Injection technique: Process Hollowing T1055.012.
After logging in, the actor gained access to service account credentials, likely via exploitation of an information disclosure vulnerability affecting Check Point Security Gateway devices. Recent reporting suggests this could represent exploitation of CVE-2024-24919.
Deploy malware using compromised user credentials to transfer files via SMB
The attackers ... are believed to have infiltrated the system via third-party devices like IP cameras that may have been left vulnerable when their default credentials were kept in place.
The threads began with a malicious actor using compromised user credentials to log in to the target organization's Check Point Remote Access virtual private network (VPN) from an attacker-controlled, remote device named 'DESKTOP-O82ILGG'.
«…модуль „ImpUser“… для внедрения в процесс, созданный… от имени пользователя, подключенного удаленно…»
Listed in all three ATT&CK matrices. | Listed in all three ATT&CK technique tables.
Listed in all three ATT&CK technique tables. | Listed in all three ATT&CK matrices.
Stealth
32 techniques
Stealth
[ShadowPad](https://attack.mitre.org/software/S0596) has encrypted its payload, a virtual file system, and various files.(Citation: Securelist ShadowPad Aug 2017)(Citation: TrendMicro EarthLusca 2022)
T027.001 Software Packing Winnti used a custom packing algorithm
ScatterBrain is a sophisticated obfuscating compiler that integrates multiple operational modes and protection components to significantly complicate the analysis of the binaries it generates.
Complete Import Protection: ScatterBrain employs a complete protection of a binary's import table, making it extremely difficult to understand how the binary interacts with the underlying operating system.
DOORME first resolves the address of LoadLibraryA and GetProcAddress Windows API by parsing the kernel32.dll module export table.
Listed in the later FamousSparrow ATT&CK matrix. | Listed in the 2024 FamousSparrow ATT&CK matrix.
Selective or Full Control Flow Graph (CFG) Obfuscation: This technique restructures the program's control flow, making it very difficult to analyze and create detection rules for.
[ShadowPad](https://attack.mitre.org/software/S0596) maintains a configuration block and virtual file system in the Registry.(Citation: Kaspersky ShadowPad Aug 2017)(Citation: TrendMicro EarthLusca 2022)
Listed in the 2024 FamousSparrow ATT&CK matrix.
mscoree.dll is a commonly used name for loaders of Shadowpad ... The MSI metadata mentioned eOffice ... We compared the legitimate eOffice 2.0.3 installer and our backdoored version
Listed in the SparroWocky and 2024 FamousSparrow ATT&CK tables. | Listed in the ATT&CK matrices for SparroWocky and FamousSparrow.
Listed in the 2024 FamousSparrow ATT&CK matrix; artifacts include names such as WindowsUpdate.exe and taskhosk.exe. | Listed in the later FamousSparrow ATT&CK matrix.
[ShadowPad](https://attack.mitre.org/software/S0596) has injected an install module into a newly created process.(Citation: Kaspersky ShadowPad Aug 2017)
[ShadowPad](https://attack.mitre.org/software/S0596) has injected a DLL into svchost.exe.(Citation: Kaspersky ShadowPad Aug 2017)
Then the malicious DLL... performs the Process Injection technique: Process Hollowing T1055.012.
[ShadowPad](https://attack.mitre.org/software/S0596) has deleted arbitrary Registry values.(Citation: Kaspersky ShadowPad Aug 2017)
Listed in the SparroWocky and 2024 FamousSparrow ATT&CK tables. | Listed in the ATT&CK matrices for SparroWocky and FamousSparrow.
Listed in the ATT&CK matrices for SparroWocky and FamousSparrow. | Listed in the SparroWocky and 2024 FamousSparrow ATT&CK tables.
Deploy malware using compromised user credentials to transfer files via SMB
The attackers ... are believed to have infiltrated the system via third-party devices like IP cameras that may have been left vulnerable when their default credentials were kept in place.
The threads began with a malicious actor using compromised user credentials to log in to the target organization's Check Point Remote Access virtual private network (VPN) from an attacker-controlled, remote device named 'DESKTOP-O82ILGG'.
«…модуль „ImpUser“… для внедрения в процесс, созданный… от имени пользователя, подключенного удаленно…»
[ShadowPad](https://attack.mitre.org/software/S0596) has decrypted a binary blob to start execution.(Citation: Kaspersky ShadowPad Aug 2017)
BITS Jobs T1197 + Ingress Tool Transfer T1105
Telerik.Windows.Data.Validation.dll: copy of applaunch.exe Microsoft file ... One additional CustomAction named “TelerikValidation”
«…в составе самораспаковывающегося WinRAR-дроппера… включающего также „белый“ EXE-файл, предназначенный для запуска библиотеки…»
the threat actor checks some bytes of the loading executable at a hard-coded offset to verify that they match a particular value. If this is not the case, the DLL closes itself. This code excerpt is intended as an anti-sandbox analysis code
T1564.001 Hide Artifacts: Hidden Files and Directories Winnti has created a hidden directory under C:\ProgramData
Alternatively, the threat actor has placed the DLL file in the Windows System32 directory so as to be loaded by the Remote Desktop Configuration (SessionEnv) Service, ultimately leading to the deployment of Cobalt Strike on compromised systems.
Leveraging legitimate ELAN touchpad executable (ETDCtrlHelper.exe) to sideload malicious ShadowPad loader DLL.
It delivers and interacts with the ShadowPad and DarkNimbus backdoors by hijacking binary downloads and Android application updates.
Listed in the SparroWocky and 2024 FamousSparrow ATT&CK tables. | Listed in the ATT&CK matrices for SparroWocky and FamousSparrow.
Defense Impairment
3 techniques
Defense Impairment
[ShadowPad](https://attack.mitre.org/software/S0596) can modify the Registry to store and maintain a configuration block and virtual file system.(Citation: Kaspersky ShadowPad Aug 2017)(Citation: TrendMicro EarthLusca 2022)
Compromised certificates belonging to a Taiwanese company called Zealot Digital were abused to strike organizations in Hong Kong
Le payload de UNK_LateNight décroche 20 fonctions de surveillance réseau.
Credential Access
5 techniques
Credential Access
ShadowPad ... included capabilities for Firefox profile theft and network traffic collection.
Avril–juillet 2017 : Collecte d’identifiants et progression latérale dans le réseau.
GemStone est décrit comme une extension Chromium malveillante de vol de credentials et de surveillance du navigateur ; ShadowPad vole le profil Firefox.
GemStone functions as a browser-surveillance and credential-theft backdoor, collecting cookies, browser storage, and session information. ShadowPad included capabilities for Firefox profile theft.
Cisco Talos uncovered “DKnife,” a fully featured gateway-monitoring and adversary-in-the-middle (AitM) framework comprising seven Linux-based implants that perform deep-packet inspection, manipulate traffic, and deliver malware via routers and edge devices.
Discovery
11 techniques
Discovery
ShadowPad is capable of gathering host information, executing commands, interacting with the file system and registry, and deploying new modules.
[ShadowPad](https://attack.mitre.org/software/S0596) has collected the domain name of the victim system.(Citation: Kaspersky ShadowPad Aug 2017)
[ShadowPad](https://attack.mitre.org/software/S0596) has collected the username of the victim system.(Citation: Kaspersky ShadowPad Aug 2017)
ShadowPad ... included capabilities for Firefox profile theft and network traffic collection.
"ShadowPad sample perform lightweight network scanning... connecting to the IPs under the same C class sequentially... sent to port 53781"
[ShadowPad](https://attack.mitre.org/software/S0596) has collected the PID of a malicious process.(Citation: Kaspersky ShadowPad Aug 2017)
[ShadowPad](https://attack.mitre.org/software/S0596) has discovered system information including memory status, CPU frequency, and OS versions.(Citation: Kaspersky ShadowPad Aug 2017)
Listed in all three ATT&CK matrices.
[ShadowPad](https://attack.mitre.org/software/S0596) has collected the current date and time of the victim system.(Citation: Kaspersky ShadowPad Aug 2017)
the threat actor checks some bytes of the loading executable at a hard-coded offset to verify that they match a particular value. If this is not the case, the DLL closes itself. This code excerpt is intended as an anti-sandbox analysis code
[ShadowPad](https://attack.mitre.org/software/S0596) has discovered system information including volume serial numbers.(Citation: Kaspersky ShadowPad Aug 2017)
Lateral Movement
5 techniques
Lateral Movement
The next day, March 12, 2017, the attackers moved laterally onto a second computer... The attackers opened a backdoor through Microsoft’s Remote Desktop Service, delivering a binary and payload to the computer’s registry.
The actor then used these compromised service account credentials to move laterally over RDP and SMB, with files related to the modular backdoor, ShadowPad, being delivered to the 'C:\PerfLogs\' directory of targeted internal systems.
Deploy malware via Cobalt Strike SMB beacon ... Deploy malware using compromised user credentials to transfer files via SMB
At Victim D, the attackers gained access to an admin console and used it to deploy implants on other machines in the local network.
"allowing unauthenticated attackers to execute arbitrary code on vulnerable servers via a single crafted HTTP request" / "manipulating prototype chains" / "trigger the `Function()` constructor with attacker-controlled code"
Collection
6 techniques
Collection
Listed in all three ATT&CK matrices.
Avril–juillet 2017 : Collecte d’identifiants et progression latérale dans le réseau.
T1113 Screen Capture ShadowPad contains a screenshot module
Automated Collection T1119 + Archive Collected Data: Archive via Utility T1560.001
Cisco Talos uncovered “DKnife,” a fully featured gateway-monitoring and adversary-in-the-middle (AitM) framework comprising seven Linux-based implants that perform deep-packet inspection, manipulate traffic, and deliver malware via routers and edge devices.
compresses them using 7-Zip with password protection
Command and Control
23 techniques
Command and Control
ShadowPad C&C server URL is hidden in public webpages.
TCP Protocol QuickLZ ... payload_size_compressed ... QuickLZ-compressed payload
ShadowPad communicates over HTTP/HTTPS to C2 servers using spoofed browser headers to blend with legitimate traffic.
[ShadowPad](https://attack.mitre.org/software/S0596) communicates over HTTP to retrieve a string that is decoded into a C2 server URL.(Citation: Kaspersky ShadowPad Aug 2017)
[ShadowPad](https://attack.mitre.org/software/S0596) has used FTP for C2 communications.(Citation: Kaspersky ShadowPad Aug 2017)
[ShadowPad](https://attack.mitre.org/software/S0596) has used DNS tunneling for C2 communications.(Citation: Kaspersky ShadowPad Aug 2017)
The group likely compromised and co-opted internet-facing DVR/IP camera devices for command and control (C2) of ShadowPad malware infections, as well as use of the open source tool FastReverseProxy (FRP).
MITRE ATT&CK mapping (Technique name – Tactic ID) ShadowPad malware threads ... Command and Control - Proxy: Internal Proxy (T1090.001)
use Cloudflare Workers as redirector to hide the real C2 IP
[ShadowPad](https://attack.mitre.org/software/S0596) has used UDP for C2 communications.(Citation: Kaspersky ShadowPad Aug 2017)
we noticed how specific profiles hosted on the social.msdn.microsoft.com domain were used as dead drop resolvers (DDR) to get the final C&C server. Notably, APT41 has used this technique in the past
ShadowPad uses public web pages to retrieve its second stage C&C server.
[ShadowPad](https://attack.mitre.org/software/S0596) has downloaded code from a C2 server.(Citation: Securelist ShadowPad Aug 2017)
The key for the encoding is included in the header... The session_key is randomly generated and then used for encoding both the header and payload... variants of this malware are expected to contain unique immediate values...
[ShadowPad](https://attack.mitre.org/software/S0596) has encoded data as readable Latin characters.(Citation: Securelist ShadowPad Aug 2017)
Useful starting points are MITRE ATT&CK techniques for remote access software (T1219)
Use of dynamic DNS domains with names impersonating legitimate services to stay under the radar and not raise suspicion in the network log files.
Use of a large number of Dynamic DNS (DDNS) domains which form part of overlapping infrastructure clusters
[ShadowPad](https://attack.mitre.org/software/S0596) uses a DGA that is based on the day of the month for C2 servers.(Citation: Securelist ShadowPad Aug 2017)(Citation: Kaspersky ShadowPad Aug 2017)(Citation: FireEye APT41 Aug 2019)
Listed in the later FamousSparrow ATT&CK matrix.
HTTP Protocol ... Customized packet ... HTTP: Size Calculation from Cookie Value ... HTTP: Dummy Data in GET Request
Listed in the ATT&CK matrices for SparroWocky and FamousSparrow. | Listed in the SparroWocky and FamousSparrow ATT&CK tables.
MITRE ATT&CK mapping ... Command and Control - Encrypted Channel: Asymmetric Cryptography (T1573.002)
Exfiltration
3 techniques
Exfiltration
Automated Exfiltration T1020 + Exfiltration Over C2 Channel T1041
[ShadowPad](https://attack.mitre.org/software/S0596) has sent data back to C2 every 8 hours.(Citation: Securelist ShadowPad Aug 2017)
Listed in all three ATT&CK matrices.
Impact
2 techniques
Impact
ComRAT has modified Registry values to store encrypted orchestrator code and payloads ... QakBot can modify the Registry to store its configuration information ... Volgmer modifies the Registry to store an encoded configuration file ...
“DKnife then ensures these backdoors can ‘phone home’ by intercepting their DNS requests—often directed at 1.1.1.1—and rerouting them to the real command-and-control (C2) server.”
Observables
497 indicators attributed across vendor reports, sandbox runs, and researcher write-ups. Values are masked here and available in full in Mallory.
Recent activity
200 sources tracked across advisories, community write-ups, and news. New activity surfaces here as Mallory finds it.