Patchwork BADNEWS: The APT That Left Its Workspace Open

By 13 min read
Patchwork BADNEWS infection chain from a hijacked mailbox to an in-memory backdoor

A spy group that spends its days stealing other people’s mailbox passwords left its own working folder open on the internet. That mistake let Group-IB read Patchwork’s scripts, password lists and logs, and tie a year of BADNEWS phishing against Pakistan back to the people running it.

Patchwork BADNEWS is the name for this pairing: Patchwork, an espionage group Group-IB calls India-nexus, and BADNEWS, the Windows backdoor it has used for about a decade. Group-IB first reported the 2026 campaigns on 3 December 2026 in a report titled “Patchwork Exposed”, written by Faraz Ali and Mansour Alhmoud. It attributes the activity to Patchwork with high confidence. Cyberpress and other outlets covered it on 4 December.

The short answer to “what happened”: Patchwork sent phishing emails from real, hijacked mailboxes to Pakistani government bodies, telecoms and ISPs, installed BADNEWS through signed programs, and ran its operations from two servers it forgot to lock.

What is Patchwork?

Patchwork is a cyber espionage group that MITRE ATT&CK tracks as G0040. MITRE says it was first observed in December 2015 and lists the associated names Hangover Group, Dropping Elephant, Chinastrats, MONSOON and Operation Hangover. These are different vendors’ labels for the same activity.

MITRE notes the group has not been definitively attributed, but circumstantial evidence suggests it may be pro-Indian or Indian. Group-IB goes further in its own wording and calls Patchwork an “India-nexus” threat actor. It does not name a government agency or unit.

The group has a long record of targeting diplomatic and government organisations. MITRE also records spearphishing against US think tanks in March and April 2018, and says much of the group’s code was copied from online forums.

Why this report matters now

Most Patchwork reporting comes from samples: a researcher catches a lure, unpacks the malware and maps the servers. Group-IB had something rarer. Two of the group’s servers exposed open directories, which are web folders that list every file to anyone who browses to them. That gave a view of the operators’ hands-on work, not just their malware.

What is BADNEWS malware?

BADNEWS is a Windows backdoor that MITRE lists as software S0128, used only by Patchwork. MITRE says its name comes from its old habit of reading command-and-control (C2) instructions from RSS feeds, forums and blogs. C2 is the channel an attacker uses to send commands to infected machines. The earliest public source MITRE cites is a Forcepoint report on the MONSOON campaign from August 2016.

The 2026 builds in Group-IB’s report talk directly to attacker servers over HTTPS. On start, BADNEWS gathers the computer name, machine GUID and firmware details, then checks its public IP address and country using public lookup services.

Group-IB lists these capabilities:

  • run cmd.exe commands and return the output
  • list directories
  • upload files from the victim
  • download and run executables
  • take screenshots on request
  • log keystrokes through a keyboard hook

How BADNEWS talks to its servers

The backdoor sends HTTPS POST requests to paths shaped like /<12 characters>/<12 characters>.php. Group-IB saw two parallel loops: one posts a uid= parameter every 2.5 seconds, the other posts cuud= and couth= parameters every 3.5 seconds.

A build from a linked campaign behaves a little differently. It encrypts traffic with Salsa20, a fast stream cipher, uses different IP lookup services, and polls directory-style paths that do not end in .php. Group-IB says the command set and code structure are the same.

Timeline of Patchwork and BADNEWS from first sighting in 2015 to the Group-IB report in December 2026
BADNEWS is not new: the same backdoor family has followed Patchwork for about a decade. Data: MITRE ATT&CK and Group-IB.

How the Patchwork BADNEWS attack works

The chain is simple, and that is the point. Each step uses something the victim already trusts: a known sender, a real document, a signed program.

Step 1: a real mailbox sends the lure

The phishing emails come from compromised mailboxes of legitimate organisations. They read like routine business: confirm a submission, verify a list, proceed without delay. Group-IB’s examples include a proxy form for the annual general meeting of a Pakistani mobile operator and a fibre-outage incident report from another operator.

The decoy PDFs are genuine documents taken from compromised mailboxes. One was an internal letter several years old. Because the document is real, a recipient who opens it sees nothing odd.

Step 2: a locked archive with one shortcut

