Malicious Office (OOXML) — malware analysis report

Static analysis result for SHA-256 9fb27c8edccd2c1f…

MALICIOUS

Office (OOXML)

41.6 KB Created: 2021-06-22 12:43:05 UTC Authoring application: Microsoft Excel 16.0300
MD5: da4bd20909b623aec32123677399f48f SHA-1: 62ef424335e51c8285306a9e0abc5a68569eacce SHA-256: 9fb27c8edccd2c1ffab7c213aec55c0a72147d6650e4b42d2a462746a60bc98e
160 Risk Score

Malware Insights

MITRE ATT&CK
T1059.005 Visual Basic T1059.001 PowerShell T1059.003 Windows Command Shell T1204.002 Malicious File

This OOXML 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 indicators suggests the macro is designed to download and execute a second-stage payload. The Base64 decoding function is likely used to obfuscate the actual commands or URLs.

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
56decf2b78492190919902cc1031b58651a8a8257f28a3f89adbfc1606d1a16f
vba-macro oletools.olevba.extract_macros (decoded VBA source from OOXML) 35036 bytes
vbaProject_00.bin
ddce8556989e065a3d2c3e4413374d59752a1bbcb99699b8768ed15eba37e701
vba-project OOXML VBA project: xl/vbaProject.bin 11264 bytes