Malicious Office (OOXML) — malware analysis report

Static analysis result for SHA-256 0d218cece4e2dbb4…

MALICIOUS

Office (OOXML)

41.5 KB Created: 2021-06-22 12:43:05 UTC Authoring application: Microsoft Excel 16.0300
MD5: e70f5d7061741e8d3cda548124c8ae49 SHA-1: 95cf852db0ed739200c92c91de9749a38cf76531 SHA-256: 0d218cece4e2dbb443d102909c8e1615ba5113dfd53c97dc8f64e5f69c67d8c3
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 OOXML document contains VBA macros that reference cmd.exe and PowerShell. The GetObject call and the presence of VBA macros suggest an attempt to execute arbitrary code. The VBA code includes a Base64 decoding function, indicating that it likely decodes and executes a malicious payload, possibly downloaded from a remote source.

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
9e83a2312b17f99c6ec4d7eaf491b4592c706566ad135677cccf68f56c038550
vba-macro oletools.olevba.extract_macros (decoded VBA source from OOXML) 34430 bytes
vbaProject_00.bin
e869b86b707c8cf6a998fae0cc334656701a4983c76d91565ff33775c53fa7ce
vba-project OOXML VBA project: xl/vbaProject.bin 11264 bytes