Malicious Office (OOXML) — malware analysis report

Static analysis result for SHA-256 d948d1a84cdc2a82…

MALICIOUS

Office (OOXML)

41.5 KB Created: 2021-06-22 12:43:05 UTC Authoring application: Microsoft Excel 16.0300
MD5: 1523d7b4137e8de0d937942439b4cba2 SHA-1: c410e660243c6c42c27f862b02f13c66a113c45c SHA-256: d948d1a84cdc2a82432785057e6caec0bf4fd26f07717a07568e0a40d3d78620
160 Risk Score

Malware Insights

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

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 itself appears to be heavily obfuscated, but its structure suggests it is designed to decode and execute commands, likely to download and run a second-stage payload. The presence of these elements strongly suggests a malicious macro 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
82393bc5d6b58be352aed1f86961cc9326dcb1ad844b4115da523f38bee5a351
vba-macro oletools.olevba.extract_macros (decoded VBA source from OOXML) 34430 bytes
vbaProject_00.bin
5b4e0060dba6e4c7eefda5a9f9f26f4b114b9a4c834033766ceacda5bc88a4d0
vba-project OOXML VBA project: xl/vbaProject.bin 11264 bytes