MediumCVE-2018-8414 5 Hunt LeadsIOCsRemote AttackerPatchwork360 Threat Intelligence Center

Patchwork’s Fake PDF Hides Its Command Behind 1,317 XML Comments

360 says Patchwork (APT-C-09) is phishing South Asian targets with a .SettingContent-ms file posing as a PDF, whose hidden command installs a loader, a scheduled task and a file-stealing payload on unpatched Windows.

Patchwork, the South Asian espionage group also tracked as APT-C-09 and Dropping Elephant, is phishing with a file type most defenders stopped thinking about in 2018. 360 Threat Intelligence Center says the attachment poses as a PDF but is really a Windows .SettingContent-ms file. Its hidden command pulls down a loader, sets up a scheduled task and opens a channel to the group’s servers. 360 ties the campaign to Patchwork through a command server the group has used before and through its familiar download-path layout.

For defenders

How it works: the attachment is named 789545656.pdf.SettingContent-ms, so Explorer’s default hidden extensions show 789545656.pdf. It’s an XML file whose DeepLink field holds a command of roughly 1,300 characters. 360 found it split by 1,317 XML comments stuffed with PDF syntax, so keyword searches for URLs or commands miss it while the XML still parses. On opening, the command runs through rundll32 and PowerShell, fetches five components and registers a scheduled task that runs C:\Windows\Tasks\msdtc32.exe. A loader DLL, msdtctcm.dll (a Patchwork staple, per 360), decrypts Config.ini with RC4. The payload sets a mutex, POSTs to its C2, answers a needBasicInfo command, checks the victim’s public IP and lists files on disk.

Patch status: the trick relies on CVE-2018-8414 (Windows Shell RCE, CVSS 8.8, on CISA’s KEV list since 2022), fixed in August 2018. 360 says current Windows no longer runs these commands, but unpatched older systems still can. ATT&CK: T1566.001 (Phishing: Spearphishing Attachment), T1036.007 (Masquerading: Double File Extension), T1027 (Obfuscated Files or Information), T1053.005 (Scheduled Task/Job: Scheduled Task) and T1071.001 (Application Layer Protocol: Web Protocols). Background on the group is on our Patchwork profile.

Network
satdevinfo[.]org
webrobt[.]org
hxxps://satdevinfo[.]org/qweopzui/CBE11A8A315A7951

Host
789545656.pdf.SettingContent-ms
C:\Windows\Tasks\msdtc32.exe
msdtctcm.dll
Config.ini
649e90086a269053ea4e1295efcf865d
8d9a0eecb40c1b857918aaa63fd05278
7c8c6e49cd4b4c7e224814360b5b202a

What it means for you

This is a targeted spy campaign, mainly against government, defense, energy and IT organizations in Pakistan and nearby countries, so most people won’t see it. The useful lesson is the disguise: a file that looks like a PDF but isn’t. Windows hides file extensions by default, which lets “report.pdf.something” pass as “report.pdf”. If your computers are fully updated, this exact file shouldn’t run.

Do this now

  1. Turn on “File name extensions” in File Explorer’s View menu so double extensions stand out.
  2. Make sure Windows Update is current on every PC, especially older machines that were set aside.
  3. Ask your email provider or IT person to block .SettingContent-ms attachments; nobody needs to email them.

Source article: APT-C-09 (Mahayana) recent attack activity analysis using settingcontent-ms (APT-C-09(摩诃草)近期使用 settingcontent-ms 攻击活动分析)
Publisher: 360 Threat Intelligence Center (360 Advanced Threat Research Institute)
Published: Nov. 25, 2026
URL: https://mp.weixin.qq.com/s/jEaeFOh42zHgmY-EyLQQEQ

Executive Summary

