Malicious Office (OLE) — malware analysis report

Static analysis result for SHA-256 9af4d082d528b088…

MALICIOUS

Office (OLE)

659.0 KB Created: 2018-07-26 00:26:51 Authoring application: Microsoft Excel
MD5: 0b2f7083ce53cfa4fdd59ebeb6cc52a7 SHA-1: 07a8b1eaf77b6b4b77cca8933678b3bd807d6d4b SHA-256: 9af4d082d528b08891e09cce9fb40a66f8414f6e2a71bf2e90a721262584b169
296 Risk Score

Malware Insights

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

The Workbook_Open macro is heavily obfuscated and uses CreateObject to write a script to disk and then execute it using mshta. The script is constructed from concatenated strings and environment variables, making it difficult to fully reconstruct without dynamic analysis. The presence of invoice-related text suggests a lure for the user to enable macros.

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