DarkSamurai APT Group Exploits Malicious LNK and PDF Files to Steal Critical Data

In a recent campaign attributed to the infamous Patchwork actor, a so-called “DarkSamurai” APT subsidiary of OceanLotus has been targeting strategic institutions in Pakistan.

By weaponizing MSC files disguised as PDFs and leveraging a custom GrimResource loader, the adversary has deployed advanced remote access trojans (RATs) to infiltrate networks, evade detection, and exfiltrate sensitive data.

Subsequent analysis, however, reveals DarkSamurai to be a false-flag operation orchestrated to obscure Patchwork’s true identity.

Multi-Stage Infection Chain and Detection Evasion

The attack begins with spear-phishing emails spoofing legitimate government or research entities. Victims receive a compressed archive containing a file named Drone_Information.pdf.msc.

When opened, mmc.exe instantiates an ActiveX control (CLSID {2933BF90-7B36-11D2-B20E-00C04F983E60}) to execute a multi-layer JScript.

The script employs XSL transformations to decode an embedded URL, fetching a heavily obfuscated JavaScript payload from https://caapakistaan.com/.../Unit-942-Drone-Info-MAK3.html.

This landing page, presented in Vietnamese and branded under the DarkSamurai moniker, serves as the first deception layer. After URL-decoding, the script loads a second JavaScript stage in XML, which downloads and writes the bait document Drone_information.pdf to C:\Users\Public\Drone_Information.pdf.

Detection evasion is achieved through several techniques: the initial JScript is polymorphic and packed, dism.exe is hijacked to load the malicious DLL, and the RAT modules are loaded selectively based on whitelist/blacklist logic.

The attacker also deploys scheduled tasks (MicrosoftEdgeUpdateTaskMachineCoreXUI) and registry run keys to maintain persistence while continuously fetching post-stage payloads.

Comprehensive Sample and Correlation Analysis

Deep-dive examination of the final dropped payload, DismCore.dll (MD5: 8b0ae47f442a7bf71d8973bc7f3deca7), confirms it to be a customized Mythic RAT. Compiled on May 29, 2025, this DLL registers itself via DllRegisterServer to execute malicious routines.

It dynamically resolves API addresses, uses the host’s machine name as a creation semaphore, and decrypts the embedded C2 URL (https://d11d6t6zp1jvtm.cloudfront.net/data) with a bespoke flip-character and Base64 routine.

Communications employ AES-256-HMAC (keys: lQdi06iGplHMgVkqnBrfedrrF6RoQHzj8nQg5M2RJq0=) over WinHTTP POST requests, mimicking Safari’s User-Agent string to evade network monitoring.

The C2 exchange begins with a “checkin” action field, sending system metadata and awaiting further commands—identical to open-source Mythic behavior.

Correlation across domain naming conventions, payload characteristics, and Protego telemetry ultimately exposed the DarkSamurai facade as Patchwork’s handiwork.

Patchwork, active since 2009, is known for targeting military, diplomatic, educational, and research organizations in South Asia, employing spear-phishing lures with malicious LNK and MSC attachments.

Their toolkit spans proprietary BADNEWS and open-source RATs such as Quasar, AsyncRAT, Mythic, Remcos, and NorthStarC2.

This false-flag operation not only underscores the sophistication of Patchwork’s deception campaigns but also highlights the need for rigorous threat attribution and investigation.

Security teams must scrutinize TTP overlaps and leverage threat intelligence correlation to unmask such layered obfuscations and protect critical infrastructure from state-sponsored espionage.

IoC

funen.org

lymetrax.org

snugluxe.org

mdridefys.info

tamolwebtech.org

foundersthub.org

climberrise.org

laddervector.org

d11d6t6zp1jvtm.cloudfront.net

Find this Story Interesting! Follow us on Google News , LinkedIn and X to Get More Instant Updates

Priya
Priya
Priya is a Security Reporter who tracks malware campaigns, exploit kits, and ransomware operations. Her reporting highlights technical indicators and attack patterns that matter to defenders

Trending News

Related Stories