Malicious Office (OOXML) — malware analysis report

Static analysis result for SHA-256 a92452f0db9e35b6…

MALICIOUS

Office (OOXML)

42.1 KB Created: 2021-06-22 12:43:05 UTC Authoring application: Microsoft Excel 16.0300
MD5: 7c4a64c3b18bb5b0b327f6dda0673bb5 SHA-1: 7a02b6153d8c65ea6ef5b94093203b9734320cd7 SHA-256: a92452f0db9e35b6f4db8a407b8f779e296075cb3528ab63367db1d9ef459e8d
260 Risk Score

Malware Insights

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

The file is an Office document containing VBA macros. The Workbook_Open macro is present and references cmd.exe and PowerShell, indicating an attempt to execute external commands. Specifically, the VBA code uses GetObject to instantiate Win32_Process via WMI, a common technique for launching processes, likely to download and execute a second-stage payload. The Base64 decoding function suggests obfuscated code is being used.

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
72e6c5b1780cf8f59c9d4b2393962168b1b5cb212ac512a62bbf8e161040943f
vba-macro oletools.olevba.extract_macros (decoded VBA source from OOXML) 36318 bytes
vbaProject_00.bin
32b116d4d52c34e1e62cce55993652af8f1c83ae23adef75987e735bc423754c
vba-project OOXML VBA project: xl/vbaProject.bin 11776 bytes