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

Static analysis result for SHA-256 b502425627ea4130…

MALICIOUS

Office (OOXML) / .XLSM

47.0 KB Created: 2020-02-01 18:28:07 UTC Authoring application: Microsoft Excel 12.0000
MD5: 98733240067dad6783ceb7a08997da8f SHA-1: 7832d8367746e9d6433400af523863c48ada5493 SHA-256: b502425627ea41306dea44e07fdbba094a50cfef60bf0bf8db9b3ef033b8b7ea
320 Risk Score

Malware Insights

MITRE ATT&CK
T1204 Malicious File Execution T1059 Command and Scripting Interpreter T1059.003 Windows Command Shell T1566.001 Spearphishing Attachment

The presence of an Auto_Open macro and the critical CVE-2017-11882 Equation Editor exploit indicate the document is designed to automatically execute a malicious payload upon opening. The exploit leverages a command stager, evidenced by the `cmd /c ren %tmp%\mm v&cSCRIpT %tmp%\v..wsf` command, which likely decodes and executes a secondary payload. The embedded VBA macro `macros.bas` and the OLE object further support the malicious intent.

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-8176608-0 critical CLAMAV_DETECTION
    ClamAV detected this file as malware: Xls.Malware.Generic-8176608-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
c7af67f48785592a29dad77fb0ee0ba82a4ee619ee188049cb26ac39bab4003c
vba-macro oletools.olevba.extract_macros (decoded VBA source from OOXML) 25028 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
aa7d5320383731b056c17aa344da4afaffb0d16dddc7496ef9550677e07c9b7d
ooxml-ole-object OOXML embedded OLE part: xl/embeddings/oleObject1.bin 3584 bytes
ooxml_oleobject_00_ole10native_00.bin
6530464814e5b1dce7c9fbfa3ac504ae72e8b8751b72a64be45fe1a5bd78ed57
ole-package OOXML xl/embeddings/oleObject1.bin Ole10Native stream: Ole10Native 1240 bytes
ooxml_oleobject_01.bin
464959801baf4a495a984dfab3d2962d78f7134048272e31cd1697e25d88b8b7
ooxml-ole-object OOXML embedded OLE part: xl/embeddings/oleObject3.bin 5936 bytes
ooxml_oleobject_02.bin
4eda664842070a1c1accecc959903136471aba2cc2adacd03a87099f913c2f99
ooxml-ole-object OOXML embedded OLE part: xl/embeddings/oleObject2.bin 12800 bytes
ooxml_oleobject_02_ole10native_00.bin
5d7765e10aa475c75d2de3151182e3f2778b727d206f690eb4c8570f1804d06c
ole-package OOXML xl/embeddings/oleObject2.bin Ole10Native stream: Ole10Native 9790 bytes
ooxml_oleobject_03.bin
c41798eaec6c2e0bd64598e2e7d8e7e3d14210ca2600800b333af7ca34ce02ff
ooxml-ole-object OOXML embedded OLE part: xl/vbaProject.bin 44032 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