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

Static analysis result for SHA-256 c8af77bd053b3e9c…

MALICIOUS

Office (OOXML) / .XLSM

52.8 KB Created: 2020-02-01 18:28:07 UTC Authoring application: Microsoft Excel 12.0000
MD5: eaa7ea779ae8e72799da5a7330514ff8 SHA-1: aa58eb132263a9eee8e2deb2d038b8c57b58e944 SHA-256: c8af77bd053b3e9c8723653741028b57b6e5f36632257811a39c3a3a1e95593c
320 Risk Score

Malware Insights

MITRE ATT&CK
T1204.002 Malicious File: User Execution T1566.001 Phishing: Spearphishing Attachment T1059.005 Command and Scripting Interpreter: Visual Basic

The file is an XLSM document 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 Equation Editor's native stream contains a command that executes a script from the temporary directory, indicating a downloader or dropper functionality.

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: Doc.Dropper.Detected-9977031-0 critical CLAMAV_DETECTION
    ClamAV detected this file as malware: Doc.Dropper.Detected-9977031-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
877b168d99c5f05c7e6db0011568308ac44ace7c4cc02633c483450ef5ef2e73
vba-macro oletools.olevba.extract_macros (decoded VBA source from OOXML) 30410 bytes
Detection
ClamAV: No threats found
Obfuscation or payload: likely
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
bcd032a8b64a8c436729231a68da30739e9930fe9bd156d82d687bb5341e97fd
ooxml-ole-object OOXML embedded OLE part: xl/embeddings/oleObject1.bin 13312 bytes
ooxml_oleobject_00_ole10native_00.bin
c182efae4115baf6d9aec6f0e1b7809101c9739f25581b7b6bb0481c995818b4
ole-package OOXML xl/embeddings/oleObject1.bin Ole10Native stream: Ole10Native 10284 bytes
ooxml_oleobject_01.bin
0f78f98159e54b5bcbb01b72e8ecd97b0de2a376891d58b3f7123d72351de2e5
ooxml-ole-object OOXML embedded OLE part: xl/embeddings/oleObject2.bin 15360 bytes
ooxml_oleobject_01_ole10native_00.bin
dee7fdcbe8511797ad719e11e4bed8d1992bce27d2a6a5474a16741d455bcb50
ole-package OOXML xl/embeddings/oleObject2.bin Ole10Native stream: Ole10Native 12538 bytes
ooxml_oleobject_02.bin
d6d8a115ea1dd0a432d45d6884fe6c923b8f2ed047a4c9aa8d4eabeddbea96df
ooxml-ole-object OOXML embedded OLE part: xl/embeddings/oleObject3.bin 5936 bytes
ooxml_oleobject_03.bin
14c68286b43c90ea97c1fabc3cb08e4ca891ffebc94329961800b2ed2fe0e188
ooxml-ole-object OOXML embedded OLE part: xl/vbaProject.bin 57344 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