Malicious Office (OOXML) — malware analysis report

Static analysis result for SHA-256 e45ffb7df8bb2093…

MALICIOUS

Office (OOXML)

41.6 KB Created: 2021-06-22 12:43:05 UTC Authoring application: Microsoft Excel 16.0300
MD5: a9bc83be8b7836d15a51a27e76ac49ca SHA-1: f2176a602317cb86b08d7c55edc13e03c61b82f5 SHA-256: e45ffb7df8bb2093ccca936e3b2b3f9d87345f48eab451258a22e3968aec9f93
160 Risk Score

Malware Insights

MITRE ATT&CK
T1059.001 PowerShell T1059.003 Windows Command Shell T1566.001 Spearphishing Attachment

The OOXML file contains VBA macros that reference PowerShell and cmd.exe. The VBA code itself appears to be heavily obfuscated, including a Base64 decoding function, suggesting it's designed to hide malicious commands. The primary function of this macro is likely to download and execute a second-stage payload, as indicated by the use of these interpreters.

Heuristics 4

  • PowerShell reference in VBA critical OLE_VBA_PS
    PowerShell reference in VBA
  • GetObject call high OLE_VBA_GETOBJ
    GetObject call
  • cmd.exe reference in VBA high OLE_VBA_CMD
    cmd.exe reference in VBA
  • 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
0e4ca35c53a5d0a0957a2055551c1473580f3f52491ff9ee578d3a67545436f7
vba-macro oletools.olevba.extract_macros (decoded VBA source from OOXML) 35036 bytes
vbaProject_00.bin
6d194b3a20726fbf0e74de305e4b450c67886d643c5e941e124cf2b697599b99
vba-project OOXML VBA project: xl/vbaProject.bin 11264 bytes