Malicious Office (OOXML) / .XLSX — malware analysis report

Static analysis result for SHA-256 0ace4cdcff68a0ab…

MALICIOUS

Office (OOXML) / .XLSX

81.9 KB Created: 2021-06-23 08:35:37 UTC Authoring application: Microsoft Excel 16.0300
MD5: b2d6e9b66e2b14c9d83f6667b7b6d964 SHA-1: 51eb72c217b0bfbe29a41318504d034077ea0fb8 SHA-256: 0ace4cdcff68a0abf9c62930bdf678a567668a8c8bf94a7c2d941f3bfa798e5c
180 Risk Score

Malware Insights

MITRE ATT&CK
T1059.005 Visual Basic T1059.003 Windows Command Shell

This XLSX file contains a Workbook_Open VBA macro designed to execute obfuscated code. The macro utilizes CreateObject and references cmd.exe, indicating an attempt to launch a command-line process. The VBA code is heavily obfuscated, making it difficult to determine the exact payload, but the intent is to execute arbitrary commands.

Heuristics 5

  • Workbook_Open macro high OLE_VBA_WBOPEN
    Workbook_Open macro
  • CreateObject call high OLE_VBA_CREATEOBJ
    CreateObject call
  • cmd.exe reference in VBA high OLE_VBA_CMD
    cmd.exe reference in VBA
  • 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

Extracted artifacts 2

Files carved from inside the sample during analysis.

FilenameKindSourceSize
macros.bas
d0dc6f19cb18509f23931f2b808ec503308e4319e312854df33058a4f9f7dc51
vba-macro oletools.olevba.extract_macros (decoded VBA source from OOXML) 35200 bytes
vbaProject_00.bin
aa541f8ae33c2ddd58ab5b7c8cee1bd21ddfd9226ca1aac87f000986d2bf4001
vba-project OOXML VBA project: xl/vbaProject.bin 78848 bytes