Malicious Office (OOXML) — malware analysis report

Static analysis result for SHA-256 bf20a70f6f8209fe…

MALICIOUS

Office (OOXML)

442.1 KB Created: 2000-04-13 21:48:14 UTC Authoring application: Microsoft Excel 12.0000
MD5: 569fbb328d28f5a07dee54f79561ad2f SHA-1: a9225b0153f8aa6e2980f505a224c94f10d0b8d1 SHA-256: bf20a70f6f8209fe612e5b30d386feed6f2efc24c67c6f9daca80abdaeba7bd6
248 Risk Score

Malware Insights

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

The sample contains a Workbook_Open macro that is obfuscated and uses CreateObject to execute a command. The macro attempts to construct a command line using values from cells and the Environ function, likely to download and execute a second-stage payload. The 'Clipboard command execution lure' heuristic indicates the document explicitly instructs the user to interact with the clipboard and a shell, which is a common social engineering tactic.

Heuristics 7

  • 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.
  • 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.
  • 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
  • Environ() call (env variable access) low OLE_VBA_ENVIRON
    Environ() call (env variable access)

Extracted artifacts 2

Files carved from inside the sample during analysis.

FilenameKindSourceSize
macros.bas
fd82b95528d03619f855f8138163167e75a668f4a31e3f22e48d92ffba67a292
vba-macro oletools.olevba.extract_macros (decoded VBA source from OOXML) 1116 bytes
vbaProject_00.bin
40c9c39ba25671f2054cc576dd1e070bc09c8601de5f077240cbcaa4b47c4b3c
vba-project OOXML VBA project: xl/vbaProject.bin 9216 bytes