Malicious Office (OOXML) — malware analysis report

Static analysis result for SHA-256 f2e9989033f1c4bd…

MALICIOUS

Office (OOXML)

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

Malware Insights

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

The OOXML document contains VBA macros that reference cmd.exe and PowerShell. The GetObject call and the presence of a VBA project strongly suggest malicious intent. The VBA script itself appears to be a Base64 decoder, likely used to obfuscate a payload that is subsequently executed via PowerShell or cmd.exe.

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