Malicious Office (OLE) — malware analysis report

Static analysis result for SHA-256 597acdbd9c82dae6…

MALICIOUS

Office (OLE)

709.0 KB Created: 2021-07-14 08:38:23 Authoring application: Microsoft Excel
MD5: 7e497ff5b880f90757b670a0a42c87ec SHA-1: 496b20dddd0f177b1a804f5c6139b9d3e9af0a34 SHA-256: 597acdbd9c82dae6fcc4837befe1354c1d2b9f3aa45e599d8453748fc3e83ed7
416 Risk Score

Malware Insights

MITRE ATT&CK
T1059.005 Visual Basic T1203 Exploitation for Client Execution T1566.001 Spearphishing Attachment

The sample is an Excel document containing VBA macros. The Workbook_Open macro iterates through cells in Sheet1, concatenates their values into a string, writes this string to a file named 'qCellTypeSameFormatConditions.sct' in the ALLUSERSPROFILE directory, and then executes this script using mshta. This indicates the document is designed to download and execute 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
b928cdcce2e33bd2246eefd81475a565e406e667874aa42ed3600a2098e7b089
vba-macro oletools.olevba.extract_macros (decoded VBA source) 1329 bytes