Malicious Office (OOXML) — malware analysis report

Static analysis result for SHA-256 c3524a15cdd1ba52…

MALICIOUS

Office (OOXML)

42.2 KB Created: 2021-06-22 12:43:05 UTC Authoring application: Microsoft Excel 16.0300
MD5: ea15b3e8957b285d47e1ad9d730d4df8 SHA-1: 4a82373feab5c2e10c6e10395ec7c25147ee4334 SHA-256: c3524a15cdd1ba5289440d5be90770bdd7cbe2ca51035a2ed327a836ad25d6ec
260 Risk Score

Malware Insights

MITRE ATT&CK
T1059.005 Visual Basic T1059.001 PowerShell T1204.002 Malicious File T1106 Native API

The file is an OOXML document containing a Workbook_Open VBA macro. This macro references PowerShell and cmd.exe, and uses WMI to launch a process. The VBA code also contains a Base64 decoding function, suggesting it's used to obfuscate a payload. The primary intent appears to be downloading and executing a 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
2f95834f2f0ace55fab81038c1cc0f14c63dabc5aa2c9c1cb6d3b0deb481aab8
vba-macro oletools.olevba.extract_macros (decoded VBA source from OOXML) 36646 bytes
vbaProject_00.bin
4895fbcb22dedfd6d5fad992c1853a5767bca2a40b216eb7fd31c507d1e76cb4
vba-project OOXML VBA project: xl/vbaProject.bin 11776 bytes