Malicious Office (OOXML) — malware analysis report

Static analysis result for SHA-256 af533ed3a158a067…

MALICIOUS

Office (OOXML)

42.1 KB Created: 2021-06-22 12:43:05 UTC Authoring application: Microsoft Excel 16.0300
MD5: 4595fd6873a1dc853ac1fd6bdd2ff9e9 SHA-1: d56092c94cbcb62b8436ee8a6e7db3c3236663b1 SHA-256: af533ed3a158a06777cd586179060e57881aa4eb787ddac6f2bf29bb823423d0
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 VBA macro that references cmd.exe and PowerShell. The macro utilizes GetObject and CreateObject to launch a process via WMI (Win32_Process), indicating an attempt to execute arbitrary commands. This is a common technique for downloading and executing further malicious payloads. The presence of a Workbook_Open macro strongly suggests this file was delivered as a spearphishing attachment.

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