The email links to, or sometimes attaches, a password-protected RAR archive, with the password in the email body. Password protection stops many mail gateways from scanning the contents. Inside is a single LNK file, a Windows shortcut, named after the decoy.

Step 3: PowerShell does the setup

The shortcut runs PowerShell, often minimised. Group-IB describes it downloading and opening the decoy PDF, then downloading an executable, a malicious DLL and two Visual C++ runtime files under bland names into C:\Users\Public or C:\Windows\Tasks. It then creates a scheduled task that runs the executable every minute and deletes the shortcut, leaving only the decoy behind.

Group-IB saw three command variants. The most common one, used against Pakistan, splits PowerShell command names with empty quotes to dodge simple string matching. Others start from cmd.exe or conhost.exe, locate PowerShell with a wildcard search, or proxy execution through a batch file shipped with the Pester testing module.

Scheduled task names included GoogleReport, MicrosoftEdgeUpdateTask, GoogleUpdateTask and GoogleErrorReport. They look like normal updater tasks at a glance.

Six-step Patchwork BADNEWS chain from hijacked mailbox to in-memory backdoor beaconing over HTTPS
Every step leans on trust: a real sender, a real PDF and a signed program. Data: Group-IB.

Step 4: a signed program loads the backdoor

DLL side-loading is a technique where a legitimate program is placed next to a malicious DLL with the name it expects, so the program loads the attacker’s code. Group-IB lists nine program and DLL pairs, including a Tencent-signed cef_frame.exe, an NVIDIA-signed NVIDIA_Share.exe loading libcef.dll, and java.exe loading jli.dll, a pair Patchwork has used since at least 2017. The report stresses that the software publishers were not involved.

The loader DLLs hide the payload in one of three ways: encrypted inside the DLL with AES-256, appended after the image data of a PNG file, or stored in a separate data file. In every case BADNEWS is decrypted and run in memory only.

Step 5: the operators choose who matters

The command servers sent no commands while Group-IB watched them. They accepted beacons and returned empty replies. Group-IB assesses that the operators probably pick victims on the server side, using the IP address and country sent in the first beacons.

In one campaign, after a victim was selected, the attackers added a GoProxy root certificate to the trusted store and set a system proxy on port 8080. That lets them read the victim’s HTTPS traffic.

What was inside the open directories?

The first exposed folder, which Group-IB calls Workspace_A, held what the report describes as hundreds of scripts plus scan results, saved web pages, server logs, password lists, Android app packages and packet captures, all in one flat directory.

It shows a team working through targets by hand:

  • Reconnaissance: scanning IP ranges, checking app versions, hunting for admin panels and for SMS gateway and one-time-password endpoints in JavaScript files.
  • Password guessing: default and organisation-themed passwords against webmail, SSH, control panels and databases.
  • A fake mail server: fake_imap.py ran a rogue IMAP service on ports 143 and 993 that accepted any login and recorded it. A companion script tried to make Roundcube webmail send users’ logins to it.
  • Session forgery: a leaked Roundcube configuration backup held its encryption key, and a script built session cookies from it. Group-IB found no evidence that this produced a working session.
  • Exploitation attempts: against Roundcube, Zimbra, Control Web Panel, GeoServer, WordPress plugins and ASP.NET apps, plus abuse of Cisco Smart Install to pull a network device’s configuration.

The second folder, Workspace_B, held only two password lists for one Pakistani organisation. Over 80% of the guesses were variations of the organisation’s name, and about two thirds were plain lowercase words. Group-IB reads this as predictable guessing, not leaked credentials.

Bar chart of organisation types referenced in the exposed Patchwork workspace
Government bodies made up about three in five of the Pakistani organisations the workspace referenced. Data: Group-IB.

How the workspace was tied to the phishing

The link is a small, human detail. A bounce notice in the workspace, timestamped 10:33, showed an email rejected for exceeding a recipient limit. A delivered copy with the same sender, subject and date went out from the same compromised mailbox at 10:39, carrying a link to the staging domain pakonline[.]org. Six minutes separated the failed and successful sends.

Who is affected by Patchwork BADNEWS?

Group-IB names three groups of targets:

Region Sectors named by Group-IB Notes
Pakistan (primary) Government departments, telecoms, ISPs Over 100 organisations referenced in Workspace_A
China Universities, research institutes, aerospace, energy Linked campaigns
Sri Lanka Armed forces personnel One lure

