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

Static analysis result for SHA-256 e90774e7f436b5ee…

MALICIOUS

Office (OOXML) / .XLSM

51.4 KB Created: 2020-02-01 18:28:07 UTC Authoring application: Microsoft Excel 12.0000
MD5: 71e8f53e968a9633890262c2088625c0 SHA-1: 6f82be371f00c957547ee8c8ff9d72fb31378d2c SHA-256: e90774e7f436b5ee1fa2374fce62e6d4515f06f77e3d466af94cde82d62eb281
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 T1566 Phishing T1566.001 Phishing: Spearphishing Attachment

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. This exploit attempts to execute a command-line stager: 'cmd /k REn %tmp%\qv&wsCRIpT %tmp%\v?.wsf'. The presence of the Equation Editor exploit and the VBA auto-execution strongly indicate a malicious dropper designed 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: 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
f29f0e9e535bc637491a11a9126434868c9e31e3f335eca79274cd2589cca82d
vba-macro oletools.olevba.extract_macros (decoded VBA source from OOXML) 20986 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
509828e962babb9f383dd8ac2e56c55a4a1747019a6406152e4e66bdad4f0225
ooxml-ole-object OOXML embedded OLE part: xl/embeddings/oleObject3.bin 5936 bytes
ooxml_oleobject_01.bin
ee7edf778baa6107d470d854a400e9d148aa9fd97e4776f39a13b8298bd42d02
ooxml-ole-object OOXML embedded OLE part: xl/embeddings/oleObject2.bin 15872 bytes
ooxml_oleobject_01_ole10native_00.bin
d0a7a93805c70cc7e7b01b211f441912af92be9e9045c453f67d20437321329b
ole-package OOXML xl/embeddings/oleObject2.bin Ole10Native stream: Ole10Native 12870 bytes
ooxml_oleobject_02.bin
35bba1a9790b1f63c0d1fba77923b84b962a8bb2ff476552277559ea58a4b3d4
ooxml-ole-object OOXML embedded OLE part: xl/embeddings/oleObject1.bin 13312 bytes
ooxml_oleobject_02_ole10native_00.bin
1d83e08c2dae80083ee45ebb95d35bc6056528139cc45e4aab7531eaa03a6ea9
ole-package OOXML xl/embeddings/oleObject1.bin Ole10Native stream: Ole10Native 10323 bytes
ooxml_oleobject_03.bin
a5a8c34eafc3a0f9b6543982ce1ff0cd82fb2162ac3983f446b8cf94d60cfcd2
ooxml-ole-object OOXML embedded OLE part: xl/vbaProject.bin 50176 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