360 Threat Intelligence Center reports a new spear-phishing campaign by APT-C-09, which it calls Mahayana (摩诃草) and which is also tracked as Patchwork, Dropping Elephant and Quilted Tiger. 360 describes the group as a South Asian espionage actor that has targeted Pakistan and neighbouring countries for years, focusing on government, defense, energy and IT services, with a habit of malicious documents, DLL side-loading through legitimate programs, abuse of built-in Windows tools, and scheduled tasks or legitimate remote-access software for persistence. In this campaign the lure is a Windows .SettingContent-ms file named 789545656.pdf.SettingContent-ms, which appears as a PDF when extensions are hidden. Its DeepLink field carries a roughly 1,300-character command broken up by 1,317 XML comments filled with PDF syntax, which defeats plain-text searches without breaking the XML. When opened, the command runs through rundll32 and PowerShell, downloads five components and registers a scheduled task for C:\Windows\Tasks\msdtc32.exe. The loader msdtctcm.dll, protected with control-flow flattening, RC4-decrypts Config.ini into a final payload that creates a mutex, POSTs to hxxps://satdevinfo[.]org/qweopzui/CBE11A8A315A7951, receives a needBasicInfo command, collects host details including the public IP, and enumerates files on disk for theft. 360 attributes the activity to the group through the historical C2 domain webrobt[.]org and its domain/function-path/number/GUID download URL layout. The technique depends on CVE-2018-8414, patched in August 2018, so it works only on unpatched systems. Hunt leads, false positive expectations and indicators are detailed below; 360 published no detection rules.

ATT&CK chain: Initial Access → Execution → Persistence → Defense Evasion → Discovery → Command and Control

Hunt Lead Grid

Hunt Lead Level Hunt Lead Name ATT&CK Risk of False Positives
1 (Junior) Patchwork C2 and Sample Sweep T1071.001 (Application Layer Protocol: Web Protocols) Low. The two domains, the C2 path and the three MD5s are 360-confirmed campaign infrastructure and samples, and none of them belong to a shared or legitimate service.
1 (Junior) Double-Extension .SettingContent-ms Attachments T1566.001 (Phishing: Spearphishing Attachment), T1036.007 (Masquerading: Double File Extension) Low. Legitimate .SettingContent-ms files live in the Windows image and are never sent by email or downloaded, so the hunt anchors on the extension arriving from mail or the web.
2 (Pro) Scheduled Task Running from C:\Windows\Tasks T1053.005 (Scheduled Task/Job: Scheduled Task) Low to Medium. C:\Windows\Tasks is a legacy job folder that should hold .job files, not executables; the rare benign hit comes from old management tools, which can be allowlisted by signer.
2 (Pro) Loader DLL and Encrypted Config.ini Dropped Together T1140 (Deobfuscate/Decode Files or Information) Medium. Config.ini is a common file name, so the rule anchors on it being written beside a new DLL and EXE in the same non-standard folder by a PowerShell or rundll32 process.
3 (Elite) Shell-Launched Download to Task Creation Chain T1204.002 (User Execution: Malicious File), T1059.001 (Command and Scripting Interpreter: PowerShell), T1105 (Ingress Tool Transfer) Medium. Admin scripts also download files and create tasks; the correlation requires all steps in one process tree within minutes of a user opening a mail or download file, which scripts don’t do.

Patchwork C2 and Sample Sweep

360 observed the final payload POSTing to hxxps://satdevinfo[.]org/qweopzui/CBE11A8A315A7951 right after start-up, then receiving a needBasicInfo command before it collected host details and file listings. 360 also names webrobt[.]org as a Patchwork C2 domain from earlier operations and uses it in its attribution. Sweep DNS, proxy and firewall logs for both domains and for the /qweopzui/ path on any host, and sweep file inventories and EDR telemetry for the three MD5s in the Hash Appendix: the lure file, the msdtctcm.dll loader and the encrypted Config.ini shellcode.

Go back at least 90 days. The payload’s job is file theft, so a hit weeks old still matters, and Patchwork reuses infrastructure across campaigns, which is how 360 linked this one. Scope first to users in government, defense, energy and IT services with ties to Pakistan or South Asia, where 360 says the group concentrates. Block both domains at DNS and proxy; they aren’t shared platforms, so blocking costs nothing. Don’t rely on the hashes for long, since the lure is a text file the operator can regenerate in seconds. Any network hit means an active implant: isolate the host, collect memory before reboot, and review what files it could reach.

Hunt Lead Level: 1 (Junior Analyst)

ATT&CK: Command and Control → T1071.001 (Application Layer Protocol: Web Protocols)

Sources: “APT-C-09 (Mahayana) recent attack activity analysis using settingcontent-ms”, 360 Threat Intelligence Center, Nov. 25, 2026, https://mp.weixin.qq.com/s/jEaeFOh42zHgmY-EyLQQEQ (source article)

Double-Extension .SettingContent-ms Attachments