The report also mentions a look-alike domain imitating a Turkish defence company, with no campaign observed.

The 100+ figure needs care. Group-IB says a reference in the workspace is not a compromise and that confirmed access was limited. It notified the relevant parties.

How to check your exposure

If you work in or with these sectors, start with the published indicators. Group-IB lists about 70 domains, 10 IP addresses, 19 URLs and SHA1 hashes, plus YARA rules dated 30 November 2026. Staging domains imitate government and security services, for example paksecure[.]org and pakdigital[.]org. C2 domains have business-like names such as secscience[.]org and metaslate[.]org, sit behind Cloudflare, and have origin servers hosting cloned copies of unrelated real websites. Take the full list from the report rather than from news copies.

Four headline figures from Group-IB's Patchwork Exposed report on BADNEWS
The every-minute scheduled task is the loudest trace Patchwork leaves on an endpoint. Data: Group-IB.

How to detect Patchwork BADNEWS

Most of this campaign can be caught with telemetry many organisations already collect. Group-IB’s recommendations point to these log sources and behaviours.

Endpoint

  • Scheduled tasks (Windows Security event 4698 or Task Scheduler logs): new tasks named like Google or Edge updaters that repeat every minute and run from C:\Users\Public or C:\Windows\Tasks.
  • Image loads (EDR or Sysmon event 7): signed executables loading DLLs from those same folders.
  • PowerShell script block logging (event 4104): PowerShell launched by a shortcut file, cmd.exe or conhost.exe, cmdlet names broken up by empty quotes, or a where p*s*ll.?x? lookup.
  • Certificate store and proxy changes: a new trusted root certificate followed by a system proxy on port 8080.

Network

  • HTTPS POSTs to new domains on paths of two 12-character segments ending in .php.
  • A host querying myexternalip, api.iplocation, api.ipify or ip2c shortly before posting to a newly seen domain.
  • Inbound or outbound TCP 4786 traffic, used by Cisco Smart Install.

ATT&CK techniques Group-IB maps

Tactic Selected techniques from the report
Initial access T1566.001, T1566.002 phishing; T1190 exploit public-facing app
Execution T1059.001 PowerShell; T1204.002 malicious file
Persistence T1053.005 scheduled task; T1505.003 web shell
Defence evasion T1574.001 DLL side-loading; T1620 reflective loading; T1027.013 encrypted file
Credential access T1110.003 password spraying; T1557 adversary in the middle
Defence impairment T1553.004 install root certificate
Command and control T1071.001 web protocols; T1105 ingress tool transfer

The full table in the report also covers reconnaissance, resource development and exfiltration.

How to mitigate it: a prioritised list

  1. Quarantine password-protected archives from external senders and block LNK files inside archives at mail and web gateways. This breaks the chain at step one.
  2. Block execution from user-writable folders such as C:\Users\Public and C:\Windows\Tasks with application control. Side-loading needs a place to drop files.
  3. Treat a trusted sender as a possible victim. Confirm unexpected document requests through a second channel, even from a known partner.
  4. Harden webmail and remote services: MFA, rate limiting and lockout on webmail, SSH, control panels and databases. Patchwork’s own lists show it relies on guessable, name-based passwords.
  5. Remove backups, logs and config files from web-accessible paths and rotate any keys found there. A Roundcube config backup handed the operators an encryption key.
  6. Disable Cisco Smart Install where it is not needed (no vstack) and restrict TCP 4786.
  7. Enable PowerShell script block logging and alert on new root certificates and proxy changes.
  8. If a partner’s mailbox phished you, tell them: their credentials need resetting, MFA enforcing and mailbox rules reviewing.

How does this compare with other espionage campaigns?

Patchwork’s tradecraft is not exotic. It resembles other recent espionage reports on this site more than it differs from them.

Campaign Entry point Payload loading Unusual detail
Patchwork BADNEWS (Group-IB) Phishing from hijacked real mailboxes Signed EXE side-loads DLL, in-memory backdoor Operators’ workspace left exposed
XiSe RAT (Unit 42) Fake statement of account disk image Signed program side-loads Rust DLL, shellcode in PNG Installs a rogue ManageEngine agent
WeaveLotus (SOCRadar) Old web application bugs Web shells and post-exploitation tools Government networks in Southeast Asia

