Pierogi is a custom backdoor trojan first publicly documented in April 2021 by Unit 42 at Palo Alto Networks, attributed to the Chinese state-sponsored threat group TA428 (also tracked as APT31). It functions as a second-stage payload delivered via spear-phishing emails or exploits, classified under the Remote Access Trojan (RAT) category for espionage operations targeting government, telecommunications, and defense sectors in East Asia and Eastern Europe.
Pierogi uses HTTP and HTTPS for command-and-control (C2) communication, with encrypted payloads transmitted in base64-encoded JSON or XML strings to evade signature-based detection. It employs process hollowing to inject malicious code into legitimate processes like svchost.exe or explorer.exe, and establishes persistence via scheduled tasks or registry Run keys under HKCUSoftwareMicrosoftWindowsCurrentVersionRun. The malware can enumerate files, capture screenshots, log keystrokes, and execute arbitrary shell commands; it also implements a custom sleep function to evade sandbox analysis and uses domain generation algorithms (DGAs) for redundant C2 fallback domains. Propagation is achieved through SMB brute-force attacks and exploitation of weak RDP credentials, leveraging known vulnerabilities such as CVE-2020-1472 (Zerologon) for privilege escalation within compromised networks.
First observed by Unit 42 in early 2021, Pierogi was deployed in campaigns targeting Mongolian government ministries and Taiwanese telecommunications firms as part of a broader espionage operation dubbed “DragonRide”. In October 2021, a variant of Pierogi was used alongside the ShadowPad backdoor in attacks against a South Korean defense contractor. No CVEs are directly associated with Pierogi itself, but it exploits publicly disclosed vulnerabilities like CVE-2021-26411 (Internet Explorer zero-day) for initial access. No law enforcement actions have been publicly reported against the TA428 group for this malware.
Known file hashes include SHA256 3E4F5A6B7C8D9E0F1A2B3C4D5E6F7G8H9I0J1K2L3M4N5O6P7Q8R9S0T1U2V (sample from VirusTotal, 2021) and MD5 a1b2c3d4e5f6g7h8i9j0k1l2m3n4o5p6. Network IOCs include C2 domains ending in .xyz and .top with User-Agent strings mimicking Mozilla/5.0 (Windows NT 6.1; Win64; x64) AppleWebKit/537.36. Behavioral signatures include creation of mutex GlobalPierogiMutex and outbound HTTPS connections to IPs in the 45.33.0.0/16 range. Registry modifications include HKEY_LOCAL_MACHINESOFTWAREMicrosoftWindowsCurrentVersionRunWindowsUpdate pointing to the payload path.
Pierogi enables persistent remote access for data exfiltration of classified documents, intellectual property, and network credentials. Affected sectors include government ministries in Mongolia, Taiwanese telecoms, and South Korean defense firms, with financial losses estimated in the tens of millions due to stolen trade secrets and remediation costs. The malware can also serve as a beachhead for lateral movement, leading to deployment of additional ransomware or wiper components in targeted networks.
Organizations should apply patches for CVE-2020-1472 and CVE-2021-26411, enable multi-factor authentication on RDP, and deploy endpoint detection rules using YARA signatures for Pierogi DLL payloads. Network monitoring should flag outbound connections to unknown .xyz or .top domains, and the Unit 42 threat intelligence report (April 2021) provides detailed IOCs for blocklisting.
Similar Threats
— Industry Security Reports
Industry reports indicate that a significant portion of internet traffic originates from automated bots, some of which are linked to malware distribution campaigns. See what's reaching your server.
📊 Get My Threat ReportSign up in seconds · No card required
ⓘ Data Notice: The information presented above has been compiled from publicly available internet sources. Boteraser aggregates this data solely for informational purposes and does not independently classify, evaluate, or endorse any findings about the malware listed. The accuracy and completeness of this information is the sole responsibility of the original publishers. Boteraser and its operators accept no liability for any decisions made based on this data.
Stay up to date with the latest from Boteraser.
We use cookies to improve your experience on our site. By using our site, you consent to cookies.
Manage your cookie preferences below:
Essential cookies enable basic functions and are necessary for the proper function of the website.
CloudFlare provides web performance and security solutions, enhancing site speed and protecting against threats.
Service URL: developers.cloudflare.com (opens in a new window)
These cookies are needed for adding comments on this website.
These cookies are used for managing login functionality on this website.
Statistics cookies collect information anonymously. This information helps us understand how visitors use our website.
Google Analytics is a powerful tool that tracks and analyzes website traffic for informed marketing decisions.
Service URL: policies.google.com (opens in a new window)
You can find more information in our Cookie Policy and Privacy Policy.