Malicious Office (OLE) — malware analysis report

Static analysis result for SHA-256 0e1667c84a5a5315…

MALICIOUS

Office (OLE)

711.0 KB Created: 2021-07-14 08:38:23 Authoring application: Microsoft Excel
MD5: ab0ba30c618d88e8a9134e0a7c43fc31 SHA-1: 8bf28a52e21ac5a18d35795a4112b2529023628b SHA-256: 0e1667c84a5a53153c9abe4eaafbea3dac07a49ebeb59c79c1e0f830edfea28c
416 Risk Score

Malware Insights

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

This Excel document contains a Workbook_Open VBA macro that iterates through cell values in Sheet1 to construct a string. This string is then written to a file named 'qNotBetween.sct' in the ALLUSERSPROFILE directory. Finally, mshta.exe is used to execute this script, which is a common technique for downloading and executing a second-stage payload. The presence of invoice-related text in the document body further supports a phishing or scam lure.

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