Malicious Office (OOXML) / .XLSM — malware analysis report

Static analysis result for SHA-256 2e804e01b16ef71c…

MALICIOUS

Office (OOXML) / .XLSM

45.9 KB Created: 2020-02-01 18:28:07 UTC Authoring application: Microsoft Excel 12.0000
MD5: ecd760bcaa980ee203be6ac8504a8120 SHA-1: 5fe2d3685022dfc7e22b0631adfe58844fb57cd7 SHA-256: 2e804e01b16ef71c8be40399948c4cb586766501474ba8e196b82de3728eee7c
320 Risk Score

Malware Insights

MITRE ATT&CK
T1204.002 User Execution: Malicious File T1559.002 Component Object Model Hijacking T1059.003 Command and Scripting Interpreter: Windows Command Shell

The sample is an XLSM file containing VBA macros, including an Auto_Open macro, which is a common delivery mechanism. It exploits CVE-2017-11882 through an embedded Equation Editor object. The embedded object contains a command stager that attempts to execute 'cmd /c ren %tmp%\zz v&cScripT %tmp%\v?..wsf ..C', indicating it likely downloads and executes a second-stage payload.

Heuristics 8

  • CVE-2017-11882 — Equation Editor command stager critical CVE likely CVE_2017_11882_EQUATION_NATIVE_CMD
    Embedded Equation Editor OLE data contains an invalid Equation Native/MTEF stream with an embedded command stager. This is likely CVE-2017-11882 exploitation because the vulnerable Equation Editor component is reached and the malformed native stream directly carries process-launch bytes.
  • Equation Editor OLE object high CVE related OLE_EQUATION_EDITOR
    Embedded OLE object xl/embeddings/oleObject3.bin contains the Equation Editor CLSID, the legacy component exploited by CVE-2017-11882, CVE-2018-0802, and CVE-2018-0798.
  • ClamAV: Xls.Malware.Generic-8058593-0 critical CLAMAV_DETECTION
    ClamAV detected this file as malware: Xls.Malware.Generic-8058593-0
  • Auto_Open macro high OLE_VBA_AUTO
    Auto_Open macro
  • CreateObject call high OLE_VBA_CREATEOBJ
    CreateObject call
  • Suspicious extracted artifact high EXTRACTED_FILE_STATIC_TRIAGE
    One or more files extracted from inside this sample matched static suspicious-content checks such as script obfuscation, encoded payload blobs, packed data, or execution/download terms.
  • VBA project inside OOXML medium OOXML_VBA
    Document contains vbaProject.bin — VBA macros present
  • Embedded OLE object medium OOXML_OLE_OBJECT
    Document contains an embedded OLE object

Extracted artifacts 9

Files carved from inside the sample during analysis.

FilenameKindSourceSize
macros.bas
b3eeab8500ce068e097e828da7b0c4363950fdf665417d77b0ad580e6413db7b
vba-macro oletools.olevba.extract_macros (decoded VBA source from OOXML) 21997 bytes
Detection
ClamAV: No threats found
Obfuscation or payload: likely
Carved artifact contains 1 eval/decoder/string-building token(s). Carved artifact contains 1 long base64-like blob(s). Carved macro source contains an auto-exec entry point and execution/download terms.
ooxml_oleobject_00.bin
1d1c1bac71be057d5b1b375e1f5909cb2700b43c24eedca0d67c9d7aecc64c5c
ooxml-ole-object OOXML embedded OLE part: xl/embeddings/oleObject2.bin 12288 bytes
ooxml_oleobject_00_ole10native_00.bin
821916df38fbece0788fccb280b093cce6b95d2e706634253e24690007400d1f
ole-package OOXML xl/embeddings/oleObject2.bin Ole10Native stream: Ole10Native 9365 bytes
ooxml_oleobject_01.bin
34c62d7efb0cd8a5530883751abcb747feed6a801f0faa6dae06ac2c6fb5b89a
ooxml-ole-object OOXML embedded OLE part: xl/embeddings/oleObject1.bin 3584 bytes
ooxml_oleobject_01_ole10native_00.bin
d99c181abf8b5977a8477fba0a081b3da9352dfd157ec3932f34ab5986dd0a0b
ole-package OOXML xl/embeddings/oleObject1.bin Ole10Native stream: Ole10Native 1311 bytes
ooxml_oleobject_02.bin
96d3b52fc3a0d8ce2f54074934ddfbf668f92423f1d1580bdfe8d36e263859a8
ooxml-ole-object OOXML embedded OLE part: xl/embeddings/oleObject3.bin 5936 bytes
ooxml_oleobject_03.bin
a3a2baf8bc7d9de92ee9d022248490606b60a9bb60c5c7663b5079d1c20ae926
ooxml-ole-object OOXML embedded OLE part: xl/vbaProject.bin 38400 bytes
emf_00.emf
979dde2aed02f077c16ae53546c6df9eed40e8386d6db6fc36aee9f966d2cb82
ooxml-emf OOXML EMF part: xl/media/image1.emf 4968 bytes
emf_01.emf
4d4d1e7b04c99dcb8e885915068ad6f74cc2333e91580cdae5ccaa00c427247f
ooxml-emf OOXML EMF part: xl/media/image2.emf 1536 bytes