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

Static analysis result for SHA-256 f2ec450464cb1a15…

MALICIOUS

Office (OOXML) / .XLSM

48.6 KB Created: 2020-02-01 18:28:07 UTC Authoring application: Microsoft Excel 12.0000
MD5: 41a86550f04f86482808539e335d9f37 SHA-1: f7fb9546917db1c7a46fd2dc78a948bf59188b67 SHA-256: f2ec450464cb1a15e5cf2d584a63115b6eb0421cf889447a5fddb584db60f73c
320 Risk Score

Malware Insights

MITRE ATT&CK
T1204 Malicious File Execution T1204.002 Malicious File Execution: Malicious File T1059 Command and Scripting Interpreter 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 executes `cmd /c ren %tmp%\mm v&WScRIPT %tmp%\v?..wsf ..C...`. This indicates the file's primary purpose is to download and execute 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.Dropper.Sdrop-9451844-0 critical CLAMAV_DETECTION
    ClamAV detected this file as malware: Xls.Dropper.Sdrop-9451844-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
b59f3c25514b4611c7180a93f6ea08de6f9a6f3ff25c7fdc696b97634e02eaf0
vba-macro oletools.olevba.extract_macros (decoded VBA source from OOXML) 29236 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
671c85466cdb8a263da36abdd94134735f4b2a2eff366a56f630d015322c0f7c
ooxml-ole-object OOXML embedded OLE part: xl/embeddings/oleObject3.bin 5936 bytes
ooxml_oleobject_01.bin
3cd86ac88e52364046d1b05e71bf442ee1fb10642bd87642da79b8a1efd16ece
ooxml-ole-object OOXML embedded OLE part: xl/embeddings/oleObject2.bin 12800 bytes
ooxml_oleobject_01_ole10native_00.bin
55f3ea5519ff4f8b9a34c6b761f3e27cdf8ce8ae9ea36da26292d2ef3a896e70
ole-package OOXML xl/embeddings/oleObject2.bin Ole10Native stream: Ole10Native 10205 bytes
ooxml_oleobject_02.bin
df1b8f667f31a5b25f91257d3dae1cd6691dbcb8bf54e6e915384e1a79f24ec6
ooxml-ole-object OOXML embedded OLE part: xl/embeddings/oleObject1.bin 3584 bytes
ooxml_oleobject_02_ole10native_00.bin
56fc5dcef6ff07d4be955fd8a78580ec0f16d8e50dbe9d700b72ba9f09b62e60
ole-package OOXML xl/embeddings/oleObject1.bin Ole10Native stream: Ole10Native 1281 bytes
ooxml_oleobject_03.bin
67af16a9c1793b957ef7f32ee32972a02aefc206f26d16d61e5a5da014c7422b
ooxml-ole-object OOXML embedded OLE part: xl/vbaProject.bin 52736 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