Malicious Office (OLE) — malware analysis report

Static analysis result for SHA-256 8017a07f03965d94…

MALICIOUS

Office (OLE)

712.5 KB Created: 2021-07-14 08:38:23 Authoring application: Microsoft Excel
MD5: 01db26749ca18d3d1cadcdb367ac18ca SHA-1: 6eb78092e667f7375177e5da42bd302a4e00c670 SHA-256: 8017a07f03965d9490f9cdbba68ff3a3580441ca0e76b140f1e4bb939c4073b3
416 Risk Score

Malware Insights

MITRE ATT&CK
T1059.005 Visual Basic T1203 Exploitation for Client Execution

The Workbook_Open macro iterates through cells in Sheet1, concatenates their values into a string, and writes this string to a file named 'qDialogPrint.sct' in the ALLUSERSPROFILE directory. It then uses mshta.exe to execute this script. The document body contains a fake invoice lure, which is consistent with the SE_INVOICE_LURE heuristic. The script's execution via mshta.exe suggests it is likely JavaScript or a similar scripting language, which is then executed.

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