The lure arrived as an email attachment named 789545656.pdf.SettingContent-ms, a 34,341-byte XML file that Explorer displays as 789545656.pdf. To strengthen the disguise, 360 found PDF header markers, object definitions, cross-reference tables and trailer markers inside XML comments near the top of the file, and every display field pointing at legitimate system resources. The hunt is any file with a .settingcontent-ms extension in email attachments, archive contents, browser downloads or user profile folders (Downloads, Desktop, Documents, Outlook temp folders), with extra weight on names carrying a document extension before it (.pdf, .doc, .docx, .xls). The XML-comment splitting also gives a content anchor: a .settingcontent-ms file containing “%PDF” or “xref” strings inside comments is malicious by construction.

Use mail gateway attachment logs, EDR file-creation events and web proxy download logs, and sweep 90 days. Blocking the extension at the mail gateway and in web filtering is the right control here: Windows ships these files locally and nobody has a business reason to exchange them. Don’t scope by the exact file name, which will change per target. Expect near-zero false positives outside C:\Windows\ImmersiveControlPanel and the system’s own settings index. Treat any user-folder hit as a phishing incident: find every recipient of the same message, check whether the file was opened, and run the next leads on those hosts. The lead generalizes to any campaign that revives this 2018 file type, and 360 expects the same idea to be reused.

Hunt Lead Level: 1 (Junior Analyst)

ATT&CK: Initial Access → T1566.001 (Phishing: Spearphishing Attachment); Defense Evasion → T1036.007 (Masquerading: Double File Extension), T1027 (Obfuscated Files or Information)

Sources: “APT-C-09 (Mahayana) recent attack activity analysis using settingcontent-ms”, 360 Threat Intelligence Center, Nov. 25, 2026 (source article)

Scheduled Task Running from C:\Windows\Tasks

After the downloads, the DeepLink command registers a scheduled task whose action points to C:\Windows\Tasks\msdtc32.exe. The name imitates the Distributed Transaction Coordinator (msdtc.exe), but the real service lives in System32, and C:\Windows\Tasks is a legacy folder meant for old-style .job files, not programs. Hunt for any task whose action runs an executable from C:\Windows\Tasks, any .exe or .dll created in that folder, and any process named msdtc32.exe anywhere. Pull task definitions from C:\Windows\System32\Tasks and the TaskCache registry keys, and watch Security event 4698 and the TaskScheduler Operational log (event 106) for new registrations.

Sweep every Windows endpoint, not just the ones that got the email, and look back 90 days, because a task survives long after the phishing message is deleted. Allowlist legitimate hits by signer and full path, never by task name, since the attacker picks the name. Deleting the task alone is the wrong fix: the loader, the encrypted config and the payload stay on disk, so collect the whole C:\Windows\Tasks folder for analysis first. A task launching an unsigned executable from that folder is a confirmed compromise and goes to incident response; the lead also catches other malware that hides in the same folder because few teams look there.

Hunt Lead Level: 2 (Pro)

ATT&CK: Persistence → T1053.005 (Scheduled Task/Job: Scheduled Task)

Sources: “APT-C-09 (Mahayana) recent attack activity analysis using settingcontent-ms”, 360 Threat Intelligence Center, Nov. 25, 2026 (source article)

Loader DLL and Encrypted Config.ini Dropped Together

Among the five downloaded components, 360 analysed msdtctcm.dll, a 302,080-byte loader with control-flow flattening that it calls a common Patchwork type. Its main job is to read Config.ini, RC4-decrypt it and run the resulting payload, which creates a mutex to stay single-instance. Like the task’s msdtc32.exe, the DLL name borrows from the Distributed Transaction Coordinator, and 360 notes the group habitually side-loads DLLs through legitimate programs, though the article’s text doesn’t name the host binary for this sample. Detect a PowerShell or rundll32 process writing, within a short window, an .exe, a .dll and a Config.ini into the same folder outside Program Files and System32, and any image load of msdtctcm.dll from anywhere.

Use EDR file-creation and image-load telemetry (Sysmon events 11 and 7 work), scoped first to C:\Windows\Tasks, %ProgramData% and %AppData%. Config.ini by itself is far too common to alert on; the value is in the three files arriving together from a script host. A Config.ini with high entropy and no readable section headers next to a fresh DLL is a strong confirming signal. Hash-blocking msdtctcm.dll is fine as an extra, but it’s a rebuildable loader, so keep the behavioral rule. Pair a hit with the scheduled-task lead to confirm, then escalate.

