Malicious Office (OOXML) — malware analysis report

Static analysis result for SHA-256 db127e98f1e0a1e9…

MALICIOUS

Office (OOXML)

445.2 KB Created: 2000-04-13 21:48:14 UTC Authoring application: Microsoft Excel 12.0000
MD5: cfb7b2dc05aafec6a93caab5c4727bd9 SHA-1: 1878980a3136f0b9937b6f0ed07b877448cbfcb7 SHA-256: db127e98f1e0a1e9173021cafa1fd2f0d0db1c1df3cc615a14a41e9631a1a7e2
208 Risk Score

Malware Insights

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

The sample contains an obfuscated Workbook_Open VBA macro that utilizes CreateObject to execute a command. The macro appears to construct a path to a script file, likely a second-stage payload, using environment variables and cell values. The script is then executed via mshta, indicating a download and execution attack pattern.

Heuristics 6

  • 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.
  • 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
5ab72ce0ce6032000b8845d5878bd0e3cf9e90b9bcab2e2029f0a90f7399043e
vba-macro oletools.olevba.extract_macros (decoded VBA source from OOXML) 1109 bytes
vbaProject_00.bin
affcba7c240d8bfcead3212adeeb7f5decf48247b7fbeef13e53f533e810275f
vba-project OOXML VBA project: xl/vbaProject.bin 9216 bytes