Malicious Office (OOXML) — malware analysis report

Static analysis result for SHA-256 ccfb6a4df3ee8667…

MALICIOUS

Office (OOXML)

42.4 KB Created: 2021-06-22 12:43:05 UTC Authoring application: Microsoft Excel 16.0300
MD5: efe6937a32e925c9d0e21e79c96a38f8 SHA-1: 126b2630f45e967661ad584474dada7aa0322cc0 SHA-256: ccfb6a4df3ee8667b6eefdc278f33b606de1bfb18806176209f4ac4d9d614146
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 executes obfuscated VBA code. This code uses WMI to launch cmd.exe, which then executes a PowerShell command. The VBA code also references GetObject, indicating potential for object manipulation or execution of external components. The presence of a Workbook_Open macro and the execution chain via cmd.exe and PowerShell strongly suggest a downloader or initial execution stage for a more complex 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
f37aaf30ad8d9d4211718cdbfcfae1d1517a0b5f50914152f9fc82f8b1261ed8
vba-macro oletools.olevba.extract_macros (decoded VBA source from OOXML) 36300 bytes
vbaProject_00.bin
19fa05d9ede5bde937c72dd2224bf6f932fe5e425f020429fd5396a7e869bc66
vba-project OOXML VBA project: xl/vbaProject.bin 11776 bytes