Malicious Office (OLE) — malware analysis report

Static analysis result for SHA-256 1082724aab36b71b…

MALICIOUS

Office (OLE)

713.5 KB Created: 2021-07-14 08:38:23 Authoring application: Microsoft Excel
MD5: f21da7e3e7593be2c70759c67c95bb66 SHA-1: 7c404193ea15880cd26f1d55dcd6ff392662275a SHA-256: 1082724aab36b71b4dc71685776a7c8f5069dd4c269e514eed362af80e1e1450
456 Risk Score

Malware Insights

MITRE ATT&CK
T1059.005 Visual Basic T1204.002 Malicious File T1566.001 Spearphishing Attachment

The sample is an Excel document containing a Workbook_Open VBA macro. This macro iterates through cells in Sheet1, concatenates values into a string, writes this string to a file named 'qClipboardFormatStandardScale.sct' in the ProgramData directory, and then executes this script using mshta.exe. The document body presents a fake invoice, likely to trick the user into opening the malicious attachment.

Heuristics 12

  • 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.
  • Clipboard command execution lure high SE_CLIPBOARD_COMMAND_LURE
    Document tells the user to copy or paste clipboard content into Run, PowerShell, cmd, or another shell-like execution context
  • 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
7cdd3ef3a178167c571bb0edc56003d29d4c404b6e8c114880175f04eaf5e39c
vba-macro oletools.olevba.extract_macros (decoded VBA source) 1343 bytes