The shared lesson: DLL side-loading through signed software and payloads hidden in images keep showing up because they still work. Patchwork’s webmail work also overlaps with the risks in our article on the unpatched Zimbra vulnerability CVE-2026-137843, since Zimbra was one of the products the group’s scripts targeted.

Is it really that sophisticated?

No, and Group-IB’s evidence says so. The phishing works because it comes from real mailboxes, not because of clever code. The password lists are mostly the target’s name with small changes. The session forgery and log replay attempts show no evidence of success. GodPotato, a privilege escalation tool, sat in the workspace with no sign of use.

Some details even look careless. One 64-bit loader downloads two 32-bit runtime files it never uses, which Group-IB reads as a reused download template. Scripts were named after CVE IDs, which the report treats as operator labels, not proof that a vulnerability existed or was exploited.

That is the uncomfortable part. A low-cost, repetitive operation still reached government and telecom networks, because the weak points were reused passwords, exposed backups and trust in a known sender.

Open questions

  • How many victims were actually compromised? Group-IB says confirmed access was limited and gives no victim count.
  • What do the operators do after selection? The C2 servers sent no commands during analysis, so post-compromise activity is inferred from BADNEWS’s capabilities and one certificate-and-proxy case.
  • Aliases and links to other groups. Group-IB’s text does not list aliases; the names in this article come from MITRE ATT&CK. Attribution beyond “India-nexus” is not stated.
  • Overlap with the group’s .NET tooling. The report notes that strings in one YARA rule may also match 2026 builds of Patchwork’s .NET backdoor, so detections may blur between tool families.
  • Protego. Group-IB describes a small .NET downloader called Protego that shows a fake “Optional update delivery is not working” error. The same message appeared in a later BADNEWS campaign, a possible link the report does not settle.

The bottom line

Patchwork BADNEWS shows that an espionage group does not need new malware to reach government and telecom networks: hijacked mailboxes, real decoy documents and signed programs did the work. Block password-protected archives with shortcuts, watch for every-minute updater-style tasks in Public and Tasks folders, and treat a partner’s email as a possible compromise. The group’s exposed workspace is a reminder that attackers make the same configuration mistakes as their targets.

Sources

This article is written for defenders and authorised security testers. Only test systems you own or have written permission to assess.

Frequently asked questions

What is Patchwork?

Patchwork is a cyber espionage group that MITRE ATT&CK tracks as G0040 and says was first observed in December 2015. It is also known as Dropping Elephant, Hangover Group, Chinastrats and MONSOON. Group-IB describes it as an India-nexus actor.

What is BADNEWS malware?

BADNEWS is a Windows backdoor used by Patchwork for years. The 2026 builds described by Group-IB run commands, list directories, upload and download files, take screenshots and log keystrokes, and beacon to their servers over HTTPS.

Who did Patchwork target in 2026?

Group-IB says the main targets were Pakistani government departments, telecom operators and ISPs. Linked campaigns reached universities, research, aerospace and energy organisations in China, and a lure aimed at armed forces personnel in Sri Lanka.

How does the Patchwork BADNEWS infection start?

A phishing email arrives from a real organisation's compromised mailbox with a password-protected RAR. The archive contains a shortcut file named like a PDF. Opening it runs PowerShell, which shows a genuine decoy PDF and quietly installs the backdoor.

How can I detect BADNEWS?

Look for scheduled tasks named like Google or Edge updaters that run every minute from C:\Users\Public or C:\Windows\Tasks, signed programs loading DLLs from those folders, PowerShell started by shortcut files, and HTTPS POSTs to paths shaped like two 12-character segments ending in .php.

What were the Patchwork open directories?

Group-IB found two web-exposed folders on attacker servers. The first held hundreds of scripts, scan output, password lists and logs aimed at Pakistani organisations. The second held only two password lists built for one organisation.

Did Patchwork actually breach 100 organisations?

No such claim is made. Group-IB says more than 100 Pakistani organisations were referenced in the exposed workspace, but a reference is not a compromise, and confirmed access was limited.

Is the Patchwork BADNEWS campaign related to ransomware?

No. Group-IB describes espionage: stealing documents, credentials and keystrokes. The report shows no ransomware or destructive payload, and the command servers sent no commands while researchers watched them.

Keep reading

PatchworkBADNEWSGroup-IBcyber espionagePakistanDLL side-loadingthreat intelligence