Malicious Office (OOXML) — malware analysis report

Static analysis result for SHA-256 b3563afa7d8d1441…

MALICIOUS

Office (OOXML)

41.8 KB Created: 2021-06-22 12:43:05 UTC Authoring application: Microsoft Excel 16.0300
MD5: a23185a4da5983214150ef2211b0b09d SHA-1: f93da61b01629c88e66b040c434ad6e120cb313b SHA-256: b3563afa7d8d14412cf3ed5f3b2168d2d8537e7a1022645a9b0c982854df4cef
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 file is an Office document containing VBA macros. Heuristics indicate the VBA code references PowerShell and cmd.exe, and uses GetObject. The VBA macro itself appears to be a Base64 decoder, suggesting it's used to obfuscate a payload that is likely executed via PowerShell or cmd.exe. The primary purpose is to download and execute a secondary payload.

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