Malicious Office (OOXML) — malware analysis report

Static analysis result for SHA-256 dafc4ada6a482c6e…

MALICIOUS

Office (OOXML)

41.6 KB Created: 2021-06-22 12:43:05 UTC Authoring application: Microsoft Excel 16.0300
MD5: 0fafb1a1278f200194202aaabcd993dd SHA-1: 18adca37eb2c1587ed5488a8bfac0e225a45936f SHA-256: dafc4ada6a482c6eaa61af760e0eca7e7686972096985be09e4dd77ee4977cc1
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 Excel document containing VBA macros. Heuristics indicate the VBA code references cmd.exe and PowerShell, and uses GetObject. The VBA code itself appears to be heavily obfuscated, but the presence of these references strongly suggests it's designed to download and execute a secondary payload. The Decode64 function is likely used to deobfuscate the command 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
462a8f907ac3a4dac89bd138bdaa699ca471b6e84940ff7ee36e9117d92eb265
vba-macro oletools.olevba.extract_macros (decoded VBA source from OOXML) 35036 bytes
vbaProject_00.bin
d8c3fbbc36edc11a124dc9b4a6e27bbde1382cda1253df8b0ceec80d4453cfce
vba-project OOXML VBA project: xl/vbaProject.bin 11264 bytes