Hunt Lead Level: 2 (Pro)

ATT&CK: Defense Evasion → T1140 (Deobfuscate/Decode Files or Information) (DLL side-loading, T1574.001 (Hijack Execution Flow: DLL), is the group’s habit per 360 but isn’t confirmed for this sample in the article text)

Sources: “APT-C-09 (Mahayana) recent attack activity analysis using settingcontent-ms”, 360 Threat Intelligence Center, Nov. 25, 2026 (source article)

Shell-Launched Download to Task Creation Chain

Opening the lure makes the Windows Shell parse its DeepLink field and run the de-obfuscated command, which 360 shows going through rundll32 before PowerShell downloads five components from attacker URLs laid out as domain/function-path/number/GUID, and then registers the scheduled task. The whole chain happens in one burst right after the double-click. Build a correlation on one host: a user opens a file from a mail or download location, then within about five minutes a rundll32 or PowerShell process in the same tree makes outbound HTTP(S) requests, writes executables or DLLs to disk, and a scheduled task is created. A URL whose path ends in a GUID after a number segment raises confidence.

Join EDR process-creation events (with command lines), network connection events and task-registration events in a SIEM by host and process ancestry, and keep it running rather than as a one-off sweep. Software deployment and admin scripts do download and schedule things, so baseline by parent process and account: management agents run as SYSTEM from known services, while this chain starts in an interactive user’s session from a user-opened file. Don’t try to catch the command by string matching in the file; 360’s point is that the comment splitting defeats exactly that, so look at the process behavior after the parse. Any match on an interactive workstation is worth escalating, and the lead generalizes to most “document that runs a command” lures, not just this file type.

Hunt Lead Level: 3 (Elite)

ATT&CK: Execution → T1204.002 (User Execution: Malicious File), T1059.001 (Command and Scripting Interpreter: PowerShell); Defense Evasion → T1218.011 (System Binary Proxy Execution: Rundll32); Command and Control → T1105 (Ingress Tool Transfer)

Sources: “APT-C-09 (Mahayana) recent attack activity analysis using settingcontent-ms”, 360 Threat Intelligence Center, Nov. 25, 2026 (source article)

Hash Appendix

Patchwork settingcontent-ms campaign

All MD5 values come from the source article’s IOC appendix. The article published no SHA1 or SHA256 values, and OTX AlienVault had no record of these MD5s; VirusTotal was not checked.

MD5s

649e90086a269053ea4e1295efcf865d  # 789545656.pdf.SettingContent-ms -> phishing attachment (XML lure)
8d9a0eecb40c1b857918aaa63fd05278  # msdtctcm.dll -> loader DLL that RC4-decrypts Config.ini
7c8c6e49cd4b4c7e224814360b5b202a  # Config.ini -> encrypted shellcode (final payload)

SHA1s

(not available)  # 789545656.pdf.SettingContent-ms -> phishing attachment (XML lure)
(not available)  # msdtctcm.dll -> loader DLL that RC4-decrypts Config.ini
(not available)  # Config.ini -> encrypted shellcode (final payload)

SHA256s

(not available)  # 789545656.pdf.SettingContent-ms -> phishing attachment (XML lure)
(not available)  # msdtctcm.dll -> loader DLL that RC4-decrypts Config.ini
(not available)  # Config.ini -> encrypted shellcode (final payload)

References Appendix

  • “APT-C-09 (Mahayana) recent attack activity analysis using settingcontent-ms” (APT-C-09(摩诃草)近期使用 settingcontent-ms 攻击活动分析), 360 Threat Intelligence Center (360 Advanced Threat Research Institute), Nov. 25, 2026, https://mp.weixin.qq.com/s/jEaeFOh42zHgmY-EyLQQEQ

CVE at a glance

CVE-2018-8414HighKEVPublic exploitMicrosoft Windows
CVSS
8.8 High (v3.1)
EPSS
72.6% chance of exploitation in the next 30 days (higher than 99.6% of CVEs)
Exploited in the wild
Yes, on CISA’s KEV list since Mar 25, 2022
Public exploit
Yes, reported in 1 GitHub repository

Full CVE details

Data from NVD, FIRST EPSS and CISA KEV, refreshed automatically. We report whether public exploit code exists but never link to it: fake proof-of-concepts that infect researchers are common.

More from the Roundup