Malicious Office (OLE) — malware analysis report

Static analysis result for SHA-256 cdcc50360daab3bd…

MALICIOUS

Office (OLE)

710.5 KB Created: 2021-07-14 08:38:23 Authoring application: Microsoft Excel
MD5: cf1af8277a86596fc04df4adbddb0702 SHA-1: 782bf3d84a0f4432d36f31ae35925de0ef2142f9 SHA-256: cdcc50360daab3bda1f658df5d13f1c205c64cc628a06d4e887fecd84d7c7fcd
416 Risk Score

Malware Insights

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

The Excel file contains a Workbook_Open macro that iterates through cells in Sheet1, concatenates values into a string, and writes this string to a file named 'qWBATExcel4MacroSheet.sct' in the ALLUSERSPROFILE directory. It then uses 'mshta.exe' to execute this script, which likely downloads and runs a second-stage payload. The presence of 'WScript.Shell' and 'CreateObject' calls, along with references to 'wscript.exe' and 'mshta.exe', strongly indicates this malicious behavior.

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
17a294fda74c5a440357b1f0733352e7d829f4b7a8e0e4e9509ad97a6dca969c
vba-macro oletools.olevba.extract_macros (decoded VBA source) 1302 bytes