Malicious Office (OLE) — malware analysis report

Static analysis result for SHA-256 5d9c6e1b85b728aa…

MALICIOUS

Office (OLE)

709.5 KB Created: 2021-07-14 08:38:23 Authoring application: Microsoft Excel
MD5: 108bd6abc15acac8fd3d3f23f7b445a7 SHA-1: 697d30e85a82c8fe84c88ecd6427a1f5698955a5 SHA-256: 5d9c6e1b85b728aa57e6afaefe26c1bcc5bb687b061ebae53a166d9453f4fd2c
416 Risk Score

Malware Insights

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

The Excel document contains a Workbook_Open macro that iterates through cells in Sheet1, concatenates values into a string, and writes this string to a file named 'qHtmlStatic.sct' in the AllUsersProfile directory. It then uses WScript.Shell to execute this script via mshta.exe. The document body contains text resembling an invoice, aligning with the 'SE_INVOICE_LURE' heuristic. The script's intent is 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
ffdf703669ba079926d6f7aaaa073ce9336276a6e45e50fef686eb23cf82b8f5
vba-macro oletools.olevba.extract_macros (decoded VBA source) 1299 bytes