PeckBirdy
- Type
- Backdoor
- Capabilities
- Credential theftSession hijackingExfiltrationInitial accessLateral movementPost exploitationDefense evasion
- Delivery
- Watering holeFake update
- Platforms
- Windows
PeckBirdy is a JScript-based command-and-control framework used since 2023 in campaigns associated with China-aligned advanced persistent threat actors. It supports watering-hole delivery, execution of additional scripts, credential and cookie theft, reverse-shell access, lateral movement, and backdoor communications. Its execution environments include web browsers, MSHTA, WScript, Classic ASP, Node.js, and .NET ScriptControl. Environment detection allows it to adapt its behavior to browser restrictions or the broader system access available through Windows scripting hosts and living-off-the-land binaries.
The framework retrieves environment-specific scripts, assigns victim identifiers, and exchanges commands and additional payloads with its servers. It prefers WebSocket communications, with fallbacks including Flash ActiveX TCP sockets and HTTP-based Comet or LocalComet mechanisms. Subsequent communications use AES encryption and Base64 encoding. Its use of dynamically delivered scripts and legitimate execution hosts reduces reliance on conventional executable artifacts.
Observed campaigns include SHADOW-VOID-044, which injected scripts into Chinese gambling websites and presented fake Google Chrome updates to deliver backdoors, and SHADOW-EARTH-045, which targeted Asian government entities and private organizations through injected websites and post-compromise scripting. Associated backdoors include HOLODONUT and MKDOOR. Casino-themed and Chinese-language adult websites have also concealed PeckBirdy infrastructure through embedded scripts, service-worker registration, and background WebSocket connections. Targets have included government, education, IT, banking, and financial-services organizations across Asia. Falcon is a variant of the same underlying framework, sharing payload-delivery patterns, communication protocols, and victim-tracking conventions.
Associated vulnerabilities
1 CVE 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
5 distinct threat actors Mallory has associated with this family across public reporting. Open in Mallory to see the full evidence chain and overlapping campaigns.
Since 2023, we have been observing threat campaigns employing a previously unseen script-based command-and-control (C&C) framework which we named PeckBirdy... PeckBirdy is a script-based framework... implemented using JScript... observed PeckBirdy in various kill chain stages, including being used as a watering-hole control server during the initial attack phase, as a reverse shell server during the lateral movement phase, and as a C&C server during the backdoor phase.
Since 2023, we have been observing threat campaigns employing a previously unseen script-based command-and-control (C&C) framework which we named PeckBirdy... PeckBirdy is a script-based framework... implemented using JScript... observed PeckBirdy in various kill chain stages, including being used as a watering-hole control server during the initial attack phase, as a reverse shell server during the lateral movement phase, and as a C&C server during the backdoor phase.
Researchers have identified PeckBirdy, a versatile JScript-based C2 framework, deployed since 2023 in campaigns linked to China-aligned APT actors.
Researchers have identified PeckBirdy, a versatile JScript-based C2 framework, deployed since 2023 in campaigns linked to China-aligned APT actors.
Researchers have tracked the versatile JScript-based command-and-control framework PeckBirdy since 2023, used by China-aligned threat actors in two distinct campaigns...
Techniques & procedures
25 distinct techniques documented for this family, organized by ATT&CK tactic.
Resource Development
1 technique
Resource Development
Blocking one domain at a time is unlikely to solve the problem because operators rotate domains and infrastructure quickly.
Initial Access
2 techniques
Initial Access
The framework has been linked to secondary tools that can run commands, steal credentials, and provide remote access, raising the potential impact from a single web visit to a wider network intrusion.
The primary goal of this routine is to display fake software update webpages for Google Chrome to entice victims into downloading and executing malicious update files, which are backdoors prepared by the attackers.
Execution
5 techniques
Execution
The framework has been linked to secondary tools that can run commands, steal credentials, and provide remote access.
"Delivered scripts observed include... TCP reverse shell establishment."
One observed page registered a JavaScript service worker and loaded a suspicious script resembling earlier PeckBirdy code... asg78.com [was] observed loading a suspicious JavaScript payload.
The scripts we found included: The exploitation script for the CVE-2020-16040 vulnerability affecting Google Chrome
These websites prompt targets to download what they believe is software for the casino experience, but the update embeds links providing China-aligned advanced persistent threat actors with persistent access.
Stealth
6 techniques
Stealth
The subsequent communication is encrypted using AES and then encoded with Base64, with the AES encryption key being the ATTACK ID value from the configuration.
Online casinos are being used to disguise and deploy malicious threats... Chinese-language casino websites... prompt targets to download what they believe is software for the casino experience.
“PeckBirdy can also lead victims to false browser-update prompts that deliver backdoors.”
"execution through various living-off-the-land binaries (LOLBins)... such as browsers, MSHTA, WScript..."; "employing MSHTA for lateral movement"
...in another incident, we noticed the attacker using MSHTA to execute PeckBirdy as a remote access channel for lateral movement in a private organization.
Upon initial execution, PeckBirdy searches for unique objects that exist only in specific environments to determine the current execution context. It checks for the window object in browser environments, the process object in NodeJS environment, the response object in ASP environment, and the presence of the APPLICATION tag within the HTML in HTA environments.
Credential Access
4 techniques
Credential Access
“The framework has been linked to secondary tools that can run commands, steal credentials, and provide remote access.”
We discovered that this campaign injects PeckBirdy links into government websites, likely to deliver scripts for credential harvesting on the website. In one case, the injection was on a login page of a government’s system...
"...targeted... through injected login pages for credential harvesting."
The only one we received was a short script for stealing the cookie values of injected websites on browsers.
Discovery
2 techniques
Discovery
In a local host environment such as HTA, it attempts to retrieve hardware information from the motherboard and hard drive on the victim’s machines. It then combines this information with MD5 to generate a hash value which serves as the victim ID.
Upon initial execution, PeckBirdy searches for unique objects that exist only in specific environments to determine the current execution context. It checks for the window object in browser environments, the process object in NodeJS environment, the response object in ASP environment, and the presence of the APPLICATION tag within the HTML in HTA environments.
Lateral Movement
1 technique
Lateral Movement
...being used as a reverse shell server during the lateral movement phase... The scripts we found included: Scripts to establish reverse shells via TCP sockets
Collection
2 techniques
Collection
We discovered that this campaign injects PeckBirdy links into government websites, likely to deliver scripts for credential harvesting on the website. In one case, the injection was on a login page of a government’s system...
"...targeted... through injected login pages for credential harvesting."
Command and Control
5 techniques
Command and Control
“China-aligned APT groups have been running the PeckBirdy framework since 2023, hiding their malware C2 domains inside low-quality Chinese-language casino websites.”
PeckBirdy C2 and Decoy Domains (Type 3)... lack of detections on VirusTotal for some PeckBirdy C2s raises concerns about how this Chinese APT threat is being tracked.
"The threat actor also simultaneously downloaded files from 47[.]238[.]184[.]9..."
PeckBirdy malware C2 casino sites... utiliz[e] complex CNAME chains and rapidly mapped IPs sourced from Asian hosting providers, Bulletproof Hosts, and U.S. and European enterprise hosting providers.
"responses deliver second-stage scripts with AES-encrypted and Base64-encoded payloads"
Observables
10 indicators attributed across vendor reports, sandbox runs, and researcher write-ups. Values are masked here and available in full in Mallory.
Recent activity
32 sources tracked across advisories, community write-ups, and news. New activity surfaces here as Mallory finds it.