Malicious Office (OOXML) — malware analysis report

Static analysis result for SHA-256 d6a36cff033af848…

MALICIOUS

Office (OOXML)

42.2 KB Created: 2021-06-22 12:43:05 UTC Authoring application: Microsoft Excel 16.0300
MD5: 9fad9d85f6038fc25a223f4f57ce15db SHA-1: 0932ef73a58645570b54df273decca26a16d2a3f SHA-256: d6a36cff033af84844c2b2a3bb0d56438bcf5b73f5afa284201c0ecd55e93e70
260 Risk Score

Malware Insights

MITRE ATT&CK
T1059.005 Visual Basic T1059.001 PowerShell T1218.011 System Binary Proxy Execution: Rundll32 T1059.003 Windows Command Shell

The sample contains a Workbook_Open macro that triggers the execution of obfuscated VBA code. This code utilizes GetObject and CreateObject to launch a PowerShell process via WMI's Win32_Process.Create method. This is a common technique for downloading and executing further malicious payloads. The VBA code also references cmd.exe, indicating potential command execution capabilities.

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