Malicious Office (OOXML) — malware analysis report

Static analysis result for SHA-256 2e541346d9cfd1cc…

MALICIOUS

Office (OOXML)

41.5 KB Created: 2021-06-22 12:43:05 UTC Authoring application: Microsoft Excel 16.0300
MD5: f37d78b804c564f77df5512587f28d67 SHA-1: bb93632ad219f7da1280789892a55f5b4ed3166f SHA-256: 2e541346d9cfd1cc84a28da109024e3e40675e414ff17bd70386cdc45d2562bd
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 a Base64 decoding function suggest that the VBA code is designed to deobfuscate and execute a malicious payload. The primary purpose appears to be downloading and executing a second-stage payload, likely via PowerShell.

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