Malicious Office (OOXML) — malware analysis report

Static analysis result for SHA-256 ce7d71876df99db3…

MALICIOUS

Office (OOXML)

42.3 KB Created: 2021-06-22 12:43:05 UTC Authoring application: Microsoft Excel 16.0300
MD5: 6f34314a8a8f1b01b94804cf42389257 SHA-1: 6c8e40eca3b348117b371097c4784855ef1776b3 SHA-256: ce7d71876df99db3a4bd9e2674cd63a75dfc37705def14ec67ce1d2117e653d0
260 Risk Score

Malware Insights

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

The OOXML document contains a Workbook_Open macro, a common technique for initial execution. The VBA code references cmd.exe and uses WMI (Win32_Process.Create) to launch processes, indicating an intent to execute arbitrary commands. The presence of a PowerShell reference further suggests the execution of external scripts or commands. The VBA code also contains obfuscated Base64 decoding, likely to hide the second-stage 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
a3b338899cdfb5e00c6ca4b664368ae4720bd73fa6a10aa3f56a12e78e6703f5
vba-macro oletools.olevba.extract_macros (decoded VBA source from OOXML) 36714 bytes
vbaProject_00.bin
04ac809bfa0d0f1a3b86cfeac888bdcb1e8b39808c3c3ab2ac3e8648d3788301
vba-project OOXML VBA project: xl/vbaProject.bin 11776 bytes