Malicious Office (OOXML) — malware analysis report

Static analysis result for SHA-256 c362c8f8f21ef5f4…

MALICIOUS

Office (OOXML)

42.1 KB Created: 2021-06-22 12:43:05 UTC Authoring application: Microsoft Excel 16.0300
MD5: 3d3d4c8d5136c186e7b266f8ab25ffff SHA-1: eb32f6bdc0ff5f4a23045933ba25fb0cdec35789 SHA-256: c362c8f8f21ef5f497681eb8abb49b5fc7bb966b3b4188ed3095709df89ee5da
260 Risk Score

Malware Insights

MITRE ATT&CK
T1059.005 Visual Basic T1059.001 PowerShell T1218.010 System Binary Proxy Execution: PowerShell T1059.003 Windows Command Shell T1218.003 System Binary Proxy Execution: Windows Management Instrumentation

The sample is an Excel document containing a Workbook_Open macro. This macro uses GetObject and CreateObject to launch a WMI process, which then executes cmd.exe. The cmd.exe process is used to launch a PowerShell command, indicating a multi-stage execution chain likely designed to download and execute a secondary payload.

Heuristics 6

  • PowerShell reference in VBA critical OLE_VBA_PS
    PowerShell reference in VBA
  • VBA WMI Win32_Process launcher critical OLE_VBA_WMI_PROCESS_CREATE
    VBA macro builds or references a WMI moniker for Win32_Process and invokes .Create to start a command. This is a high-confidence macro execution chain that often hides the WMI class name through string concatenation or helper functions.
  • Workbook_Open macro high OLE_VBA_WBOPEN
    Workbook_Open macro
  • GetObject call high OLE_VBA_GETOBJ
    GetObject call
  • cmd.exe reference in VBA high OLE_VBA_CMD
    cmd.exe reference in VBA
  • VBA project inside OOXML medium OOXML_VBA
    Document contains a VBA project — VBA macros present

Extracted artifacts 2

Files carved from inside the sample during analysis.

FilenameKindSourceSize
macros.bas
49cd98bef1a8006cfb18f998549910d79e39a41365f447a176e6fb40e1ffe071
vba-macro oletools.olevba.extract_macros (decoded VBA source from OOXML) 36148 bytes
vbaProject_00.bin
e55541215627e12371c142a002ac0221c2dacb675be6e73e21fab4549af7d1a2
vba-project OOXML VBA project: xl/vbaProject.bin 11776 bytes