Malicious Office (OOXML) — malware analysis report

Static analysis result for SHA-256 6ad79271fa280a24…

MALICIOUS

Office (OOXML)

88.5 KB Created: 2001-12-21 16:06:12 UTC Authoring application: Microsoft Excel 12.0000
MD5: 95df1208416c71e1e07ec1c3dd575ac3 SHA-1: fbccb31ef5f5aad01edecac91de3c0b67d17b0a4 SHA-256: 6ad79271fa280a240b7861fd9265e72e9e29cfddf4abed957dc52ea4b014e8e3
236 Risk Score

Malware Insights

MITRE ATT&CK
T1059.005 Visual Basic T1566.001 Spearphishing Attachment T1203 Exploitation for Client Execution

The sample is an Excel document containing a Workbook_Open macro that uses the Shell() function to execute a command. The document body contains text related to invoices, and heuristics indicate a lure to enable macros and a lure for clipboard command execution. The VBA script constructs a string by concatenating characters derived from cell values, which is then written to a file and executed using mshta. This indicates a macro-based downloader attempting to execute a second-stage payload.

Heuristics 8

  • Shell() call in VBA critical OLE_VBA_SHELL
    Shell() call in VBA
  • Workbook_Open macro high OLE_VBA_WBOPEN
    Workbook_Open macro
  • 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 project inside OOXML medium OOXML_VBA
    Document contains a VBA project — VBA macros present
  • Macro/content-enable lure medium SE_ENABLE_LURE
    Document instructs the user to enable macros or editing — a common technique used by malware droppers to bypass Office macro security settings
  • 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 2

Files carved from inside the sample during analysis.

FilenameKindSourceSize
macros.bas
7fa0f046919682567a8b79ceb428e450e33ffd22992c31e53ee845c945154ffe
vba-macro oletools.olevba.extract_macros (decoded VBA source from OOXML) 1898 bytes
vbaProject_00.bin
95abf2071aa1ead108c55269033e36874bd6fcde0bf622d933bb84f0b61edeaf
vba-project OOXML VBA project: xl/vbaProject.bin 13824 bytes