Malicious Office (OLE) — malware analysis report

Static analysis result for SHA-256 049c1872e0355d76…

MALICIOUS

Office (OLE)

711.0 KB Created: 2021-07-14 08:38:23 Authoring application: Microsoft Excel
MD5: a7575dcc4c5a83b20e7be92429e5fff3 SHA-1: e2c5d88b7b61f219edd229065ba0f17aa7edfec9 SHA-256: 049c1872e0355d768fab2bdbb1759527ff8074e0be5652f6fbada81d23f705fe
416 Risk Score

Malware Insights

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

The sample is an Excel document containing a Workbook_Open VBA macro. This macro iterates through cells in Sheet1, concatenates their values into a string, and writes this string to a file named 'qTickLabelPositionLow.sct' in the 'C:\ProgramData' directory. It then uses 'mshta.exe' to execute this script. This indicates the document is designed to download and execute a second-stage payload, leveraging the 'mshta' LOLBin for execution.

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
852fb87aa89526a58d33cfc1338f5cc7fff1cc90ebd84edc44aba43b9ce80c80
vba-macro oletools.olevba.extract_macros (decoded VBA source) 1316 bytes