Malicious Office (OOXML) — malware analysis report

Static analysis result for SHA-256 c54b7c1af5287887…

MALICIOUS

Office (OOXML)

42.1 KB Created: 2021-06-22 12:43:05 UTC Authoring application: Microsoft Excel 16.0300
MD5: 62e4b90d2f78bcff1b1f119210f85ef2 SHA-1: 67ccad129cc5fd331f039ae8c861ff40e62b26be SHA-256: c54b7c1af5287887b7e46e34126929de4d0841cbc12a2892a957fff06ef31c19
260 Risk Score

Malware Insights

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

The file contains a Workbook_Open macro, a common technique for executing malicious code upon opening an Office document. The VBA code references PowerShell and cmd.exe, and critically uses WMI (Win32_Process.Create) to launch a process. This indicates the macro's intent is to execute a secondary payload, likely PowerShell, to further compromise the system. The VBA code itself appears to contain Base64 decoding logic, suggesting it's used to obfuscate the actual command or 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
8ed3eee552814212c2623ebe9c18588c500474d4bbdd98b8301e9b70edcd844b
vba-macro oletools.olevba.extract_macros (decoded VBA source from OOXML) 36024 bytes
vbaProject_00.bin
f702fc3a4d44bec117ec1e8141c1a476cbade94b047711790414c0837d60370d
vba-project OOXML VBA project: xl/vbaProject.bin 11776 bytes