Malicious Office (OOXML) — malware analysis report

Static analysis result for SHA-256 b4be7846ba355850…

MALICIOUS

Office (OOXML)

41.5 KB Created: 2021-06-22 12:43:05 UTC Authoring application: Microsoft Excel 16.0300
MD5: 5b73d186cb491bddc4031d0ff771f6e4 SHA-1: 50a554ed038755e0accf1dd75665b8cc3bad3565 SHA-256: b4be7846ba355850e22710e114ad8e8146eb0f62f6858fd3f24bc604bd0f8a82
160 Risk Score

Malware Insights

MITRE ATT&CK
T1059.005 Visual Basic T1059.001 PowerShell T1204.002 Malicious File

The sample is an Office document containing VBA macros. Heuristics indicate references to cmd.exe and PowerShell within the VBA code, along with a GetObject call. This strongly suggests the macros are designed to execute commands, likely to download and run a secondary malicious payload. The Base64 decoding function present in the script further supports the idea of obfuscated malicious code execution.

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