Malicious Office (OOXML) — malware analysis report

Static analysis result for SHA-256 9069f6d8fadbd7a4…

MALICIOUS

Office (OOXML)

41.6 KB Created: 2021-06-22 12:43:05 UTC Authoring application: Microsoft Excel 16.0300
MD5: 76d3aa7ac3d071303d297aaf50c902e3 SHA-1: d79be6878aba7aae629693596a90545434a231cd SHA-256: 9069f6d8fadbd7a445fd6e0e11ac722712b2b5f5f0be80de27dcda51f654bff7
160 Risk Score

Malware Insights

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

The sample is an OOXML document containing VBA macros. Heuristics indicate the macros reference PowerShell and cmd.exe, and also use GetObject. The VBA code includes a Base64 decoding function, suggesting it is used to deobfuscate and execute a payload. The likely intent is to download and execute a second-stage payload, consistent with a macro-based downloader.

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
7c0e191406117a48af5bc67cd84a592b64edc9f7fa0e10a518fcbe16b8bda8f1
vba-macro oletools.olevba.extract_macros (decoded VBA source from OOXML) 35036 bytes
vbaProject_00.bin
39989a058870fc93c6220c8ac3d2395506eea488de361e6742b88c34ec657fb4
vba-project OOXML VBA project: xl/vbaProject.bin 11264 bytes