Malicious Office (OLE) — malware analysis report

Static analysis result for SHA-256 228e051424a84ac7…

MALICIOUS

Office (OLE)

710.5 KB Created: 2021-07-14 08:38:23 Authoring application: Microsoft Excel
MD5: 0f18ed8bbd5eb168a13a5a32ff859682 SHA-1: aed6226da6dc6627b8d8e956a4d62e645dba2dd5 SHA-256: 228e051424a84ac778873e25df5c5a2f37402988e95a40cd9e0befa2d2234ba8
416 Risk Score

Malware Insights

MITRE ATT&CK
T1059.005 Visual Basic T1218.005 Client Execution: Mshta

The sample is an Excel document containing a Workbook_Open VBA macro. This macro iterates through cells in Sheet1, concatenates values into a string, and writes this string to a file named 'qDigitYears.sct' in the user's public profile directory. It then uses 'mshta.exe' to execute this script, which likely downloads and runs a second-stage payload. The invoice lure in the document body, combined with the macro's execution of an external script, indicates a malicious intent to compromise the user's system.

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