Malicious Office (OOXML) — malware analysis report

Static analysis result for SHA-256 365e8640988e1e13…

MALICIOUS

Office (OOXML)

41.8 KB Created: 2021-06-22 12:43:05 UTC Authoring application: Microsoft Excel 16.0300
MD5: 778210d5032ddcbc7f206ed8de76f333 SHA-1: d4475228245cdebbd354c70e2b1ef50550d1917a SHA-256: 365e8640988e1e13d2ab73aaef7af13f6ff8e46e6952352f12d7440ba06b965b
160 Risk Score

Malware Insights

MITRE ATT&CK
T1059.005 Visual Basic T1059.001 PowerShell T1059.003 Windows Command Shell T1204.002 Malicious File

The file is an Office document containing VBA macros. Heuristics indicate the VBA code references PowerShell and cmd.exe, and uses GetObject. The VBA code appears to be obfuscated but includes a Base64 decoding function, suggesting it's used to decode and execute a payload. This points to 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
2f94c7283d9cff9d39f7cd08293326cc87e22277118be563026810f847434e36
vba-macro oletools.olevba.extract_macros (decoded VBA source from OOXML) 35036 bytes
vbaProject_00.bin
0a4ba54bee1557d84040a5fff876712412af8c35c508fa59098b5583dcf5bcc6
vba-project OOXML VBA project: xl/vbaProject.bin 11264 bytes