Cybercriminals are leveraging fake shipment-themed ZIP files to initiate a sophisticated malware chain on Windows systems. This attack strategy employs a combination of legitimate signed applications, DLL side-loading techniques, and concealed Python code.
Malicious ZIP Files and Their Execution
The attackers mask their malicious files as shipping materials, images, and browser updaters. Once executed, these files trigger a payload associated with PureLogs and PureRAT malware infrastructure. This method highlights the risks of relying solely on digital signatures for software security.
Researchers from Unit 42, Shazan Khaja and Muhammet Algan, identified this threat, reporting their observations from October 21. The attack begins when users download a deceptive ZIP archive, which then decodes a Windows payload connected to PureLogs and PureRAT campaigns.
Technical Details of the Attack
Inside the ZIP archive, a legitimate Kingsoft PDF executable, signed and 32-bit, is renamed to align with the shipment theme. A malicious DLL is placed alongside it. When the executable is launched, Windows inadvertently loads the DLL, allowing the malware to execute.
This sequence is rapid; the DLL is written to disk, and the legitimate application begins at almost the same time, initiating the malicious library within seconds. The DLL then opens a decoy PDF while preparing the hidden payload.
Python Code and Final Payload Execution
The malicious process continues with a Python runtime, disguised as a Microsoft Edge updater, executing a command that reads another file under the guise of a PDF. Instead of displaying content, the action decodes hidden Python code, which then runs.
This encoded script, containing complex XOR and arithmetic operations, eventually produces a Windows executable. The hidden payload then communicates with PureLogs and PureRAT infrastructure over secure connections.
Defenders are advised to look for behaviors such as signed applications loading neighboring DLLs, command-shell activities, and Python executions in unexpected directories as indicators of compromise.
For cybersecurity professionals, maintaining vigilance and integrating threat intelligence from various sources is crucial to countering these sophisticated threats.
