Malicious Office (OOXML) — malware analysis report

Static analysis result for SHA-256 66fe7b342c1dc5b8…

MALICIOUS

Office (OOXML)

41.6 KB Created: 2021-06-22 12:43:05 UTC Authoring application: Microsoft Excel 16.0300
MD5: b0bc505346fea57cae2d2caf1f1f887b SHA-1: ba6b6a6def4f43ce97d0d019120063cf2cdb7f6a SHA-256: 66fe7b342c1dc5b8233247d986de82bc36029bda3f9189258a66b8650fafd04d
160 Risk Score

Malware Insights

MITRE ATT&CK
T1059.005 Visual Basic T1059.001 PowerShell T1059.003 Windows Command Shell

The Excel document contains VBA macros that reference PowerShell and cmd.exe. The GetObject call is also suspicious. The VBA code appears to be obfuscated, but the presence of these references strongly suggests the macro is designed to download and execute a secondary payload. The Decode64 function is likely used to deobfuscate the payload before 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
9c0510fdf6d6064b9fcb95bbf4eecad15f1ec75102e676d4da7e0e572ed6c66f
vba-macro oletools.olevba.extract_macros (decoded VBA source from OOXML) 35036 bytes
vbaProject_00.bin
3700ac00b2d84a60611a996e8e4ca0eb710b34eecd78e1782a7a8c4e8165169d
vba-project OOXML VBA project: xl/vbaProject.bin 11264 bytes