Malicious Office (OLE) — malware analysis report

Static analysis result for SHA-256 4c56a5a7e49b23fc…

MALICIOUS

Office (OLE)

711.5 KB Created: 2021-07-14 08:38:23 Authoring application: Microsoft Excel
MD5: 0d3e86171d4980d63304aa3a12c74c45 SHA-1: eea7d73a46c9d2c9826e63f634a044a986659b67 SHA-256: 4c56a5a7e49b23fcfab4b8d469d42e583497178b9b237374db3e14289f2afc64
416 Risk Score

Malware Insights

MITRE ATT&CK
T1059.005 Visual Basic T1218.005 Signed Binary Proxy Execution: Mshta T1566.001 Spearphishing Attachment

The Excel document contains a Workbook_Open macro that iterates through cells in Sheet1, concatenating values to form a string. This string is then written to a file named 'qDialogPivotTableWizard.sct' in the ALLUSERSPROFILE directory and executed using mshta.exe. The 'SE_INVOICE_LURE' heuristic and the document body content indicate a fake invoice lure. The VBA macro's use of CreateObject("Scripting.FileSystemObject") and Wscript.Shell (.Exec) to write and execute a file strongly suggests it's a downloader for a second-stage payload.

Heuristics 11

  • Shell() call in VBA critical OLE_VBA_SHELL
    Shell() call in VBA
  • WScript.Shell usage critical OLE_VBA_WSCRIPT
    WScript.Shell usage
  • LOLBin reference in VBA critical OLE_VBA_LOLBIN
    LOLBin reference in VBA
  • Reference to Windows Script Host high SC_STR_WSCRIPT
    Reference to Windows Script Host
  • Reference to mshta.exe high SC_STR_MSHTA
    Reference to mshta.exe
  • Workbook_Open macro high OLE_VBA_WBOPEN
    Workbook_Open macro
  • CreateObject call high OLE_VBA_CREATEOBJ
    CreateObject call
  • VBA p-code auto-exec with execution tokens high OLE_VBA_PCODE_AUTOEXEC_EXEC
    Compiled VBA/cache stream contains an auto-execution token together with shell/download/object-execution tokens. This catches p-code-only or source-extraction-failure macro documents where visible source is unavailable.
  • VBA macros detected medium OLE_VBA_MACROS
    Document contains VBA macro code
  • Environ() call (env variable access) low OLE_VBA_ENVIRON
    Environ() call (env variable access)
  • Fake invoice / payment lure low SE_INVOICE_LURE
    Document contains invoice or payment language paired with an action verb — useful context when combined with link, macro, or attachment indicators

Extracted artifacts 1

Files carved from inside the sample during analysis.

FilenameKindSourceSize
macros.bas
aa124e2856643ade951bdc29e890261a2976427ceec4e16d479bcc5645bde1ab
vba-macro oletools.olevba.extract_macros (decoded VBA source) 1311 bytes