Malicious Office (OOXML) — malware analysis report

Static analysis result for SHA-256 9b4a2aab2c75c2b9…

MALICIOUS

Office (OOXML)

41.5 KB Created: 2021-06-22 12:43:05 UTC Authoring application: Microsoft Excel 16.0300
MD5: 8eccc970924972449b9d5d37567238a5 SHA-1: 8deb318bab68965559c89b92005183d2df045a9d SHA-256: 9b4a2aab2c75c2b901357aec3818ed5aace223cdc1ab7d8276b2e5c0da48d068
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 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 an external 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
eacbc4a54be88d14581a549d30e978900147655b200778c17ed2506e17b21a76
vba-macro oletools.olevba.extract_macros (decoded VBA source from OOXML) 34430 bytes
vbaProject_00.bin
1990d265e135904e20056c053b98e88deba5cd0405b118f9bdb66b3e3f61c3db
vba-project OOXML VBA project: xl/vbaProject.bin 11264 bytes