Open servers expose India-linked spying on Pakistan

Published

An espionage group that has spent years targeting Pakistan left two of its working directories open to the internet, and researchers walked in. The Group-IB Threat Intelligence team says it found the workspaces and attributes them with high confidence to Patchwork, the India-nexus group also tracked as Dropping Elephant and Hangover.

That matters because it joins two halves of the operation that defenders usually see separately. Files in the larger workspace linked its operators directly to a run of phishing campaigns delivering the BADNEWS backdoor, connecting the group's hands-on hacking with its email operations.

Hundreds of scripts, limited success

The first open directory held hundreds of scripts for reconnaissance, password attacks and exploitation attempts against public-facing mail servers, web applications and network devices. Group-IB says many of the scripts did similar jobs and the activity it observed produced limited confirmed access. The second directory held password lists prepared for a brute-force attack. The targets throughout 2026 were government bodies, telecommunications companies and internet service providers in Pakistan and neighbouring countries, in line with the group's long-standing focus.

Real letters from hacked mailboxes as bait

The phishing side is where Patchwork showed more care. The emails Group-IB recovered were sent from compromised mailboxes of legitimate organizations and read like routine business correspondence, asking the recipient to confirm a submission or verify a list. Many of the decoy documents were genuine files stolen from those mailboxes. In one case the operators reused an internal letter several years old and changed only the covering email to make it look current. Lures covered official notices, cybersecurity advisories, event invitations and staff scheme forms, and linked campaigns outside Pakistan used Chinese-language research, conference and energy-sector documents plus one written for recipients in Sri Lanka.

Each email carried the password for a RAR archive, usually linked from a staging server rather than attached, which limits automated scanning. Inside was a single shortcut (LNK) file named after the decoy. Opening it ran obfuscated PowerShell that showed the decoy PDF, downloaded a legitimate program plus a malicious DLL, and created a scheduled task that runs every minute under names such as MicrosoftEdgeUpdateTask or GoogleUpdateTaskMachineBA. The legitimate program, in some cases signed by Tencent or NVIDIA and misused without the publishers' involvement, then side-loads the DLL. The shortcut deletes itself so that only the decoy PDF is left behind.

The DLLs are MinGW-built loaders that decrypt BADNEWS and run it only in memory, with the payload hidden inside the DLL, appended to a PNG image, or kept in a separate data file. On start, BADNEWS collects the computer name, machine GUID and firmware details, looks up the victim's public IP and country, and talks to its command server over HTTPS POST. Group-IB says the command servers sat behind cover websites, and infrastructure overlaps surfaced fresh Patchwork servers not yet tied to observed attacks. This follows earlier reporting on the group's in-memory tooling.

Hunt for minute-by-minute update tasks

The tradecraft leaves distinctive marks. Defenders in the targeted sectors should look for:

Delivery domains named in the report include paksecure[.]org, fysat[.]org and navalinfo[.]org.

The irony is hard to miss. A group whose whole phishing operation depends on stealing other organizations' trusted documents was undone by leaving its own files where anyone could read them.

This briefing is provided by IntelFusions for informational and defensive purposes only. It is based on sources assessed to be reliable at the time of writing, and analytic judgments carry the confidence levels indicated. Indicators of compromise are defanged; re-arm them only in controlled environments. IntelFusions is not affiliated with the organizations named and makes no warranty as to completeness or accuracy.

Earlier in Nation-State

All Nation-State briefings

Latest briefings

Read the full analysis on IntelFusions