Malicious Office (OOXML) — malware analysis report

Static analysis result for SHA-256 b03ec43fc2281da6…

MALICIOUS

Office (OOXML)

42.1 KB Created: 2021-06-22 12:43:05 UTC Authoring application: Microsoft Excel 16.0300
MD5: 0aaa6b20bf8ebad0ee481f776dca661e SHA-1: e801ee5234f1697d7d833edd85f78a79cda9c47a SHA-256: b03ec43fc2281da6fd5a9bcf3267185e1e96136fd56f38c9a84d9f3bf024dedc
260 Risk Score

Malware Insights

MITRE ATT&CK
T1059.005 Visual Basic T1059.001 PowerShell T1204.002 Malicious File T1566.001 Spearphishing Attachment T1087.001 Local Accounts T1059.003 Windows Command Shell

The file contains a Workbook_Open VBA macro that is designed to execute obfuscated code. This code references cmd.exe and GetObject, and critically uses WMI to launch a process. The VBA script also references PowerShell, indicating a likely multi-stage attack where PowerShell is used to download and execute a secondary payload. The presence of a Workbook_Open macro and the use of PowerShell strongly suggest a malicious document intended for initial compromise via spearphishing.

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
757145e463b6cc832987da3589dc762746888023b854bf86a083fbb384b6fef9
vba-macro oletools.olevba.extract_macros (decoded VBA source from OOXML) 36126 bytes
vbaProject_00.bin
9a7b34f3a9f67223c84ad10318e2b5b3b87d31fcc4d4604334512f003adaaf3f
vba-project OOXML VBA project: xl/vbaProject.bin 11776 bytes