Purchase-Order Phishing Delivers XLoader Through CVE-2017-11882

Summary
AhnLab details a purchase-order phishing attack that uses a DOCX/RTF altChunk, CVE-2017-11882, and VBS/PowerShell stages to persist and load XLoader, which steals system and browser data and can download more malware.
Key points
- AhnLab identified phishing emails posing as purchase-order confirmation requests and urging recipients to open a malicious DOCX attachment.
- The DOCX embeds an RTF document through Word’s altChunk feature; an OLE object in the RTF exploits CVE-2017-11882 to execute a VBS file.
- The VBS file writes encoded data and launches PowerShell scripts that decrypt and run the next stages.
- The first PowerShell script stores its path and contents in registry values and creates a Run-key entry for execution at user logon.
- A loader uses XOR decryption to execute the payload in memory; the final malware is identified as XLoader version 8.9.
- XLoader can steal PC and browser data and download additional malware.
Article Details
- Attack Vectors
- Phishing emails disguised as purchase-order confirmation requests prompt recipients to open a malicious DOCX attachment.
- The DOCX contains an RTF document embedded through Word's altChunk feature; an OLE object in the RTF creates a VBS file and exploits CVE-2017-11882 to execute it.
- The VBS file launches a first-stage PowerShell script, which decrypts and executes a second PowerShell script and a loader that decrypts and runs the XLoader payload in memory.
- The first PowerShell script establishes persistence by adding a value under the current user's Windows Run registry key.
- Defensive Notes
- Verify that the sender's email address belongs to an official domain.
- Check URLs before clicking and scrutinize suspicious attachment extensions, including .Exe, .Vbs, and .Js.
- Before entering sensitive information, verify that the page URL is official and check its security certificate; do not enter information if the page is in doubt.
Indicators of compromise
| Type | Indicator | Context |
|---|---|---|
| MD5 | 5bd3c5f273ba5ae4c4ae745c6943a4f7 | MD5 indicator listed in the article for the XLoader phishing incident. |
| MD5 | 8b3542531d98a47524c0f468d0158996 | MD5 indicator listed in the article for the XLoader phishing incident. |
| MD5 | e0d7a34bc9f4590bc073d08b50c854d1 | MD5 indicator listed in the article for the XLoader phishing incident. |
| URL | hxxp[:]//www[.]dumbsplash[.]com/ilto/ | C2 URL identified in the article for the XLoader incident. |
MITRE ATT&CK
T1027 · Obfuscated Files or InformationThe VBS file contains Base64-encoded data, and the loader uses XOR to decrypt the payload.T1059.001 · PowerShellThe VBS file launches PowerShell scripts that decrypt and execute the next stages.T1059.005 · Visual BasicThe OLE object invokes cscript to run the VBS file created from the document.T1140 · Deobfuscate/Decode Files or InformationThe PowerShell stages decrypt the data file, and the loader XOR-decrypts the received payload before executing it.T1203 · Exploitation for Client ExecutionAn OLE object in the embedded RTF exploits CVE-2017-11882 in Equation Editor to execute a command.T1204.002 · Malicious FileThe infection chain begins when the recipient opens the attached malicious DOCX file.T1547.001 · Registry Run Keys / Startup FolderThe first PowerShell script registers a value under the current user's Run registry key to execute the stored script at login.T1566.001 · Spearphishing AttachmentThe phishing email disguises a malicious DOCX attachment as a purchase-order confirmation request.
CVE
Malware
Products
Equation EditorSubsequently, an OLE object that exploits CVE-2017-11882—a known vulnerability in the Equation Editor—performs command execution on the VBS file.PowerShellIt also executes the first-stage PowerShell script embedded within it.WordWhen a user downloads and opens the attached DOCX file, a malicious RTF document embedded within the Word file is executed by exploiting Word’s “Import Content from Another Document (altChunk)” feature, as shown in
