Malicious Office (OOXML) — malware analysis report

Static analysis result for SHA-256 bbca8b4d07913d54…

MALICIOUS

Office (OOXML)

41.8 KB Created: 2021-06-22 12:43:05 UTC Authoring application: Microsoft Excel 16.0300
MD5: 220c4329cad5477e4cdaf91f654561e4 SHA-1: ef72126be003539219cfd0fc82bf57ec4ae6817e SHA-256: bbca8b4d07913d540d583362e62c1bab9f89b11548caa0d2d675ca1c11ff66b1
260 Risk Score

Malware Insights

MITRE ATT&CK
T1059.005 Visual Basic T1059.001 PowerShell T1204.002 Malicious File T1566.001 Spearphishing Attachment

The file contains a Workbook_Open macro that references PowerShell and cmd.exe. Critical heuristics indicate the VBA code uses GetObject and CreateObject to launch a Win32_Process via WMI. This strongly suggests the macro is designed to execute a second-stage payload, likely PowerShell, to further compromise the system. The obfuscated VBA code, including a Base64 decoding function, is typical of malware attempting to evade detection.

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
52ba5726e7158e93a50c3829771a2817934519b910985f6b196555036bd420ba
vba-macro oletools.olevba.extract_macros (decoded VBA source from OOXML) 35389 bytes
vbaProject_00.bin
d9609ab1f25e6860d443f856a8f8816fbf1803c61095254c3af8b24193f73a99
vba-project OOXML VBA project: xl/vbaProject.bin 11776 bytes