Malicious Office (OLE) — malware analysis report

Static analysis result for SHA-256 c7ee52bed09b6234…

MALICIOUS

Office (OLE)

660.0 KB Created: 2018-07-26 00:26:51 Authoring application: Microsoft Excel
MD5: f70346d437f79aed8085934da8051603 SHA-1: 6293138e17910fe92b1a5094cd3c5489fd328360 SHA-256: c7ee52bed09b62343a0a239526ff58285cd2d67ff2b598455b32c7e8721e559d
296 Risk Score

Malware Insights

MITRE ATT&CK
T1059.005 Visual Basic T1204.002 Malicious File

The sample is a malicious Excel document containing an obfuscated Workbook_Open VBA macro. This macro uses CreateObject to write a script to a file path constructed from environment variables and then executes it using mshta.exe. The script itself is too obfuscated to fully determine its actions, but the presence of Wscript.Shell and mshta.exe references indicates an attempt to download and execute a second-stage payload.

Heuristics 9

  • Obfuscated auto-exec VBA loader critical OLE_VBA_OBFUSCATED_AUTOEXEC_LOADER
    Auto-exec VBA reconstructs strings with a heavy custom decoder (numeric char-array, repeated hex-string decode, or junk-token Replace removal) and feeds them to a COM-instantiation or execution sink. This obfuscated-loader shape keeps CreateObject/Shell/URL indicators out of the macro source.
  • 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
d341fb49ab7ec5a81e0ec7e0dc231137f305d336b7488dcbe01b5f44b3e8ae58
vba-macro oletools.olevba.extract_macros (decoded VBA source) 1177 bytes